<!--#include file="inc/conn.asp"-->
<!--#include file="cte.asp"-->
<%
dim com,rs,sql,k
com=CheckStr(trim(request("m")))
set rs = Server.CreateObject("ADODB.RecordSet")
sql="select * from [jle_com] where username='"&com&"'"
rs.open sql,conn,1,3
if rs.bof or rs.eof then
response.redirect "/"
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 [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" height="562" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#E3F3FF">
<tr>
<td width="193" height="35" valign="top">
<table width="100%" height="682" border="0" cellpadding="0" cellspacing="0" background="image/t_02.jpg">
<tr>
<td height="14" colspan="2">
<img border="0" src="image/t_01.jpg" width="223" height="35"></td>
</tr>
<tr>
<td height="91" colspan="2" background="image/t_02.jpg"><table width="166" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>&nbsp;<font color="#396A82">商家模式：</font>特约商家<br>
  &nbsp;&nbsp;&nbsp;&nbsp; <font color="#396A82">店主：</font><%=rs("name")%>(<%=rs("username")%>)<br>&nbsp;&nbsp;&nbsp;&nbsp; <font color="#396A82">积分：</font><%=rs("jf")%><br>&nbsp;&nbsp;<font color="#396A82"> 物品数：</font><%=n%><br>
    &nbsp;<font color="#396A82">创店时间：</font><%=formatdatetime(rs("zcdata"),1)%><br>&nbsp;<font color="#396A82">商家地址：</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>
</table></td>
</tr>
<tr>
<td height="329" colspan="2">&nbsp;</td>
</tr>
<tr>
<td width="10%" height="159" valign="top"><br></td>
<td width="90%" valign="top"><font color="#396A82">地址：<%=rs("dizhi")%><br>
&nbsp; 电话：<%=rs("dianhua")%><br>
&nbsp; 传真：<%=rs("fax")%><br>
&nbsp; E-mail：<%=rs("email")%></font></td>
</tr>
</table></td>
<td valign="top">

<table border="0" cellspacing="0" cellpadding="0" id="table3" width="100%">
<tr>
<td height="35" background="image/centertopbg.jpg">
<marquee onMouseOver="this.stop()" onMouseOut="this.start()" scrollamount="3" scrolldelay="121" behavior="scroll"  height="14" style="font-size: 10pt; " width="513">最新公告：<%=rs("comgg")%></marquee></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>

	<TABLE width="100%"   border=0 cellPadding=0 cellSpacing=0 bgcolor="#EBF8FE">
<TBODY>
<TR>
<TD width="319" valign="top">&nbsp;&nbsp;&nbsp;&nbsp;<u><b><a href="comabout.asp?com=<%=rs("username")%>"><font color="#396A82"><%=rs("com")%>简介</font></a></b></u><font color="#396A82"><br>&nbsp;&nbsp;&nbsp; <%=HTMLDecode(left(rs("comabout"),220))%></font>
　</TD>
<TD width="233" align=middle>
<TABLE style="BORDER-COLLAPSE: collapse" 
                                borderColor=#999999 cellSpacing=0 cellPadding=4 
                                align=right border=1>
<TBODY>
<TR>
<TD align=middle width="200"><p align="center"><%if rs("logo")<>"" then %><a href="comabout.asp?com=<%=rs("username")%>">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="200" height="200">
<param name="movie" value="img/swfoto.swf?image=<%=rs("logo")%>">  
<embed src="img/swfoto.swf?image=<%=rs("logo")%>" width="200" height="200" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
</object>

</a><%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 height=7><IMG 
                                height=7 src="image/t_06.jpg" 
                                width=1></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>
</table>

<table  width="558" border="0" cellpadding="0" cellspacing="0" bgcolor="#E3F3FF">

<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 bgcolor="#EBF8FE">
　</td>
</tr>
<tr>
<td bgcolor="#E3F3FF">

	<TABLE border=0>
<tr>
<% 
dim j
set rstj_a=server.createobject("adodb.recordset")
sqltj_a="select top 12 * from jle_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= valign="top" style="; border:1px solid #CCCCCC; background-color:#F9F9F9" width="25%">
<a title="<%=rstj_a("biaoti")%>" target="_blank" href="x.asp?cnmai=<%=rstj_a("id")%>"><%if rstj_a("tupian")<>"0" and rstj_a("tupian")<>"" then%>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="160" height="160">
<param name="movie" value="img/swfoto.swf?image=<%=rstj_a("tupian")%>">  
<embed src="img/swfoto.swf?image=<%=rstj_a("tupian")%>" width="160" height="160" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
</object>
<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></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<%call ce()%>
</body>

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