Вход Регистрация
Файл: F12/code.php
Строк: 77
<?php
error_reporting
(0);
if (
strpos($_SERVER["PHP_SELF"],"code.php")) exit (":)");


// ------------------ SETTINGS --------------------------------------//
$site_name 'ЭРОТИКА-БЕСПЛАТНО!';
$zakaz_mail 'romka.wen@mail.ru';
$site_url 'http://seksi.h2m.ru';
$path 'l/';
$opath 'about/';
$spath 'screen/';
$lpath 'load/';
$icon 'icon/';
$onpage 10;
$data 'online.dat'// !!chmod 0777
$rek_all 3// Сколько рекламных ссылок
$rek_file "pay.txt";
$screen_path = array ("t_Video","t_Temy");

// ------------------------------------------------------------------//

switch ($wap)
{
case 
'wml':
$wml true;
$html false;
$wap 'wml';
break;
case 
'html':
$wap 'html';
$html true;
$wml false;
break;
default:
$wap 'html';
$html true;
$wml false;
break;
}

if (!
$sort$sort 'n';


function 
pay ()
{
        global 
$rek_all,$rek_file;
        
$rek file ($rek_file);
        
$all count($rek)-1;
      echo
      
"<small>";
        for(
$i=1;$i<=$rek_all$i++)
        {
                list(
$link,$name) = explode ("[name]",$rek[mt_rand(0,$all)]);
                echo 
"<a href='".$link."'>".$name."</a><br/>";
        }
        echo 
"</small>";
}

function 
realname ($string)
{
if(
substr ($string,0,2)=='t_')
{
$string substr ($string,2);
$a=array("_","YA","Ya","ya","yee","YO","yo","Yo","ZH","zh","Zh","Z","z","CH","ch","Ch","SH","sh","Sh","YE","ye","Ye","YU","yu","Yu","JA","ja","Ja","A","a","B","b","V","v","G","g","D","d","E","e","I","i","J","j","K","k","L","l","M","m","N","n","O","o","P","p","R","r","S","s","T","t","U","u","F","f","H","h","W","w",'x',"q","Y","y","C","c","--");
$b=array(" ","Я","Я","я","ые","Ё","ё","Ё","Ж","ж","Ж","З","з","Ч","ч","Ch","Ш","ш","Ш","Э","э","Э","Ю","ю","Ю","Я","я","Я","А","а","Б","б","В","в","Г","г","Д","д","Е","е","И","и","Й","й","К","к","Л","л","М","м","Н","н","О","о","П","п","Р","р","С","с","Т","т","У","у","Ф","ф","Х","х","Щ","щ","ъ","ь","Ы","ы","Ц","ц","");
return 
str_replace($a,$b,$string);
}
else
return 
$string;
}

function 
allfiles ($path)
{
        
$path $path."/*";
        foreach (
glob($path) as $v)
        {
                if(
is_dir($v)) $all += allfiles ($v);
                else
                
$all++;
        }
        if (
$all == ''$all 0;
        return 
$all;
}

$v_string '';
if(
$wap == 'html'$v_string '<a href="index.php?wap=html&amp;sort='.$sort.'" style="color: #FFFFFF">Загрузки</a>(<a href="index.php?wap=wml&amp;sort='.$sort.'" style="color: #FFFFFF">wml</a>)<br/>';
if(
$wap == 'wml'$v_string '<a href="index.php?wap=wml&amp;sort='.$sort.'">Загрузки</a>(<a href="index.php?wap=html&amp;sort='.$sort.'">html</a>)<br/>';
# GZIP
ob_start ('ob_gzhandler');

if(
$html)
{
header("Content-Type: text/html; charset=utf-8");
header("Pragma: no-cache");

echo
'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><link rel="stylesheet" type="text/css" href="xhtml.css">
<title>SeKsi.H2M.Ru</title>
</head><body><div class="red">'
.$site_name.'</div>';


$px '<div class="red">'.$v_string.'
<a href="http://banners.su/click.php?id=8280"><img src="http://banners.su/banner.php?id=8280" alt="banners.su"/></a><br/>
&#169; <b>SeKsi.2007</b></div></body></html>'
;
}
else
{
        
header("Content-Type: text/vnd.wap.wml; charset=utf-8");
header("Pragma: no-cache");

echo(
"<?xml version="1.0" encoding="Utf-8"?><!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.2//EN" "http://www.wapforum.org/DTD/wml_1.2.xml"><wml>
<card title="Загрузки"><p>");


$px = '<br/>:::::<br/>'.$v_string.'
<a href="
http://banners.su/click.php?id=8280"><img src="http://banners.su/banner.php?id=8280" alt="banners.su"/></a><br/>
<small>&#169;SeKsi.2007</small>,<a href="'.$site_url.'">'.$site_name.'</a>
</p></card></wml>';
}
?>
Онлайн: 2
Реклама