sys_passport.htm
3 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
63
64
65
66
67
68
69
70
71
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>通行证设置</title>
<link href='css/base.css' rel='stylesheet' type='text/css'>
</head>
<body background='images/allbg.gif' leftmargin='8' topmargin='8'>
<table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D6D6D6" align="center">
<tr>
<td height="23" background="images/tbg.gif"> <b>通行证设置:</b> </td>
</tr>
<tr>
<td bgcolor="#FFFFFF">
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<form action="sys_passport.php" method="post" name="form1">
<input type="hidden" name="dopost" value="save">
<tr align="center" bgcolor="#E6F7CA" height="25">
<td width="25%">参数说明</td>
<td width="75%">参数值</td>
</tr>
<tr align="center" height="25" bgcolor="#F4FCDC">
<td bgcolor="#FFFFFF"> 是否使用通行证: </td>
<td align="left" bgcolor="#FFFFFF">
<input type='radio' class='np' name='edit___cfg_pp_need' value='Y'<?php if($cfg_pp_need=='Y') echo " checked";?>>
是
<input type='radio' class='np' name='edit___cfg_pp_need' value='N'<?php if($cfg_pp_need=='N') echo " checked";?>>
否 </td>
</tr>
<tr align="center" height="25" bgcolor="#F4FCDC">
<td> 通行证加密码: </td>
<td align="left">
<?php
if($cfg_pp_encode=='') $cfg_pp_encode = chr(mt_rand(ord('A'),ord('Z'))).chr(mt_rand(ord('a'),ord('z'))).chr(mt_rand(ord('A'),ord('Z'))).chr(mt_rand(ord('A'),ord('Z'))).chr(mt_rand(ord('a'),ord('z'))).mt_rand(1000,9999).chr(mt_rand(ord('A'),ord('Z')));
?>
<input type='text' name='edit___cfg_pp_encode' id='edit___cfg_pp_encode' style='width:80%' value='<?php echo $cfg_pp_encode?>'>
</td>
</tr>
<tr align="center" height="25" bgcolor="#FFFFFF">
<td> 登陆通行证网址: </td>
<td align="left">
<input type='text' name='edit___cfg_pp_login' id='edit___cfg_pp_login' style='width:80%' value='<?php echo $cfg_pp_login?>'></td>
</tr>
<tr align="center" height="25" bgcolor="#F4FCDC">
<td>退出通行证网址: </td>
<td align="left"><input name="edit___cfg_pp_exit" type='text' id="edit___cfg_pp_exit" style='width:80%' value='<?php echo $cfg_pp_exit?>'></td>
</tr>
<tr align="center" height="25" bgcolor="#FFFFFF">
<td>注册通行证帐号网址:</td>
<td align="left">
<input type='text' name='edit___cfg_pp_reg' id='edit___cfg_pp_reg' style='width:80%' value='<?php echo $cfg_pp_reg?>'>
</td>
</tr>
<tr bgcolor="#F3FFDD">
<td height="50" colspan="2"> <table width="98%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td width="11%"> </td>
<td width="11%"><input name="imageField" type="image" src="images/button_ok.gif" width="60" height="22" border="0" class="np"></td>
<td width="78%"><img src="images/button_reset.gif" width="60" height="22" style="cursor:pointer" onClick="document.form1.reset()"></td>
</tr>
</table></td>
</tr>
</form>
</table>
</td>
</tr>
</table>
<center>
</center>
</body>
</html>