📄 middle.asp
字号:
col=col+1
rst.movenext
loop
for i=col to 2
%>
<td></td>
<%
next
response.write("</tr>")
loop
rst.close
%>
</table></td>
<td></td>
</tr>
<tr>
<td height="45"></td>
<td><div align="center" class="STYLE1"><a href="admin/admin_link_add.asp" target="_blank">友情链接自助系统</a></div></td>
<td></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="552" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<!--DWLayoutTable-->
<!--右侧信息区-->
<tr>
<td width="100%" height="170" align="left" valign="top" background="images/service.jpg"><!--DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height="28" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<!--通知,新闻管理条-->
<tr>
<td width="267" height="28" valign="middle" background="images/affiche_bar.jpg" class="bottomcolor"><div align="right"><img src="images/arrowOut.gif" width="3" height="5" />more</div></td>
<td width="20" valign="top" bgcolor="#ECECEC" class="bottomcolor"><!--DWLayoutEmptyCell--> </td>
<td width="267" align="left" valign="middle" background="images/news_bar.jpg" class="bottomcolor"><div align="right"><span class="STYLE2"><img src="images/arrowOut.gif" width="3" height="5" /><a href="news.asp" target="_blank">more</a></span></div></td>
</tr>
</table></td>
</tr>
<tr>
<td height="200" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="font">
<!--DWLayoutTable-->
<tr>
<td width="267" height="200" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--新闻-->
<tr>
<td width="267" height="200" valign="top"><br />
<table width="265" height="17" border="0" cellpadding="0" cellspacing="2">
<%rst.open "select top 10 * from shop_affiche order by a_id desc",conn,1,1
do while not rst.eof
%>
<tr>
<td width="13" align="center" valign="middle"><img src="images/arrowOut.gif" width="3" height="5" /></td>
<td width="197"><a href="afficheshow.asp?id=<%=rst("a_id")%>" target="_blank"><%=cutstr(rst("a_title"),14,"..")%></a></td>
<td width="45" align="left" valign="middle">[<%=mid(rst("a_adddate"),6,5)%>]</td>
</tr>
<%
rst.movenext
loop
rst.close
%>
</table></td>
</tr>
</table></td>
<td width="20" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="20" height="200" bgcolor="#ECECEC"> </td>
</tr>
</table></td>
<td width="267" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<!--通知-->
<tr>
<td width="267" height="200" align="left" valign="top" ><br />
<table width="265" height="17" border="0" cellpadding="0" cellspacing="2">
<%rst.open "select top 10 * from shop_news where n_ncid<>0 order by n_id desc,n_top asc",conn,1,1
do while not rst.eof
%>
<tr>
<td width="13" align="center" valign="middle"><img src="images/arrowOut.gif" width="3" height="5" /></td>
<td width="202"><a href="shopnews.asp?id=<%=rst("n_id")%>" target="_blank"><%=cutstr(rst("n_title"),14,"..")%></a></td><td width="45" align="left" valign="middle">[<%=mid(rst("n_adddate"),6,5)%>]</td>
</tr>
<%
rst.movenext
loop
rst.close
%>
</table></td>
</tr>
</table> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="261" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<!--DWLayoutTable-->
<tr>
<td width="552" height="28" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="552" height="28" background="images/goods_bar.jpg" class="topbcolor"><!--DWLayoutEmptyCell--> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="100" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="100%" height="100%" valign="baseline" class="topbcolor">
<marquee style="overflow:visible;" behavior="scroll" direction="left" height="100" width="552" scrolldelay="20" scrollamount="1" bgcolor="white" truespeed onmouseover=this.stop() onmouseout=this.start() >
<%sql="select top 20 * from shop_goods"
rst.open sql,conn,1,1
do while not rst.eof
%>
<a href="showgoods.asp?id=<%=rst("gds_id")%>" target="_blank"><img src="upfile/<%=rst("gds_image")%>" style="border:1px; border-style:solid; border-color:#999999;" onload="javascript:if(this.style.width>100);{this.style.width=100};if(this.style.height>100);{this.style.height=100};"> </a>
<%
rst.movenext
loop
rst.close
%>
</marquee> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="28" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="552" height="28" background="images/message_bar.jpg" class="topbcolor"><!--DWLayoutEmptyCell--> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="105" valign="top"><table width="100%" height="101" border="0" cellpadding="0" cellspacing="0" class="top">
<!--DWLayoutTable-->
<tr>
<td width="100%" height="100" align="center" valign="top"><div align="center">
<table width="367" height="38" border="0" cellpadding="0" cellspacing="0">
<%
sql="select top 8 m_id,m_title,m_adddate from shop_message where m_check=true order by m_id desc"
rst.open sql,conn,1,1
if rst.eof and rst.bof then
%>
<tr>
<td colspan="2">还没有留言信息!</td>
</tr>
<%
else
do while not rst.eof
col=1
%>
<tr>
<%do while not rst.eof and col<3 %>
<td width="7" align="center" valign="middle">
<img src="images/arrowOut.gif" width="3" height="5" /> </td>
<td width="272"><a href="message.asp?m_id=<%=rst("m_id")%>" target="_blank"><%=cutstr(rst("m_title"),12,"...")%></a> </td>
<td width="88" align="center">[<%=mid(rst("m_adddate"),6,5)%>]</td>
<%
col=col+1
rst.movenext
loop
for i=col to 2
response.Write("<td width='14'> </td><td width='353'> </td><td> </td>")
next
%>
</tr>
<%
loop
end if
rst.close
%>
</table>
</div></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="13" valign="top" background="images/v_bar_r.gif"><!--DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height="14"> </td>
<td class="top"> </td>
<td class="top"> </td>
<td> </td>
</tr>
</table>
</div>
<%
set rst=nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -