Размер файла: 3.32Kb
<?
session_start();
$title="apTRAF.cn \n";
include ("header.php");
$_SESSION['pid']=$_GET['pid'];
if ($mod="exit") { unset($_SESSION['login']); unset($_SESSION['pass']); }
echo $div["header"];
echo "<img src=\"logo.gif\" alt=\"*\"/><br/>";
echo $div["end"];
echo $div["ten"];
$date=date("d.m.Y");
if ($_SESSION['wap']!="xml") {echo "---<br/>";}
if ($_SESSION['wap']=="xml")
{
echo "<form action=\"login.php?mod=enter&".session_name()."=".session_id()."\" method=\"post\">";
echo "<img src=\"pics/st.gif\" alt=\"*\"/>";
echo "Логин: <br/>";
echo "<input name=\"login\" maxlength=\"12\" title=\"Text\"/><br/>";
echo "<img src=\"pics/st.gif\" alt=\"*\"/>";
echo "Пароль: <br/>";
echo "<input name=\"pass\" maxlength=\"20\" type=\"password\"/><br/>";
echo "<input class=\"ibutton\" type=\"submit\" value=\"Войти\"/>";
echo "</form>";
}
else
{
echo "<img src=\"pics/st.gif\" alt=\"*\"/>";
echo "Логин: <br/>";
echo "</small><input name=\"login\" maxlength=\"12\" title=\"Text\"/><br/><small>";
echo "<img src=\"pics/st.gif\" alt=\"*\"/>";
echo "Пароль: <br/>";
echo "</small><input name=\"pass\" maxlength=\"20\" type=\"password\"/><br/><small>";
echo "<anchor title=\"send\">Войти<go href=\"login.php?mod=enter&".session_name()."=".session_id()."\" method=\"post\">";
echo "<postfield name=\"login\" value=\"$(login)\"/>";
echo "<postfield name=\"pass\" value=\"$(pass)\"/>";
echo "</go></anchor><br/>";
}
$qi = mysql_query("select * from `news` order by id desc limit 1;");
$row=mysql_fetch_array($qi);
echo "<img src=\"pics/st.gif\" alt=\"*\"/>";echo "<a href=\"reg.php?".session_name()."=".session_id()."\">Регистрация</a><br/>";
echo "<img src=\"pics/st.gif\" alt=\"*\"/>";echo "<a href=\"news.php?".session_name()."=".session_id()."\" sendreferer=\"true\">Новости</a>[<b>".$row['date']."</b>]<br/>";
echo "<img src=\"pics/st.gif\" alt=\"*\"/>";echo "<a href=\"faq/\">FAQ</a><br/>";
echo "<img src=\"pics/st.gif\" alt=\"*\"/>";echo "<a href=\"pravila.php/\">Правила</a><br/>";
echo "<img src=\"pics/st.gif\" alt=\"*\"/>";echo "<a href=\"cost.php?".session_name()."=".session_id()."\">Расценки</a><br/>";
echo "<img src=\"pics/st.gif\" alt=\"*\"/>";echo "<a href=\"baks.html\">Курс валют</a><br/>";
echo "<img src=\"pics/st.gif\" alt=\"*\"/>";echo "<a href=\"contact.php?".session_name()."=".session_id()."\">Контакты</a><br/>";
echo "<img src=\"pics/st.gif\" alt=\"*\"/>";echo "<a href=\"statmy.php\">Статистика</a><br/><br/>";
echo "<img src=\"http://mihej.kmx.ru/img/go2.gif\" alt=\"*\"/>apTRAF.cn рекомендует : <br/> <img src=\"pics/st.gif\" alt=\"*\"/>";
echo "<a href=\"http://nikson.in\">ХХХалявное порево</a><br/>";
echo "<img src=\"pics/st.gif\" alt=\"*\"/><a href=\"http://r.wap2k.org/454/sex.jar\">Выпускницы 2оо7</a><br/>";
echo "<img src=\"pics/st.gif\" alt=\"*\"/><a href=\"http://reg.mporno.us/x/index.jar?x=973&name=sexxx.jar\">Трах знаминитостей</a><br/>";
echo $div["end"];
include ("footergl.php");
?>