$value) { $newdata=str_replace($badsubmit,array(),$value); $$key=strip_tags($newdata); } foreach($_POST as $key=>$value) { $newdata=str_replace($badsubmit,array(),$value); $$key=strip_tags($newdata); } include('config.php'); include('countries.php'); //ESND BACKUP $backupclass='datafiles/backup.class.php'; if($send_backup AND file_exists($backupclass)){ include($backupclass); $obj=new backup();//Default time 86400 $obj->getBackup(); $obj->mailBackup($email); $obj->__destroy(); unset($obj); } $groupname=$grouptitle=array(); $groupname=explode(',',$CATEGORIES); $grouptitle=explode(',',$CAT_TITLES); if(count($grouptitle)'); ?> <?echo $sitename?>
Home - '.$stype.'');} ?>

'; $dz5=' - '; ?> <?echo $sitename?>
'.$TXT[$lng]['Stats for current period'].'
'.$yesterdaystats[1].' '.$TXT[$lng]['Visits'].' - '.$yesterdaystats[2].' '.$TXT[$lng]['Out'].''); } } ?>
'.$TXT[$lng]['Download'].'');} ?> '.$TXT[$lng]['Traffic Summary'].'
'.$totalein.' '.$TXT[$lng]['Visits'].' - '.$totaleout.' '.$TXT[$lng]['Out'].''); ?>

