loginopen.php
2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?php
if(!defined('InEmpireCMS'))
{
exit();
}
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="../../data/images/qcss.css" rel="stylesheet" type="text/css">
<title>登錄</title>
</head>
<body>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
<form name="form1" method="post" action="../doaction.php">
<input type=hidden name=ecmsfrom value="<?=ehtmlspecialchars($_GET['from'])?>">
<input type=hidden name=prtype value="<?=ehtmlspecialchars($_GET['prt'])?>">
<input type=hidden name=enews value=login>
<tr class="header">
<td height="25" colspan="2"><div align="center">會員登陸</div></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="24%" height="25">用戶名:</td>
<td width="76%" height="25"><input name="username" type="text" id="username"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25">密碼:</td>
<td height="25"><input name="password" type="password" id="password"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25">保存:</td>
<td height="25">
<select name="lifetime">
<option value="0">不保存</option>
<option value="3600">一小時</option>
<option value="86400">一天</option>
<option value="2592000">一個月</option>
<option value="315360000">永久</option>
</select>
</td>
</tr>
<?php
if($public_r['loginkey_ok'])
{
?>
<tr bgcolor="#FFFFFF">
<td height="25">驗證碼:</td>
<td height="25"><input name="key" type="text" id="key" size="6">
<img src="../../ShowKey/?v=login" name="loginKeyImg" id="loginKeyImg" onclick="loginKeyImg.src='../../ShowKey/?v=login&t='+Math.random()" title="看不清楚,點擊刷新"></td>
</tr>
<?php
}
?>
<tr bgcolor="#FFFFFF">
<td height="25"> </td>
<td height="25"><input type="submit" name="Submit" value="登陸"> <input type="button" name="button" value="註冊" onclick="window.open('../register/');"></td>
</tr>
</form>
</table>
</body>
</html>