<!--#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()%>
<div align="center">
<table width="782" height="553" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#E9F6FE" id="table1" style="border-left: 1px solid #999999; border-right: 1px solid #999999; border-top-width: 1px; border-bottom-width: 1px">
<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="11%" height="91">&nbsp;</td>
<td width="89%">&nbsp;<font color="#808080">商家模式：</font>特约商家<br>
  &nbsp;&nbsp;&nbsp; <font color="#808080">&nbsp;店主：</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" valign="top"><br></td>
<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></td>
</tr>
</table></td>
<td valign="top">
<div align="center">
<div align="center">
<table border="0" width="100%" cellspacing="0" cellpadding="0" id="table4">
<tr>
<td width="3%" height="35" background="image/centertopbg.jpg">　</td>
</tr>
<tr>
<td height="51" background="image/rightt12.jpg" ><span class=font1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span class="sortbiaoti2">联系我们 </span>　</td>
</tr>
<tr>
<td width="3%">
<p style="margin-left: 30px"><font color="#808080"> <b><u><%=rs("com")%></u></b><br><br>
商家地址：<%=rs("dizhi")%><br>&nbsp; 联系人：<%=rs("name")%>(<%=rs("username")%>)<br>&nbsp; <%if rs("qq")<>"" then %>在线QQ：<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>  <%=rs("qq")%><%end if%><br>&nbsp;&nbsp;&nbsp; 电话：<%=rs("dianhua")%><br>&nbsp;&nbsp;&nbsp; 传真：<%=rs("fax")%><br>&nbsp; E-mail：<%=rs("email")%><br>本站网址：<a href="<%=web%>/com.asp?m=<%=rs("username")%>"><%=web%>/com.asp?m=<%=rs("username")%>.</a></font></td>
</tr>
<tr>
<td width="3%">　</td>
</tr>
<tr>
<td width="3%">　</td>
</tr>
</table>
</div>
</div></td>
</tr>
</table>
</div>
<%call ce()%>
</body>

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