40){$msg.='Domain or member name is too long. ';$error=1;} elseif(preg_replace("'[^a-zA-Z0-9\-]'s",'',$mem)!=$mem){$msg.='Wrong domain or member name. ';$error=1;} else { $surl=parse_url(strtolower($scripts_path)); $smember=str_replace('www.','',$surl['host']); $smem=str_replace('.','',$smember); if(!$memberdir && $mem==$smem){$msg.='Wrong domain or member name. ';$error=1;} else { $filename='memberfiles/'.$mem.'.dat'; if(file_exists($filename)) { if($manualid){$msg.='Member '.$mem.' is allready exists. ';$error=1;} else{$msg.='Domain '.$member.' is allready in use. ';$domainerror=1;} } } } } else{$msg .='Wrong URL of your page. ';$error=1;} if($linkback && $mainlinkback){$linkbackurl=$sendurl;} if(!strstr($wmmail,'@') || strstr($wmmail,' ')){$msg.='You have entered an invalid e-mail address. ';$error=1;} if($editmem) { if(!$pass1){$msg.='You must enter a password. ';$error=1;} elseif(!$wapdz) { if(!$pass2){$msg.='You must enter your password in BOTH fields. ';$error=1;} elseif($pass1!=$pass2){$msg.='The passwords you entered do not match. '; $error=1;} elseif(strlen($pass1)>12){$msg.='Password is too long. '; $error=1;} } } if($sendurl && strlen($sendurl)>60){$msg.='URL of your page is too long. ';$error=1;} if($fakeurl && strlen($fakeurl)>60){$msg.='Fake URL is too long. ';$error=1;} if($titlelength && strlen($sitetitle)>$titlelength){$msg.='Title is too long. ';$error=1;} if($descrlength && strlen($sitedescr)>$descrlength){$msg.='Description is too long. ';$error=1;} if($groupname[0] && !in_array($sitecategory,$groupname)){$msg.='Wrong category. ';$error=1;} if($wmmail && strlen($wmmail)>30){$msg.='Your Email is too long. ';$error=1;} if($wmicq && strlen($wmicq)>12){$msg.='Your ICQ is too long. ';$error=1;} if($wapdz && $lng=='Russian' && function_exists('iconv')) { $sitetitle=iconv('UTF-8','windows-1251',$sitetitle); $sitedescr=iconv('UTF-8','windows-1251',$sitedescr); } if($langonly && strlen($langchars[$langonly])) { if(strlen($sitetitle)>3) { $numlang=preg_match_all('/['.$langchars[$langonly].']/s',$sitetitle,$matches); if($numlang3) { $numlang=preg_match_all('/['.$langchars[$langonly].']/s',$sitedescr,$matches); if($numlang60){$msg.='Link Back URL is too long. ';$error=1;} elseif(!strstr($linkbackurl,'http://')){$msg .='The Link Back URL MUST include http:// . ';$error=1;} else { if($sendurl) { $url1=parse_url(strtolower($sendurl)); $domain1=str_replace('www.','',$url1['host']); $url2=parse_url(strtolower($linkbackurl)); $domain2=str_replace('www.','',$url2['host']); if($domain1!=$domain2){$msg.='Link Back URL must be in the same domain. ';$error=1;} } } } if($bannerurl) { if(strlen($bannerurl)>80){$msg.='Banner URL is too long. ';$error=1;} elseif((!stristr($bannerurl,'.jp') && !stristr($bannerurl,'.gif') && !stristr($bannerurl,'.png') && !stristr($bannerurl,'?')) || strstr($bannerurl,' ')){$msg.='Wrong Banner URL. ';$error=1;} } $blackhtml=$blackdom=''; $filename='datafiles/blackhtml.dat'; if($ff=@fopen($filename,'r')) { flock($ff,1); fseek($ff,0); $blackhtml=@fread($ff,filesize($filename)); flock($ff,3); fclose($ff); } if($WAP) { $filename='datafiles/blackdom.dat'; if($ff=@fopen($filename,'r')) { flock($ff,1); fseek($ff,0); $blackdom=@fread($ff,filesize($filename)); flock($ff,3); fclose($ff); } } if(!$wapdz && $lng=='Russian' && function_exists('iconv')) { $sitetitle=preg_replace("'[^a-zA-Zà-ÿÀ-ß0-9\,\.\-\:\;\?\+ ]'s",'',$sitetitle); $sitedescr=preg_replace("'[^a-zA-Zà-ÿÀ-ß0-9\,\.\-\:\;\?\+ ]'s",'',$sitedescr); } else { $sitetitle=preg_replace("'[^a-zA-Z0-9\,\.\-\:\;\?\+ ]'s",'',$sitetitle); $sitedescr=preg_replace("'[^a-zA-Z0-9\,\.\-\:\;\?\+ ]'s",'',$sitedescr); } if($datastolower) { $sitetitle=del_upper($sitetitle); $sitedescr=del_upper($sitedescr); } $delchars.="'\\"; for($i=0;$i6 && strstr($ipaddress,$checktext)) {$error=1;$msg.="Submit error 1. ";} if($sendurl && stristr($sendurl,$checktext)) {$error=1;$msg.="The URL has the blacklisted word [$checktext]. ";} if($member==$checktext) {$error=1;$msg.="The domain $username has been blacklisted from this site. ";} if($sitetitle && strstr($checktitle,$checktext)) {$error=1;$msg.="Site title has the blacklisted word [$checktext]. ";} if($sitedescr && strstr($checkdesc,$checktext)) {$error=1;$msg.="Site description has the blacklisted word [$checktext]. ";} if(strstr($checktext,'@') && strstr($wmmail,$checktext)) {$error=1;$msg.="Submit error 2. ";} } } if(strstr($sitetitle,'href') || strstr($sitetitle,'http://')){$error=1;$msg.='Html in title. ';} if(strstr($sitedescr,'href') || strstr($sitedescr,'http://')){$error=1;$msg.='Html in description. ';} if(!strstr($sendurl,'http://') && !strstr($sendurl,'php')){$msg.='The URL of your page MUST include http:// . ';$error=1;} elseif(!strstr($sendurl,'.') || strstr($sendurl,'@') || strstr($sendurl,' ')){$msg.='Wrong URL.';$error=1;} elseif(!$error && !$domainerror) { if($pagesize || $intlinks || trim($blackhtml) || $blackdom) { $traderface=grabpage($sendurl); if($traderface) { if($pagesize && strlen($traderface)<$pagesize){$error=0;$msg.='Wrong site. ';} elseif($intlinks) { $num=0; preg_match_all('/ href=[\"\']*([^\>\"\']+)[\>\"\' ]/',$traderface,$matches); if(is_array($matches[1]) && count($matches[1])) { foreach($matches[1] as $v) { if(strlen($v) && (!strstr($v,'http://') || strstr($v,$sendurl))) $num++; } } if($num<$intlinks){$msg.='Wrong site. ';$error=0;} } } elseif($pagesize || $intlinks || trim($blackhtml)){$msg.='Connection error or blank page. ';$error=1;} } } if($traderface) { $blackhtml=trim($blackdom."\r\n".$blackhtml); $blockhtml=array(); $blockhtml=explode("\n",$blackhtml); for($i=0;$i. Sites involved in criminal business are not allowed. ';} else{$msg.='Site content breaks the rules. Do not submit this site. ';} break; } } } } // ïðîâåðêà îáðàòíîé ññûëêè $backcheckings=''; if(!$error && !$domainerror && $linkbackreq && $linkback && $linkbackurl) { if($mainlinkback && $traderface){$grab=$traderface;} else{$grab=grabpage($linkbackurl);} if($grab && stristr($grab,$linkback)){$backcheckings=30;} else{$error=1;$msg.='We can\'t find our link at your page. Please place the link and resubmit. ';} } // ïðîâåðêà áýêâàðäîâ èëè PageRank $numbackwards=''; if(!$wapdz && strlen($minbackwards) && $linkbackurl) { if($backwards==2) { $pagerank=google_pagerank($linkbackurl); if(strlen($pagerank) && $pagerank>=0) { $numbackwards=$pagerank; if($pagerank<$minbackwards){$error=1;$msg.='Page with our link must have PageRank='.$minbackwards.' at least. ';} } else{$error=1;$msg.='Can\'t connect to Google to check PageRank. ';} } else { $googlegrab=''; $googlegrab=implode('',@file('http://www.google.com/search?q=link:'.urlencode($linkbackurl))); if($googlegrab) { $startpos=strpos($googlegrab,'of about '); if($startpos) {$numbackwards=substr($googlegrab,$startpos+12);} if($numbackwards) { $endpos=strpos($numbackwards,' linking to'); if($endpos) {$numbackwards=substr($numbackwards,0,$endpos);} } if($numbackwards<$minbackwards){$error=1;$msg.='Page with our link must have '.$minbackwards.' backward links at least. ';} } else{$error=1;$msg.='Can\'t connect to Google to check backwards. ';} } } ?> > Oops!


