Размер файла: 1.07Kb
<?php
echo '<br></div><div class="c" id="down">';
require_once BASEDIR."template/session.php";
$stringi = htmlspecialchars($QUERY_STRING);
$stringi = str_replace("wap=wml&","",$stringi);
$stringi = str_replace("wap=xhtml&","",$stringi);
$stringi = str_replace("wap=wml","",$stringi);
$stringi = str_replace("wap=xhtml","",$stringi);
$stringi = str_replace("wap=","",$stringi);
if (!$_SESSION['log']=="" && !md5($_SESSION['par'])=="" && md5($_SESSION['par'])==$provpar && $_SESSION['log']==$provlog ) {
echo'<a href="'.$config_home.'/?wap=wml&'.SID.'">'.$config_copy.'</a><br>';
}else{
echo'<a href="'.$config_home.'/?wap=wml&'.SID.'">'.$config_copy.'</a><br>Версия сайта: <a href="'.$PHP_SELF.'?wap=xhtml&'.$stringi.''.SID.'">XHTML</a>//WML<br>';}
require_once BASEDIR."template/counters.php";
echo '</div><div align="center">';
if($config_generics=="1"){require_once BASEDIR."template/generic.php";}
require_once BASEDIR."template/gzip_foot.php";
require_once BASEDIR."template/traffic.php";
echo'</div></body></html>';
ob_end_flush();
exit;
?>