📄 adminview.asp
字号:
<%@language="vbscript" codepage="936"%>
<%response.buffer = true%>
<%
Public HOME_PATH:HOME_PATH = "../"
Response.Expires = -1
Response.ExpiresAbsolute = Now() - 1
Response.cachecontrol = "no-cache"
%>
<!--#include file="../db.asp"-->
<!--#include file="../inc/function.asp"-->
<%
if isLogin = false then
Response.Write viewinfo("LoginC","","")
Response.end
end if
Aid = GetText("aid","G","number",1,10,0)
SQL = "select * from admins Where aid = " & Aid & ""
Set c01 = new CL01
c01.Admininfo
Public title:title = "管理员" & ATrueName
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title><%=title%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="Generator" content="EditPlus">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<link href="<%=HOME_PATH%>css/style01.css" rel="stylesheet" type="text/css">
<script type = 'text/javascript' src = '<%=HOME_PATH%>js/layer00.js'></script>
<script type = 'text/javascript' src = '<%=HOME_PATH%>js/dateselect.js'></script>
<style>
html{min-width: 776px;}
fieldset {padding:3px;}
</style>
<base target = '_self'>
<script type = 'text/javascript'>
<!--
rv = Array("returnValue","parent.right") ;
window.returnValue = rv[1] ;
//-->
</script>
</head>
<body style = 'border-style:none;margin:0px;background-color:buttonface;'>
<div style = 'text-align:center;'>
<table border = '0' style = 'width:auto;height:95%;' cellspacing = '0' cellpadding = '3'>
<tr>
<form method='post' action="<%=SELVAR("FN","?")%>" name = 'form'>
<input name = 'Options' type = 'hidden'/>
<td style = 'width:100%;vertical-align:top;'><table border = '0' style = 'width:100%;' cellspacing = '0' cellpadding = '0'>
<tr>
<td style = 'text-align:center;'><fieldset>
<legend></legend>
<table border = '0' width = '98%' cellspacing = '0' cellpadding = '1'>
<tr>
<td style = 'width:55px;text-align:right;'>登陆帐号</td>
<td><table border = '0' width = '100%' cellspacing = '0' cellpadding = '0'>
<tr>
<input type="hidden" name="Loginid_" value='<%=c01.HtmlF(ALoginid)%>'/>
<td style ='width:158px;'><input type="text" name="Loginid" style = 'width:100%;' value='<%=c01.HtmlF(ALoginid)%>' onKeyup = "javascript:if(form.Loginid.value!=form.Loginid_.value) {form.repetition.checked=true;}else{form.repetition.checked=false;}"/></td>
<%
for i_pwd = 1 to Len(ALoginPassWord)
LPW = LPW & "*"
next
%>
<input name = 'LPW' value = '<%=c01.HtmlF(LPW)%>' type = 'hidden'/>
<td style = 'width:60px;text-align:right;'>登陆密码 </td>
<td style ='width:158px;'><input type="text" name="LoginPassWord" style = 'width:100%;'value='<%=c01.HtmlF(LPW)%>'/></td>
</tr>
</table>
</td>
</tr>
<tr>
<td style = 'width:55px;text-align:right;'>姓 名</td>
<td><table border = '0' width = '100%' cellspacing = '0' cellpadding = '0'>
<tr>
<td style ='width:158px;'><input type="text" name="TrueName" style = 'width:100%;'value='<%=c01.HtmlF(ATrueName)%>'/></td>
<td style = 'width:60px;text-align:right;'>电脑编号 </td>
<td style ='width:158px;'><input type="text" name="PcNum" style = 'width:100%;'value='<%=c01.HtmlF(APcNum)%>'/></td>
</tr>
</table>
</td>
</tr>
<tr>
<td style = 'width:55px;text-align:right;'>职 位</td>
<td><table border = '0' width = '100%' cellspacing = '0' cellpadding = '0'>
<tr>
<td style ='width:158px;'><input type="text" name="Place" style = 'width:100%;'value='<%=c01.HtmlF(APlace)%>'/></td>
<td style = 'width:60px;text-align:right;'>入职时间 </td>
<td style ='width:158px;'><input type="text" name="Regtime" style = 'width:100%;'value='<%=c01.HtmlF(ARegtime)%>' onfocus="setday(this);"/></td>
</tr>
</table>
</td>
</tr>
<tr>
<td style = 'width:55px;text-align:right;'>序 号</td>
<td><input type="text" name="aid" style = 'width:25px;' value='<%=AAid%>' readonly/> <%=now()%> 改密码 <input type = 'checkbox' value = 'YES' name = 'UpdatePassWord' onclick = "javascript:if(!form.UpdatePassWord.checked) {newPassWord_.style.display = 'none';form.LoginPassWord.value = '<%=c01.HtmlF(LPW)%>';}else{newPassWord_.style.display = '';form.LoginPassWord.value = '修改密码时请在这里正确填写旧密码'}"/><span id = 'newPassWord_' style = 'display:none;'> 请输入新密码 <input type = 'password' style = 'width:62px;' name = 'newPassWord'/></span></td>
</tr>
</table>
</fieldset></td>
</tr>
<tr><td style = 'height:5px;line-height:5px;'> </td></tr>
<tr>
<td style = 'text-align:center;'><fieldset>
<legend></legend>
<table border = '0' width = '98%' cellspacing = '0' cellpadding = '1'>
<tr>
<td style = 'width:55px;text-align:right;'>联系电话</td>
<td style ='width:158px;'><input type="text" name="Phone" style = 'width:100%;'value='<%=c01.HtmlF(APhone)%>'/></td>
<td style = 'width:60px;text-align:right;'>E-mail</td>
<td style ='width:158px;'><input type="text" name="Email" style = 'width:100%;'value='<%=c01.HtmlF(AEmail)%>'/></td>
</tr>
<tr>
<td style = 'width:55px;text-align:right;'>移动电话</td>
<td style ='width:158px;'><input type="text" name="MobileTelephone" style = 'width:100%;'value='<%=c01.HtmlF(AMobileTelephone)%>'/></td>
<td style = 'text-align:right;'>个人网址 </td>
<td style ='width:158px;'><input type="text" name="Website" style = 'width:100%;'value='<%=c01.HtmlF(AWebsite)%>'/></td>
</tr>
<tr>
<td style = 'width:55px;text-align:right;'>地 址</td>
<td style ='width:158px;'><input type="text" name="Address" style = 'width:100%;'value='<%=c01.HtmlF(AAddress)%>'/></td>
<td style = 'text-align:right;'>邮 编 </td>
<td style ='width:158px;'><input type="text" name="Zip" style = 'width:100%;'value='<%=c01.HtmlF(AZip)%>'/></td>
</tr>
</table>
</fieldset></td>
</tr>
<tr><td style = 'height:5px;line-height:5px;'> </td></tr>
<tr>
<td style = 'text-align:center;'><fieldset>
<legend></legend>
<table border = '0' width = '98%' cellspacing = '0' cellpadding = '1' style='table-layout:fixed; word-break:break-all;'>
<tr>
<td style = 'width:55px;text-align:right;'>身份证号</td>
<td style = 'width:125px;text-align:left;'><input type="text" name="IdCard" style = 'width:100%;'value='<%=c01.HtmlF(AIdCard)%>'/></td>
<td style = 'width:40px;text-align:right;'>籍贯</td>
<td style = 'width:125px;text-align:left;'><input type="text" name="NativePlace" style = 'width:100%;'value='<%=c01.HtmlF(ANativePlace)%>'/></td>
<td style = 'width:40px;text-align:right;'>民族</td>
<td><input type="text" name="Folk" style = 'width:100%;'value='<%=c01.HtmlF(AFolk)%>'/></td>
</tr>
<tr>
<td style = 'text-align:right;'>出生年月</td>
<td><input type="text" name="Birthday" style = 'width:100%;'value='<%=c01.HtmlF(ABirthday)%>'/></td>
<td style = 'text-align:right;'>婚否</td>
<td>
<table style = 'width:100%;' cellspacing = '0' cellpadding= '0' border = '0'>
<tr>
<td style = 'width:50px;'>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -