📄 admin_userview.asp
字号:
<!--#include file="head.asp"-->
<!--#include file="md5.asp"-->
<%
Unid = Request("Unid")
Sql = "Select * from article_User where Unid = " & Unid
set rs = conn.execute(sql)
if rs.eof and rs.bof then
Errmsg = "<li>发现异常错误。<li>错误编号为: error 110。<li>请和青创网络联系解决问题。"
call Qcdn.Err_List(errmsg,1)
Response.end
end if
password = rs("password")
e_mail = rs("email")
question = rs("question")
answer = rs("answer")
qq = rs("qq")
msn = rs("msn")
male = rs("male")
birthYear = rs("birth")
bloodtype = rs("bloodtype")
realname = rs("realname")
country = rs("country")
province = rs("province")
city = rs("city")
phone = rs("phone")
address = rs("address")
postcode = rs("postcode")
job = rs("job")
edu = rs("edu")
school = rs("school")
rs.close : set rs = nothing
%>
<br>
<table class="twidth" align=center cellspacing=0 cellpadding=0>
<tr>
<td class="mframe-t-left"></td>
<td class="mframe-t-mid">
<span class="mframe-t-text">资料查看</span>
</td>
<td class="mframe-t-right"></td>
</tr>
</table>
<table class="twidth" align=center cellspacing=0 cellpadding=0>
<tr>
<td class="mframe-m-left"></td>
<td class="mframe-m-mid" style="padding:10px; line-height:130%">
<span id="myLabel" style="width:100%;text-align:center"></span>
<table width=95% align=center>
<tr>
<td width=250> <b>用户名:</b> </td>
<td><%=Request.cookies("qcdn")("user_name")%></td>
</tr>
<tr>
<td width=250> <b>密 码:</b> </td>
<td> <input name="password" type="password" maxlength="50" id="password" Size="20"/>
<font color="#FF0000">*</font> </td>
</tr>
<tr>
<td width=250> <b>密 码(确认):</b> </td>
<td> <input name="password2" type="password" maxlength="50" id="password2" Size="20"/>
<font color="#FF0000">*</font> </td>
</tr>
<tr>
<td width=250> <b>e-mail:</b> </td>
<td> <input name="email" type="text" maxlength="80" id="email" Size="20" value="<%=e_mail%>"/>
<font color="#FF0000">*</font> </td>
</tr>
<tr>
<td width=250> <b>找回密码问题:</b> </td>
<td> <input name="question" type="text" maxlength="100" id="question" Size="50" value="<%=question%>"/>
<font color="#FF0000">*</font> </td>
</tr>
<tr>
<td width=250> <b>找回密码答案:</b> </td>
<td> <input name="answer" type="text" maxlength="100" id="answer" Size="50" value="<%=answer%>"/>
<font color="#FF0000">*</font> </td>
</tr>
<tr>
<td width=250> <b>QQ:</b> </td>
<td> <input name="qq" type="text" maxlength="20" id="qq" Size="20" value="<%if qq <> 0 then Response.write qq%>"/>
</td>
</tr>
<tr>
<td width=250> <b>MSN:</b> </td>
<td> <input name="msn" type="text" maxlength="100" id="msn" Size="20" value="<%=msn%>"/>
</td>
</tr>
<tr>
<td colspan=2 class="summary-title"> 个人资料 </td>
</tr>
<tr>
<td width=250> <b>性别:</b> </td>
<td> <table id="male" border="0">
<tr>
<td><input id="male" type="radio" name="male" value="1" <%if male = 1 then response.write "checked"%>/>
男</td>
<td><input id="male" type="radio" name="male" value="0" <%if male = 0 then response.write "checked"%>/>
女</td>
</tr>
</table></td>
</tr>
<tr>
<td width=250> <b>生日:</b> </td>
<td> <input name="birthYear" type="text" maxlength="4" id="birthYear" Size="4" value="<%=year(birthYear)%>"/>
年<font color="#FF0000">*</font>
<select name="birthMonth" id="birthMonth">
<%
for i = 1 to 12
response.write "<option "
if Cstr(Month(birthYear)) = Cstr(i) then
Response.write "selected"
end if
Response.write " value="&i&">"&i&"</option>"
next
%>
</select>
月
<select name="birthDay" id="birthDay">
<%
for i = 1 to 31
response.write "<option "
if Cstr(Day(birthYear)) = Cstr(i) then
Response.write "selected"
end if
Response.write " value="&i&">"&i&"</option>"
next
%>
</select>
日 </td>
</tr>
<tr>
<td width=250> <b>血型:</b> </td>
<td> <select name="bloodtype" id="bloodtype">
<option value="A" <%if bloodtype = "A" then Response.write "selected"%>>A</option>
<option value="B" <%if bloodtype = "B" then Response.write "selected"%>>B</option>
<option value="O" <%if bloodtype = "O" then Response.write "selected"%>>O</option>
<option value="AB" <%if bloodtype = "AB" then Response.write "selected"%>>AB</option>
</select> </td>
</tr>
<tr>
<td width=250> <b>姓名:</b> </td>
<td> <input name="realname" type="text" maxlength="100" id="realname" Size="20" value="<%=realname%>"/>
</td>
</tr>
<tr>
<td width=250> <b>国家:</b> </td>
<td> <input name="country" type="text" maxlength="100" id="country" Size="20" value="<%=country%>"/>
</td>
</tr>
<tr>
<td width=250> <b>省/自治区:</b> </td>
<td> <input name="province" type="text" maxlength="100" id="province" Size="20" value="<%=province%>"/>
</td>
</tr>
<tr>
<td width=250> <b>市:</b> </td>
<td> <input name="city" type="text" maxlength="100" id="city" Size="20" value="<%=city%>"/>
</td>
</tr>
<tr>
<td width=250> <b>电话:</b> </td>
<td> <input name="phone" type="text" maxlength="100" id="phone" Size="20" value="<%=phone%>"/>
</td>
</tr>
<tr>
<td width=250> <b>联系地址:</b> </td>
<td> <input name="address" type="text" maxlength="100" id="address" Size="50" value="<%=address%>"/>
</td>
</tr>
<tr>
<td width=250> <b>邮编:</b> </td>
<td> <input name="postcode" type="text" maxlength="6" id="postcode" Size="10" value="<%if postcode <> 0 then Response.write postcode%>"/>
</td>
</tr>
<tr>
<td width=250> <b>职业:</b> </td>
<td> <select name="job" id="job">
<option value="财会/金融" <%if job = "财会/金融" then Response.write "selected"%>>财会/金融</option>
<option value="工程师" <%if job = "工程师" then Response.write "selected"%>>工程师</option>
<option value="顾问" <%if job = "顾问" then Response.write "selected"%>>顾问</option>
<option value="计算机相关行业" <%if job = "计算机相关行业" then Response.write "selected"%>>计算机相关行业</option>
<option value="家庭主妇" <%if job = "家庭主妇" then Response.write "selected"%>>家庭主妇</option>
<option value="教育/培训" <%if job = "教育/培训" then Response.write "selected"%>>教育/培训</option>
<option value="客户服务/支持" <%if job = "客户服务/支持" then Response.write "selected"%>>客户服务/支持</option>
<option value="零售商/手工工人" <%if job = "零售商/手工工人" then Response.write "selected"%>>零售商/手工工人</option>
<option value="退休" <%if job = "退休" then Response.write "selected"%>>退休</option>
<option value="无职业" <%if job = "无职业" then Response.write "selected"%>>无职业</option>
<option value="销售/市场/广告" <%if job = "销售/市场/广告" then Response.write "selected"%>>销售/市场/广告</option>
<option value="学生" <%if job = "学生" then Response.write "selected"%>>学生</option>
<option value="研究和开发" <%if job = "研究和开发" then Response.write "selected"%>>研究和开发</option>
<option value="一般管理/监督" <%if job = "一般管理/监督" then Response.write "selected"%>>一般管理/监督</option>
<option value="政府/军队" <%if job = "政府/军队" then Response.write "selected"%>>政府/军队</option>
<option value="执行官/高级管理" <%if job = "执行官/高级管理" then Response.write "selected"%>>执行官/高级管理</option>
<option value="制造/生产/操作" <%if job = "制造/生产/操作" then Response.write "selected"%>>制造/生产/操作</option>
<option value="专业人员" <%if job = "专业人员" then Response.write "selected"%>>专业人员</option>
<option value="自雇/业主" <%if job = "自雇/业主" then Response.write "selected"%>>自雇/业主</option>
<option value="其他" <%if job = "其他" then Response.write "selected"%>>其他</option>
</select> </td>
</tr>
<tr>
<td width=250> <b>学历:</b> </td>
<td> <select name="edu" id="edu">
<option value="小学" <%if edu = "小学" then Response.write "selected"%>>小学</option>
<option value="初中" <%if edu = "初中" then Response.write "selected"%>>初中</option>
<option value="高中" <%if edu = "高中" then Response.write "selected"%>>高中</option>
<option value="大学" <%if edu = "大学" then Response.write "selected"%>>大学</option>
<option value="硕士" <%if edu = "硕士" then Response.write "selected"%>>硕士</option>
<option value="博士" <%if edu = "博士" then Response.write "selected"%>>博士</option>
</select> </td>
</tr>
<tr>
<td width=250> <b>毕业学校:</b> </td>
<td> <input name="school" type="text" maxlength="100" id="school" Size="20" value="<%=school%>"/>
</td>
</tr>
<tr>
<td colspan=2 height=30 align=center> <input type="button" name="submit" value="返回" onclick="javascript:history.back();">
</td>
</tr>
</table>
</td>
<td class="mframe-m-right"></td>
</tr>
</table>
<table class="twidth" align=center cellspacing=0 cellpadding=0 >
<tr>
<td class="mframe-b-left"></td>
<td class="mframe-b-mid"> </td>
<td class="mframe-b-right"></td>
</tr>
</table>
<!--#include file="copy.asp"-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -