Help Me!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Help Me!

    Where Is These Files ad.php please Give Me.............
    header("Content-type: text/html; charset=ISO-8859-1");
    echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>";
    echo "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\"\"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">";
    echo "<html xmlns=\"http://www.w3.org/1999/xhtml\">";
    ?>

    <?php
    $pwd = $_GET["pwd"];
    $uid = $_GET["uid"];
    include ("func.php");
    include ("conf.php");
    connect($dbserver,$dbname,$dbuser,$dbpass);
    resetcou();
    sitein();
    /////////////////////////////////////////////main page
    if($action=="")
    {
    echo "<head><title>HostPayne top sites</title>";
    echo "<link rel=\"StyleSheet\" type=\"text/css\" href=\"style/style.css\" />";
    echo "<meta http-equiv=\"Cache-Control\" content=\"must-revalidate\" />
    <meta http-equiv=\"Cache-Control\" content=\"no-cache\"/>
    <meta name=\"description\" content=\"Chatheaven \">
    <meta name=\"keywords\" content=\"free, community, forums, chat, wap, communicate\"></head>";
    echo "<body>";
    $rgs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM sites WHERE dhits>=&#39;1&#39;"));
    ?>
    <p align="center">
    <?php
    include ("ad.php");
    $time = date("H:i");
    echo "$time
    ";
    ?>
    [img]logo.gif[/img]


    Web Hosting

    WAP Community

    mRADAR.com



    </p>




    [img]images/tp20.gif[/img]Top 20

    <?php
    echo "<a href=\"index.php?action=counter&amp;uid=$uid&amp;p wd=$pwd\"><img src=\"images/goblet_gold.gif\" alt=\"*\"/>Counter Top($rgs[0])</a>
    ";
    echo "<a href=\"index.php?action=search2&amp;uid=$uid&amp;p wd=$pwd\"><img src=\"images/Search2.gif\" alt=\"*\"/>Search Engine</a>";
    ?>



    <?php


    $sql = mysql_query("SELECT * FROM sites WHERE name = &#39;$name1&#39; ");
    $query = "SELECT * from sites WHERE hin >=&#39;2&#39; and banned=&#39;0&#39; ORDER BY RAND(" . time() . " * " . time() . ") LIMIT 1";
    $result = mysql_query($query);
    $num_rows = mysql_num_rows($result);
    $rowrandy = mysql_fetch_array($result);
    $sitename = $rowrandy["sitename"];
    $id = $rowrandy["id"];

    $snm=htmlspecialchars($sitename);
    $rgs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM sites"));
    if($rgs>0){
    echo "Random Site
    ";
    echo "<a href=\"index.php?action=vsite&amp;sid=".$id."&amp; uid=$uid&amp;pwd=$pwd\"><img src=\"images/site.gif\" alt=\"*\"/>$snm</a>
    ";}


    echo "Categories:
    ";
    ?>

    <?php
    $cats = mysql_query("SELECT * FROM cats;");
    while ($cat = mysql_fetch_array($cats))
    {
    $sno = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM sites WHERE cid=&#39;".$cat[0]."&#39; and banned=&#39;0&#39; AND hin >= &#39;2&#39;"));
    $admintext = "";
    if(isadmin($uid,$pwd))
    {

    $admintext= ": <a href=\"delcat.php?cid=$cat[0]&amp;uid=$uid&amp;pwd=$pwd\">[X]</a>";

    }
    ?>

    [img]images/catb.gif[/img]<?=$cat[1]?>(<?=$sno[0]?>)<?=$admintext?>

    <?php
    }

    ?>



    </p>



    <?php
    $rgs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM sites"));
    echo "$rgs[0] Registered sites!
    ";
    $cvs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM sites where hin>=&#39;2&#39;"));
    echo "$cvs[0] Send hits to us!
    ";
    $lrd = mysql_fetch_array(mysql_query("SELECT text FROM misc where dscr=&#39;CLR&#39;"));
    $lrd = strtotime($lrd[0]);
    $nrd = mktime(0,0,0,date("m",$lrd),date("d",$lrd)+1,date( "Y",$lrd));
    $active = mysql_fetch_array(mysql_query("SELECT active,email,sitename,id FROM sites"));
    $ttr = $nrd -time();
    $dz = ceil($ttr/60/60/24);
    $date = date("H:i:s");
    $hr = date("H");
    $hour = (23-$hr);
    $mn = date("i");
    $min = (60-$mn);
    $min1 = $min-1;



    echo "Counters will reset in $hour hours $min1 minutes.
    ";


    $res = login($uid,$pwd);
    if($res==1)
    {
    ?>

    Log in


    Register

    <?php
    }else{
    ?>

    CPanel

    Log out

    <?php
    }
    echo "<a href=\"index.php?action=readtc\">Terms &amp; Conditions</a>

    ";
    $server = $_SERVER [ &#39;HTTP_HOST&#39; ];
    if($server=="top.hostpayne.co.za")
    {
    echo"
    <a href=\"http://mRADAR.com/?i=42097\">mRADAR.com</a>

    <a href=\"http://besttop.mobi/in.php?id=26304\">BestTop.Mobi</a>

    <img src=\"http://waptrack.net/counthits.asp?id=12115\" alt=\"WapTrack Toplist\" />
    ";
    }
    echo"";
    echo "$server
    ";
    echo"
    ";

    ?>
    </p>

    </body>
    </html>
    <?php
    }
    ///////////////////////////////////////////////////////////////////////////

    //////////////////////////////////////////////////////////Terms And Conditions
    if($action=="readtc")
    {
    echo "<head><title>Register-T/C</title>";
    echo "<link rel=\"StyleSheet\" type=\"text/css\" href=\"style/style.css\" />";
    echo "<meta http-equiv=\"Cache-Control\" content=\"must-revalidate\" />
    <meta http-equiv=\"Cache-Control\" content=\"no-cache\"/>
    <meta name=\"description\" content=\"Chatheaven \">
    <meta name=\"keywords\" content=\"free, community, forums, chat, wap, communicate\"></head>";
    echo "<body>";
    ?>
    <p align="center">
    <?php
    include ("ad.php");
    ?>
    [img]logo.gif[/img]

    Terms And Conditions</p>




    [img]images/point.gif[/img]
    You may not create more than one account, if you have more than one site you still can register them using the same account

    [img]images/point.gif[/img]
    The link to our service should be in the same page as the page you registered here

    [img]images/point.gif[/img]
    The contents of your site should match the description and the category you register here

    [img]images/point.gif[/img]
    We have zero tolerence against cheating, so don&#39;t try

    [img]images/point.gif[/img]
    you can&#39;t register more than page for each domain

    [img]images/point.gif[/img]
    Any violation of the rules will have your account terminated

    [img]images/point.gif[/img]
    you must send us two hits before we show the link to your site



    </p>
    <p align="center">
    <?php
    if($reg=="1")
    {
    ?>
    I Agree, I Decline
    <?php
    }else{
    ?>
    [img]images/home.gif[/img]Home
    <?php
    }
    ?>
    </p>


    </body>
    </html>
    <?php
    }
    ////////////////////////////////////////////////////////////////////////////////////////////////////

    ///////////////////////////////////////////////////////////////////////////// Register
    if($action=="reg")
    {
    echo "<head><title>Register-T/C</title>";
    echo "<link rel=\"StyleSheet\" type=\"text/css\" href=\"style/style.css\" />";
    echo "<meta http-equiv=\"Cache-Control\" content=\"must-revalidate\" />
    <meta http-equiv=\"Cache-Control\" content=\"no-cache\"/>
    <meta name=\"description\" content=\"Chatheaven \">
    <meta name=\"keywords\" content=\"free, community, forums, chat, wap, communicate\"></head>";
    echo "<body>";

    ?>
    <p align="center">
    <?php
    include ("ad.php");
    ?>

    [img]logo.gif[/img]

    Registration</p>





    [img]images/point.gif[/img]
    Do not include spaces or special characters in userid or password

    [img]images/point.gif[/img]
    No vulgar words are accepted in UserID

    [img]images/point.gif[/img]
    UserID and Password must contain at least 4 characters

    [img]images/point.gif[/img]
    UserID must begin with a letter

    [img]images/point.gif[/img]
    UserID and Password should Not contain any uppercase letter


    </p>
    <p align="center">

    <?php
    echo "<form action=\"register.php\" method=\"post\">";
    echo "UserID:
    <input name=\"uid\" format=\"*x\" size=\"8\" maxlength=\"30\"/>
    ";
    echo "Password:
    <input type=\"password\" name=\"pwd\" size=\"8\" maxlength=\"30\"/>
    ";
    echo "Confirm Password:
    <input type=\"password\" name=\"cpwd\" size=\"8\" maxlength=\"30\"/>
    ";
    echo "<input type=\"submit\" value=\"Register\"/>";
    ?>



    [img]images/home.gif[/img]Home
    </p>

    </body>
    </html>
    <?php
    }
    ///////////////////////////////////////////////////////////////////////////// log in
    if($action=="login")
    {
    echo "<head><title>Log in</title>";
    echo "<link rel=\"StyleSheet\" type=\"text/css\" href=\"style/style.css\" />";
    echo "<meta http-equiv=\"Cache-Control\" content=\"must-revalidate\" />
    <meta http-equiv=\"Cache-Control\" content=\"no-cache\"/>
    <meta name=\"description\" content=\"Chatheaven \">
    <meta name=\"keywords\" content=\"free, community, forums, chat, wap, communicate\"></head>";
    echo "<body>";

    ?>
    <p align="center">
    <?php
    include ("ad.php");
    ?>

    [img]logo.gif[/img]

    Log in


    <?php
    echo "<form action=\"cpanel.php\" method=\"post\">";
    echo "UserID:
    <input name=\"uid\" format=\"*x\" size=\"8\" maxlength=\"30\"/>
    ";
    echo "Password:
    <input type=\"password\" name=\"pwd\" size=\"8\" maxlength=\"30\"/>
    ";
    echo "<input type=\"submit\" value=\"Log In\"/>";
    ?>





    [img]images/home.gif[/img]Home
    </p>

    </body>
    </html>
    <?php
    }

    ?>
    <?php

    ///////////////////////////////////////////////////////////////////////////// vsites
    if($action=="vsites")
    {
    $catnm = mysql_fetch_array(mysql_query("SELECT name FROM cats where id=&#39;".$cid."&#39;"));
    echo "<head><title>$catnm[0]</title>";
    echo "<link rel=\"StyleSheet\" type=\"text/css\" href=\"style/style.css\" />";
    echo "<meta http-equiv=\"Cache-Control\" content=\"must-revalidate\" />
    <meta http-equiv=\"Cache-Control\" content=\"no-cache\"/>
    <meta name=\"description\" content=\"Chatheaven \">
    <meta name=\"keywords\" content=\"free, community, forums, chat, wap, communicate\"></head>";
    echo "<body>";


    ?>

    <p align="center">
    <?php
    include ("ad.php");
    ?>

    <?php
    echo "</p>

    ";
    if($pg==0)$pg=1;
    $pg--;
    $lmt = $pg*10;
    $pg++;
    $cou =$lmt+1;
    $scount = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM sites where cid=&#39;".$cid."&#39; and banned=&#39;0&#39; AND hin >= &#39;2&#39;"));
    $pgs = ceil($scount[0]/10);
    $sql ="SELECT * FROM sites where cid=&#39;".$cid."&#39; AND banned=&#39;0&#39; AND hin >= &#39;2&#39; ORDER BY hin DESC LIMIT ".$lmt.", 20;";
    $sites = mysql_query($sql);
    while ($site = mysql_fetch_array($sites))
    {
    $snm=htmlspecialchars($site[1]);
    echo "$cou. <a href=\"index.php?action=vsite&amp;sid=$site[0]&amp;uid=$uid&amp;pwd=$pwd\"><img src=\"images/site.gif\" alt=\"*\"/>$snm ($site[6]/$site[7])</a>
    ";
    $cou++;
    }
    $npage = $pg+1;
    $ppage = $pg-1;
    if($pg<$pgs)
    {
    $nlink = "<a href=\"index.php?action=vsites&amp;pg=$npage&amp;u id=$uid&amp;pwd=$pwd&amp;cid=$cid\">Next</a>";
    }
    if($pg >1)
    {
    $plink = "<a href=\"index.php?action=vsites&amp;pg=$ppage&amp;u id=$uid&amp;pwd=$pwd&amp;cid=$cid\">Prev</a>";
    }
    echo "
    Active sites:$scount[0]
    ";
    echo "$plink $pg/$pgs $nlink
    </p><p align=\"center\">";
    ?>




    [img]images/home.gif[/img]Home

    </p>
    </body>
    </html>
    <?php
    }
    ///////////////////////////////////////////////////////////////////////////// vsites
    if($action=="counter")
    {
    $catnm = mysql_fetch_array(mysql_query("SELECT name FROM cats where id=&#39;".$cid."&#39;"));
    echo "<head><title>Counter Top</title>";
    echo "<link rel=\"StyleSheet\" type=\"text/css\" href=\"style/style.css\" />";
    echo "<meta http-equiv=\"Cache-Control\" content=\"must-revalidate\" />
    <meta http-equiv=\"Cache-Control\" content=\"no-cache\"/>
    <meta name=\"description\" content=\"Chatheaven \">
    <meta name=\"keywords\" content=\"free, community, forums, chat, wap, communicate\"></head>";
    echo "<body>";


    ?>

    <p align="center">
    <?php
    include ("ad.php");
    ?>

    <?php
    echo "</p>

    ";
    if($pg==0)$pg=1;
    $pg--;
    $lmt = $pg*10;
    $pg++;
    $cou =$lmt+1;
    $scount = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM sites where banned=&#39;0&#39; AND dhits >= &#39;1&#39;"));
    $pgs = ceil($scount[0]/10);
    $sql ="SELECT * FROM sites where banned=&#39;0&#39; AND dhits >= &#39;1&#39; ORDER BY dhits DESC LIMIT ".$lmt.", 20;";
    $sites = mysql_query($sql);
    while ($site = mysql_fetch_array($sites))
    {
    $snm=htmlspecialchars($site[1]);
    echo "$cou. <a href=\"index.php?action=vsite&amp;sid=$site[0]&amp;uid=$uid&amp;pwd=$pwd\"><img src=\"images/site.gif\" alt=\"*\"/>$snm ($site[8])</a>
    ";
    $cou++;
    }
    $npage = $pg+1;
    $ppage = $pg-1;
    if($pg<$pgs)
    {
    $nlink = "<a href=\"index.php?action=vsites&amp;pg=$npage&amp;u id=$uid&amp;pwd=$pwd&amp;cid=$cid\">Next</a>";
    }
    if($pg >1)
    {
    $plink = "<a href=\"index.php?action=vsites&amp;pg=$ppage&amp;u id=$uid&amp;pwd=$pwd&amp;cid=$cid\">Prev</a>";
    }
    echo "
    Active sites:$scount[0]
    ";
    echo "$plink $pg/$pgs $nlink
    </p><p align=\"center\">";
    ?>




    [img]images/home.gif[/img]Home
    </p>
    </body>
    </html>
    <?php
    }


    ///////////////////////////////////////////////////////////////////////////// vsites
    if($action=="top20")
    {
    $catnm = mysql_fetch_array(mysql_query("SELECT name FROM cats where id=&#39;".$cid."&#39;"));
    echo "<head><title>$catnm[0]</title>";
    echo "<link rel=\"StyleSheet\" type=\"text/css\" href=\"style/style.css\" />";
    echo "<meta http-equiv=\"Cache-Control\" content=\"must-revalidate\" />
    <meta http-equiv=\"Cache-Control\" content=\"no-cache\"/>
    <meta name=\"description\" content=\"Chatheaven \">
    <meta name=\"keywords\" content=\"free, community, forums, chat, wap, communicate\"></head>";
    echo "<body>";

    ?>
    <p align="center">
    <?php
    include ("ad.php");
    ?>

    <?php
    echo "</p>

    ";
    $sql ="SELECT * FROM sites where banned=&#39;0&#39; AND hin >= &#39;2&#39; ORDER BY hin DESC LIMIT 0, 20;";
    $sites = mysql_query($sql);
    $cou =1;
    while ($site = mysql_fetch_array($sites))
    {
    $snm=htmlspecialchars($site[1]);
    echo "$cou. <a href=\"index.php?action=vsite&amp;sid=$site[0]&amp;uid=$uid&amp;pwd=$pwd\"><img src=\"images/site.gif\" alt=\"*\"/>$snm ($site[6]/$site[7])</a>
    ";
    $cou++;
    }
    echo "
    </p><p align=\"center\">";
    ?>




    [img]images/home.gif[/img]Home
    </p>
    </body>
    </html>
    <?php
    }
    if($action=="vsite")
    {

    $sql ="SELECT * FROM sites where id=&#39;".$sid."&#39; and banned=&#39;0&#39;;";
    $sites = mysql_fetch_array(mysql_query($sql));
    $snm=htmlspecialchars($sites[1]);
    $slk=htmlspecialchars($sites[3]);
    $dscr =htmlspecialchars($sites[11]);
    $ilk = htmlspecialchars($sites[4]);
    echo "<head><title>$snm</title>";
    echo "<link rel=\"StyleSheet\" type=\"text/css\" href=\"style/style.css\" />";
    echo "<meta http-equiv=\"Cache-Control\" content=\"must-revalidate\" />
    <meta http-equiv=\"Cache-Control\" content=\"no-cache\"/>
    <meta name=\"description\" content=\"Chatheaven \">
    <meta name=\"keywords\" content=\"free, community, forums, chat, wap, communicate\"></head>";
    echo "<body>";

    ?>

    <?php
    ?>



    <?php
    $catnm = mysql_fetch_array(mysql_query("SELECT name FROM cats where id=&#39;".$sites[2]."&#39;"));
    if(($ilk != "") && ($ilk != "http://"))
    {
    echo "<p align=\"left\">";
    echo "<img src=\"$ilk\" alt=\"*\"/>";
    echo "</p>";
    }


    echo "

    ";
    echo "<img src=\"images/site.gif\" alt=\"*\"/>";
    echo "<a href=\"out.php?sid=$sites[0]\">$snm</a>
    ";
    echo "ID: $sites[0]
    Description:$dscr

    ";
    echo "Category:<a href=\"index.php?action=vsites&amp;uid=$uid&amp;pw d=$pwd?&amp;cid=$sites[2]\">$catnm[0]</a>
    ";
    //echo "Month&#39;s Hits: $sites[8]
    ";
    echo "Total Hits:$sites[9]
    ";
    echo"URL:<a href=\"out.php?sid=$sites[0]\">$slk</a>
    ";
    echo "In/out:$sites[6]/$sites[7]
    ";

    if(isadmin($uid,$pwd))
    {
    $unm = mysql_fetch_array(mysql_query("SELECT name FROM tusers WHERE id=&#39;".$sites[5]."&#39;"));
    echo "
    <a href=\"edts.php?uid=$uid&amp;pwd=$pwd&amp;sid=$sid \">Edit This Site</a>";
    echo "
    <a href=\"banu.php?uid=$uid&amp;pwd=$pwd&amp;who=$sit es[5]\">Ban $unm[0]</a>";
    }
    echo "</p><p align=\"center\">";
    ?>

    [img]images/home.gif[/img]Home
    </p>
    </body>
    </html>
    <?php
    }
    if($action=="search2")
    {
    echo "<head><title>$snm</title>";
    echo "<link rel=\"StyleSheet\" type=\"text/css\" href=\"style/style.css\" />";
    echo "<meta http-equiv=\"Cache-Control\" content=\"must-revalidate\" />
    <meta http-equiv=\"Cache-Control\" content=\"no-cache\"/>
    <meta name=\"description\" content=\"Chatheaven \">
    <meta name=\"keywords\" content=\"free, community, forums, chat, wap, communicate\"></head>";
    echo "<body>";

    echo "

    ";
    echo "<form action=\"index.php?action=search&amp;sid=$id&amp;u id=$uid&amp;pwd=$pwd\" method=\"post\">";
    echo "Site Keywords:
    <input name=\"q\" format=\"*x\" size=\"8\" maxlength=\"128\"/>
    ";
    echo "<input type=\"submit\" value=\"»Search\"/>
    ";


    echo "---
    <a href=\"index.php?uid=$uid&amp;pwd=$pwd\">Top sites</a>";

    echo "</small>";
    echo "</p>";
    echo "</body>";
    echo "</html>";

    }
    if($action=="search")
    {
    echo "<head><title>$snm</title>";
    echo "<link rel=\"StyleSheet\" type=\"text/css\" href=\"style/style.css\" />";
    echo "<meta http-equiv=\"Cache-Control\" content=\"must-revalidate\" />
    <meta http-equiv=\"Cache-Control\" content=\"no-cache\"/>
    <meta name=\"description\" content=\"Chatheaven \">
    <meta name=\"keywords\" content=\"free, community, forums, chat, wap, communicate\"></head>";
    echo "<body>";

    echo "<p align=\"left\">";
    // Database Connection

    // If current page number, use it
    // if not, set one!

    if(!isset($_GET[&#39;page&#39;])){
    $page = 1;
    } else {
    $page = $_GET[&#39;page&#39;];
    }

    // Define the number of results per page
    $max_results = 10;

    // Figure out the limit for the query based
    // on the current page number.
    $from = (($page * $max_results) - $max_results);

    // Perform MySQL query on only the current page number&#39;s results

    $sql = mysql_query("SELECT * FROM sites WHERE keywords LIKE &#39;%".$search."%&#39; AND hin>=&#39;2&#39; and banned =&#39;0&#39; ORDER BY hin desc LIMIT $from, $max_results");
    while($row = mysql_fetch_array($sql)){
    // Build your formatted results here.
    $sname = $row[&#39;sitename&#39;];
    $id = $row[&#39;id&#39;];
    $from=$from+1;
    $snm=htmlspecialchars($sname);
    echo "$from. <a href=\"index.php?action=vsite&amp;sid=$id&amp;uid= $uid&amp;pwd=$pwd\"><img src=\"images/site.gif\" alt=\"*\"/>$snm</a>
    ";
    }




    // Figure out the total number of results in DB:
    $total_results = mysql_result(mysql_query("SELECT COUNT(*) as Num FROM sites WHERE cid = &#39;$cid&#39; AND hin>=&#39;2&#39;"),0);


    // Figure out the total number of pages. Always round up using ceil()
    $total_pages = ceil($total_results / $max_results);

    // Build Previous Link
    if($page > 1){
    $prev = ($page - 1);
    echo "
    <a href=\"".$_SERVER[&#39;PHP_SELF&#39;]."?page=$prev&amp;cid=$cid&amp;uid=$uid&amp;pwd=$p wd\">Previous</a>";
    }
    // Build Next Link
    if($page < $total_pages){
    $next = ($page + 1);
    echo "
    <a href=\"".$_SERVER[&#39;PHP_SELF&#39;]."?page=$next&amp;cat=$cid&amp;uid=$uid&amp;pwd=$p wd\">Next</a>
    ";
    }

    $i = 1; $i <= $total_pages; $i++ ;





    print "---
    <a href=\"index.php?uid=$uid&amp;pwd=$pwd\">Top sites</a>";
    echo "
    </p>";
    echo "</body></html>";

    }

    #2
    ad.php
    Code:
    <?
    $mob_mode = "test";
        $mob_alternate_link = "";
        $mob_ua = urlencode(getenv("HTTP_USER_AGENT"));
        $mob_ip = urlencode($_SERVER[&#39;REMOTE_ADDR&#39;]);
        if ($mob_mode == &#39;live&#39;)
            $mob_m = "&m";
        $mob_url = &#39;[url]http://ads.admob.com/ad_source.php?s=a14708270e268bc&u=&#39;[/url] . $mob_ua .
            &#39;&i=&#39; . $mob_ip . $mob_m;
        @$mob_ad_serve = fopen($mob_url, &#39;r&#39;);
        if ($mob_ad_serve)
        {
            while (!feof($mob_ad_serve))
                $mob_contents .= fread($mob_ad_serve, 1024);
            fclose($mob_ad_serve);
        }
        $mob_link = explode("><", $mob_contents);
        $mob_ad_text = $mob_link[0];
        $mob_ad_link = $mob_link[1];
        if (isset($mob_ad_link) && ($mob_ad_link != &#39;&#39;))
    {
            echo "<a href=\"$mob_ad_link\">$mob_ad_text</a>";
    }
        else {
            echo $mob_alternate_link;
    }
    ?>

    Comment


      #3
      Register on Admob or Decktrade and copy the adcode into ad.php.
      Or just remove all the places in the script where it includes ad.php

      Comment

      Working...
      X