<!--#include file="inc/conn.asp"-->
<!--#include file="config.asp"-->
<%
dim com,rs,sql,k
com=CheckStr(trim(request("com")))
set rs = Server.CreateObject("ADODB.RecordSet")
sql="select * from [com] where username='"&com&"'"
rs.open sql,conn,1,3
if rs.eof then
response.write "<script language=JavaScript>" & chr(13) & "alert('该信息是快速发布信息！没有相关用户资料！')</script>"
response.redirect "../"
response.end
end if
if rs("vip")<>"1" then
response.redirect "comno.asp?com="&com&""
end if
rs("tong")=rs("tong")+1
rs.update
%>
<%dim n,rs0
set rs0=server.createobject("adodb.recordset")
set rs0=conn.execute("select count(id) from [xinxi] where username='"&com&"'")
n=rs0(0)
rs0.close
%><html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"><meta name="keywords" content="供求信息,二手网,二手商品,电子商务,供求网站,免费发布供求信息,商业信息,贸易网,求购,求购信息,出售，供应,供求信息网，招商投资 生活服务 家电家居  旅游出行 招聘求职  房产信息 
建材装饰 烟酒副食 电脑网络  餐饮酒店  医药保健  农林牧渔  安全防护  包装纸张 办公文教  电子通讯  
纺织皮革  服装服饰  工业机械 仪器仪表 交通运输 车及配件 工艺礼品 文化艺术 冶金矿产 出版印刷 能源动力 环境保护 
化工行业 玩具体育 园林绿化 广告服务 商务服务 分类广告 搜索引擎 企业行业黄页 分类信息网 集市">

<title><%=rs("com")%>-<%=title%></title>
</head>
<body topmargin="0">
<!--#include file="comtop.asp"-->
<div align="center">
<table border="0" width="760" id="table1" cellspacing="0" cellpadding="0" height="553" style="border-left: 1px solid #999999; border-right: 1px solid #999999; border-top-width: 1px; border-bottom-width: 1px">
<tr>
<td width="190" valign="top" bgcolor="#FDFDF4">
<table border="0" width="100%" cellspacing="0" cellpadding="0" id="table2" height="550">
<tr>
<td height="14">
<img border="0" src="image/t_01.gif" width="190" height="14"></td>
</tr>
<tr>
<td background="image/t_02.gif" height="91">&nbsp;<font color="#808080">商家模式：</font>特约商家<br>&nbsp;<font color="#808080">店主名称：</font><%=rs("name")%>(<%=rs("username")%>)<br>&nbsp;<font color="#808080">店铺积分：</font><%=rs("jf")%><br>&nbsp;<font color="#808080">物品数量：</font><%=n%><br>&nbsp;<font color="#808080">创店时间：</font><%=formatdatetime(rs("zcdata"),1)%><br>&nbsp;<font color="#808080">商家地址：</font><%=left(rs("dizhi"),10)%><br>&nbsp;<a target="_blank" href="com_mail.asp?com=<%=rs("username")%>">给店家发信息</a><%if rs("qq")<>"" then %>&nbsp; <a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin=<%=rs("qq")%>&Menu=yes><img border="0" SRC=http://wpa.qq.com/pa?p=1:<%=rs("qq")%>:7 alt="用QQ给他发信息"></a><%end if%></td>
</tr>
<tr>
<td height="17">
<img border="0" src="image/t_03.gif" width="190" height="17"></td>
</tr>
<tr>
<td bgcolor="#FFFFFF">　</td>
</tr>
<tr>
<td height="329">
<img border="0" src="image/t_04.gif" width="190" height="329"></td>
</tr>
<tr>
<td height="64" valign="top">&nbsp; 
<font color="#808080">地址：<%=rs("dizhi")%><br>&nbsp; 电话：<%=rs("dianhua")%><br>&nbsp; 传真：<%=rs("fax")%><br>&nbsp; E-mail：<%=rs("email")%></font><br></td>
</tr>
</table>
</td>
<td width="587" valign="top">
<div align="center">
<table border="0" width="557" cellspacing="0" cellpadding="0" id="table3">
<tr>
<td height="26" width="560" class="td2_muen">&nbsp;<b><font color=white>店铺名称:<%=rs("com")%></font> </b>
</td>
</tr>
<tr>
<td width="595" valign="top">
<img border="0" src="image/a_2.gif" width="565" height="10"></td>
</tr>
<tr>
<td background="image/b_2.gif">
<div align="center">
	<TABLE cellSpacing=0 cellPadding=0   border=0 width="540">
<TBODY>
<TR>
<TD width="400" valign="top">&nbsp;&nbsp;&nbsp;&nbsp;<u><b><a href="comabout.asp?com=<%=rs("username")%>"><font color="#808080"><%=rs("com")%>简介</font></a></b></u><font color="#808080"><br>&nbsp;&nbsp;&nbsp; <%=left(rs("comabout"),220)%></font>
　</TD>
<TD align=middle>
<TABLE style="BORDER-COLLAPSE: collapse" 
                                borderColor=#999999 cellSpacing=0 cellPadding=4 
                                align=right border=1>
<TBODY>
<TR>
<TD align=middle><p align="center"><%if rs("logo")<>"" then %><a href="comabout.asp?com=<%=rs("username")%>"><img border="0" src="<%=rs("logo")%>" title="点击放大" height="150" width="200"></a><%else%><img border="0" src="image/comlogo2.gif" title="请上传LOGO" height="150" width="200"><%end if%><br>
<a href="javascript:window.external.AddFavorite('<%=web%>/com.asp?com=<%=rs("username")%>', '<%=rs("com")%>-<%=title%>')"><img border="0" src="image/bookmark.gif"><font color="#835E07">收藏此店铺</font></a><br></TD></TR></TBODY></TABLE></TD>
<TD vAlign=top width=7 bgColor=#dadada 
                                rowSpan=2><IMG height=6 
                                src="image/t_05.jpg" 
                                width=7></TD></TR>
<TR>
<TD align=left height=7><IMG 
                                height=7 src="image/t_06.jpg" 
                                width=6></TD>
<TD align=left bgColor=#dadada height=7><IMG 
                                height=7 src="image/t_06.jpg" 
                                width=6></TD></TR></TBODY></TABLE></div>
</td>
</tr>
<tr>
<td background="image/b_2.gif">
<img border="0" src="image/c_2.gif" width="565" height="9"></td>
</tr>
</table>
<div align="center">
<table border="0" width="560" cellspacing="0" cellpadding="0" id="table4">
<tr>
<td height="24"><hr></td>
</tr>
<tr>
<td height="25" class=td4_muen>&nbsp;<marquee onMouseOver="this.stop()" onMouseOut="this.start()" scrollamount="3" scrolldelay="121" behavior="scroll"  height="13" style="font-size: 10pt; color: #835E07" width="560"><font color=black><b>店铺公告：</b></font><%=rs("comgg")%></marquee></td>
</tr>
<tr>
<td>
<img border="0" src="image/a_2.gif"></td>
</tr>
<tr>
<td background="image/b_2.gif">
<div align="center">
	<TABLE border=0 height="68" width="97%">
<tr>
<% 
dim j
set rstj_a=server.createobject("adodb.recordset")
sqltj_a="select top 12 * from xinxi where yz=1  and username='"&com&"' order by fbsj desc,ID desc" 	      
rstj_a.open sqltj_a,conn,1,1        
while not rstj_a.eof      
%>
<%for j=0 to 3                                      
  if rstj_a.eof then                                      
  exit for                                      
  end if                                      
  %> 
<td align="center" class=tmpstr valign="top" style="border-top: 2px solid #CCCCCC; ; border-left-color:#CCCCCC; border-right-color:#CCCCCC; border-bottom-color:#CCCCCC">
<a title="<%=rstj_a("biaoti")%>" target="_blank" href="xinximemo.asp?cnmai=<%=rstj_a("id")%>"><%if rstj_a("tupian")<>"0" and rstj_a("tupian")<>"" then%><IMG src="<%=rstj_a("tupian")%>" width="120" height="100" border=1 style="border: 1px solid #FFFFFF; ; padding-left:2px; padding-right:2px" hspace="0" ><br><u><b><%=left(rstj_a("biaoti"),7)%></b></u><br><%=left(rstj_a("memo"),20)%><font size="1">></font></a><%else%><u><b><%=left(rstj_a("biaoti"),12)%></b></u><br><%=left(rstj_a("memo"),40)%><font size="1">></font><%end if%></td>
<%     
rstj_a.movenext                          
next  
%> </tr>
<%     
wend          
rstj_a.close      
%> 
</TABLE></div>
</td>
</tr>
<tr>
<td><img border="0" src="image/c_2.gif" width="565" height="9"></td>
</tr>
<tr>
<td>　</td>
</tr>
</table>
</div>
</div>
</td>
</tr>
</table>
</div>
<!--#include file="comend.asp"-->
</body>

</html>
<%
rs.close
set rs=nothing
closedb
%>