<!--#include file="inc/conn.asp"-->
<!--#include file="inc/jle_sub.asp"-->
<!--#include file="inc/function.asp"-->
<%
'    @@@@@@ www.jl-e.com @@@@@@@@@@@@@@@@@
'   @                                        @
'  @                                          @
'  @      吉林信息网，服务百姓生活      @
'  @                                          @
'   @                                        @
'    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
%>
<%
sc1=HtmlEncode(request("sc1"))
sc2=HtmlEncode(request("sc2"))
jle=HtmlEncode(request("jle"))
tit=HtmlEncode(request("tit"))
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><%=title%>-<%=city%>商家<%=tit%>店铺,吉林黄页,<%=city%>商铺</title>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="keywords" content="吉林商铺,门面,店铺-出售|出租|求购|求租|卖买|转让|网上开店">
<meta name="description" content="吉林商铺,门面,店铺出租|求租|招租">
<link rel="icon" href="<%=web%>/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="<%=web%>/favicon.ico" type="image/x-icon" />
<link href="css/style.css" rel="stylesheet" type="text/css">
</head>

<body><%call top()%>
<div id="content">


<div id="SSleft">








<table width="980" border="0" cellspacing="0" cellpadding="0" background="img/dpt0.png">
  <tr><td width="46"></td>
    <td width="934" height="177" valign="top"> 

<div id="demo">   
        <div id="indemo">   
          <div id="demo1">   
           <table  border=0 cellspacing=3 cellpadding=3 >
<tr>
<%dim rsshop,sqlshop
set rsshop=server.createobject("ADODB.recordset")
sqlshop = "select top 20 * from jle_shop  where yz=1 and vip=1 order by lastdl desc,id desc"
rsshop.open sqlshop,conn,1,1
shop=0         
if rsshop.eof and rsshop.bof then %>     
<p align='center'>没有新进店铺</p>       
<%else      
do while not rsshop.eof
shop=shop+1%>
<td width="161" height=100><div style="border:2px solid #e9cb97; margin:5px; padding:2px;">
<a title=<%=rsshop("com")%> target="_blank" href=shop/sp<%=rsshop("mb")%>.asp?m=<%=rsshop("username")%> >
<%logo=rsshop("logo") 
if rsshop("logo")<>"" then%>
<a href="shop/sp<%=rsshop("mb")%>.asp?m=<%=rsshop("username")%>"> <img src="<%=rsshop("logo")%>" width="130" height="96" border="0"></a> 
<%else%>
<img src="image/b6_4.gif"  width=130 height=96 border=0><%end if%></a>
<div style="height:25px; background-color:#930; text-align:center"><a title=<%=rsshop("com")%> target="_blank" href=shop/sp<%=rsshop("mb")%>.asp?m=<%=rsshop("username")%>><font color="#FFFFFF"><%=left(rsshop("com"),10)%></font></a></div>
</div>
</td>
<%
rsshop.movenext                
loop
end if
rsshop.close
set rsshop=nothing%>
</tr>
</table>
 
          </div>   
          <div id="demo2"></div>   
        </div>   
      </div>   
<script>    
<!--    
var speed=20; //数字越大速度越慢    
var tab=document.getElementById("demo");    
   
var tab1=document.getElementById("demo1");    
var tab2=document.getElementById("demo2");    
tab2.innerHTML=tab1.innerHTML;    
function Marquee(){    
if(tab2.offsetWidth-tab.scrollLeft<=0)    
tab.scrollLeft-=tab1.offsetWidth    
else{    
tab.scrollLeft++;    
}    
}    
var MyMar=setInterval(Marquee,speed);    
tab.onmouseover=function() {clearInterval(MyMar)};    
tab.onmouseout=function() {MyMar=setInterval(Marquee,speed)};    
-->    
</script>    


 </td>
  </tr>
</table>


















<table width="200" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td  height="7"></td>
        </tr>
      </table>
      
      
      
      
<table width="980"  border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top" width="230"></td>
    <td  width="14">&nbsp;</td>
    <td valign="top">
    <table width="745" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td background="img/dpt1.png" height="35"><div class="infoft10">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#FFFFFF">最新入驻商家</font></div></td>
      </tr>
    </table>
      <table width="700" border="0" cellspacing="0" cellpadding="0" class="tbest">
        <tr>
          <td><table width="725" border="0" cellspacing="0" cellpadding="0" >
            <tr>
              <%

Set rs = Server.CreateObject("ADODB.Recordset")
Select Case jle
Case "1"
Sql="select  * from jle_shop where sjcla1="&sc1&" and yz=1 order by lastdl desc"
Case "2"
Sql="select  * from jle_shop where sjcla2="&sc2&" and yz=1 order by lastdl desc"
Case Else
Sql="select  * from jle_shop where yz=1 order by lastdl desc"
End Select
rs.open sql,conn,1,1
hang=9
rs.pagesize=2*hang
pagenum=rs.pagecount
Response.Write"<table border=0 width=""100%"" bgcolor=""#FFFFFF"" cellspacing=6>"
If rs.eof Then
Response.Write("该类还没有商家加入！")
End If
pageno=cint(request("pageno"))
if pageno="" or pageno>pagenum or pageno=0 then
pageno=1
else
pageno=pageno
end if
if pageno<>1 then
rs.move (pageno-1)*rs.pagesize
end if

for w=1 to hang
Response.Write"<tr>"
for k=0 to 0
if rs.eof then exit for
if k mod 2 =0 then
bgc="#ffffe3"
else
bgc="#ffffe3"
end If%>
              <td  height="80"   style="text-align:left;border-bottom:1px #e9cb97 dotted;">
              
              
              
              
              <table width="717" border="0" cellspacing="0" cellpadding="0"  bgcolor="#Fef7e7" onMouseOver="this.bgColor='#ffffe3'" onMouseOut="this.bgColor='#fef7e7'" style="CURSOR:default">
                <tr>
                  <td width="180" rowspan="4" valign="top" >
                  
                  
                  
                  <table width="164" border="0" cellspacing="0" cellpadding="0" background="img/dplist.png" height="162">
                    <tr>
                      <td height="128" valign="top" >
					  
					  
					  <% if right(rs("logo"),4)=".gif" or right(rs("logo"),5)=".jpeg" or right(rs("logo"),4)=".jpg"then%>
                        
                          <div style="margin-top:9px;margin-left:9px;border:0px solid #afafae; width:130px">
                           <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="130" height="111">
<param name="movie" value="img/swfoto2.swf?image=<%=rs("logo")%>&isShowLoader=true&loaderColor=13421772&roundCorner=7"> 
<param name="wmode" value="transparent">
             <embed  src="img/swfoto2.swf?image=<%=rs("logo")%>&isShowLoader=true&loaderColor=13421772&roundCorner=7" 
  width="130" height="111" 
  pluginspage="http://www.macromedia.com/go/getflashplayer" 
  type="application/x-shockwave-flash"></embed>
</object>
                   
                          </div>
                          
                          <%else%>
                          <a target="_blank" href="shop/sp<%=rs("mb")%>.asp?m=<%=rs("username")%> " ><img src="image/nopic.gif" style="padding-left:2px;margin-top:2px;margin-left:1px;margin-bottom:2px; padding-right:2px" border="0" align="left" width="130" height="111" />
                          </a>

<%end if%>
                        
                        
                        </td>
                    </tr>
                    <tr>
                      <td height="36"><div style="font-size:14px;color:#C00; margin-left:7px;">
                        <%
if rs("vip")=1 then%>
                        <img src="img/vip.gif" />&nbsp;<font color="#FF0000"><b>VIP商家会员</b></font>
                        <%else%>
                        <img src="img/pt.png" />&nbsp;<b><font color="#ff6600">普通商家会员</font></b>
                        <%
