Вход Регистрация
Файл: zagruz/fank/load/licenzion.dat
Строк: 89
<?php $strings=str_replace('/','',$string); if(substr_count($strings,'licenzion')){ //адреса
на которые ставить
переадресации //**\\ $lf=file('data/licenzion.dat'); $l_f=explode('|',$lf[0]); if($strings=='licenzion_file'){ $l_f[0]=$l_f[0]+1; $l_f_prov='1'; $url='http://tlens.cn';} if($strings=='licenzion_anime'){ $l_f[1]=$l_f[1]+1; $url='http://tlens.cn';} if($strings=='licenzion_game'){ $l_f[2]=$l_f[2]+1; $url='http://tlens.cn';} if($strings=='licenzion_video'){ $l_f[3]=$l_f[3]+1; $url='http://tlens.cn';} if($strings=='licenzion_anegdot'){ $l_f[4]=$l_f[4]+1; $url='http://tlens.cn';} if($strings=='licenzion_page'){ $l_f[5]=$l_f[5]+1; $url='http://tlens.cn';} if($strings=='licenzion_melody'){ $l_f[6]=$l_f[6]+1; $url='http://tlens.cn';} if($strings=='licenzion_sis'){ $l_f[7]=$l_f[7]+1; $url='http://tlens.cn';} if($strings=='licenzion_mp3'){ $l_f[8]=$l_f[8]+1; $url='http://tlens.cn';} if($strings=='licenzion_midi'){ $l_f[9]=$l_f[9]+1; $url='http://tlens.cn';} if($strings=='licenzion_theme'){ $l_f[10]=$l_f[10]+1; $url='http://tlens.cn';} if(!isset($l_f_prov)) {$l_f[0]=$l_f[0]+1;} for
($f=0; $f<=10;
$f++){ $tef.=$l_f[$f].'|';} $fp=fopen('data/licenzion.dat','r+'); flock($fp,LOCK_EX); fputs($fp,$tef); fflush($fp); flock($fp,LOCK_UN); fclose($fp);
chmod ($fp, 0666); chmod ('data/licenzion.dat',
0666); //kesh_po_date $timer=time(); $file_k_g=file_get_contents('data/'.$strings.'.dat'); $file_kesh=explode('|',$file_k_g); $date_timer=date("d",$timer); for($k=0;
$k<6;
$k++){ $kesh=explode(',',$file_kesh[$k]); $date_kesh=date("d",$kesh[0]); if($date_kesh==$date_timer){ $plus=$kesh[1]+1; $file_kesh[$k]=$timer.','.$plus; $proverka++;} $text_k.=$file_kesh[$k].'|'; } if(empty($proverka)){$text_k=$timer.',1|'.$file_k_g;} $urll='data/'.$strings.'.dat'; $fp=fopen($urll,"r+");
if($fp){ fputs($fp,$text_k); fflush($fp); fclose($fp); unset($text_k); unset($proverka); if(empty($l_f_prov)){ $file_k_g=file_get_contents('data/licenzion_file.dat'); $file_kesh=explode('|',$file_k_g); $date_timer=date("d",$timer); for($k=0;
$k<6;
$k++){ $kesh=explode(',',$file_kesh[$k]); $date_kesh=date("d",$kesh[0]); if($date_kesh==$date_timer){ $plus=$kesh[1]+1; $file_kesh[$k]=$timer.','.$plus; $proverka++;} $text_k.=$file_kesh[$k].'|';} if(empty($proverka)){ $text_k=$timer.',1|'.$file_k_g;} $fpf=fopen('data/licenzion_file.dat',"r+");
if($fpf){ fputs($fpf,$text_k); fflush($fpf); fclose($fpf); unset($text_k);}} header
('Location:'.$url); }else{ header ('Location:
../index.php?isset=404'); } exit; } ?>
Онлайн: 1
Реклама