asp如何图片让起横向显示,高手帮忙
jmxye 2008-04-20 07:27:38 asp如何图片让起横向显示,高手帮忙
<!----图片调用开始------>
<%
intPageSize=5
strPageUrl="?Uid="&request("Uid")&""
SQLSelect="select I_ID,C_Position,C_Name,C_Img,DT_AddDate,L_Check from TB_ZSDesigner"
SQLWhere=" where I_MemberID="&Uid&""
SQLOrder=" order by I_ID desc"
SQLTable=trim(mid(SQLSelect,(instr(SQLSelect,"from")+4)))
SQL1="select count(*) from TB_ZSDesigner"&SQLWhere
intRecordCount=conn.execute(SQL1)(0)
call PageCute(intRecordCount,intPageSize)
SQL=SQLSelect&SQLWhere&SQLOrder
set rs=conn.execute(SQL)
if not rs.eof then
rs.move (CurrentPage-1)*intPageSize
for i=1 to intPageSize
%>
<TABLE height=120 cellSpacing=0 cellPadding=0 width=130 border=0>
<TR>
<TD><IMG height=2 src="imagg/img/cc01.jpg" width=3></TD>
<TD background=imagg/img/cc02.jpg height=2></TD>
<TD><IMG height=2 src="imagg/img/cc03.jpg" width=7></TD>
</TR>
<TR>
<TD width=1 background=imagg/img/cc04.jpg></TD>
<TD width="100%" height="115" align="center" valign="bottom" class="htext">
<a target="_blank" href="Item.asp?Uid=<%= Uid %>">
<img src="imagg/1/logop200712191102136607.jpg" width="110" height="90" border="0" alt="样板房"><br><%= rs("C_Position") %>-<%= rs("C_Name") %></a> </TD>
<TD width=7 background=imagg/img/cc05.jpg></TD>
</TR>
<TR>
<TD><IMG height=8 src="imagg/img/cc06.jpg" width=3></TD>
<TD background=imagg/img/cc07.jpg height=8></TD>
<TD><IMG height=8 src="imagg/img/cc08.jpg" width=7></TD>
</TR>
</TABLE>
<%
rs.movenext
if rs.eof then exit for
next
else
response.write " <td colspan=2 align=center> <font color='#FF0000'>暂无记录 </font> </td>"
end if
%>
<!----图片调用结束------>