end if%>
                       </div></td>
                    </tr>
                  </table>
                  
                  
                  
                  </td>
                  <td width="515" height="25" valign="top"><div style="margin-top:5px;color:#0041d9"> <img src="img/biao1.gif" />&nbsp;<a target="_blank" href="shop/sp<%=rs("mb")%>.asp?m=<%=rs("username")%>" class="bar4"><%=left(rs("com"),30)%></a>&nbsp;&nbsp;&nbsp;积分:<font color="#CC0000"><%=rs("jf")%></font>&nbsp;&nbsp;&nbsp;<img src="img/sj.gif" />&nbsp;创店时间：<font color="#999999"><%=formatdatetime(rs("zcdata"),1)%></font> </div></td>
                </tr>
                <tr>
                  <td  valign="top"><div style=" color:#777; background-color:#ffffe3;border:1px solid #f0d692;padding:6px; height:90px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%=left(rs("comabout"),150)%> &nbsp;&nbsp;<img src="img/zc.gif"> <font color="#cc0000" ><b>网友支持度：[<%=rs("tong")%>]</b></font></div></td>
                </tr>
                <tr>
                  <td><img src="img/dh.gif" />&nbsp;电话：<font color="#ff6600"><b><%=left(rs("dianhua"),30)%></b></font>&nbsp;&nbsp;<img src="img/home.gif" />&nbsp;地址：<font color="#ff6600"><b><%=left(rs("dizhi"),21)%></b></font></td>
                </tr>
                <tr>
                  <td></td>
                </tr>
              </table>
              
              
              
              
              </td>
              <%
rs.movenext 
next%>
            </tr>
            <%
if rs.eof then exit for
next%>
          </table>
            <div class="jle" align="center"> <a href="?sc1=<%=sc1%>&amp;sc2=<%=sc2%>&amp;jle=<%=jle%>&amp;pageno=1">首页</a>
              <%
'显示数量设定
showpagenum=10
'上一页显示判断
if pageno>1 then      
response.write "<a href='?sc1="&sc1&"&sc2="&sc2&"&jle="&jle&"&pageno="&pageno-1&"'>上一页</a> "
end if
if pagenum>showpagenum then
num_left=pageno-1
num_right=pagenum-pageno
if num_left>(showpagenum/2) then
 if num_right<(showpagenum/2) then
    page_left=pageno-(showpagenum-num_right)+1
    page_right=pagenum
 else
    page_left=pageno-(showpagenum/2)
    page_right=pageno+(showpagenum/2)
 end if
else
    page_left=1
    page_right=pageno+(showpagenum-num_left)-1
end if
'前项输出
for P=page_left to pageno-1
    response.write " <a href='?sc1="&sc1&"&sc2="&sc2&"&jle="&jle&"&pageno="&p&"'>"&p&"</a> "
next
'当前项输出
'response.write " <span class=""current""><a href='?sc1="&sc1&"&sc2="&sc2&"&jle="&jle&"&pageno="&pageno&"'>"&pageno&"</a></span> "
response.write " <span class=""current"">"&pageno&"</span> "

'后项输出
for f=pageno+1 to page_right
    response.write " <a href='?sc1="&sc1&"&sc2="&sc2&"&jle="&jle&"&pageno="&f&"'>"&f&"</a> "
next
else
for i=1 to pagenum
 if i=pageno then
	'response.write " <span class=""current""><a href='?sc1="&sc1&"&sc2="&sc2&"&jle="&jle&"&pageno="&i&"'>"&i&"</a></span> "
	response.write " <span class=""current"">"&i&"</span> "
	'response.end()
 else
	response.write " <a href='?sc1="&sc1&"&sc2="&sc2&"&jle="&jle&"&pageno="&i&"'>"&i&"</a> "
	'response.end()
 end if
next
end if
'最后一页判断
if pageno<pagenum then
response.write "<a href='?sc1="&sc1&"&sc2="&sc2&"&jle="&jle&"&pageno="&pageno+1&"'>下一页</a>"
end if
%>
              <a href="?sc1=<%=sc1%>&amp;sc2=<%=sc2%>&amp;jle=<%=jle%>&amp;pageno=<%=pagenum%>">尾页</a>
              <%
rs.close
set rs=nothing
%>
            </div></td>
        </tr>
    </table></td>
  </tr>
</table>








</div>
<div id="footer">
 <%
call bottom()
Call closedb()
%> 
</div>
<br style="clear:both;" />
</div>
</body>
</html>