⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 persondispinfo.asp

📁 中国计生委网络办公系统,政府电子商务程序
💻 ASP
字号:
<%response.expires=0%>
<!--#include file="asp/sqlstr.asp"-->
<!--#include file="asp/bgsub.asp"-->
<!--#include file="asp/opendb.asp"-->
<!--#include file="asp/checked.asp"-->
<%
oabusyname=request.cookies("oabusyname")
oabusyusername=request.cookies("oabusyusername")
oabusyuserdept=request.cookies("oabusyuserdept")
oabusyuserlevel=request.cookies("oabusyuserlevel")
id=request("id")
if id="" then
	response.redirect "personlist.asp"
	response.end
end if
if oabusyusername="" then 
	response.write("<script language=""javascript"">")
	response.write("window.top.location.href='default.asp';")
	response.write("</script>")
	response.end
end if

%>
<html>

<head>
<meta http-equiv="expires" content="no-cache">
<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>
<script language="javascript">
function deleteask()
{
	if (confirm("真的要删除该记录吗?"))
		location.href="persondelete.asp?id=<%=id%>";
}
</script>
<title>crackgo办公系统</title>
</head>
<body bgcolor="#eeeeee" topmargin="5" leftmargin="5">
<% call bghead() %>
<center>
<table>
<tr>
<td>
<input type="button" value="删除" onclick="deleteask()">&nbsp;&nbsp;<b>查看资料</b>&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td><input type="button" value="编辑" onclick="location.href='personeditrecord.asp?id=<%=cstr(id)%>'">&nbsp;<input type="button" value="返回" onclick="location.href=history.go(-1);">
</td>
</tr>
</table>
</center>
<%
call bgmid()
set conn=opendb("oabusy","conn","accessdsn")
set rs=server.createobject("adodb.recordset")
sql="select * from personrecord,persontype where personrecord.id="&id&" and persontype.id=personrecord.recordtype"
rs.open sql,conn,1
if rs.eof or rs.bof then
	conn.close
	set rs=nothing
	response.write("<font color=""#ff0000"" size=""+3"">")
	response.write("<center>错误,该条信息可能已经被删除!</center>")
	response.write("</font>")
	response.end
end if
if rs("thisinfousername")<>oabusyusername then
	conn.close
	set rs=nothing
	response.write("<font color=""#ff0000"" size=""+1"">")
	response.write("<center>对不起,您不能查看该条资料!</center>")
	response.write("</font>")
	response.end
