File size: 2.48Kb
<?php include "inc/def.php"; ?>
<?php include "inc/usrchk.php"; ?>
<?php include "inc/siteinfo.php"; ?>
<html>
<title>adsalvo.in</title>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<div><a href="http://wapdollar.in/serve.php?id=526ythpkmz"><b><font color="green" size="4">Katrina kaif sexy videos.</font></b></a></b></div>
<link href="xtremestyle/xtremeitech.css" rel="stylesheet" type="text/css" />
<?php
$key = secureget('id');
$getk = mysql_query("SELECT * FROM users WHERE skey='$key'") or die("Oopss ! Contact Adsalvo".mysql_error());
if(mysql_num_rows($getk)==0) {
print "<div class='prob'>Invalid Request !</div>";
die();
}
print "<div class='line'><img src='pics/ar.png' />Our Sponsors</div>";
$get = mysql_query("SELECT * FROM users WHERE point>0.0021 OR bal>0.0021 ORDER BY RAND() LIMIT 8") or die("No Advertisement ! :P");
while($usr=mysql_fetch_array($get)) {
$uid = $usr['id'];
$newq = mysql_query("SELECT * FROM comp WHERE uid='$uid' AND st=1 ORDER BY RAND() LIMIT 10");
while($co=mysql_fetch_array($newq)) {
$title = $co['title'];
$url = $co['url'];
$typ =$co['type'];
$url = $co['url'];
$img = $co['img'];
$cid = $co['id'];
$advuid = $co['uid'];
$ckey = $co['ckey'];
$rnd =date("U");
$rnd1 = $rnd+rand();
$rndf = $rnd1.$rnd;
$current = date("U")-14400;
$ip =$_SERVER['REMOTE_ADDR'];
?>
<?
$chker = mysql_query("SELECT * FROM imp WHERE tm>'$current' AND ip='$ip'") or die("CONTACT XTREMEiTeCH.CoM Team !!!!!errorr...");
$chk = mysql_num_rows($chker);
if($chk>0) {
} else {
$today = date("F j Y");
$tm=date("U");
$ua = $_SERVER['HTTP_USER_AGENT'];
$addclick = mysql_query("INSERT INTO imp (uid,compid,ip,ua,time,tm) VALUES ('$advuid','$cid','$ip','$ua','$today','$tm')") or die("ERRRORR !! UNABLE TO PROCESS PROCESS...");
}
if($typ==1){
$type = "Text Ads";
$sample = "<div class='ads'><a href='advt/$rndf/$key/$ckey'>$title</a><hr /></div>";
} else {
$type = "Banner Ads";
$sample = "<div class='ads'><a href='$url' title='$title'><img src='imgs/$img' border='0'></a></div>";
}
echo "<b><div class='pink'>$sample</div></b>";
}
}
$result = mysql_query('SELECT * FROM admlink');
while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
echo '<b><div class="ads"><div class="pink"><a href="count.php?id='.$row['id'].'">'.$row['link_text'].'</a><hr/></div></div></b>';
}
?>
<div class='lgn'></div>
<div class='line'>
<a href = "index.php"><font color='white'><b><img src='pics/ar.png' />WapMasters/webmaster Earn Money On Adsalvo.in</b></font></a></div>
</html>