Размер файла: 3.52Kb
<?
session_start();
$title="CliCKWm.Cn\n";
include ("header.php");
$_SESSION['pid']=$_GET['pid'];
if ($mod="exit") { unset($_SESSION['login']); unset($_SESSION['pass']); }
echo $div["header"];
echo "<b>CliCkWm.cN!<br/></b>";
echo $div["end"];
echo $div["ten"];
echo "<div style=\"text-align:center\">";
if ($_SESSION['wap']=="xml")
{
echo "<form action=\"login.php?mod=enter&".session_name()."=".session_id()."\" method=\"post\">";
echo $div["div"];
//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 $div["end"];
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/>";
}
echo "[";echo "<a href=\"reg.php?".session_name()."=".session_id()."\">Регистрация</a>]<br/>";
echo "<br/>";
echo "</div>";
$qi = mysql_query("select * from `news` order by id desc limit 1;");
$row=mysql_fetch_array($qi);
echo "+ ";echo "<a href=\"news.php?".session_name()."=".session_id()."\" sendreferer=\"true\">Новости</a>[<b>".$row['date']."</b>]<br/>";
echo "+ ";echo "<a href=\"what.php?".session_name()."=".session_id()."\">О системе</a><br/>";
echo "+ ";echo "<a href=\"contact.php?".session_name()."=".session_id()."\">Контакты</a><br/>";
echo "+ ";echo "<a href=\"cost.php?".session_name()."=".session_id()."\">Расценки</a>(до 58$!)<br/>";
echo "+ ";echo "<a href=\"pr.php?".session_name()."=".session_id()."\">Правила</a><br/>";
echo "+ ";echo "<a href=\"toptop.php?".session_name()."=".session_id()."\">Рейтинг юзеров</a><br/>";
echo "+ ";echo "<a href=\"reftop.php?".session_name()."=".session_id()."\">Рейтинг рефералов</a><br/>";
echo "+ ";echo "<a href=\"help.php?".session_name()."=".session_id()."\">Помощь</a><br/>";
echo "+ ";echo "<a href=\"statall.php?".session_name()."=".session_id()."\">Статистика</a><br/>";
$q = mysql_query("select * from uzvers where `allmonth`>'0';");
$reg=mysql_num_rows($q);
echo "<div style=\"text-align:center\">";
echo "Активных партнеров: <b>$reg</b><br/>";
$q = mysql_query("select * from uzvers;");
while ($field=mysql_fetch_array($q))
{ $n = $field['log']; }
echo "Последний: $n<br/>";
$qi = mysql_query("select * from `stats` order by `id` desc;");
while($row=mysql_fetch_array($qi))
{ $t=$row['OP']+$t;
}
echo "Кликов: $u ($t)";
echo "</div>";
echo $div["end"];
echo "</div>";
include ("footergl.php");
?>