Файл: region_clean/intim.php
Строк: 68
<?
#######################################
## Mod By KoT (borispol) [76-75-072] ##
#######################################
require_once "start.php";
require_once "sid.php";
header("Cache-Control: no-cache");
if ($ver == "wml")header ("Content-type:text/vnd.wap.wml; charset=utf-8");
else header("Content-Type:text/html; charset=UTF-8");
require_once "inc.php";
$link = connect_db();
list($row, $id, $ps, $fsize1, $fsize2) = check_login($link);
require_once "version.php";
if ($ver == "wml") {
echo $xml;
echo $dtd;
echo "<wml>n
<head><meta http-equiv="Cache-Control" content="no-cache" forua="true"/></head>n
<card id="int" title="Ключ">n
<p align="center">n";
echo $fsize1;
echo 'Ключ:<br/>';
echo $fsize2;
echo "<input name="pwd$ref" maxlength="12" title="Kluch"/><br/>n";
echo $fsize1;
echo "<anchor title="go">Войти<go href="chat.php?$ses&rm=10&pwd=$pwd&ref=$ref" method="post">n
<postfield name="pwd" value="$(pwd$ref)"/>n
</go></anchor>n";
echo $fsize2;
echo '<br/>';
echo $fsize1;
echo "<br/><a href="enter.php?$ses&ref=$ref">Прихожая</a><br/>";
echo $fsize2;
include_once "foot.php";
} else {
echo "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><link rel="stylesheet" type="text/css" href="css/$css.css"/>
<title>Ключ</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/></head><body>
<div align="center">
<form action=chat.php?$ses&rm=10&pwd=$pwd&ref=$ref method=post title="Войти">n";
echo $fsize1;
echo 'Ключ: (Только цифры!)<br />';
echo $fsize2;
echo "<input name="pwd" maxlength="12" title="Kluch"/><br/>n
<input type=submit class="ibutton" value="Войти"/></form><br/>n";
echo $fsize1;
echo "<div class = 'd1'><a href="enter.php?$ses&ref=$ref">Прихожая</a></div>";
echo $fsize2;
include_once "foot.php";
}
mysql_close ($link);
exit;
?>