📄 default.asp
字号:
<!--#include file="conn1.asp"--><!--#include file="config.asp"--><%
dim rs,sql,b,bb,i,tj,class1,class2,cnmai,biaoti
set rs=server.createobject("ADODB.recordset")
if request("page")="" then
ThisPage=1
else
ThisPage=request("page")
end if
%> <HTML><HEAD><TITLE><%=title%>-首页</TITLE><link href="inc_style.css" rel="stylesheet" type="text/css"></HEAD><BODY bgColor=#cccccc topMargin=0><!--#include file="top1.asp" --><!--#include file=bar.asp--><div align="center">
<table width="768" border="0" bgcolor="#FFFFFF">
<tr>
<td height="80" align="center"><a href="index.asp" target="_blank"><img src="ad/002.gif" width="760" height="80" border="0"></a></a></td>
</tr>
</table>
<table width="768" height="571" border="0" bgcolor="#FFFFFF"><tr>
<td width="184" valign="top" height="553">
<table cellPadding="0" width="100%" border="0" height="258" bordercolor="#111111" background="images/leftbg.gif"><tr><td height="104"><div align="center"><center>
<table class="font_10_e_blue" cellPadding="0" width="100%" border="0" bordercolor="#111111" height="107" valign="top" cellspacing="0"><tr>
<td width="181"><img border="0" src="images/a0.gif"></td></tr><%if request.cookies("cnmai")("username")="" then%> <tr>
<td width="181" height="80"><form id="f1" name="thisForm" action="Loginchk.asp" method="POST" style="line-height: 100%; margin-top: 0; margin-bottom: 0">
<table width="104%" cellpadding="0" height="68" style="border-collapse: collapse" ><tr>
<td width="95%" height="26" align="right"><p align="left"><font color="#5E5E5E"> 登陆帐号:</font><input class="form_e_10_black" id="username2" maxLength="20" size="16" name="username" style="padding: 0; "></tr><tr>
<td height="22" align="right"><p align="left"><font color="#5E5E5E"> 登陆密码:</font><input class="form_e_10_black" id="password2" type="password" maxLength="32" size="16" name="password"></tr><tr><td>
<p align="left"> [<a href="reg.asp">新用户注册</a>] <input onclick="javascript:return CheckForm();" type="image" src="images/mail_login_r5_c2.gif" border="0" name="I3"></td></tr></table></form></td></tr><%else%> <tr>
<td width="181" height="30"><p align="center" style="line-height: 150%; margin-top: 0; margin-bottom: 0">您好,<b><%=request.cookies("cnmai")("username")%></b><br>您已经登陆<font color="#FF0000">[<%if request.cookies("cnmai")("vip")=1 then
response.Write"VIP会员"
else
response.Write"免费会员"
end if %>]</font>模式<br><a href="addxinxi.asp">
<font color="#0000FF">发布信息</font></a>-<a href="user_xxgl.asp">信息管理</a>-<a href="usereditzl.asp">修改资料</a><p align="center" style="line-height: 150%; margin-top: 0; margin-bottom: 0">
<a href="user_pass.asp">修改密码</a>-<a href="user_gbook.asp">投诉建议留言</a>-<a href="userout.asp">退出</a><br><a href="user.asp">
<font color="#0000FF">进入用户管理中心</font></a></td></tr><%end if%> </table></center></div></td></tr><tr>
<td height="59"><div align="center"><center>
<table style="BORDER-COLLAPSE: collapse" borderColor="#111111" cellPadding="0" border="0" height="335" width="91%"><tr>
<td height="41" width="172">
<p align="center">
<a target="_blank" href="<%=ad2web%>"><img border="0" src="<%=ad2%>" width="170" height="36"></a></td></tr><tr>
<td height="36" width="172">
<a target="_blank" href="<%=ad3web%>"><img border="0" src="<%=ad3%>" width="170" height="36"></a></td></tr><tr>
<td height="45" width="172"><a title=">>>更多本站公告..." href="javascript:win=open('gonggao.asp','offer','width=560,height=450,status=no,menubar=yes,scrollbars=yes,top=0,left=0');%20win.focus()"><img border="0" src="images/a1.gif" width="170" height="45"></a></td></tr><tr>
<td width="172"><!--#include file="gg.asp" --></td></tr><tr>
<td height="36" width="172">
<a target="_blank" href="<%=ad4web%>"><img border="0" src="<%=ad4%>" width="172" height="36"></a></td></tr><tr>
<td height="44" width="172">
<a target="_blank" href="<%=ad5web%>"><img border="0" src="<%=ad5%>" width="172" height="36"></a></td></tr><tr>
<td height="45" width="172">
<a target="_blank" href="javascript:win=open('zn.asp','offer','width=560,height=450,status=no,menubar=yes,scrollbars=yes,top=0,left=0');%20win.focus()"><img border="0" src="images/a5.gif" width="170" height="45"></a></td></tr><tr>
<td height="1" width="172"><!--#include file="ggzn.asp"--></td></tr><tr><td height="17" width="172"><p align="center">
<A href="javascript:win=open('zn.asp','offer','width=560,height=450,status=no,menubar=yes,scrollbars=yes,top=0,left=0'); win.focus()" style="text-decoration: none">更多导购指南>>></a></td></tr><tr>
<td height="45" width="172"><p><img border="0" src="images/a4.gif" width="170" height="45"></td></tr><tr>
<td height="1" width="172"><!--#include file="link.asp" --></td></tr>
<tr>
<td height="23" width="172" bgcolor="#F2F2F2">
<p align="center">[<a target="_blank" href="about/addlink.asp"><font color="#0000FF">加入链接</font></a>]
<a target="_blank" href="about/link.htm">更多连接>>></a></td>
</tr>
</table></center></div></td></tr><tr><td height="1"></td></tr></table>
<td width="566" valign="top" height="553">
<table width="100%" id="table1" height="58" cellspacing="0" cellpadding="0"><tr>
<td bgcolor="#CCCCCC" width="7%" height="19" style="border-bottom: 1px solid #CCCCCC"><p align="center"><img border="0" src="images/fx.gif" width="14" height="14"></td>
<td bgcolor="#F2F2F2" width="91%" height="25" style="border-bottom: 1px solid #CCCCCC">
<font color="#FF6600"><b> <a href="info.asp?cnmai=5"><font color="#FF6600">特别推荐</font></a></b></font> <%=adhot%></td></tr><tr>
<td width="540" height="0" style="padding:1px; " colspan="2">
<!--#include file="tj.asp" --></td></tr><tr>
<td height="26" colspan="2" bgcolor="#009999" align="center"><font color="#FFFFFF"> ◎选择地区:</font><a href="search.asp?keyword=黄浦"><font color="#FFFFFF">黄浦区</font></a><font color="#FFFFFF"> ┈
</font>
<a href="search.asp?keyword=卢湾"><font color="#FFFFFF">卢湾区</font></a><font color="#FFFFFF"> ┈
</font> <a href="search.asp?keyword=徐汇"><font color="#FFFFFF">徐汇区</font></a><font color="#FFFFFF"> ┈
</font>
<a href="search.asp?keyword=长宁"><font color="#FFFFFF">长宁区</font></a><font color="#FFFFFF"> ┈
</font> <a href="search.asp?keyword=静安"><font color="#FFFFFF">静安区</font></a><font color="#FFFFFF"> ┈
</font>
<a href="search.asp?keyword=普陀"><font color="#FFFFFF">普陀区</font></a><font color="#FFFFFF"> ┈
</font>
<a href="search.asp?keyword=闸北"><font color="#FFFFFF">闸北区</font></a><font color="#FFFFFF"> ┈
</font> <a href="search.asp?keyword=虹口"><font color="#FFFFFF">虹口区</font></a><font color="#FFFFFF"> ┈
</font>
<a href="search.asp?keyword=杨浦"><font color="#FFFFFF">杨浦区</font></a><font color="#FFFFFF"> ┈
</font> <a href="search.asp?keyword=闵行"><font color="#FFFFFF">闵行区</font></a><font color="#FFFFFF"> ┈
</font>
<a href="search.asp?keyword=宝山"><font color="#FFFFFF">宝山区</font></a><font color="#FFFFFF"> ┈
</font>
<a href="search.asp?keyword=嘉定"><font color="#FFFFFF">嘉定区</font></a><font color="#FFFFFF"> ┈
</font> <a href="search.asp?keyword=浦东"><font color="#FFFFFF">浦东区</font></a><font color="#FFFFFF"> ┈
</font>
<a href="search.asp?keyword=金山"><font color="#FFFFFF">金山区</font></a><font color="#FFFFFF"> ┈
</font> <a href="search.asp?keyword=松江"><font color="#FFFFFF">松江区</font></a><font color="#FFFFFF"> ┈
</font>
<a href="search.asp?keyword=青浦"><font color="#FFFFFF">青浦区</font></a><font color="#FFFFFF"> ┈
</font>
<a href="search.asp?keyword=南汇"><font color="#FFFFFF">南汇区</font></a><font color="#FFFFFF"> ┈
</font> <a href="search.asp?keyword=奉贤"><font color="#FFFFFF">奉贤区</font></a><font color="#FFFFFF"> ┈
</font>
<a href="search.asp?keyword=崇明"><font color="#FFFFFF">崇明县
</font></a><font color="#FFFFFF"> ◎选择</font><select name="select" size="1" onchange="location=this.options[this.selectedIndex].value">
<option value="目录">交易方式</option>
<option value="new.asp?leixing=1&cnmai=3"><%=leixing1%></option>
<option value="new.asp?leixing=2&cnmai=3"><%=leixing2%></option>
<option value="new.asp?leixing=3&cnmai=3"><%=leixing3%></option>
<option value="new.asp?leixing=4&cnmai=3"><%=leixing4%></option>
<option value="new.asp?leixing=5&cnmai=3"><%=leixing5%></option>
<option value="new.asp?leixing=6&cnmai=3"><%=leixing6%></option>
<option value="new.asp?leixing=7&cnmai=3"><%=leixing7%></option>
<option value="new.asp?leixing=8&cnmai=3"><%=leixing8%></option>
<option value="new.asp?leixing=9&cnmai=3"><%=leixing9%></option>
</select></td></tr><tr>
<td height="71" valign="top" colspan="2"><div align="center">
<table border="1" width="100%" id="table1" cellspacing="1" bordercolor="#F2F2F2" style="border-collapse: collapse"><tr>
<td style="width: 47px; background-color:#F0E9C8" align="middle" height="25">方式</td>
<td style="width: 243px; background-color:#F0E9C8" align="middle" height="25">信息标题<font color="#008080">
(<img border="0" src="images/num/pic.gif" width="13" height="13">-图片
<img border="0" src="images/num/jsq.gif" width="12" height="12">-置顶
<img border="0" src="images/num/jian.gif" width="15" height="15">-推荐)</font></td>
<td style="width: 56px; background-color:#F0E9C8" align="middle" height="25">
价格</td><td style="width: 50px; background-color:#F0E9C8" align="middle" height="25">点/回</td><td style="width: 80px; background-color:#F0E9C8" align="middle" height="25">
日期</td><td style="width: 59px; background-color:#F0E9C8" align="middle" height="25">
状态</td></tr><%
dim ThisPage,Pagesize,Allrecord,Allpage,leixing
tj=0
sql = "select * from xinxi where yz=1 order by b desc,fbsj desc"
' ,fbsj desc
rs.open sql,conn,1,1
rs.Pagesize=29
Pagesize=rs.Pagesize
Allrecord=rs.Recordcount
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -