shashou.asp

来自「网佳网络办公系统(以下简称OA)是一套基于B/S模式的无纸化办公系统。[显著特点」· ASP 代码 · 共 70 行

ASP
70
字号
<html>
<head>
<title>雇用杀手</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
-->
</style>
<link rel="stylesheet" href="../dg/setup.CSS">
</head>
<%
const MaxPerPage=100
dim totalPut   
dim CurrentPage
dim TotalPages
dim i,j
%>
<body oncontextmenu=self.event.returnValue=false bgcolor=#000000 topmargin="0" text="#FFFFFF">
<p align="center"><font color="#00FF00"><span lang="zh-cn">杀手雇佣列表&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<a href="topshashou.asp">杀手排行</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="mss.asp">我要做杀手</a></span></font></p>
<%
Set conn=Server.CreateObject("ADODB.CONNECTION")
Set rs=Server.CreateObject("ADODB.RecordSet")
shashou=Application("hg_connstr")
conn.open shashou
dim sql
dim rs
dim filename
sql="select * from 杀手"
Set rs= Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.write "<p align='center'>还没有杀手被雇用</p>"
else
%>
  <table border="1" cellspacing="0" width="546" bordercolorlight="#000000" bordercolordark="#FFFFFF" cellpadding="3" align="center">
    <tr align="center"> 
      <td width="98">雇用人</td>
      <td width="157">雇用日期</td>
      <td width="91">要求追杀</td>
      <td width="118">雇用杀手</td>
      <td width="144">杀人佣金</td>
      <td width="94">是否成功</td>
      <td width="144">被杀日期</td>
    </tr>
    <%do while not rs.eof%> 
    <tr align="center"> 
      <td width="98"><%=rs("雇用人")%> </td>
      <td width="157"><%=rs("雇用日期")%> </td>
      <td width="91"><%=rs("被杀者")%> </td>
      <td width="118"><%=rs("雇用杀手")%> </td>
      <td width="144"><%=rs("报酬")%>两</td>
<td width="94"><font color=yellow><b><%=rs("完成")%></b></font> </td>
<td width="144"><font color=yellow><b><%=rs("被杀日期")%></b></font> </td>
    </tr>
<% 
rs.movenext
filename=filename+1
if filename>99 then Exit Do
loop
end if
rs.close                                                                 
set rs=nothing                                                                 
conn.close                                                                 
set conn=nothing 
%> 
  </table>
 </body>
</html>

⌨️ 快捷键说明

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