遗失证明格式:ASP文件删除功能失效其它功能都正常怎么办

来源:百度文库 编辑:中科新闻网 时间:2024/04/30 04:24:20
'分页的实现
listnum=24
Rs.pagesize=listnum
page=Request("page")
if (page-Rs.pagecount) > 0 then
page=Rs.pagecount
elseif page = "" or page < 1 then
page = 1
end if
Rs.absolutepage=page
'编号的实现
j=rs.recordcount
j=j-(page-1)*listnum
i=0
nn=request("page")
if nn="" then
n=0
else
nn=nn-1
n=listnum*nn
end if%>
<td width="4%" height=20>编号</td>
<td width=*>产品名称<font color=red>(点击查看)</font></td>
<td width="4%">发布</td>
<td width="5%">点击</td>
<td width="16%">添加时间</td>
<td width="5%">状态</td>
<td width="5%">操作</td>
<td width="5%">选择</td>
</tr>
<%do while not rs.eof and i<listnum
n=n+1%>
<tr align=center height=22>
<td><%=n%></td>
<td align=left> <a href=# onclick="javascript:window.open('cp_view.asp?id=<%=rs("SMT_id")%>','_n','width=780,height=400,scrollbars=yes')"><%=rs("SMT_cpname")%></a> <%if rs("SMT_key1")=0 then%><font color=red>[待审]</font><%end if%><%if rs("SMT_key3")=1 then%><font color=green><strong>[推荐]</strong></font><%end if%></td>
<td><%if rs("SMT_enrol")=0 then%>企业<%elseif rs("SMT_z_enrol")=2 then%><font color=green>后台</font><%else%><font color=red>代理</font><%end if%></td>
<td><%=rs("SMT_htc")%></td>
<td><%=rs("SMT_date")%></td>
<td><%if rs("SMT_key2")=1 then%>开通<%else%><font color=red>关闭</font><%end if%></td>
<td><a href=lx.asp?id=<%=rs("SMT_id")%> onclick="oa_tool1()" target=top>操作</a></td>
<td><input type="checkbox" name="ID" value="<%=rs("SMT_id")%>" style="border:0"></td>
</tr>
<%rs.movenext
i=i+1
j=j-1
loop%>
<tr>
<%filename="cp.asp?word="&request("word")&"&zc="&request("zc")&"&key1="&request("key1")&"&key3="&request("key3")&"&close="&request("close")&""%>
<%response.write "<form method=post action="&filename&">"%>
<td colspan=9 align=right bgcolor=#cccccc><%=Rs.recordcount%> 个产品  <%=listnum%> 个产品/页  共 <%=Rs.pagecount%> 页
<% if page=1 then %>
<%else%>
<a href=<%=filename%>><strong>|<<</strong></a>
<a href=<%=filename%>&page=<%=page-1%>><strong><<</strong></a>
<a href=<%=filename%>&page=<%=page-1%>><b>[<%=page-1%>]</b></a>
<%end if%><% if Rs.pagecount=1 then%><%else%><b>[<%=page%>]</b><%end if%>
<% if Rs.pagecount-page <> 0 then %>
<a href=<%=filename%>&page=<%=page+1%>><b>[<%=page+1%>]</b></a>
<a href=<%=filename%>&page=<%=page+1%>><strong>>></strong></a>
<a href=<%=filename%>&page=<%=Rs.pagecount%>><strong>>>|</strong></a>
<%end if%> <input name="chkall" type="checkbox" id="chkall" value="select" onclick="CheckAll(this.form)" style="border:0">全选 <input type="submit" name="Submit" value="审 核"<%if request("key1")="" then%> disabled<%end if%>> <input type="submit" name="Submit" value="删 除">  </td>
<%end if%></tr>
</form>
</table>

您好,收件夹中最上面两个邮件是广告,不好删除