<?php
// =====================================================
//
// s-p-e - Content management system.
// Copyright (C) 2004, 2005, 2010, 2011 Vladimir B. Tsarkov
//
// This file is part of s-p-e.
//
// s-p-e is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// s-p-e is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with s-p-e. If not, see <http://www.gnu.org/licenses/>.
//
// ------
//
// You can contact me via e-mail: lipetsk-gnu-lug at bk period ru
//
// auth.php
//
// Abstract: Authorization.
//
// Revision History:
//
// 1 2004-03-27 - 2005-07-02 vbt
// 2 2005-07-16 vbt
// 3 2010-06-12 vbt
// 4 2011-01-22 vbt
// 5 2011-12-23 vbt
// 6 2011-12-31 vbt
//
// =====================================================
header("Content-Type: text/html; charset=UTF-8");
include("configure/specfg.php");
include("../include/functions.php");
language($cfg["deflangadmin"]);
echo "<html>
<head>
<title>".(_("Authorization"))."</title>
<link rel=\"stylesheet\" type=\"text/css\" href=\"../skin/".($cfg["skin"])."/style.css\">
</head>
<body style='client'>
<div align='center'>
<br><br><br>
<table>
<tr>
<td width='350' height='20' align='center'>
<font class='s-normal' id='w-bold'>".(_("Authorization"))."</font>
</td>
</tr>
<tr>
<td width='350' height='100'>
<table cellpadding='5'>
<tr>
<td><img src='../skin/".($cfg["skin"])."/img/copy.jpg'></td>
<td><font class='s-normal'>
".(_("To get access to the service, enter Your LOGIN and PASSWORD!"))."
</font>
</td>
</tr>
</table>
<form action='security.php' method='post'>
<table cellpadding='5'>
<tr>
<td>
<font class='s-normal' id='w-bold'>".(_("Login")).": </font>
</td>
<td>
<input type='text' maxlength='20' size='20' class='client-text' name='aulogin'>
</td>
</tr>
<tr>
<td>
<font class='s-normal' id='w-bold'>".(_("Password")).": </font>
</td>
<td>
<input type='password' maxlength='20' size='20' class='client-text' name='idpassword'>
</td>
</tr>
<tr>
<td align='right'><input type='radio' name='use' value='0' id='reporter' CHECKED></td>
<td><label for='reporter'><font class='s-normal' id='w-normal'>".(_("reporter"))."</font></label></td>
</tr>
<td align='right'><input type='radio' name='use' value='1' id='editor'></td>
<td><label for='editor'><font class='s-normal' id='w-normal'>".(_("editor"))."</font><label></td>
</tr>
<td align='right'><input type='radio' name='use' value='2' id='admin'></td>
<td><label for='admin'><font class='s-normal' id='w-normal'>".(_("administrator"))."</font></label></td>
</tr>
<tr>
<td colspan='2' align='center'>
<input type='reset' width='50' height='15' class='simple-button' value='".(_("Reset"))."'>
<input type='submit' width='50' height='15' class='simple-button' value='".(_("Log in"))."' name='submit'>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</div>
</body>
</html>";
?>