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

📄 admin_zxpic.asp

📁 网上学生心里调查系统
💻 ASP
字号:
<!--#include file="conn.asp" --> 
<!--#include file="admin_check.asp" -->
<%
call manager(session("grade"),session("adminname"),2)
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>后台管理 - 资讯图片管理</title>
<link href="admin.css" rel="stylesheet" type="text/css">
</head>

<body>
<div align="center">
<table width="960" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse">
  <tr>    
    <td width="160" valign="top"> <!--#include file="admin_left.asp" --></td>
    <td width="800" align="center" valign="top"> 
   
      <table width="800" border="0" cellpadding="3" cellspacing="0" bgcolor="#DFEAF2" style="border-collapse: collapse">
        <tr bgcolor="#333333"> 
          <td height="20" bgcolor="#FFFFFF">选择</td>
        </tr>
        <tr bgcolor="#333333">
          <td height="25" bgcolor="#FFFFFF"></td>
        </tr>
      </table>
              
      <table width="800" border="0" cellpadding="3" cellspacing="1" bgcolor="#DFEAF2">
        <tr bgcolor="#0099FF" height="30"> 
          <td width="60" align="center"><font color="#FFFFFF">资讯</font></td>
          <td width="40" align="center"><font color="#FFFFFF">留言数</font></td>
          <td width="700" align="center"><font color="#FFFFFF">留言</font></td>
        </tr>
<% 
set rspl=server.CreateObject("adodb.recordset")
rspl.open "select * from xinxi order by 编号 desc",conn,1,1
if rspl.recordcount>0 then
  Do while not rspl.eof
   if rspl("图片1")<>"http://" and rspl("图片1")<>"" then 
%>
        <tr bgcolor="#FFFFFF" height="30"  onMouseOver='this.style.backgroundColor="#CAE5E8"' onMouseOut='this.style.backgroundColor=""'> 
          <td align="center"><a href="admin_zxedit.asp?id=<%=rspl("编号")%>"><%=rspl("名称")%></a></td>
          <td align="center" style="color: red; font-weight: bold"><%=rspl.recordcount%></td>
          <td>
       <%if rspl("图片1")<>"" and rspl("图片1")<>"http://" then response.write ("<a target='_blank' href='"&rspl("图片1")&"'><img src='"&rspl("图片1")&"' title='点击看大图' border=0><br>"&rspl("图片1")&"</a><br><br>") end if%>
       <%if rspl("图片2")<>"" and rspl("图片2")<>"http://" then response.write ("<a target='_blank' href='"&rspl("图片2")&"'><img src='"&rspl("图片2")&"' title='点击看大图' border=0><Br>"&rspl("图片2")&"</a><br><br>") end if%>
       <%if rspl("图片3")<>"" and rspl("图片3")<>"http://" then response.write ("<a target='_blank' href='"&rspl("图片3")&"'><img src='"&rspl("图片3")&"' title='点击看大图' border=0><br>"&rspl("图片3")&"</a><br><br>") end if%>   </td>
        </tr> 
  <% end if
     rspl.movenext
   Loop
end if
rspl.close
set rspl=nothing
%>
      </table>
    </td>
  </tr>
</table>
</div>

</body>
</html>

⌨️ 快捷键说明

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