<!--#include file="inc/conn.asp"-->
<!--#include file="cte.asp"-->
<%
dim com,rs,sql,k
com=CheckStr(trim(request("com")))
set rs = Server.CreateObject("ADODB.RecordSet")
sql="select * from [jle_com] where username='"&com&"'" 
rs.open sql,conn,1,1
if rs.bof or rs.eof then
response.redirect "/"
end if
%>
<%dim n,rs0
set rs0=server.createobject("adodb.recordset")
set rs0=conn.execute("select count(id) from [jle_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">
<title><%=rs("com")%>-商家简介-<%=title%></title>
</head>
<body bgcolor=#629FBB>
<%call ct()%>

<table width="782" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#EAF7FF">
<tr>
<td width="193" valign="top" bgcolor="#FDFDF4">
<table width="100%" height="515" border="0" cellpadding="0" cellspacing="0" background="image/t_02.jpg" id="table2">
<tr>
<td height="14" colspan="2"><img src="image/t_01.jpg" width="223" height="35"></td>
</tr>
<tr>
<td width="9%" height="91"></td>
<td width="91%">&nbsp;<font color="#808080">商家模式：</font>特约商家<br>
  &nbsp;&nbsp;&nbsp;&nbsp; 
<font color="#808080">店主：</font><%=rs("name")%>(<%=rs("username")%>)<br>&nbsp;&nbsp;&nbsp;&nbsp; <font color="#808080">积分：</font><%=rs("jf")%><br>&nbsp;&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" colspan="2">&nbsp;</td>
</tr>
<tr>
<td height="329" colspan="2">&nbsp;</td>
</tr>
<tr>
<td height="64" colspan="2" valign="top"><div style="margin:16px;"><font color="#396A82">地址：<%=rs("dizhi")%><br>
  &nbsp; 电话：<%=rs("dianhua")%><br>
  &nbsp; 传真：<%=rs("fax")%><br>
  &nbsp; E-mail：<%=rs("email")%></font><br>
</div></td>
</tr>
</table></td>
<td valign="top">

<table border="0" width="558" cellspacing="0" cellpadding="0" id="table3">
<tr>
<td height="35" background="image/centertopbg.jpg">
　</td>
</tr>
<tr>
<td height="51" background="image/rightt12.jpg">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="sortbiaoti2">商家简介</span> 　</td>
</tr>
<tr>
<td width="535">

	<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD align=middle>
<TABLE style="BORDER-COLLAPSE: collapse" borderColor=#999999 cellSpacing=0 cellPadding=4 align=right border=1 width="195" height="157">
<TBODY>
<TR>
<TD align=middle><p align="center"><%if rs("logo")<>"" then %><img onload="javascript:DrawImage(this);" border="0" src="<%=rs("logo")%>" title="店标" height="300" width="300"><%else%><%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 bgColor=#dadada height=7><IMG height=7 src="image/t_06.jpg" width=6></TD></TR></TBODY></TABLE></td>
</tr>
<tr>
<td valign="top" width="535">&nbsp;&nbsp;&nbsp;&nbsp;<u><b><font color="#808080"><%=rs("com")%>简介</font></b></u><font color="#808080"><br>&nbsp;&nbsp;&nbsp; <%=HTMLDecode(rs("comabout"))%></font></td>
</tr>
<tr>
<td valign="top" width="535">　</td>
</tr>
</table>
</td>
</tr>
</table>

<%call ce()%>
</body>

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