📄 personinf.asp
字号:
<!--#include file="asp/sqlstr.asp"-->
<!--#include file="asp/bgsub.asp"-->
<!--#include file="asp/opendb.asp"-->
<!--#include file="asp/checked.asp"-->
<!--#include file="asp/keepformat.asp"-->
<%
'-----------------------------------------
oabusyname=request.cookies("oabusyname")
oabusyusername=request.cookies("oabusyusername")
oabusyuserdept=request.cookies("oabusyuserdept")
oabusyuserlevel=request.cookies("oabusyuserlevel")
if oabusyusername="" then response.redirect "default.asp"
'--------------------------------------
'打开数据库,读出编辑通讯录权限
set conn=opendb("oabusy","conn","accessdsn")
set rs=server.createobject("adodb.recordset")
sql="select * from userinf where username=" & sqlstr(oabusyusername)
rs.open sql,conn,1
allow_edit_person_personinf=rs("allow_edit_person_personinf")
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<link rel="stylesheet" href="css/css.css">
<script language="javascript1.2" src="js/openwin.js"></script>
<title>楚雄在线 www.cx268.com::专业电子商务主机提供商</title>
</head>
<body topmargin="5" leftmargin="5">
<% call bghead() %>
<center>
<table>
<tr>
<td>
<b><%=oabusyname%></b>的个人基本档案
</td>
<%
if allow_edit_person_personinf="yes" then
%>
<form method="post" action="editpersoninf.asp"><td>
<input type="submit" value="编辑">
</td>
</form>
<form method="post" action="personinf.asp"><td>
<input type="submit" name="submit" value="删除" onclick="return window.confirm('你确定要删除你的个人基本档案吗?');">
</td>
</form>
<%
end if
%>
</tr>
</table>
</center>
<%
call bgmid()
%>
<%
if request("submit")="删除" then
set conn=opendb("oabusy","conn","accessdsn")
sql="delete from personinf where username=" & sqlstr(oabusyusername)
conn.execute sql
end if
'打开数据库,读出个人档案
set conn=opendb("oabusy","conn","accessdsn")
set rs=server.createobject("adodb.recordset")
sql="select * from personinf where username=" & sqlstr(oabusyusername)
rs.open sql,conn,1
dim a(33)
if not rs.eof and not rs.bof then
for i=1 to 33
a(i)=rs("a" & i)
next
inputdate=rs("inputdate")
updatedate=rs("updatedate")
havephoto=rs("havephoto")
id=rs("id")
else
for i=1 to 33
a(i)=""
next
inputdate=""
updatedate=""
havephoto="no"
end if
%>
<center>
<br>
<table border="0" cellpadding="0" cellspacing="0" width="95%">
<tr>
<td width="30%">代理编号:<%=a(1)%></td>
<td width="35%">录入时间:<%=inputdate%></td>
<td align="right">修改时间:<%=updatedate%></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="95%">
<tr>
<td width="15%" align="center" style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-top: 2 solid #000000; border-bottom: 1 solid #000000">姓 名</td>
<td width="35%" style="border-right: 1 solid #000000; border-top: 2 solid #000000; border-bottom: 1 solid #000000"><%=oabusyname%></td>
<td width="15%" align="center" style="border-right: 1 solid #000000; border-top: 2 solid #000000; border-bottom: 1 solid #000000">曾 用 名</td>
<td width="100%" style="border-right: 1 solid #000000; border-top: 2 solid #000000; border-bottom: 1 solid #000000"><%=checked3(a(2))%></td>
<td width="80" height="100" rowspan="5" align="center" valign=center style="border-right: 2 solid #000000; border-top: 2 solid #000000; border-bottom: 1 solid #000000">
<%
if havephoto="yes" then
%>
<img src="showphoto.asp?id=<%=id%>" width="80" height="100" border="0">
<%
else
%>
<table width=80>
<tr>
<td align=center>
无<br>照<br>片
</td>
</tr></table>
<%
end if
%>
</td>
</tr>
<tr>
<td align="center" style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000">性 别</td>
<td style="border-right: 1 solid #000000; border-bottom: 1 solid #000000"><%=checked3(a(3))%></td>
<td align="center" style="border-right: 1 solid #000000; border-bottom: 1 solid #000000">民 族</td>
<td style="border-right: 1 solid #000000; border-bottom: 1 solid #000000"><%=checked3(a(4))%></td>
</tr>
<tr>
<td align="center" style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000">所属等级</td>
<td style="border-right: 1 solid #000000; border-bottom: 1 solid #000000"><%=oabusyuserdept%></td>
<td align="center" style="border-right: 1 solid #000000; border-bottom: 1 solid #000000">类
型</td>
<td style="border-right: 1 solid #000000; border-bottom: 1 solid #000000"><%=oabusyuserlevel%></td>
</tr>
<tr>
<td align="center" style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000">网
址</td>
<td style="border-right: 1 solid #000000; border-bottom: 1 solid #000000"><%=checked3(a(5))%></td>
<td align="center" style="border-right: 1 solid #000000; border-bottom: 1 solid #000000">出生日期</td>
<td style="border-right: 1 solid #000000; border-bottom: 1 solid #000000"><%=checked3(a(6))%></td>
</tr>
<tr>
<td align="center" style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000">政治面貌</td>
<td style="border-right: 1 solid #000000; border-bottom: 1 solid #000000"><%=checked3(a(7))%></td>
<td align="center" style="border-right: 1 solid #000000; border-bottom: 1 solid #000000">健康状况</td>
<td style="border-right: 1 solid #000000; border-bottom: 1 solid #000000"><%=checked3(a(8))%></td>
</tr>
<tr>
<td align="center" width="15%" height="20" style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000">籍 贯</td>
<td width="35%" style="border-right: 1 solid #000000; border-bottom: 1 solid #000000"><%=checked3(a(9))%></td>
<td width="15%" align="center" style="border-right: 1 solid #000000; border-bottom: 1 solid #000000">体 重</td>
<td width="35%" colspan="2" style="border-right: 2 solid #000000; border-bottom: 1 solid #000000"><%=checked3(a(10))%></td>
</tr>
<tr>
<td height="20" align="center" style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000">身份证号</td>
<td style="border-right: 1 solid #000000; border-bottom: 1 solid #000000"><%=checked3(a(11))%></td>
<td align="center" style="border-right: 1 solid #000000; border-bottom: 1 solid #000000">身 高</td>
<td colspan="2" style="border-right: 2 solid #000000; border-bottom: 1 solid #000000"><%=checked3(a(12))%></td>
</tr>
<tr>
<td align="center" style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000" height="20">婚姻状况</td>
<td style="border-right: 1 solid #000000; border-bottom: 1 solid #000000"><%=checked3(a(13))%></td>
<td align="center" style="border-right: 1 solid #000000; border-bottom: 1 solid #000000">毕业院校</td>
<td colspan="2" style="border-right: 2 solid #000000; border-bottom: 1 solid #000000"><%=checked3(a(14))%></td>
</tr>
<tr>
<td align="center" style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000" height="20">本人成分</td>
<td style="border-right: 1 solid #000000; border-bottom: 1 solid #000000"><%=checked3(a(15))%></td>
<td align="center" style="border-right: 1 solid #000000; border-bottom: 1 solid #000000">专 业</td>
<td colspan="2" style="border-right: 2 solid #000000; border-bottom: 1 solid #000000"><%=checked3(a(16))%></td>
</tr>
<tr>
<td height="20" align="center" style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000">工 龄</td>
<td style="border-right: 1 solid #000000; border-bottom: 1 solid #000000"><%=checked3(a(17))%></td>
<td align="center" style="border-right: 1 solid #000000; border-bottom: 1 solid #000000">学 历</td>
<td colspan="2" style="border-right: 2 solid #000000; border-bottom: 1 solid #000000"><%=checked3(a(18))%></td>
</tr>
<tr>
<td height="20" align="center" style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000">外语语种</td>
<td style="border-right: 1 solid #000000; border-bottom: 1 solid #000000"><%=checked3(a(19))%></td>
<td align="center" style="border-right: 1 solid #000000; border-bottom: 1 solid #000000">外语水平</td>
<td colspan="2" style="border-right: 2 solid #000000; border-bottom: 1 solid #000000"><%=checked3(a(20))%></td>
</tr>
<tr>
<td height="20" align="center" style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000">普通话程度</td>
<td style="border-right: 1 solid #000000; border-bottom: 1 solid #000000"><%=checked3(a(21))%></td>
<td align="center" style="border-right: 1 solid #000000; border-bottom: 1 solid #000000">粤语程度</td>
<td colspan="2" style="border-right: 2 solid #000000; border-bottom: 1 solid #000000"><%=checked3(a(22))%></td>
</tr>
<tr>
<td height="20" align="center" style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000">计算机能力</td>
<td style="border-right: 1 solid #000000; border-bottom: 1 solid #000000"><%=checked3(a(23))%></td>
<td align="center" style="border-right: 1 solid #000000; border-bottom: 1 solid #000000">户口所在地</td>
<td colspan="2" style="border-right: 2 solid #000000; border-bottom: 1 solid #000000"><%=checked3(a(24))%></td>
</tr>
<tr>
<td height="20" align="center" style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000">现 住 址</td>
<td colspan="4" style="border-right: 2 solid #000000; border-bottom: 1 solid #000000"><%=checked3(a(25))%></td>
</tr>
<tr>
<td height="20" align="center" style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000">档案存放地</td>
<td colspan="4" style="border-right: 2 solid #000000; border-bottom: 1 solid #000000"><%=checked3(a(26))%></td>
</tr>
<tr>
<td height="20" align="center" style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000">个人专长<br>
以及爱好</td>
<td colspan="4" style="border-right: 2 solid #000000; border-bottom: 1 solid #000000"><%=checked3(a(27))%></td>
</tr>
<tr>
<td height="20" align="center" style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000">本人曾受<br>过何种奖<br>励和处分</td>
<td colspan="4" style="border-right: 2 solid #000000; border-bottom: 1 solid #000000"><%=keepformat(checked3(a(28)))%></td>
</tr>
<tr>
<td height="20" align="center" style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000">工作经历</td>
<td colspan="4" style="border-right: 2 solid #000000; border-bottom: 1 solid #000000"><%=keepformat(checked3(a(29)))%></td>
</tr>
<tr>
<td height="20" align="center" style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000">家庭情况</td>
<td colspan="4" style="border-right: 2 solid #000000; border-bottom: 1 solid #000000"><%=keepformat(checked3(a(30)))%></td>
</tr>
<tr>
<td height="20" align="center" style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000">本 人<br>联系方式</td>
<td colspan="4" style="border-right: 2 solid #000000; border-bottom: 1 solid #000000"><%=keepformat(checked3(a(31)))%></td>
</tr>
<tr>
<td height="20" align="center" style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000">发生意外<br>紧急情况<br>通知何人</td>
<td colspan="4" style="border-right: 2 solid #000000; border-bottom: 1 solid #000000"><%=keepformat(checked3(a(32)))%></td>
</tr>
<tr>
<td height="20" align="center" style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-bottom: 2 solid #000000">备 注</td>
<td colspan="4" style="border-right: 2 solid #000000; border-bottom: 2 solid #000000"><%=keepformat(checked3(a(33)))%></td>
</tr>
</table>
<table>
<tr>
<td>
<b><%=oabusyname%></b>的个人基本档案
</td>
<%
if allow_edit_person_personinf="yes" then
%>
<form method="post" action="editpersoninf.asp"><td>
<input type="submit" value="编辑">
</td>
</form>
<form method="post" action="personinf.asp"><td>
<input type="submit" name="submit" value="删除" onclick="return window.confirm('你确定要删除你的个人基本档案吗?');">
</td>
</form>
<%
end if
%>
</tr>
</table>
<br>
</center>
<%
call bgback()
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -