-
Notifications
You must be signed in to change notification settings - Fork 0
/
center.asp
186 lines (180 loc) · 7.21 KB
/
center.asp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
.style1 {color: #000000}
-->
</style>
<table border="0" cellpadding="0" cellspacing="0" width="590">
<tr>
<td colspan="3"><img name="index_7_r1_c1" src="images/index_7_r1_c1.jpg" width="590" height="49" border="0" alt=""></td>
</tr>
<tr>
<td colspan="3"><img name="index_7_r2_c1" src="images/index_7_r2_c1.jpg" width="590" height="9" border="0" alt=""></td>
</tr>
<tr>
<td width="16" background="images/index_7_r3_c1.jpg"> </td>
<td width="564"><table width="96%" height="153" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<%
i=0
sql="select top 2 * from [information] order by id desc"
set rs=Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,3,3
do while not rs.eof
i=i+1
%>
<td height="89"><table width="262" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="128" rowspan="7"><div align="center"><a href="lookpro.asp?id=<%=rs("id")%>" target="_blank"><img src="upfile/<%=rs("tupian")%>" width="110" height="130" border="0"></a></div></td>
<td width="18" height="16"> </td>
<td width="116"><span class="style1">【<%=rs("mingcheng")%>】</span></td>
</tr>
<tr>
<td height="16"> </td>
<td><span class="style1">【出租价格:<%=rs("shichang")%>】</span></td>
</tr>
<tr>
<td height="16"> </td>
<td><a href="lookpro.asp?id=<%=rs("id")%>" target="_blank">【查看信息</a>】</td>
</tr>
<tr>
<td height="16"> </td>
<td>【<a href="gouwu.asp?ProdId=<%=rs("id")%>">租借仪器</a>】</td>
</tr>
<tr>
<td height="16"> </td>
<td><span class="style1">【浏览次数:<%=rs("cishu")%>】</span></td>
</tr>
</table></td>
<%if i mod 2=0 then%>
</tr>
<%
end if
rs.movenext
loop
rs.close
set rs=nothing
%>
</table></td>
<td width="10" background="images/index_7_r3_c3.jpg"> </td>
</tr>
<tr>
<td colspan="3"><img name="index_7_r4_c1" src="images/index_7_r4_c1.jpg" width="590" height="7" border="0" alt=""></td>
</tr>
<tr>
<td colspan="3"><img name="index_7_r5_c1" src="images/index_7_r5_c1.jpg" width="590" height="49" border="0" alt=""></td>
</tr>
<tr>
<td colspan="3"><img name="index_7_r6_c1" src="images/index_7_r6_c1.jpg" width="590" height="7" border="0" alt=""></td>
</tr>
<tr>
<td><img name="index_7_r7_c1" src="images/index_7_r7_c1.jpg" width="16" height="168" border="0" alt=""></td>
<td><table width="96%" height="153" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<%
i=0
sql="select top 2 * from [information] where dengji='1' order by id desc"
set rs=Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,3,3
do while not rs.eof
i=i+1
%>
<td height="89"><table width="265" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="128" rowspan="7"><div align="center"><a href="lookpro.asp?id=<%=rs("id")%>" target="_blank"><img src="upfile/<%=rs("tupian")%>" width="110" height="130" border="0"></a></div></td>
<td width="18" height="16"> </td>
<td width="119"><span class="style1">【<%=rs("mingcheng")%>】</span></td>
</tr>
<tr>
<td height="16"> </td>
<td><span class="style1">【出租价格:<%=rs("shichang")%>】</span></td>
</tr>
<tr>
<td height="16"> </td>
<td><span class="style1"><a href="lookpro.asp?id=<%=rs("id")%>" target="_blank">【查看信息</a>】</span></td>
</tr>
<tr>
<td height="16"> </td>
<td><span class="style1">【<a href="gouwu.asp?ProdId=<%=rs("id")%>">租借仪器</a>】</span></td>
</tr>
<tr>
<td height="16"> </td>
<td><span class="style1">【浏览次数:<%=rs("cishu")%>】</span></td>
</tr>
</table></td>
<%if i mod 2=0 then%>
</tr>
<%
end if
rs.movenext
loop
rs.close
set rs=nothing
%>
</table></td>
<td><img name="index_7_r7_c3" src="images/index_7_r7_c3.jpg" width="10" height="168" border="0" alt=""></td>
</tr>
<tr>
<td colspan="3"><img name="index_7_r8_c1" src="images/index_7_r8_c1.jpg" width="590" height="7" border="0" alt=""></td>
</tr>
<tr>
<td colspan="3"><img name="index_7_r9_c1" src="images/index_7_r9_c1.jpg" width="590" height="48" border="0" alt=""></td>
</tr>
<tr>
<td colspan="3"><img name="index_7_r10_c1" src="images/index_7_r10_c1.jpg" width="590" height="10" border="0" alt=""></td>
</tr>
<tr>
<td><img name="index_7_r11_c1" src="images/index_7_r11_c1.jpg" width="16" height="168" border="0" alt=""></td>
<td><table width="96%" height="153" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<%
i=0
sql="select top 2 * from [information] order by cishu desc"
set rs=Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,3,3
do while not rs.eof
i=i+1
%>
<td height="89"><table width="264" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="128" rowspan="7"><div align="center"><a href="lookpro.asp?id=<%=rs("id")%>" target="_blank"><img src="upfile/<%=rs("tupian")%>" width="110" height="130" border="0"></a></div></td>
<td width="18" height="16"> </td>
<td width="118"><span class="style1">【<%=rs("mingcheng")%>】</span></td>
</tr>
<tr>
<td height="16"> </td>
<td><span class="style1">【出租价格:<%=rs("shichang")%>】</span></td>
</tr>
<tr>
<td height="16"> </td>
<td><span class="style1"><a href="lookpro.asp?id=<%=rs("id")%>" target="_blank">【查看信息</a>】</span></td>
</tr>
<tr>
<td height="16"> </td>
<td><span class="style1">【<a href="gouwu.asp?ProdId=<%=rs("id")%>">租借仪器</a>】</span></td>
</tr>
<tr>
<td height="16"> </td>
<td><span class="style1">【浏览次数:<%=rs("cishu")%>】</span></td>
</tr>
</table>
</td>
<%if i mod 2=0 then%>
</tr>
<%
end if
rs.movenext
loop
rs.close
set rs=nothing
%>
</table></td>
<td><img name="index_7_r11_c3" src="images/index_7_r11_c3.jpg" width="10" height="168" border="0" alt=""></td>
</tr>
<tr>
<td colspan="3"><img name="index_7_r12_c1" src="images/index_7_r12_c1.jpg" width="590" height="7" border="0" alt=""></td>
</tr>
<tr>
<td height="58" colspan="3"> </td>
</tr>
</table>