end if
xm=server.htmlencode(rs("xm"))
xb=rs("sex")
zw=server.htmlencode(rs("userzw"))
if zw="" then zw="-"
lb=rs("typename")
dw=server.htmlencode(rs("company"))
zzdh=server.htmlencode(rs("hometel"))
if zzdh="" then zzdh="-"
yzbm=server.htmlencode(rs("postcard"))
if yzbm="" then yzbm="-"
dhfj=server.htmlencode(rs("companytel"))
if dhfj="" then dhfj="-"
sj=server.htmlencode(rs("handset"))
if sj="" then sj="-"
hj=server.htmlencode(rs("callset"))
if hj="" then hj="-"
dzyj=server.htmlencode(rs("email"))
if dzyj="" then dzyj="-"
zzdz=server.htmlencode(rs("homeaddress"))
if zzdz="" then zzdz="-"
cz=server.htmlencode(rs("fax"))
if cz="" then cz="-"
bz=server.htmlencode(rs("remark"))
if bz="" then bz="-"
%>
<center>     
<br>     
  <table border="1" cellpadding="0" cellspacing="0" width="530">     
    <tr>     
      <td width="94" align=center style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-top: 2 solid #000000; border-bottom: 1 solid #000000" height="25"><b>姓名</b></td>    
      <td style="border-left: 0 solid #000000; border-right: 1 solid #000000; border-top: 2 solid #000000; border-bottom: 1 solid #000000" width="227" height="25"><%=xm%></td>    
      <td width="96" align=center style="border-left: 0 solid #000000; border-right: 1 solid #000000; border-top: 2 solid #000000; border-bottom: 1 solid #000000" height="25"><b>性别</b></td>    
      <td style="border-left: 0 solid #000000; border-right: 2 solid #000000; border-top: 2 solid #000000; border-bottom: 1 solid #000000" width="219" height="25"><%=xb%></td>    
    </tr>    
    <tr>    
      <td align=center style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-top: 0 solid #000000; border-bottom: 1 solid #000000" width="94" height="25"><b>职务</b></td>    
      <td style="border-left: 0 solid #000000; border-right: 1 solid #000000; border-top: 0 solid #000000; border-bottom: 1 solid #000000" width="227" height="25"><%=zw%></td>    
      <td align=center style="border-left: 0 solid #000000; border-right: 1 solid #000000; border-top: 0 solid #000000; border-bottom: 1 solid #000000" width="96" height="25"><b>通讯录类别</b></td>    
      <td style="border-left: 0 solid #000000; border-right: 2 solid #000000; border-top: 0 solid #000000; border-bottom: 1 solid #000000" width="219" height="25"><%=lb%></td>    
    </tr>    
    <tr>    
      <td align=center style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-top: 0 solid #000000; border-bottom: 1 solid #000000" width="94" height="25"><b>单位</b></td>    
      <td style="border-left: 0 solid #000000; border-right: 2 solid #000000; border-top: 0 solid #000000; border-bottom: 1 solid #000000" colspan="3" width="544" height="25"><%=dw%></td>    
    </tr>    
    <tr>    
      <td align=center style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-top: 0 solid #000000; border-bottom: 1 solid #000000" width="94" height="25"><b>住宅电话</b></td>    
      <td style="border-left: 0 solid #000000; border-right: 1 solid #000000; border-top: 0 solid #000000; border-bottom: 1 solid #000000" width="227" height="25"><%=zzdh%></td>    
      <td align=center style="border-left: 0 solid #000000; border-right: 1 solid #000000; border-top: 0 solid #000000; border-bottom: 1 solid #000000" width="96" height="25"><b>邮政编码</b></td>    
      <td style="border-left: 0 solid #000000; border-right: 2 solid #000000; border-top: 0 solid #000000; border-bottom: 1 solid #000000" width="219" height="25"><%=yzbm%></td>    
    </tr>    
    <tr>    
      <td align=center style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-top: 0 solid #000000; border-bottom: 1 solid #000000" width="94" height="25"><b>电话或分机</b></td>    
      <td style="border-left: 0 solid #000000; border-right: 2 solid #000000; border-top: 0 solid #000000; border-bottom: 1 solid #000000" width="228" height="25"><%=dhfj%></td>    
      <td style="border-left: 0 solid #000000; border-right: 2 solid #000000; border-top: 0 solid #000000; border-bottom: 1 solid #000000" width="97" height="25">    
        <p align="center"><b>手&nbsp;&nbsp;&nbsp;&nbsp;机</b></p>    
      </td>    
      <td style="border-left: 0 solid #000000; border-right: 2 solid #000000; border-top: 0 solid #000000; border-bottom: 1 solid #000000" width="220" height="25"><%=sj%></td>    
    </tr>    
    <tr>    
      <td align=center style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-top: 0 solid #000000; border-bottom: 1 solid #000000" width="94" height="25"><b>呼&nbsp;&nbsp;&nbsp;&nbsp;机</b></td>    
      <td style="border-left: 0 solid #000000; border-right: 2 solid #000000; border-top: 0 solid #000000; border-bottom: 1 solid #000000" width="228" height="25"><%=hj%></td>    
      <td style="border-left: 0 solid #000000; border-right: 2 solid #000000; border-top: 0 solid #000000; border-bottom: 1 solid #000000" width="97" height="25">    
        <p align="center"><b>Email</b></td>    
      <td style="border-left: 0 solid #000000; border-right: 2 solid #000000; border-top: 0 solid #000000; border-bottom: 1 solid #000000" width="220" height="25"><%=dzyj%></td>    
    </tr>    
    <tr>    
      <td align=center style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-top: 0 solid #000000; border-bottom: 1 solid #000000" width="94" height="25"><b>住宅地址</b></td>    
      <td style="border-left: 0 solid #000000; border-right: 1 solid #000000; border-top: 0 solid #000000; border-bottom: 1 solid #000000" width="542" colspan="3" height="25"><%=zzdz%></td>    
    </tr>    
    <tr>    
      <td align=center style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-top: 0 solid #000000; border-bottom: 1 solid #000000" width="94" height="25"><b>传真</b></td>    
      <td style="border-left: 0 solid #000000; border-right: 1 solid #000000; border-top: 0 solid #000000; border-bottom: 1 solid #000000" width="542" colspan="3" height="25"><%=cz%></td>    
    </tr>    
    <tr>    
      <td align=center style="border-left: 2 solid #000000; border-right: 1 solid #000000; border-top: 0 solid #000000; border-bottom: 2 solid #000000" width="94" height="25"><b>备注说明</b></td>    
      <td style="border-left: 0 solid #000000; border-right: 2 solid #000000; border-top: 0 solid #000000; border-bottom: 2 solid #000000" colspan="3" width="544" height="25"><%=bz%></td>    
    </tr>    
  </table>    
    
  <input type="button" value="返回" onclick="window.location.href=history.go(-1);">    
</center>     
<%     
conn.close 
set rs=nothing 
call bgback()     
%>     
</body>     
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -