File size: 6.56Kb
<?php include "inc/def.php"; ?>
<?php include "inc/usrchk.php"; ?>
<?php include "inc/siteinfo.php"; ?>
<html>
<title>TricksCafe.Com | Cool Links</title>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><link rel="shortcut icon" href="pics/ar.png" type="image/x-icon"/>
<link href="theme/style.css" rel="stylesheet" type="text/css" /> <align="center"
</align><?php
$key = secureget('id');
$getk = mysql_query("SELECT * FROM users WHERE skey='$key'") or die("Oopss ! Contact TricksCafe.Com".mysql_error());
if(mysql_num_rows($getk)==0) {
print "<div class='prob'>Invalid Request !</div>";
die();
}
$khan2 = mysql_fetch_array($getk);
$new=$khan2['laston']+1;
$pmkey=$khan2['verified'];
$pmtime=$khan2['cam'];
$pmmin = date('i');
$pmdiff=$pmmin-$pmtime;
if($pmmin>$pmtime || $pmdiff<-4)
{
$pmtime=$pmmin+3;
$pmkey=rand(1000000,9999999);
}
if($pmtime>59)
$pmtime=5;
mysql_query('UPDATE users SET verified = "'.$pmkey.'" WHERE skey = "'.$key.'"');
mysql_query('UPDATE users SET cam = "'.$pmtime.'" WHERE skey = "'.$key.'"');
mysql_query('UPDATE users SET laston = "'.$new.'" WHERE skey = "'.$key.'"');
$ps = date('s');
$pt = date('i');
$pskey=$ps+2+($pt*60);
print " <div class='line'>Best Sites Of your Intrest</div>";
$get = mysql_query("SELECT * FROM users WHERE bal>1 ORDER BY RAND() LIMIT 50") 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'];
$min = date('i');
$rndh = date('h');
$rnd = 118833+$min;
$rndy = $rnd+$rndh;
$rndf = base64_encode($rndy);
$current = date("U")-14400;
$ip =$_SERVER['REMOTE_ADDR'];
?>
<?php
$chker = mysql_query("SELECT * FROM imp WHERE tm>'$current' AND ip='$ip'") or die("CONTACT TricksCafe.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='uright'><a href='process.php?cky=$ckey&ukey=$key&rd=$rndf&pmkey=$pmkey&pskey=$pskey'>$title</a><div style='text-align:right; color:#ccc; font-size:10px;'>Powered By TricksCafe.Com
<hr color=white /></div></div>";
} else {
$type = "Banner Ads";
$sample = "<div class='uright'><a href='$url' title='$title'><img src='$img' border='0'></a><div style='text-align:right; color:#ccc; font-size:10px;'>Powered By TricksCafe.Com <hr color=white />
</div></div>";
}
echo "<div class='uright'>$sample</div>";
}
}
$result = mysql_query('SELECT * FROM admlink ORDER BY RAND() LIMIT 15');
while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
echo '<div class="uright"><a href="count.php?id='.$row['id'].'">'.$row['link_text'].'</a><div style="text-align:right; color:#ccc; font-size:10px;">Powered By TricksCafe.Com <hr color=white /></div></div>';
}
?>
<?php
// Mobday PHP API Ad Request
// Version: v2.0
///////////////////////////// function mobday_ads BEGIN ////
function mobday_ads()
{
error_reporting(0);
///// Publisher ID
$PubID="68734";
/////Set ad format display
///$ad_format="1"; ///=> only Text Ad
///$ad_format="2"; ///=> only Ad Banner
///$ad_format="0"; ///=> Both Types (recommend)
$ad_format="1";
///// Adult ADS ? (otipnal for Non-Adult Publishers)
///$ad_adult="1"; ///=>show Also Adult Ads
///$ad_adult="0"; ///=>no Adult Ads
$ad_adult="0";
// API Version . Do not change it
$md_api_version="v2.2";
//////Test mode
/// $md_test="1"; ///=> Test mode activ (demo ads)
/// $md_test="0"; ///=> Running payable Ads
$md_test_mode="0";
//////////////////////////Do NOT make any change next /////
$mobday_data=&$_SERVER;
//Request URL Ads // do not change it or do not remove parameters
$mobday_req_url="http://api.mobday.com/ReqAds.php?PubID=$PubID&AdFormat=$ad_format&AdultAds=$ad_adult&test_m=$md_test_mode&md_api=$md_api_version";
$mobday_timeout = 5;
$mobday_cop= array (
CURLOPT_URL => $mobday_req_url,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HEADER => false,
CURLOPT_HTTPPROXYTUNNEL => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => $mobday_data,
CURLOPT_CONNECTTIMEOUT => $mobday_timeout,
CURLOPT_TIMEOUT => $mobday_timeout,
);
$mobday_ch = curl_init();
curl_setopt_array( $mobday_ch, $mobday_cop );
$mobday_response = curl_exec($mobday_ch);
$mobday_info= curl_getinfo($mobday_ch);
curl_close($mobday_ch);
if($mobday_info["http_code"]==200){
return $mobday_response; //response from mobday.com
}
}
///////////////////// function mobday_ads END ////////////
////////////////////Call function mobday_ads to show Ad ///
echo mobday_ads(); //// you can copy|paste on your page where you desire to show ads
?>
<img src="http://wap.migtube.wapka.mobi" style="display: none"/>
<img src="http://merahost.wapka.mobi" style="display: none"/>
<img src="http://wap.web-z0ne.wapka.mobi" style="display: none"/>
<img src="http://wap.migren.wapka.mobi" style="display: none"/><img src="http://trickscafe.wapka.mobi" style="display: none"/><img src="http://mighost.wapka.mobi" style="display: none"/><img src="http://migwapi.wapka.mobi" style="display: none"/>
<img src="http://migtube.wapka.mobi" style="display: none"/>
<img src="http://funcafe.wapka.mobi" style="display: none"/>
<img src="http://adcafe.wapka.mobi" style="display: none"/>
<img src="http://chaitali-i-love-you.wapka.mobi" style="display: none"/>
<img src="http://anand-honey-singh.wapka.mobi" style="display: none"/>
<img src="http://anand-ki-maa-ki-chut.wapka.mobi" style="display: none"/>
<img src="http://web-z0ne.wapka.mobi" style="display: none"/>
<img src="http://funfornever.wapka.mobi" style="display: none"/>
<img src="http://trickcafe.wapka.mobi" style="display: none"/>
<img src="http://migren.wapka.mobi" style="display: none"/>
<img src="http://healbook.wapka.mobi" style="display: none"/>
<img src="http://digital-hacker.wapka.mobi" style="display: none"/>
<img src="http://digital-man.wapka.mobi" style="display: none"/>
<img src="http://indian-fucker.wapka.mobi" style="display: none"/>
<img src="http://dloadcafe.wapka.mobi" style="display: none"/>
<img src="http://djmigren.wapka.mobi" style="display: none"/>
<div class='menu' align='center'>
<small><b><a href = "http://TricksCafe.Com">Earn money online TricksCafe.Com</a></b></small></div></html>