📄 newgoodsinfo.asp
字号:
<html>
<style type="text/css">
<!--
.style1 {font-size: 16px}
-->
</style>
<body>
<table width="100%" height="79%" border="0">
<tr>
<th width="100%" height="60" scope="col"><div align="left">
<table width="100%" height="100%" border="1" bordercolor="#330066" bgcolor="#99CC66">
<tr>
<th width="123" height="23" scope="col"> </th>
<th width="620" scope="col">最新物品</th>
</tr>
<%
dim I,goods,sql
Set goods=Server.CreateObject("ADODB.Recordset")
sql="select name,goods_id from goods order by date desc"
goods.open sql,conn,1
I=1
do while not goods.eof and I<=6
%>
<tr>
<th height="27" scope="row"><%=I%></th>
<td><a href="showgoods.asp?goods_id=<%=goods(1)%>" class="style1"><%=goods(0)%></a></td>
</tr>
<%
goods.movenext
I=I+1
loop
%>
</table>
</div></th>
</tr>
<tr>
<th height="60" scope="row"><table width="100%" height="100%" border="1" bordercolor="#660066" bgcolor="#99CC66">
<tr>
<th width="20" height="26" scope="col"><div align="left"> </div></th>
<th width="119" scope="col">最新信息</th>
</tr>
<%
dim info
Set info=Server.CreateObject("ADODB.Recordset")
sql="select title,info_id from info where isdiposal=yes order by date desc"
info.open sql,conn,1
I=1
do while not info.eof and I<=6
%>
<tr>
<th height="22" scope="row"><div align="left"><%=I%></div></th>
<td><span class="style1"></span><a href="showinfo.asp?info_id=<%=info(1)%>"><%=info(0)%></a></td>
</tr>
<%
info.movenext
I=I+1
loop
%>
</table></th>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -