admin_alluser_print.asp
上传用户:shxinnian
上传日期:2013-01-14
资源大小:155k
文件大小:4k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
Windows_Unix
- <!--#include file="conn.asp"-->
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <title>管理员工作界面</title>
- <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
- <link rel="stylesheet" type="text/css" href="link.css">
- <style type="text/css">
- <!--
- .style1 {
- font-size: 12px;
- font-weight: bold;
- }
- .style3 {font-size: 12}
- -->
- </style>
- </head>
- <body>
- <%
- dim totalPut
- dim i,j
- dim keyword
- uname=request("uname")
- keyword=trim(request("keyword"))
- dim user_province
- user_province=request("user_province")
- %>
- <div align="center"><center>
- </center>
- </div>
- <div align="center">
- <%
- dim sql
- dim rs
- sql="select * from member where rname like '%"&keyword&"%' order by id desc "
- 'response.write sql
- Set rs= Server.CreateObject("ADODB.Recordset")
- if user_province="" then
- rs.open "select * from member where rname like '%"&keyword&"%' order by dateandtime desc",conn,1,1
- rs.open sql,conn,1,1
- end if
- if rs.eof and rs.bof then
- response.write "<p align='center'> 还 没 有 任 何 会 员 资 料 !</p>"
- else
- totalPut=rs.recordcount
- showContent
- rs.close
- end if
- set rs=nothing
- conn.close
- set conn=nothing
- sub showContent
- dim i
- i=0
- %>
- <div align="center"><center>
- <table cellspacing="0" width="58%" bordercolorlight="#000000"
- bordercolordark="#FFFFFF" cellpadding="0">
- <tr>
- <td colspan="4" align="center" bgcolor="#FEEC85" height="53">打印效果,请在浏览器中选择打印,这个是初步的打印测试。<strong></strong></td>
- </tr>
- <%do while not rs.eof%>
- <tr>
- <td width="21%" height="23"> </td>
- <td width="37%" height="23"> </td>
- <td width="14%" height="23"> </td>
- <td width="28%" height="23"> </td>
- </tr>
- <tr>
- <td height="23"><span class="style3"><b><%=rs("ID")%></b></span></td>
- <td height="23"><span class="style3"><b><b><b><b><span class="style1">姓名:<b><b><b><b><%=rs("rname")%></b></b></b></b></span></b></b></b></b></span></td>
- <td height="23"><span class="style3"><b><b><b><b><span class="style1">性别:<b><b><b><b><b><b><b><b><%=rs("sex")%></b></b></b></b></b></b></b></b></span></b></b></b></b></span></td>
- <td height="23"><span class="style3"><b><b><b><b><span class="style1">联系电话:<b><b><b><b><%=rs("tel1")%></b></b></b></b></span></b></b></b></b></span></td>
- </tr>
- <tr>
- <td height="23"> </td>
- <td height="23"> </td>
- <td height="23"> </td>
- <td height="23"> </td>
- </tr>
- <tr>
- <td height="23"><span class="style3"><b><b><b><b><span class="style1"><b><b><b><b>报考语言:<b><b><b><b><%=rs("jbyydm")%></b></b></b></b></b></b></b></b></span></b></b></b></b></span></td>
- <td height="23"><span class="style3"><b><b><b><b><span class="style1"><b><b><b><b><b><b><b><b><b><b><b><b>身份证号:<b><b><b><b><%=rs("sfzh")%></b></b></b></b></b></b></b></b></b></b></b></b></b></b></b></b></span></b></b></b></b></span></td>
- <td height="23"><span class="style3"><b><b><b><b><span class="style1"><b><b><b><b>职业</b></b></b></b>:<b><b><b><b><b><b><b><b><%=rs("zy")%></b></b></b></b></b></b></b></b></span></b></b></b></b></span></td>
- <td height="23"><span class="style3"><b><b><b><b><span class="style1">联系地址:<b><b><b><b><b><b><b><b><%=rs("addr1")%></b></b></b></b></b></b></b></b></span></b></b></b></b></span></td>
- </tr>
- <tr>
- <td height="111"> </td>
- <td height="111"> </td>
- <td height="111"> </td>
- <td height="111"><p align="left"><span class="style1">鄂州大学教务处</span>
- <p align="left" class="style1"> <%=rs("date")%></td>
- </tr>
- <tr>
- <td height="34" colspan="4"><hr> <p align="left"></td>
- </tr>
- <% i=i+1
- if i>=totalPut then exit do
- rs.movenext
- loop
- %>
- </table>
- </center></div>
- <%
- end sub
- %> </div>
- </body>
- </html>