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

📄 lianxi.asp

📁 企业网上办公自动化通过对各办公自动化要素的闭环整合
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file=data/conn.asp-->
<!--#include file=connfig.asp-->
<%
	if request("id")="" then
		id=session("id")
	else
		id=request("id")
	end if 
	set rs=server.CreateObject("adodb.recordset")
	sql="select * from lanmu where id="&id
	rs.open sql,conn,1,1
	'判断用户权限
	if session("admin_name")<>rs("name") then
	response.Write("<script language=javascript>alert('对不起您没有这个权利!');location='javascript:history.go(-1)'</script>")
	end if
	'删除名片夹的详细信息
	if request("del")<>"" then 
	call de
	end if
	function de
		sql4="delete from lianxi where id="&request("del")
		conn.execute(sql4)
	end function
	set rs1=server.CreateObject("adodb.recordset")
	sql1="select * from lianxi where lanmu="&rs("id")
	rs1.open sql1,conn,1,3
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<style type="text/css">
<!--
.style2 {color: #FFFFFF}
body,td,th {
	font-size: 12px;
}
a {
	font-size: 12px;
}
a:link {
	text-decoration: none;
	color: #0000FF;
}
a:visited {
	text-decoration: none;
	color: #0000FF;
}
a:hover {
	text-decoration: none;
	color: #0000FF;
}
a:active {
	text-decoration: none;
}
body {
	background-color: #ffffff;
}
-->
</style>
</head>

<body>
<table width="519" border="1" align="center" cellspacing="0">
  <tr bgcolor="#FF9900">
    <td width="79" height="39"><div align="center" class="style2">名片夹</div></td>
    <td rowspan="2" valign="top">     <table width="100%" height="15%" border="0" cellspacing="1" bgcolor="#CCCCCC" >
      
      <tr bgcolor="#FF9900">
          <td width="18%" height="35" class="unnamed3"><div align="center"><span class="style2">名字</span></div></td>
          <td width="17%"><div align="center"><span class="style2">电话</span></div></td>
          <td width="19%"><div align="center">
            <div align="center" class="style2">QQ</div>
          </div></td>
          <td width="21%" style=" "><div align="center"><span class="style2">email</span></div></td>
          <td colspan="2" class="unnamed1"><div align="center"></div>          <div align="center"><span class="style2">管理</span></div></td>
        </tr>
        <%
	if not rs1.eof then
	max=rs1.recordcount
	for i=1 to max
	%>
        <tr>
          <td bgcolor="#FFFFFF" class="unnamed3"><div align="center"><a href=lianxixian.asp?id=<%=rs1("id")%>><%=rs1("name")%></a></div></td>
          <td width="17%" bgcolor="#FFFFFF"><div align="center"><%=rs1("tel")%></div></td>
          <td width="19%" bgcolor="#FFFFFF"><div align="center"><%=rs1("qq")%></div></td>
          <td width="21%" bgcolor="#FFFFFF" style=" "><div align="center"><a href="mailto:<%=rs1("email")%>"><%=rs1("email")%></a></div></td>
          <td width="12%" bgcolor="#FFFFFF" class="unnamed1"><div align="center"><a href=lianxiup.asp?id=<%=rs1("id")%> class="style2">修改</a></div></td>
          <td width="13%" bgcolor="#FFFFFF" class="unnamed2"><div align="center"><a href=lianxi.asp?del=<%=rs1("id")%>&p=<%=requestpage%>>删除</a></div></td>
        </tr>
        <%
	 rs1.movenext
	 if rs1.eof then exit for
	 next
	 else 
	 response.Write("暂无信息")
	 end if
	 %>
          </table></td>
  </tr>
  <tr>
    <td height="63" valign="top"><table width="100%" border="0" bgcolor="#FF9900">
   
      <tr>
        <td height="30" valign="bottom"><div align="center"><%=rs("lanmu")%></div></td>
      </tr>
      <tr>
        <td height="2">
          <table width="80%" border="0" align="center" cellspacing="0">
            <tr>
              <td height="1" bgcolor="#FFFFFF"></td>
            </tr>
        </table></td>
      </tr>

    </table>
      <table width="100%" border="0" bgcolor="#FF9900">
       
        <tr>
          <td></td>
        </tr>
        <tr>
          <td>
          </td>
        </tr>
  
    </table></td>
  </tr>
</table>
</body>
</html>
<%session("id")=request("id")%>

⌨️ 快捷键说明

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