Please hit your back button and fix these errors

'.$email.''); if(file_exists('datafiles/rules3.dat')) include('datafiles/rules3.dat'); ?>
> Oops!


Please hit your back button and fix these errors

Also you can create account for subdirectory '.$member.'/'.$memberdir.'')?>


If you continue to have problems signing up please email me at . '.showtext('Thanks for signing up to').' '.$sitename.''); echo(showtext('Username').': '.$mem.'
'); if($editmem){echo(showtext('Password').': '.$pass1.'

');} echo(showtext('Place this link at your page').':
'); if($wapdz){echo(''.$sendhits.'');} else{echo(''.$sendhits.'');} echo('

'); include('datafiles/rules2.dat'); echo('

'); if(!$sitetype){echo(showtext('You may start sending and recieving hits immediately').'.
');} if(!$manualid && !$sitetype){echo(showtext('All hits from domain').' '.$member.' '.showtext('will be counted as your hits').'.
');} echo(showtext('Email me for any questions').' '.$email.''); if($icq) echo(' '.showtext('or icq me at').' '.$icq); echo('.
'); ?>
Ooops!
That user name does not exist in the database.

Please hit your back button and try again

If you continue to have problems email me at and be sure to include the name of your site.
'); exit; } $memberdatas=array(); read_explode('memberfiles/'.$who.'.dat','|',$memberdatas); $membername=$who; if($memberdatas[4]!=$pass1) { ?>
Error!
The Password you entered is incorrect.

If you continue to have problems email me at and be sure to include the name of your site.
'); exit; } if($memberdatas[4]=='') { ?>
Error!
That function has been disabled, sorry

You can email me at and be sure to include the name of your site and I'll get back to you with that information.
'); exit; } if($_POST['updatemember']) { $error=0; if(!strstr($wmmail,'@') || strstr($wmmail,' ')){$msg .='You have entered an invalid e-mail address. ';$error=1;} if($wmmail && strlen($wmmail)>30){$msg.='Your Email is too long. ';$error=1;} if(!$pass2){$msg .='You must enter a password. ';$error=1 ;} if(strlen($sendurl)>60){$msg.='URL of your page is too long. ';$error=1;} if($fakeurl && strlen($fakeurl)>60){$msg.='Fake URL is too long. ';$error=1;} if($titlelength && strlen($sitetitle)>$titlelength){$msg.='Title is too long. ';$error=1;} if($descrlength && strlen($sitedescr)>$descrlength){$msg.='Description is too long. ';$error=1;} if($linkbackurl && !strstr($linkbackurl,'http://')){$msg .='The Link Back URL MUST include http:// . '; $error=1;} if($bannerurl && ((!stristr($bannerurl,'.jp') && !stristr($bannerurl,'.gif') && !stristr($bannerurl,'.png') && !stristr($bannerurl,'?')) || strstr($bannerurl,' '))){$msg .='Wrong Banner URL. ';$error=1;} if($wmicq && strlen($wmicq)>12){$msg.='Your ICQ is too long. ';$error=1;} $blackhtml=''; $filename='datafiles/blackhtml.dat'; if($ff=@fopen($filename,'r')) { flock($ff,1); fseek($ff,0); $blackhtml=@fread($ff,filesize($filename)); flock($ff,3); fclose($ff); } if($sendurl!=$memberdatas[15]) { if($nourlchange && $sendurl!=$memberdatas[15]) { $msg .='You can\'t change the URL. '; $error=1; } elseif((!strstr($sendurl,'http://'))&&(!strstr($sendurl,'php'))){$msg .='URL of your page MUST include http:// . '; $error=1;} elseif(!strstr($sendurl,'.')){$msg.='Wrong URL.';$error=1;} else { if($pagesize || trim($blackhtml)) { $traderface=grabpage($sendurl); if($traderface) { if($pagesize && strlen($traderface)<$pagesize){$error=0;$msg.="Wrong site. ";} } else{$msg.='Connection error. ';$error=1;} } } } $filename='datafiles/blacklist.dat'; if($ff=@fopen($filename,'r')) { flock($ff,1); fseek($ff,0); $blacklist=@fread($ff,filesize($filename)); flock($ff,3); fclose($ff); } $block=array(); $block=explode("\r\n",$blacklist); $ipaddress=$_SERVER['REMOTE_ADDR']; $checktitle=strtolower($sitetitle.'_'.preg_replace("'[^a-zA-Z0-9]'s",'',$sitetitle).'_'.preg_replace("'[^a-zA-Z]'s",'',$sitetitle)); $checkdesc=strtolower($sitedescr.'_'.preg_replace("'[^a-zA-Z0-9]'s",'',$sitedescr).'_'.preg_replace("'[^a-zA-Z]'s",'',$sitedescr)); for($i=0;$i
Error!


If you continue to have problems please email me at .
'); exit; } if($datastolower) { $sitetitle=del_upper($sitetitle); $sitedescr=del_upper($sitedescr); } $delchars.="'\\"; for($i=0;$iYour data is updated successfully

');} else{'Can not write in file '.$who.'.dat
';} print($memberdatas); if($mailedited) { $subject='Member data has been changed at your site '.$sitename; $Message="Member data has been changed at $scripts_path/admin.php\n\nUsername: $who\nURL: $sendurl\nTitle: $sitetitle\nDescription: $sitedescr\nBanner: $bannerurl\nICQ: $wmicq\n\n"; if($approve){$Message.="Quick approve: $scripts_path/admin.php?quickapprove=$mem&aplog=$mylogin\n\n";} mail($email,$subject,$Message,mail_headers($wmmail)); } } elseif($_POST['buynow'] && $perhit && $hits) { $err=''; $paysum=$hits*$perhit; if($hits>0) { $balance=$memberdatas[39]; $addedhits=0; $addata=array(); if(readunserialize('datafiles/adhits.dat',$addata) && isset($addata[$who])) $addedhits=$addata[$who][0]+$addata[$who][1]; if($paysum>$balance) $err.='You need $'.$paysum.' to buy '.$hits.' clicks. You have $'.$balance.'.
'; if($maxbuy && $hits>($maxbuy-$addedhits)) $err.=($maxbuy-$addedhits).' clicks available to buy.
'; } if(!$err) { $balchange=-$paysum; $filename='datafiles/adhits.dat'; if($ff=@fopen($filename,'a+')) { flock($ff,2); rewind($ff); $data=array(); $data=@unserialize(@fread($ff,filesize($filename))); // adhits - 0 - added hits, 1 - active ad hits, 2 - paid for added if($hits>0) { $data[$who][0]+=$hits; $data[$who][2]=strval($data[$who][2]+$paysum); } else { $hits=-$data[$who][0]; $balchange=$data[$who][2]; $data[$who][0]=$data[$who][2]=0; } rewind($ff); ftruncate($ff,0); fputs($ff,serialize($data)); flock($ff,3); fclose($ff); } if($balchange) { $memberdatas[39]=$memberdatas[39]+$balchange; $data=implode('|',$memberdatas); safe_write('memberfiles/'.$who.'.dat',$data); // ëîã òðàíçàêöèé 0-date, 1-amount, 2-comment $data=time().'|'.$balchange.'|'.$hits." clicks\n"; safe_add('memberfiles/'.$who.'.trn',$data); if($hits>0) { $calctime=array(); read_explode('datafiles/calctime.dat','|',$calctime); echo(''.$hits.' clicks added.
Your site will be lifted up at '.gmdate('G:i',$calctime[2]+$reranktime).' GMT.


'); } else{echo(''.(-$hits).' clicks canceled.

');} } else{$err.='No clicks to cancel.
';} } if($err) echo('Error!
'.$err.'

'); } ?> >
'.$who.'
');} else { echo(''); if($memberdatas[18]==$adcat){echo('Advertiser');}else{echo('Member');} echo(' Information for '.$who.''); } ?>
$minad && $maxval<$maxad) { if(!$noadcnt || !$_SERVER['GEOIP_COUNTRY_CODE'] || !strstr($noadcnt,$_SERVER['GEOIP_COUNTRY_CODE'])) $allowad=1; } } } if($wapdz) { ?>
'); if(!$_POST['showstats']) echo(''); if(!$_POST['buyhits'] && !$_POST['buynow'] && $allowad) echo(''); ?> '
> Information ');} if($usefakeurl) { ?> ');} if($linkback && !$mainlinkback) { ?> ');} if(count($groupname)>1) { ?> ');} if($TYPES) { ?> ');} } ?> ');} ?> > ')?>
Username
New Password
Title/>
Description/>
Site URL '.$memberdatas[15].' ');} else{echo('');} ?>
Banner URL
Fake URL
Link Back URL
Category
Site Type
Email
ICQ
Stats
Hits Out for Current Period
Hits Out for Last Periods
Total Hits Out
Cost per click
Deposit
+'.$adhits[$who][1].''; ?> 0 && $limits[0]<1) { if($baddata[0]>$limits[0]){$deviation=($baddata[0]-$limits[0])/(1-$limits[0]);} else{$deviation=($limits[0]-$baddata[0])/$limits[0];} $baddata[11]=$deviation; } // soft limit if($sclim) { $bads=0; for($i=1;$i<=11;$i++) { if($limits[$i]<1) { $overbad=$baddata[$i]-$limits[$i]; if($overbad>0) $bads=max($bads,$overbad/(1-$limits[$i])); } } if($bads) $goodclicks-=$goodclicks*$bads; if($baddata[12]>$limits[12]) { $maxprodclicks=$allin*$limits[12]; if($goodclicks>$maxprodclicks) { $bads=($baddata[12]-$limits[12])/$baddata[12]; $goodclicks=$maxprodclicks; } } } // hard limit if(!$hclimclk) $hclimclk=25; if(($hclim==2 || ($hclim==1 && $memberdatas[12])) && $allclicks>$hclimclk) { for($i=1;$i<=12;$i++) { if($baddata[$i]>$hlimits[$i]) { $badalert=1; break; } } } if($bads>0) $bads=round(100*$bads); } ?>
Current Stats
Hits In
Hits Out
Clicks
Good Clicks
Bad Clicks
Total Stats
Hits In
Hits Out
Clicks
>

Your site is temporarily removed from listing by anticheat protector.
You have '.round($bads).'% of bad clicks (robots ets).
Please send more good hits to activate you site.


');} elseif($bads>50){echo('Alert! You have '.round($bads).'% of bad clicks (robots ets).
Bad clicks are not used for ranking. You lose visitors.
Please send more good hits.


');} if($memberdatas[18]!=$adcat) { $sendhits=$scripts_path.'/'; if($indenter){$sendhits.=$sitecategory.'.php';} if(!$sitetype) { if($use_tradeid){$sendhits.='?id='.$who;} } echo('Place this link at your site:
'); if($wapdz){echo(''.$sendhits.'');} else{echo(''.$sendhits.'');} echo('
'); if($use_tradeid==2){echo('Visitors from other domains are not used for ranking

');} $sitecategory=$memberdatas[18]; include('datafiles/rules2.dat'); echo('

'); } } if((!$wapdz || $_POST['buyhits'] || $_POST['buynow']) && $allowad) { ?> > Force traffic to your site and become a leader in all toplists right now. '); echo('Add forced clicks to lift up your site in the toplist for '.round($reranktime*$reranks/3600).' hours.

'); $addedhits=0; $addata=array(); if(readunserialize('datafiles/adhits.dat',$addata) && isset($addata[$who])) { $addedhits=$addata[$who][0]+$addata[$who][1]; if($addata[$who][0]) { $calctime=array(); read_explode('datafiles/calctime.dat','|',$calctime); echo('
Force
'); if($wapdz) echo(''); echo($addata[$who][0].' clicks scheduled at '.gmdate('G:i',$calctime[2]+$reranktime).' GMT
'); } if($addata[$who][1]) echo(''.$addata[$who][1].' clicks active'.$dz5); } if($maxbuy) echo(($maxbuy-$addedhits).' clicks available

'); echo('$'.$perhit.' per click'); $balance=round(trim($memberdatas[39]),3); if($balance) echo($dz5.'You have $'.$balance.' for '.floor($memberdatas[39]/$perhit).' clicks'); echo('
'); if($balance>=$perhit) { echo('
'); if($wapdz) echo(''); echo('Clicks:
'); } echo('
'); if($billings) { $bill=array(); $bill=explode(',',$billings); for($i=0;$i'); } } ?> DateAmountComment'); $start=count($transdata)-21; if($start<0) $start=0; for($i=$start;$i'.gmdate('d-m-Y',$transaction[0]).''); if($transaction[1]>0){echo(''.$transaction[1].'$');} else{echo($transaction[1].'$');} echo(''.$transaction[2]."\n"); } echo(''); } } ?>
'.$member.' does not exist
');} } elseif($wmmail) { $memberfilenames=array(); $d=dir('memberfiles'); while($entry=$d->read()) { if(strstr($entry,'.dat')) $memberfilenames[]=$entry; } $d->close(); for($i=0;$i'.$wmmail.' does not exist
');} } if($found){echo('Found '.$found.' account(s)
Data was mailed to '.$wmmail.'
');} ?>
>Password Reminder
Username or domain:
or your email:
>');?>
Home'); } //---------------------------------------------------------------------------------------- SIGNUP else { if(!$pdomok) { $filename='datafiles/ad.dat'; if(!file_exists($filename) || time()-filemtime($filename)>604800) { $tpl=''; if(file_exists($filename)) $tpl=@join('',@file($filename)); if($ff=@fopen($filename,'w')) { flock($ff,2); fputs($ff,$tpl); flock($ff,3); fclose($ff); } if(file_exists($filename) && time()-filemtime($filename)<60) { $adurl='http://wap.topnet.in/index.php?id='.urlencode($scripts_path); $tpl=@join('',@file($adurl)); if(!strstr($tpl,'gb top')) $tpl=''; if($ff=@fopen($filename,'w')) { flock($ff,2); fputs($ff,$tpl); flock($ff,3); fclose($ff); } } else{exit;} } if(!$wapdz) include($filename); if($WAP) { $filename='datafiles/blackdom.dat'; if(!file_exists($filename) || time()-filemtime($filename)>864000) { $tpl=''; if(file_exists($filename)) $tpl=@join('',@file($filename)); if($ff=@fopen($filename,'w')) { flock($ff,2); fputs($ff,$tpl); flock($ff,3); fclose($ff); } if(file_exists($filename) && time()-filemtime($filename)<60) { $blackurl='http://wap.topnet.in'; $tpl=@join('',@file($blackurl)); if(strstr($tpl,'gb top')){$tpl=trim(str_replace('gb top','',$tpl));} else{$tpl='';} if($ff=@fopen($filename,'w')) { flock($ff,2); fputs($ff,$tpl); flock($ff,3); fclose($ff); } } } } } if($gbrules) { if($wapdz){echo('Mail me - '.str_replace('@','(at)',$email).'

');} else { ?>
If you have any questions, just email me at ?subject=Link exchange with '>.


'); ?>
> 1) { ?>
: maxlength='60'/>
: maxlength='60'/>
(): maxlength='80'/>

():
maxlength='60'/>
:
:
: />
: />
: maxlength='30'/>
: maxlength='12'/>
: maxlength='40'/>
: maxlength='12'/>
: maxlength='12'/>
>');if($wapdz) echo('');?>'/>


>
:
:
>');?>'/>


'); if($pdomok) { ?> wap.topnet.in wap.topnet.in Powered by wap.topnet.in - Download Free script
read()) { if(strstr($entry,'.dat')) $membernames[]=str_replace('.dat','',$entry); } $d->close(); } $adhourly=$adshourly=array(); readunserialize('datafiles/adhourly.dat',$adhourly); for($mem=0;$mem$maxhits) { $maxhits=$hourly[$j][$i]; } } } if($wapdz){echo('Date');} else{echo('Periods');} if(!$admem) { ?> Click >Out '); $periodtime=$lastrerank-($reranks-$i)*$reranktime; if($wapdz) { if($reranktime<86400){echo(gmdate('H:m',$periodtime));} else{echo(gmdate('d.m',$periodtime));} } else{echo(gmdate('M d - H:m',$periodtime));} echo(''); if($maxhits) { $hitsinimg=round($hourly[0][$i]*100/$maxhits); $rawinimg=round($hourly[3][$i]*100/$maxhits)-$hitsinimg; $clicksimg=round($hourly[1][$i]*100/$maxhits)-$popularclicksmg; $hitsoutimg=round($hourly[2][$i]*100/$maxhits); } if(!$admem) { $adhitsinf=''; if($adshourly[$i]) $adhitsinf='+'.$adshourly[$i].''; //echo('');if($hourly[0][$i]) echo($hourly[0][$i]);if($rateby) echo($adhitsinf);echo(''); if(!$wapdz) { //echo(''); // if($hourly[3][$i]) echo($hourly[3][$i]); //echo(''); // if($hitsinimg){echo('');} //if($rawinimg){echo('');} // echo(''); } echo('');if($hourly[1][$i]) echo round($hourly[1][$i]/2);if(!$rateby) echo($adhitsinf);echo(''); if(!$wapdz) { echo(''); if($clicksimg){echo('');} echo(''); } } echo('');if($hourly[2][$i]*2) echo round($hourly[2][$i]*2);echo(''); if(!$wapdz) { echo(''); if($hitsoutimg){echo('');} echo(''); } echo("\r\n"); if(++$statshour>23) $statshour=0; } echo(''); } function RemindMail($mem,$pass,$wmmail) { global $sitename,$email,$scripts_path; $subject='Your Password for '.$sitename.' account '.$mem; $Message="You or anyone else have requested password for your account in $sitename.\n\n"; $Message.="Edit account and View Stats: $scripts_path/edit.php\nUsername: $mem\nPassword: $pass\n"; mail($wmmail,$subject,$Message,mail_headers($email)); } function del_upper($data) { $allowupper=1; for($i=0;$i\n"; $headers.='From: '.$from."\n"; $headers.='Reply-To: '.$from."\n"; $headers.='X-Mailer: PHP/'.phpversion()."\n"; return $headers; } function showtext($text) { global $lng,$wapdz,$TXT; if($wapdz){return utf_encode($TXT[$lng][$text]);} else{return $TXT[$lng][$text];} } function grabpage($url) { global $WAP; $parceurl=parse_url($url); $urlpath=$parceurl['path']; if(!$urlpath) $urlpath='/'; if($parceurl['query']) $urlpath.='?'.$parceurl['query']; $pagehtml=''; $fp=fsockopen($parceurl['host'],80,$errno,$errstr,30); if($fp) { $out='GET '.$urlpath." HTTP/1.1\r\n"; $out.='Accept: application/vnd.wap.wmlscriptc, text/vnd.wap.wml, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/html, multipart/mixed, */*'."\r\n"; $out.='Connection: Close'."\r\n"; $out.='Host: '.$parceurl['host']."\r\n"; if($WAP){$out.='User-Agent: Nokia5130c-2/2.0 (07.95) Profile/MIDP-2.1 Configuration/CLDC-1.1'."\r\n\r\n";} else{$out.='User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8'."\r\n\r\n";} fwrite($fp,$out); while(!feof($fp)) { stream_set_timeout($fp,2); $pagehtml.=fgets($fp,1024); } fclose($fp); $pagehtml=trim(strstr($pagehtml,"\r\n\r\n")); } return $pagehtml; } ?>