<?php
include("include/config.php");
include("include/functions.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="rtl" lang="fa-IR"><head>
	<title>مدیریت پرتال</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" id="login-css" href="maintemplate/login/login.css" type="text/css" media="all">
<link rel="stylesheet" id="login-rtl-css" href="maintemplate/login/login-rtl.css" type="text/css" media="all">
<link rel="stylesheet" id="colors-fresh-css" href="maintemplate/login/colors-fresh.css" type="text/css" media="all">
<link rel="stylesheet" id="colors-fresh-rtl-css" href="maintemplate/login/colors-fresh-rtl.css" type="text/css" media="all">
<meta name="robots" content="noindex,nofollow">
</head>
<body class="login">
<div id="login"><h1><a href="http://www.narenjsystem.com/" title="powered by NARENJ">مدیریت pishsakhteh</a></h1>

<form action="index.php" name="loginform" id="loginform" method="POST">
	<input type="hidden" name="action" value="login">
           <?php

if(isset($_GET['error'])){
	echo show_error((int)$_GET['error']);
}
if(isset($_GET['logout'])){
	echo '<div dir="rtl" style="color: #030; background-color: #A8F583; width:280px; border-bottom: 1px solid  #090; border-top: 1px solid #090; font-size:11px ; font-weight:bold; text-align:right;"><img src="images/tik1.png"  align="absmiddle"> شما با موفقيت خارج شديد</div>';
}?>
    <p>
    <label>شناسه<br>
		<input type="text" name="userName" class="input" id="user_login"  size="20" tabindex="20">
		</label>

	</p>
	<p>
		<label>رمز<br>
		<input name="userPass" id="user_pass" class="input" value="" size="20" tabindex="20" type="password"></label>
	</p>
    <p>
    <label>مرا به خاطر بسپار<br/>
    <input type="radio" name="userRemember" value="no" checked>خیر
<input type="radio" name="userRemember" value="yes" style="margin-right:25px;">بله
    </p>
    
   
	<p class="submit">
		<input name="submit" id="wp-submit" class="button-primary" value="ورود" tabindex="100" type="submit">
		
	</p>
</form>


</div>





</body></html>