📄 carbeauty.asp
字号:
</td>
</tr>
<tr>
<td align="middle">
<img height="15" alt="" src="images//index_20.jpg" width="46"></td>
</tr>
</table>
</td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table border="0" width="779" id="table8" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" align="right" >
<!--品牌汽车--><div align="center">
</div>
<div align= "left">
<table border="1" width="580" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#BDDBE9">
<tr>
<td><table cellpadding=0 border=0 width="580" bordercolor="#BDDBE9" style="border-collapse: collapse" id="table10">
<tr>
<td valign=top width="585" colspan="4">
<table border="0" width="100%" id="table11">
<tr>
<td bgcolor="#BDDBE9">
<p align="center"><span lang="zh-cn">香车美女</span></td>
</tr>
</table>
</td>
</tr><%
set rs=server.createobject("adodb.recordset")
rs.open "select * from xcmn where type=5 or type=0 order by adddate desc",conn,1,1
if rs.eof then
response.write "对不起,暂无信息!"
else
rs.PageSize =16'每页记录条数
iCount=rs.RecordCount '记录总数
iPageSize=rs.PageSize
maxpage=rs.PageCount
page=request("page")
if Not IsNumeric(page) or page="" then
page=1
else
page=cint(page)
end if
if page<1 then
page=1
elseif page>maxpage then
page=maxpage
end if
rs.AbsolutePage=Page
if page=maxpage then
x=iCount-(maxpage-1)*iPageSize
else
x=iPageSize
end if
for i=1 to 4%>
<tr>
<td align="center" width="147" height="22" >
<table border="0" width="100%" id="table12" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
<tr>
<td>
<p align="center"><% if not rs.eof then
%>
<table width="100%" border=0 cellspacing=0 cellpadding=0><tr>
<td height=170 align=center style="color: #293D05; font-size: 12px" valign="top"><table width=95 border=0 cellpadding=0 cellspacing=1 bgcolor=#CCCCCC><tr>
<td height=30 bgcolor=#FFFFFF style="color: #293D05; font-size: 12px"><table width=95 border=0 cellpadding=0 cellspacing=1 bgcolor=#FFFFFF><tr>
<td height=30 bgcolor=#FFFFFF style="color: #293D05; font-size: 12px" valign="top">
<a target="_blank" href="carbeauty2.asp?girlid=<%=rs("girlid")%>">
<img height="150" src="<%=rs("girlpic")%>" width="110" border="0" title="<%=rs("girlname")%>"></a></td></tr></table></td></tr></table></td></tr><tr>
<td height=25 align=center style="color: #293D05; font-size: 12px" valign="top">
<a target="_blank" href="carbeauty2.asp?girlid=<%=rs("girlid")%>">
<%=rs("girlname")%></a></td></tr></table>
<%end if%></td>
</tr>
</table>
</td><%rs.movenext%>
<td width="146" align="center" valign="top" >
<table border="0" width="100%" id="table24" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
<tr>
<td>
<p align="center"><% if not rs.eof then
%>
<table width="100%" border=0 cellspacing=0 cellpadding=0><tr>
<td height=170 align=center style="color: #293D05; font-size: 12px" valign="top"><table width=95 border=0 cellpadding=0 cellspacing=1 bgcolor=#CCCCCC><tr>
<td height=30 bgcolor=#FFFFFF style="color: #293D05; font-size: 12px"><table width=95 border=0 cellpadding=0 cellspacing=1 bgcolor=#FFFFFF><tr>
<td height=30 bgcolor=#FFFFFF style="color: #293D05; font-size: 12px">
<a target="_blank" href="carbeauty2.asp?girlid=<%=rs("girlid")%>">
<img height="150" src="<%=rs("girlpic")%>" width="110" border="0" title="<%=rs("girlname")%>"></a></td></tr></table></td></tr></table></td></tr><tr>
<td height=25 align=center style="color: #293D05; font-size: 12px" valign="top">
<a target="_blank" href="carbeauty2.asp?girlid=<%=rs("girlid")%>">
<%=rs("girlname")%></a></td></tr></table>
<%end if%></td>
</tr>
</table>
</td><%rs.movenext%>
<td align="center" width="146" >
<table border="0" width="100%" id="table25" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
<tr>
<td>
<p align="center"><% if not rs.eof then
%>
<table width="100%" border=0 cellspacing=0 cellpadding=0><tr>
<td height=170 align=center style="color: #293D05; font-size: 12px" valign="top"><table width=95 border=0 cellpadding=0 cellspacing=1 bgcolor=#CCCCCC><tr>
<td height=30 bgcolor=#FFFFFF style="color: #293D05; font-size: 12px"><table width=95 border=0 cellpadding=0 cellspacing=1 bgcolor=#FFFFFF><tr>
<td height=30 bgcolor=#FFFFFF style="color: #293D05; font-size: 12px">
<a target="_blank" href="carbeauty2.asp?girlid=<%=rs("girlid")%>">
<img height="150" src="<%=rs("girlpic")%>" width="110" border="0" title="<%=rs("girlname")%>"></a></td></tr></table></td></tr></table></td></tr><tr>
<td height=25 align=center style="color: #293D05; font-size: 12px" valign="top">
<a target="_blank" href="carbeauty2.asp?girlid=<%=rs("girlid")%>">
<%=rs("girlname")%></a></td></tr></table>
<%end if%></td>
</tr>
</table>
</td>
<td align="center" width="146" >
<table border="0" width="100%" id="table28" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
<tr>
<td>
<p align="center">
<%rs.movenext%><% if not rs.eof then
%>
<table width="100%" border=0 cellspacing=0 cellpadding=0><tr>
<td height=170 align=center style="color: #293D05; font-size: 12px" valign="top"><table width=95 border=0 cellpadding=0 cellspacing=1 bgcolor=#CCCCCC><tr>
<td height=30 bgcolor=#FFFFFF style="color: #293D05; font-size: 12px"><table width=95 border=0 cellpadding=0 cellspacing=1 bgcolor=#FFFFFF><tr>
<td height=30 bgcolor=#FFFFFF style="color: #293D05; font-size: 12px">
<a target="_blank" href="carbeauty2.asp?girlid=<%=rs("girlid")%>">
<img height="150" src="<%=rs("girlpic")%>" width="110" border="0" title="<%=rs("girlname")%>"></a></td></tr></table></td></tr></table></td></tr><tr>
<td height=25 align=center style="color: #293D05; font-size: 12px" valign="top">
<a target="_blank" href="carbeauty2.asp?girlid=<%=rs("girlid")%>">
<%=rs("girlname")%></a></td></tr></table>
<%end if%></td>
</tr>
</table>
</td>
</tr> <%rs.movenext
next
end if
%>
<tr><td colspan=4>
<p align="right"><%call PageControl(iCount,maxpage,page,"border=0 align=right","<p align=right>")%></td></tr>
</table></td>
</tr><%
Sub PageControl(iCount,pagecount,page,table_style,font_style)
'生成上一页下一页链接
Dim query, a, x, temp
action = "http://" & Request.ServerVariables("HTTP_HOST") & Request.ServerVariables("SCRIPT_NAME")
query = Split(Request.ServerVariables("QUERY_STRING"), "&")
For Each x In query
a = Split(x, "=")
If StrComp(a(0), "page", vbTextCompare) <> 0 Then
temp = temp & a(0) & "=" & a(1) & "&"
End If
Next
Response.Write("<table " & Table_style & ">" & vbCrLf )
Response.Write("<form method=get onsubmit=""document.location = '" & action & "?" & temp & "Page='+ this.page.value;return false;""><TR>" & vbCrLf )
Response.Write("<TD align=right>" & vbCrLf )
Response.Write(font_style & vbCrLf )
for z=1 to pagecount
if page=z then
response.write "<font color='#FF0000'>"&z&"</font> "
else
response.write "<A HREF=" & action & "?" & temp & "Page=" &z&">"&z&"</a> "
end if
next
Response.Write(" 共有" & iCount & "条信息" & vbCrLf)
Response.Write("</TD>" & vbCrLf )
Response.Write("</TR></form>" & vbCrLf )
Response.Write("</table>" & vbCrLf )
End Sub
%>
</table> </td>
<%rs.close
set rs=nothing%>
<td valign="top" width="8"> </td>
<td width="175" valign="top">
<!--网站左面-->
<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="table1">
<tr>
<td align="center" valign="top">
<!--二手车收索--><!--#include file="in_search.asp"-->
<!--香车美女--><table border="0" width="100%" id="table46" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table><!--#include file="in_carbeauty1.asp"-->
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<!--网站尾文件-->
</div><!--#include file="webfoot.asp"-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -