<?php
/**
 * @package iCMS
 * @copyright 2007-2010, iDreamSoft
 * @license http://www.idreamsoft.cn iDreamSoft
 * @author coolmoo <idreamsoft@qq.com>
 */
!defined('iPATH') && exit('What are you doing?');
?>
<!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">
<head>
<title>用户登陆 - Powered by iCMS</title>
<meta http-equiv="Content-Type" content="text/html;charset=<?=iCMS_CHARSET?>" />
<meta content="iDreamSoft Inc." name="Copyright" />
<style type="text/css">
*{ word-wrap:break-word; outline:none; }
body{ background:#FFF; text-align:center; }
body, td, input, textarea, select, button{ color:#555; font:12px Verdana, Arial, Helvetica, sans-serif; }
body, ul, dl, dd, p, h1, h2, h3, h4, h5, h6, form, fieldset { margin:0; padding:0; }
ul{ list-style:none; }
h1, h2, h3, h4, h5, h6{ font-size:12px; }
a{ color:#2366A8; text-decoration:none; }
	a:hover { text-decoration:underline; }
	a img{ border:none; }
table{ border-collapse:collapse; word-break:break-all; }

/* form */
input{ padding:2px; border:1px solid; border-color:#666 #ccc #ccc #666; background:#F9F9F9; color:#333; }
.txt{ vertical-align:middle; }
.txt:hover, .txt:focus{ border-color:#09C; background:#F5F9FD; }
.btn{ margin:3px 0; padding:2px 5px; *padding:4px 5px 1px; border-color:#ddd #666 #666 #ddd; background:#DDD; color:#000; cursor:pointer; vertical-align:middle; }
/* box */
.copyright{	position:absolute;z-index:10;	left:5px;bottom:3px;padding-top:3px;border-top:1px dashed #DDD;	text-align:left;	line-height:150%;font-family:Georgia, "Times New Roman", Times, serif;font-size:11px;}
.logintb{ text-align:left; margin:120px auto 0; width:600px; }
.login{ padding-right:30px; width:310px; height:150px; background:url(usercp/style/bg_login.gif) right 50% no-repeat; }
	.login h1{ text-indent:-9999px; margin-bottom:10px; width:272px; height:70px; background:url(usercp/style/login_title.gif) no-repeat; }
	.login p{ line-height:150%; }
.logintitle{ float:left; clear:left; width:60px; line-height:180%; font-weight:700; font-size:14px; color:#666; }
.loginform{ float:left; line-height:180%; font-size:14px; width:160px; }
	.loginform .txt{ margin-top:2px; width:160px; }
.loginnofloat{ clear:both; }
	.loginnofloat .btn{ margin-left:60px; }
.logintips{ line-height:160%; margin-left:25px; }
	.logintips a{ margin:0 5px; text-decoration:underline; }
.footer{}
	.footer .copyright{ position:static; margin-top:120px; border:none; text-align:center; font-size:12px; }
	.footer p{ display:inline; }
</style>
</head>
<body>
<table class="logintb">
  <tr>
    <td class="login"><h1>iCMS User's Control Panel</h1>
      <p>iCMS 是一个采用 PHP 和 MySQL 数据库构建的高效文章管理解决方案</p></td>
    <td><form method="post" name="login" id="loginform" action="<?=$_SERVER['PHP_SELF']?>">
        <input type="hidden" name="action" value="login">
        <input type="hidden" name="frames" value="yes">
        <p class="logintitle">用户名: </p>
        <p class="loginform">
          <input name="username" type="text" id="username" size="20" class="txt"/>
        </p>
        <p class="logintitle">密　码:</p>
        <p class="loginform">
          <input name="password" type="password" id="password" class="txt" />
        </p>
        <p class="logintitle">验证码:</p>
        <p class="loginform">
          <input name="seccode" type="text" id="seccode" size="4" maxlength="4"/>
          <img src="include/seccode.php" alt="看不清楚?点击刷新" align="absmiddle" id="seccodeimg" onclick="this.src='include/seccode.php?'+Math.random()"/></p>
        <p class="loginnofloat">
          <input name="submit" value="提交"  tabindex="3" type="submit" class="btn" />
          <input value="注册"  type="button" class="btn" onclick="window.location.href='register.php'" />
        </p>
      </form>
    </td>
  </tr>
  <tr>
    <td colspan="2" class="footer"><div class="copyright">
	  <p>Powered by <a href="http://www.iDreamSoft.cn" target="_blank">iCMS</a> <?=iCMS_VER?> </p>
	  <p>&copy;2007-2010, <a href="http://www.iDreamSoft.cn" target="_blank">iDreamSoft</a> Inc.</p>
      </div></td>
  </tr>
</table>
</body>
</html>
<?php exit();?>