<!--#include file="inc/conn.asp"-->
<!--#include file="inc/inc.asp"-->
<!--#include file="te.asp"-->
<%
dim k
m=CheckStr(trim(request("m")))
set rs = Server.CreateObject("ADODB.RecordSet")
sql="select * from [jle_com] where username='"&m&"'" 
rs.open sql,conn,1,3
if rs.eof or rs.bof then
response.write "<script language=JavaScript>" & chr(13) & "alert('相关用户资料没有通过管理员的审核或者已经被删除！')</script>"
response.redirect "../"
end if
if rs("yz")<>1 then
response.write "<script language=JavaScript>" & chr(13) & "alert('我们将在２４小时内审核通过您的申请！若超过４８小时没有通过，请检查您的注册信息或联系本站')</script>"
response.redirect "../"
end if
if rs("vip")="1" then
response.redirect "com.asp?m="&m&""
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='"&m&"'")
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 topmargin="0">
<%call t()%><DIV class=h></DIV>
<div align="center">
<table border="0" width="760" cellspacing="0" cellpadding="0" class="td">
<tr>
<td width="193" valign="top" bgcolor="#F2F6E2">
<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="193" height="14"></td>
</tr>
<tr>
<td background="image/t_02.gif" height="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%><br> 
<font color="#666666">&nbsp;已有</font>[<%=rs("tong")%>]<font color="#666666">人访问您的店铺</font></td>
</tr>
<tr>
<td height="17">
<img border="0" src="image/t_03.gif" width="193" height="17"></td>
</tr>
<tr>
<td bgcolor="#FFFFFF">　</td>
</tr>
<tr>
<td height="329">
<img border="0" src="image/t_07.gif" width="193" height="329"></td>
</tr>
<tr>
<td height="64" valign="top"><%if request.cookies("cnmai")("username")<>"" then%>&nbsp; 
<font color="#808080">地址：<%=rs("dizhi")%><br>&nbsp; 电话：<%=rs("dianhua")%><br>&nbsp; 传真：<%=rs("fax")%><br>&nbsp; E-mail：<%=rs("email")%></font><%else%><font color="#808080">非<a target="_blank" href="ab_help.asp">[特约商家]</a>需要登陆</font><a href="login.asp"><font color="#808080">[<%=title%>]</font></a><font color="#808080">才能看到联系方式→</font><a href="login.asp"><font color="#CC9900">[我要登陆]</font></a><%end if%>
</td>
</tr>
</table>
</td>
<td>
<img border="0" src="image/b.gif" width="10" height="1"></td>
<td valign="top">
<div align="center">
<table border="0" width="100%" cellspacing="0" cellpadding="0" id="table3">
<tr>
<td height="50" colspan="3">&nbsp;<span class=font1 style="height: 30; padding-top: 8px"><font size="5" color="#0066CC" face="黑体">[<%=rs("com")%>]</font></span>&nbsp;&nbsp; 
<br>
<marquee onMouseOver="this.stop()" onMouseOut="this.start()" scrollamount="3" scrolldelay="121" behavior="scroll"  height="14" style="font-size: 10pt; color: #835E07" width="546">最新公告：<%=rs("comgg")%></marquee></td>
</tr>
<tr>
<td width="12" class="tdcom3">
<img border="0" src="image/t_08.gif" width="18" height="18"></td>
<td width="11%" class="tdcom3">
&nbsp;关于我们</td>
<td width="86%" class="tdcom1">
　</td>
</tr>
<tr>
<td colspan="3">
<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><font color="#808080"><%=rs("com")%>简介</font></b></u><font color="#808080"><br>&nbsp;&nbsp;&nbsp; <%=HTMLDecode(rs("comabout"))%></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 %><img border="0" src="<%=rs("logo")%>" title="店标" onload="javascript:DrawImage(this);" width="250" height="250"><%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=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>
</table>
<div align="center">
<table border="0" width="100%" cellspacing="0" cellpadding="0" id="table4">
<tr>
<td colspan="3">
　</td>
</tr>
<tr>
<td width="35" class="tdcom3">
<img border="0" src="image/t_08.gif" width="18" height="18"></td>
<td width="11%" class="tdcom3">
<span class=font1>&nbsp;新品展示</span></td>
<td width="86%" class="tdcom1">
　</td>
</tr>
<tr>
<td width="560" colspan="3">
<div align="center">
	<TABLE border=0 width="100%">
<tr>
<% 
dim j
set rstj_a=server.createobject("adodb.recordset")
sqltj_a="select top 12 * from jle_xinxi where yz=1  and username='"&m&"' 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:#F7F7F7" 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%><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 width="560" colspan="3">　</td>
</tr>
<tr>
<td width="560" colspan="3">　</td>
</tr>
</table>
</div>
</div>
</td>
</tr>
</table>
</div>
<!--#include file="foot.asp"-->
</body>

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