View file profile.php

File size: 700B
<?php
include ("conf.php");
include ("lock.php");


if ($user == $myrow["user"] && $pass == $myrow["pass"])
{
include ("head.php");
$id = $myrow['id'];
echo <<<sss
<div class='nav'>
• <a href="info.php?user=$user&pass=$pass&id=$id">Мое инфо</a><br />
• <a href="edit_info.php?page=edit&user=$user&pass=$pass">Изменить инфо</a><br />
• <a href="avtologin.php?user=$user&pass=$pass">Автологин</a><br />
</div>
sss;

echo "<div class='nav'>";
echo "• <a href=menu.php?user=$user&pass=$pass>В меню</a>";
echo "</div>";
include ("foot.php");
exit();
}
else
{
echo "Ошибка! Неверный <b>Ник</b> или <b>Пароль</b><br />";
echo <<<sss
<a href="index.php">На главную</a>
sss;
}
?>