📄 login.tpl.php
字号:
<? if (!defined('IN_www.wan-e.net')){exit('Access Denied');}?><table align="center" width="<?=TABLEWIDTH?>" border="0" cellpadding="<?=TABLESPACE?>" cellspacing="<?=TABLECELL?>" class="frontground">
<tr align="center" valign="top">
<td>
<script language="javascript">
function checkdata(theform)
{
if (theform.username.value == "")
{
alert("<?=$LANG_LOGIN[LOGIN_NOUSER]?>");
theform.username.focus();
return false;
}
if (theform.password.value == "")
{
alert("<?=$LANG_LOGIN[LOGIN_NOPASS]?>");
theform.password.focus();
return false;
}
else
{
theform.Submit.disabled = true;
return true;
}
}
</script>
<table width="100%" border="0" cellpadding="<?=TABLESPACE?>" cellspacing="<?=TABLECELL?>" class="tableborder">
<tr class="categround">
<td colspan="2"><?=$LANG_LOGIN[LOGIN_TITLE]?></td>
</tr>
<form action="index.php?action=logsubmit" method="post" name="wane_post" onSubmit="return checkdata(this)">
<tr class="contentground">
<td width="25%"><?=$LANG_LOGIN[LOGIN_USER]?></td>
<td><input name="username" type="text" id="username" size="30"> <a href="?action=reg"><?=$LANG_LOGIN[LOGIN_REGISTER]?></a></td>
</tr>
<tr class="contentground">
<td><?=$LANG_LOGIN[LOGIN_PASS]?></td>
<td><input name="password" type="password" id="password" size="30"> <a href="?action=pwd"><?=$LANG_LOGIN[LOGIN_LOSEPWD]?></a></td>
</tr>
<tr class="contentground">
<td><?=$LANG_LOGIN[LOGIN_COOKIE]?></td>
<td><input name="cookietime" type="radio" value="2592000"><?=$LANG_LOGIN[LOGIN_COOKIE_MONTH]?>
<input name="cookietime" type="radio" value="604800"><?=$LANG_LOGIN[LOGIN_COOKIE_WEEK]?>
<input name="cookietime" type="radio" value="86400"><?=$LANG_LOGIN[LOGIN_COOKIE_DAY]?>
<input name="cookietime" type="radio" value="43200" checked><?=$LANG_LOGIN[LOGIN_COOKIE_TWEN]?>
<input name="cookietime" type="radio" value="3600"><?=$LANG_LOGIN[LOGIN_COOKIE_HOUR]?>
<input name="cookietime" type="radio" value="0"><?=$LANG_LOGIN[LOGIN_COOKIE_ONLINE]?></td>
</tr>
<tr class="contentground" align="center">
<td colspan="2"><input name="backurl" type="hidden" id="backurl" value="<?=BACKURL?>"><input type="submit" name="Submit" value="<?=$LANG_LOGIN[LOGIN_SUBMIT]?>"><input name="submit_login" type="hidden" id="submit_login" value="1"></td>
</tr>
</form>
</table>
</td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -