Размер файла: 1.33Kb
<?php
//POWERED by ILI
// ICQ : 197042
//site: ili.wab.ru
// ilichat v4.0
error_reporting(0);
include("config.php");
include("./includes/".$ver."/banned");
$url = htmlspecialchars($_GET['url']);
switch($ver)
{
case 'wml':
///////////////////////////////////////////////////////
//WML VERSION
///////////////////////////////////////////////////////
header("Content-type: text/vnd.wap.wml; charset=utf-8");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-cache, must-revalidate");
echo '
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd">
<wml>
<head><meta http-equiv="Cache-Control" content="no-cache" forua="true"/></head>
<card id="redirect" title="Redirect" ontimer="$url">
<timer value="10" />
<p align="left">
Переадресация: <a href="'.$url.'">'.$url.'</a><br />
</p>
</card>
</wml>
';
break;
case 'html':
///////////////////////////////////////////////////////
//HTML VERSION
///////////////////////////////////////////////////////
$my_title = "Аут";
if(!isset($_COOKIE['theme'])) $_COOKIE['theme'] = 1;
include_once "themes/".intval($_COOKIE['theme'])."/index.php";
echo '
Переадресация: <a href="'.$url.'">'.$url.'</a><br />
';
include_once "themes/".intval($_COOKIE['theme'])."/foot.php";
break;
}
?>