login.php

来自「phpcms网站管理系统  很不错的 有需要的就下载看看八 」· PHP 代码 · 共 49 行

PHP
49
字号
<?php 
defined('IN_PHPCMS') or exit('Access Denied');
include admintpl('header');
?>
<body onload="javascript:document.myform.username.focus();">
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="50">
  <tr>
    <td ></td>
  </tr>
</table>
<table cellpadding="0" cellspacing="0" border="0" width="500" align='center'>
  <tr>
    <td >
<table border='0' cellpadding='1' cellspacing='1' align='center' class="tableborder">
  <tr>
    <th colspan=2>PHPCMS <?=PHPCMS_VERSION?> 网站管理登录</th>
  </tr>
  <form name="myform" method="post" action="?mod=phpcms&file=login" onsubmit="document.myform.phpcms_user.value = escape(document.myform.username.value);return true;">
    <tr> 
      <td align="right"  class="tablerow" width="40%">帐号</td>
      <td class="tablerow">
	  <input name="username" type="text" size="15" value="<?=$username?>">
	  <input type="hidden" name="phpcms_user" id="phpcms_user" />
	  </td>
    </tr>
    <tr> 
      <td align="right"  class="tablerow">密码</td>
      <td  class="tablerow"><input name="password" type="password" size="15" value="<?=$password?>"></td>
    </tr>
<?php if($_PHPCMS[enableadmincheckcode]){?>
    <tr> 
      <td align="right" class="tablerow">验证码</td>
      <td  class="tablerow"><input name="checkcode" type="text" size="15">
	  <img src="<?=PHPCMS_PATH?>checkcode.php" border="0"></SCRIPT></td>
    </tr>
<?php } ?>
    <tr> 
      <td align="center"  class="tablerow"></td>
      <td  class="tablerow">
	  <input type="hidden" name="referer" value="<?=$referer?>">
	  <input type="submit" name="loginsubmit" value=" 登录 "> 
	  <input type="reset" name="Reset" value=" 清除 "></td>
    </tr>
</table>
</td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?