View file vhod.php

File size: 751B
<?php
include_once "config.php";
include_once "inc/inc.php";
include_once "inc/func.php";
include_once "inc/user.php";
include_once "inc/gzip.php";
include_once "inc/online.php";
include_once "themes/$theme/index.php";

echo'Вход на сайт<hr>';
if (isset($error)) {
    echo 'Неверный логин или пароль<br>';
} 
echo'<form method="post" action="login.php">';
echo'Логин:<br><input name="log" value="' . htmlspecialchars(stripslashes($_COOKIE['login'])) . '" /><br>';
echo'Пароль:<br><input name="par" type="password" /><br><br>';
echo'<input value="Войти" type="submit" /></form><hr>';
echo'<a href="/reg.php">Регистрация</a><br>';
include_once "themes/$theme/foot.php";

?>