File size: 3.32Kb
<?php
/*People чат by СОБОЛЬ & kela
ICQ#: 6421623 - СОБОЛЬ
ICQ#: 6680194 - kela*/
error_reporting(0);
include("config.php");
include("./includes/".$ver."/banned");
$nocache = rand(1000, 9999);
switch($ver)
{
////////////////////////////////////////////////////////
//WML VERSION
////////////////////////////////////////////////////////
case 'wml':
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-relative");
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.3//EN\" \"http://www.wapforum.org/DTD/wml13.dtd\"><wml>\n";
echo "<card title=\"Чат на сайт\"><p align=\"left\"><small>\n";
echo "Желаешь чтоб этот чат отображал только твою ссылку? Это легко исправить...=) Достаточно просто, перейди по адрессу:";
echo "<b>http://chat.exelente.net/index.php?url=И сылку на Ваш сайт</b> [Без http://]<br/> Пример: На примере мы используем сайт (supersite.ru)";
echo "<a href=\"http://chat.exelente.net/index.php?url=supersite.ru\">http://chat.exelente.net/index.php?url=supersite.ru</a><br/>\n";
echo "Можно скопировать:<br/>";
echo "<input type=\"text\" value=\"http://chat.exelente.net/index.php?url=supersite.ru\" />\n";
echo "<a href=\"index.php?ver=wml\">Назад</a><br/>\n";
echo "</small></p></card></wml>";
break;
////////////////////////////////////////////////////////
//HTML VERSION
////////////////////////////////////////////////////////
case 'html':
header("Content-type: text/html; charset=utf-8");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-cache, must-relative");
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n";
echo "<html><head>\n";
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>\n";
echo "<link rel=\"shortcut icon\" href=\"$icon\" /><title>Чат на сайт</title>\n";
echo "<style type=\"text/css\">
body { font-weight: normal; font-size: normal; font-family: ".$font."; color: ".$color."; background-color: ".$background." }
a:link,a:active,a:visited { text-decoration: underline; color : ".$links." }
</style></head><body><div style=\"text-align: left\">";
echo "Желаешь чтоб этот чат отображал только твою ссылку? Это легко исправить...=) Достаточно просто, перейди по адрессу:";
echo "<b>http://chat.exelente.net/index.php?url=И сылку на Ваш сайт</b> [Без http://]<br/> Пример: На примере мы используем сайт (supersite.ru)";
echo "<a href=\"http://chat.exelente.net/index.php?url=supersite.ru\">http://chat.exelente.net/index.php?url=supersite.ru</a><br/>\n";
echo "Можно скопировать:<br/>";
echo "<input type=\"text\" value=\"http://chat.exelente.net/index.php?url=supersite.ru\" />\n";
echo "<a href=\"index.php?ver=html\">Назад</a><br/>\n";
echo "</div></body></html>";
break;
}
?>