File size: 2.2Kb
<?php
include_once 'sys/inc/start.php';
include_once 'sys/inc/compress.php';
include_once 'sys/inc/sess.php';
include_once 'sys/inc/home.php';
include_once 'sys/inc/settings.php';
include_once 'sys/inc/db_connect.php';
include_once 'sys/inc/ipua.php';
include_once 'sys/inc/fnc.php';
$show_all=true; // показ для всех
include_once 'sys/inc/user.php';
only_unreg();
if (isset($_GET['pass']) && $_GET['pass']='ok')
$_SESSION['message'] = 'Пароль отправлен вам на E-mail';
if ($set['guest_select']=='1')
$_SESSION['message'] = "Доступ к сайту разрешен только авторизованым пользователям";
if ((!isset($_SESSION['refer']) || $_SESSION['refer']==NULL)
&& isset($_SERVER['HTTP_REFERER']) && $_SERVER['HTTP_REFERER']!=NULL &&
!preg_match('#mail\.php#',$_SERVER['HTTP_REFERER']))
$_SESSION['refer']=str_replace('&','&',preg_replace('#^http://[^/]*/#','/', $_SERVER['HTTP_REFERER']));?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Вход | Blablablog</title>
<link rel="stylesheet" href="/style/themes/<?=$set['set_them']?>/css-login/loginstyle.css"" media="screen" type="text/css" />
<link rel="icon" href="http://vladmaxi.net/favicon.ico" type="image/x-icon"><!--
<link rel="shortcut icon" href="http://vladmaxi.net/favicon.ico" type="image/x-icon"> -->
</head>
<body>
<div id="login">
<form action="/login.php" method="post">
<fieldset class="clearfix">
<p><span class="fontawesome-user"></span><input type="text" value="Логин" name="nick" onBlur="if(this.value == '') this.value = 'Логин'" onFocus="if(this.value == 'Логин') this.value = ''" required></p><p><span class="fontawesome-lock"></span><input type="password" name="pass" value="Пароль" onBlur="if(this.value == '') this.value = 'Пароль'" onFocus="if(this.value == 'Пароль') this.value = ''" required></p> <p><input type="submit" value="ВОЙТИ"></p>
</fieldset>
</form>
<p>Нет аккаунта? <a href="/reg.php">Регистрация</a><span class="fontawesome-arrow-right"></span></p>
</div>
</body>
</html>