?? admin_zxpic.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 + -