<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<html>
<head>
<title><%=webname%>--首页</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="images/css.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<style>
td{font-size:9pt;line-height:120%;color:#353535} 
body{font-size:9pt;line-height:120%} 

a:link          { color: #000000; text-decoration: none }
a:visited       { color: #000000; text-decoration: none }
a:active        { color: #000000; text-decoration: none }
a:hover         { color: #336699; text-decoration: none; position: relative; right: 0px; top: 1px }
</style>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onMouseOver="window.status='【<%=webname%>】<%=weburl%> 如果您喜欢本站,别忘了把本站介绍给您的好友哦！：）';return true">
<!--#include file="webtop.asp"-->
<%dim dada,dadaurl,xiao1,xiao2,xiao3,xiao1url,xiao2url,xiao3url,tx1,tx1url,tx2,tx2url,tx3,tx3url
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from shop_gg",conn,1,1
dada=trim(rs("458"))
dadaurl=trim(rs("458url"))
xiao1=trim(rs("2541"))
xiao1url=trim(rs("2541url"))
xiao2=trim(rs("2542"))
xiao2url=trim(rs("2542url"))
xiao3=trim(rs("2543"))
xiao3url=trim(rs("2543url"))
tx1=trim(rs("1441"))
tx1url=trim(rs("1441url"))
tx2=trim(rs("1442"))
tx2url=trim(rs("1442url"))
tx3=trim(rs("1443"))
tx3url=trim(rs("1443url"))

rs.close
set rs=nothing

%>
<table width="770" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td><a href=<%=dadaurl%> target="_blank"><img src=<%=dada%>  border="0" width="770" height="120"></a></td>
  </tr>
</table>
<table cellspacing=0 cellpadding=2 width=770 background="images/index1.gif" border=0 align="center">
  <tr> 
    <td bgcolor="#efefef" align=center height="11"> 
      <div align="center"></div>
    </td>
  </tr>
  <tr> 
    <td bgcolor="#FFFFFF" align=center height="161"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td width="23%" valign="top"> 
            <!--#include file="userinfo.asp"-->
            <table cellspacing=0 cellpadding=0 width=100% bgcolor="#CCCCCC" height="20">
              <tr> 
                <td width=6>&nbsp;</td>
                <td width=17><img src="images/index7.gif" width="10" height="11"></td>
                <td class=hg12 valign=bottom>&nbsp;<b>最新新闻</b></td>
                <td width=5>&nbsp;</td>
              </tr>
            </table>
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#efefef">
              <tr> 
                <td height="6"></td>
              </tr>
              <tr> 
                <td height="20"> 
                  <div align="center">
                    <%dim i
		  i=0
		  set rs=server.CreateObject("adodb.recordset")
		  rs.open "select top 6 newsname,adddate,newsid from shop_news order by adddate desc",conn,1,1
		  if rs.eof and rs.bof then
		  response.write "目前还没有新闻！"
		  else
		  do while not rs.eof
		  i=i+1
		  response.write "·<a href=# onClick=""javascript:window.open('news.asp?id="&rs("newsid")&"','','width=432,height=288,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"" title="&year(rs("adddate"))&"年"&month(rs("adddate"))&"月"&day(rs("adddate"))&"日发布>"&trim(rs("newsname"))&"</a><br>"
		  if i>=6 then exit do
		  rs.movenext
		  loop
		  end if
		  rs.close
		  set rs=nothing%>
                  </div>
                </td>
              </tr>
              <tr> 
                <td></td>
              </tr>
              <tr> 
                <td height="1" background="images/ppb.gif"></td>
              </tr>
              <tr> 
                <td> 
                  <div align="right"></div>
                </td>
              </tr>
              <tr> 
                <td height="1" background="images/ppb.gif"></td>
              </tr>
            </table>
            <%set rs=server.CreateObject("adodb.recordset")
		  rs.open "select top 10 bookid,bookname from shop_books order by liulancount desc",conn,1,1%>
            <table cellspacing=0 cellpadding=0 width=100% bgcolor="#CCCCCC" height="20">
              <tr> 
                <td width=6>&nbsp;</td>
                <td width=17><img src="images/index7.gif" width="10" height="11"></td>
                <td class=hg12 valign=bottom>&nbsp;<b>精品推荐</b></td>
                <td width=5>&nbsp;</td>
              </tr>
            </table>
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#efefef">
              <tr> 
                <td height="2" colspan="2"></td>
              </tr>
              <tr> 
                <td height="20" colspan="2"> 
                  <div align="center"> </div>
                </td>
              </tr>
              <%i=0
			  do while not rs.eof%>
              <tr> 
                <td width="8%">&nbsp; </td>
                <td width="92%"> 
                  <%response.write "<a href=book.asp?id="&rs("bookid")&" target=_blank>"
				if len(trim(rs("bookname")))>12 then
				response.write left(trim(rs("bookname")),11)&"..."
				else
				response.write trim(rs("bookname"))
				end if
				response.write "</a>"
				%>
                </td>
              </tr>
              <tr> 
                <td height="1" background="images/ppb.gif" colspan="2"></td>
              </tr>
              <%i=i+1
			  if i>=10 then exit do
			  rs.movenext
			  loop
			  rs.close
			  set rs=nothing%>
              <tr> 
                <td colspan="2"> 
                  <div align="right"><a href="bookorder.asp">更多排行&gt;&gt;</a></div>
                </td>
              </tr>
              <tr> 
                <td height="1" background="images/ppb.gif" colspan="2"></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td>&nbsp;</td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" height="186">
              <tr> 
                <td height="4" width="177"><a href=<%=xiao1url%> target="_blank"><img src=<%=xiao1%> border="0" width="175" height="50"></a></td>
              </tr>
              <tr> 
                <td height="2" width="177"><a href=<%=xiao2url%> target="_blank"><img src=<%=xiao2%>  border="0" width="175" height="50"></a></td>
              </tr>
              <tr> 
                <td height="12" width="177"><a href=<%=xiao3url%> target="_blank"><img src=<%=xiao3%>  border="0" width="175" height="50"></a></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td>&nbsp;</td>
              </tr>
            </table>
            <%set rs=server.CreateObject("adodb.recordset")
		  rs.open "select top 10 bookid,bookname from shop_books order by chengjiaocount desc",conn,1,1%>
            <table cellspacing=0 cellpadding=0 width=100% bgcolor="#CCCCCC" height="20">
              <tr> 
                <td width=6>&nbsp;</td>
                <td width=17><img src="images/index7.gif" width="10" height="11"></td>
                <td class=hg12 valign=bottom>&nbsp;<b>精品推荐</b></td>
                <td width=5>&nbsp;</td>
              </tr>
            </table>
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#efefef">
              <tr> 
                <td height="2" colspan="2"></td>
              </tr>
              <tr> 
                <td height="20" colspan="2"> 
                  <div align="center"> </div>
                </td>
              </tr>
              <%i=0
			  do while not rs.eof%>
              <tr> 
                <td width="8%">&nbsp; </td>
                <td width="92%"> 
                  <%response.write "<a href=book.asp?id="&rs("bookid")&" target=_blank>"
				if len(trim(rs("bookname")))>12 then
				response.write left(trim(rs("bookname")),11)&"..."
				else
				response.write trim(rs("bookname"))
				end if
				response.write "</a>"
				%>
                </td>
              </tr>
              <tr> 
                <td height="1" background="images/ppb.gif" colspan="2"></td>
              </tr>
              <%i=i+1
			  if i>=10 then exit do
			  rs.movenext
			  loop
			  rs.close
			  set rs=nothing%>
              <tr> 
                <td colspan="2"> 
                  <div align="right"><a href="bookorder.asp">更多排行&gt;&gt;</a></div>
                </td>
              </tr>
              <tr> 
                <td height="1" background="images/ppb.gif" colspan="2"></td>
              </tr>
            </table>
          </td>
          <td width="53%" valign="top"> 
            <table width="97%" border="1" cellspacing="0" cellpadding="0" bgcolor="#efefef" align="center" bordercolor="#CCCCCC">
              <tr> 
                <td> 
                  <%set rs=server.CreateObject("adodb.recordset")
		  rs.open "select top 14 mch,pp,pingpai,jj,bookname,bookid,bookchuban,bookpic,shichangjia,huiyuanjia,dazhe,bookzz from shop_books  order by adddate desc",conn,1,1
		  if rs.eof and rs.bof then
		  response.write "<center><font color=red size=4>对不起，请您先到后台添加商品！</font></font>"
		  response.End
		  end if
		  %>
                  <table cellspacing=0 cellpadding=0 border=0>
                    <tr> 
                      <td  width="50%" height=1 colspan="2"> 
                        <table cellspacing=0 cellpadding=0 width="100%">
                          <tbody> 
                          <tr> 
                            <td valign=top width="41%" style="PADDING-LEFT: 6px"><br>
                              <img height=103 hspace=5 
                        src="images/bg_book.gif" width=71 vspace=5 border=0> 
                              <p style="MARGIN-TOP: -112px"><a  href=book.asp?id=<%=rs("bookid")%> target=_blank><img 
                        height=96 alt=商品样品 hspace=5 
                        src=<%if trim(rs("bookpic"))="" then
				  response.write "images/emptybook.gif"
				  else
				  response.write trim(rs("bookpic"))
				  end if%> width=65 vspace=3 
                        border=0></a> 
                            </td>
                            <td valign=top width="59%"><a class=a4 
                        href=book.asp?id=<%=rs("bookid")%> target=_blank><font color=#FF6600><br>
                              <%=trim(rs("bookname"))%></font></a><br>
                              <%=trim(rs("pp"))%><%=trim(rs("pingpai"))%><br>
                              <%=trim(rs("jj"))%><%=trim(rs("bookchuban"))%><br>
                              市场价：<%=formatnumber(rs("shichangjia"),2)&"元"%><br>
                              会员价：<font color=#FF6600><%=formatnumber(rs("huiyuanjia"),2)&"元"%></font><br>
                              <table align="center" cellpadding=0 cellspacing=0>
                                <tbody> 
                                <tr> 
                                  <td align=middle width=93 height=22> 
                                    <input style="height:20; font:9pt; BORDER-BOTTOM: #cccccc 1px groove; BORDER-RIGHT: #cccccc 1px groove; BACKGROUND-COLOR: #CCCCCC" onClick="javascript:window.open('shopping.asp?id=<%=rs("bookid")%> ','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"  type=button value=购买 name=Submit22332>
                                  </td>
                                  <td width=68 height=22> 
                                    <input style="height:20; font:9pt; BORDER-BOTTOM: #cccccc 1px groove; BORDER-RIGHT: #cccccc 1px groove; BACKGROUND-COLOR: #CCCCCC" onClick="javascript:window.open('shoucang.asp?id=<%=rs("bookid")%>&action=add ','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"  type=button value=收藏 name=Submit22332>
                                    <%rs.movenext%>
                                  </td>
                                </tr>
                                </tbody> 
                              </table>
                            </td>
                          </tr>
                          </tbody> 
                        </table>
                      </td>
                      <td valign=top> 
                        <table cellspacing=0 cellpadding=0 width="100%">
                          <tr> 
                            <td valign=top width="41%" style="PADDING-LEFT: 6px"><br>
                              <img height=103 hspace=5 
                        src="images/bg_book.gif" width=71 vspace=5 border=0> 
                              <p style="MARGIN-TOP: -112px"><a 
                        href=book.asp?id=<%=rs("bookid")%> target=_blank><img 
                        height=96 alt=商品样品 hspace=5 
                        src=<%if trim(rs("bookpic"))="" then
				  response.write "images/emptybook.gif"
				  else
				  response.write trim(rs("bookpic"))
				  end if%> width=65 vspace=3 
                        border=0></a> 
                            </td>
                            <td valign=top width="59%"><a class=a4 
                        href=book.asp?id=<%=rs("bookid")%> target=_blank><font color=#FF6600><br>
                              <%=trim(rs("bookname"))%></font></a><br>
                              <%=trim(rs("pp"))%><%=trim(rs("pingpai"))%><br>
                              <%=trim(rs("jj"))%><%=trim(rs("bookchuban"))%><br>
                              市场价：<%=formatnumber(rs("shichangjia"),2)&"元"%><br>
                              会员价：<font color=#FF6600><%=formatnumber(rs("huiyuanjia"),2)&"元"%></font><br>
                              <table align="center" cellpadding=0 cellspacing=0>
                                <tbody> 
                                <tr> 
                                  <td align=middle width=93 height=22> 
                                    <input style="height:20; font:9pt; BORDER-BOTTOM: #cccccc 1px groove; BORDER-RIGHT: #cccccc 1px groove; BACKGROUND-COLOR: #CCCCCC" onClick="javascript:window.open('shopping.asp?id=<%=rs("bookid")%> ','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"  type=button value=购买 name=Submit223222>
                                  </td>
                                  <td width=68 height=22> 
                                    <input style="height:20; font:9pt; BORDER-BOTTOM: #cccccc 1px groove; BORDER-RIGHT: #cccccc 1px groove; BACKGROUND-COLOR: #CCCCCC" onClick="javascript:window.open('shoucang.asp?id=<%=rs("bookid")%>&action=add ','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"  type=button value=收藏 name=Submit223222>
                                  </td>
                                </tr>
                              </table>
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                    <tr> 
                      <td  width="50%" height=1 colspan="2"> 
                        <table cellspacing=0 cellpadding=0 width="100%">
                          <tbody> 
                          <tr> 
                            <td valign=top width="41%" style="PADDING-LEFT: 6px"><br>
                              <img height=103 hspace=5 
                        src="images/bg_book.gif" width=71 vspace=5 border=0> 
                              <p style="MARGIN-TOP: -112px"><a  href=book.asp?id=<%=rs("bookid")%> target=_blank><img 
                        height=96 alt=商品样品 hspace=5 
                        src=<%if trim(rs("bookpic"))="" then
				  response.write "images/emptybook.gif"
				  else
				  response.write trim(rs("bookpic"))
				  end if%> width=65 vspace=3 
                        border=0></a> 
                            </td>
                            <td valign=top width="59%"><a class=a4 
                        href=book.asp?id=<%=rs("bookid")%> target=_blank><font color=#FF6600><br>
                              <%=trim(rs("bookname"))%></font></a><br>
                              <%=trim(rs("pp"))%><%=trim(rs("pingpai"))%><br>
                              <%=trim(rs("jj"))%><%=trim(rs("bookchuban"))%><br>
                              市场价：<%=formatnumber(rs("shichangjia"),2)&"元"%><br>
                              会员价：<font color=#FF6600><%=formatnumber(rs("huiyuanjia"),2)&"元"%></font><br>
                              <table align="center" cellpadding=0 cellspacing=0>
                                <tbody> 
                                <tr> 
                                  <td align=middle width=93 height=22> 
                                    <input style="height:20; font:9pt; BORDER-BOTTOM: #cccccc 1px groove; BORDER-RIGHT: #cccccc 1px groove; BACKGROUND-COLOR: #CCCCCC" onClick="javascript:window.open('shopping.asp?id=<%=rs("bookid")%> ','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"  type=button value=购买 name=Submit2233>
                                  </td>
                                  <td width=68 height=22> 
                                    <input style="height:20; font:9pt; BORDER-BOTTOM: #cccccc 1px groove; BORDER-RIGHT: #cccccc 1px groove; BACKGROUND-COLOR: #CCCCCC" onClick="javascript:window.open('shoucang.asp?id=<%=rs("bookid")%>&action=add ','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"  type=button value=收藏 name=Submit2233>
                                    <%rs.movenext%>
                                  </td>
                                </tr>
                                </tbody> 
                              </table>
                            </td>
                          </tr>
                          </tbody> 
                        </table>
                        <table cellspacing=0 cellpadding=0 width="100%">
                          <tbody> 
                          <tr> 
                            <td valign=top width="41%" style="PADDING-LEFT: 6px"><br>
                              <img height=103 hspace=5 
                        src="images/bg_book.gif" width=71 vspace=5 border=0> 
                              <p style="MARGIN-TOP: -112px"><a  href=book.asp?id=<%=rs("bookid")%> target=_blank><img 
                        height=96 alt=商品样品 hspace=5 
                        src=<%if trim(rs("bookpic"))="" then
				  response.write "images/emptybook.gif"
				  else
				  response.write trim(rs("bookpic"))
				  end if%> width=65 vspace=3 
                        border=0></a> 
                            </td>
                            <td valign=top width="59%"><a class=a4 
                        href=book.asp?id=<%=rs("bookid")%> target=_blank><font color=#FF6600><br>
                              <%=trim(rs("bookname"))%></font></a><br>
                              <%=trim(rs("pp"))%><%=trim(rs("pingpai"))%><br>
                              <%=trim(rs("jj"))%><%=trim(rs("bookchuban"))%><br>
                              市场价：<%=formatnumber(rs("shichangjia"),2)&"元"%><br>
                              会员价：<font color=#FF6600><%=formatnumber(rs("huiyuanjia"),2)&"元"%></font><br>
                              <table align="center" cellpadding=0 cellspacing=0>
                                <tbody> 
                                <tr> 
                                  <td align=middle width=93 height=22> 
                                    <input style="height:20; font:9pt; BORDER-BOTTOM: #cccccc 1px groove; BORDER-RIGHT: #cccccc 1px groove; BACKGROUND-COLOR: #CCCCCC" onClick="javascript:window.open('shopping.asp?id=<%=rs("bookid")%> ','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"  type=button value=购买 name=Submit22333>
                                  </td>
                                  <td width=68 height=22> 
                                    <input style="height:20; font:9pt; BORDER-BOTTOM: #cccccc 1px groove; BORDER-RIGHT: #cccccc 1px groove; BACKGROUND-COLOR: #CCCCCC" onClick="javascript:window.open('shoucang.asp?id=<%=rs("bookid")%>&action=add ','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"  type=button value=收藏 name=Submit22333>
                                    <%rs.movenext%>
                                  </td>
                                </tr>
                                </tbody> 
                              </table>
                            </td>
                          </tr>
                          </tbody> 
                        </table>
                      </td>
                      <td valign=top> 
                        <table cellspacing=0 cellpadding=0 width="100%">
                          <tr> 
                            <td valign=top width="41%" style="PADDING-LEFT: 6px"><br>
                              <img height=103 hspace=5 
                        src="images/bg_book.gif" width=71 vspace=5 border=0> 
                              <p style="MARGIN-TOP: -112px"><a 
                        href=book.asp?id=<%=rs("bookid")%> target=_blank><img 
                        height=96 alt=商品样品 hspace=5 
                        src=<%if trim(rs("bookpic"))="" then
				  response.write "images/emptybook.gif"
				  else
				  response.write trim(rs("bookpic"))
				  end if%> width=65 vspace=3 
                        border=0></a> 
                            </td>
                            <td valign=top width="59%"><a class=a4 
                        href=book.asp?id=<%=rs("bookid")%> target=_blank><font color=#FF6600><br>
                              <%=trim(rs("bookname"))%></font></a><br>
                              <%=trim(rs("pp"))%><%=trim(rs("pingpai"))%><br>
                              <%=trim(rs("jj"))%><%=trim(rs("bookchuban"))%><br>
                              市场价：<%=formatnumber(rs("shichangjia"),2)&"元"%><br>
                              会员价：<font color=#FF6600><%=formatnumber(rs("huiyuanjia"),2)&"元"%></font><br>
                              <table align="center" cellpadding=0 cellspacing=0>
                                <tbody> 
                                <tr> 
                                  <td align=middle width=93 height=22> 
                                    <input style="height:20; font:9pt; BORDER-BOTTOM: #cccccc 1px groove; BORDER-RIGHT: #cccccc 1px groove; BACKGROUND-COLOR: #CCCCCC" onClick="javascript:window.open('shopping.asp?id=<%=rs("bookid")%> ','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"  type=button value=购买 name=Submit22322>
                                  </td>
                                  <td width=68 height=22> 
                                    <input style="height:20; font:9pt; BORDER-BOTTOM: #cccccc 1px groove; BORDER-RIGHT: #cccccc 1px groove; BACKGROUND-COLOR: #CCCCCC" onClick="javascript:window.open('shoucang.asp?id=<%=rs("bookid")%>&action=add ','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"  type=button value=收藏 name=Submit22322>
                                  </td>
                                </tr>
                              </table>
                            </td>
                          </tr>
                        </table>
                        <table cellspacing=0 cellpadding=0 width="100%">
                          <tr> 
                            <td valign=top width="41%" style="PADDING-LEFT: 6px"><br>
                              <img height=103 hspace=5 
                        src="images/bg_book.gif" width=71 vspace=5 border=0> 
                              <p style="MARGIN-TOP: -112px"><a 
                        href=book.asp?id=<%=rs("bookid")%> target=_blank><img 
                        height=96 alt=商品样品 hspace=5 
                        src=<%if trim(rs("bookpic"))="" then
				  response.write "images/emptybook.gif"
				  else
				  response.write trim(rs("bookpic"))
				  end if%> width=65 vspace=3 
                        border=0></a> 
                            </td>
                            <td valign=top width="59%"><a class=a4 
                        href=book.asp?id=<%=rs("bookid")%> target=_blank><font color=#FF6600><br>
                              <%=trim(rs("bookname"))%></font></a><br>
                              <%=trim(rs("pp"))%><%=trim(rs("pingpai"))%><br>
                              <%=trim(rs("jj"))%><%=trim(rs("bookchuban"))%><br>
                              市场价：<%=formatnumber(rs("shichangjia"),2)&"元"%><br>
                              会员价：<font color=#FF6600><%=formatnumber(rs("huiyuanjia"),2)&"元"%></font><br>
                              <table align="center" cellpadding=0 cellspacing=0>
                                <tbody> 
                                <tr> 
                                  <td align=middle width=93 height=22> 
                                    <input style="height:20; font:9pt; BORDER-BOTTOM: #cccccc 1px groove; BORDER-RIGHT: #cccccc 1px groove; BACKGROUND-COLOR: #CCCCCC" onClick="javascript:window.open('shopping.asp?id=<%=rs("bookid")%> ','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"  type=button value=购买 name=Submit223223>
                                  </td>
                                  <td width=68 height=22> 
                                    <input style="height:20; font:9pt; BORDER-BOTTOM: #cccccc 1px groove; BORDER-RIGHT: #cccccc 1px groove; BACKGROUND-COLOR: #CCCCCC" onClick="javascript:window.open('shoucang.asp?id=<%=rs("bookid")%>&action=add ','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"  type=button value=收藏 name=Submit223223>
                                  </td>
                                </tr>
                              </table>
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                    <%rs.absoluteposition=3
				i=0
				do while not rs.eof%>
                    <tr> 
                      <td width="5%" style="PADDING-LEFT: 6px"><a href=book.asp?id=<%=rs("bookid")%> target=_blank> 
                        </a> 
                      <td style="PADDING-LEFT: 6px"> <img src="images/new-fram_05.gif" width="12" height="13"><a href=book.asp?id=<%=rs("bookid")%> target=_blank> 
                        <%if len(trim(rs("bookname")))>16 then
					response.write left(trim(rs("bookname")),13)&"..."
					else
					response.write trim(rs("bookname"))
					end if%>
                        </a> 
                        <%response.write "<font color=#FF6600>"&rs("dazhe")*100&"%</font>"
				  rs.movenext%>
                      <td style="PADDING-LEFT: 6px"><a href=book.asp?id=<%=rs("bookid")%> target=_blank> 
                        </a> <img src="images/new-fram_05.gif" width="12" height="13"><a href=book.asp?id=<%=rs("bookid")%> target=_blank> 
                        <%if len(trim(rs("bookname")))>16 then
					response.write left(trim(rs("bookname")),13)&"..."
					else
					response.write trim(rs("bookname"))
					end if%>
                        </a> 
                        <%response.write "<font color=#FF6600>"&rs("dazhe")*100&"%</font>"%>
                      </td>
                    </tr>
                    <%if i>=4 then exit do
				rs.movenext
				loop
				rs.close
				set rs=nothing%>
                  </table>
                </td>
              </tr>
            </table>
            <div align="center"><a href="<%=tx1url%>" target=_blank><img src="<%=tx1%>" width="97%" height="65" border="0"></a> 
              <table width="97%" border="1" cellspacing="0" cellpadding="0" bordercolor="#CCCCCC" bgcolor="efefef">
                <tr>
                  <td>
                    <table cellspacing=0 cellpadding=0 width="100%" border=0>
                      <tbody> 
                      <tr> 
                        <td valign=top width="50%"> 
                          <%set rs=server.CreateObject("adodb.recordset")
	  rs.open "select top 4 bookid,bookcontent,dazhe,shichangjia,huiyuanjia,bookname,bookpic from shop_books where dazhe<=0.6 order by adddate desc",conn,1,1
	  if rs.eof and rs.bof then
	  response.write "<br>目前没有特价商品"
	  else%>
                          <br>
                          <table cellspacing=0 cellpadding=2 width="100%" border=0>
                            <tbody> 
                            <tr> 
                              <td width="53%"><br>
                                <img height=103 hspace=5 src="images/bg_book.gif" 
                  width=71 vspace=5 border=0> 
                                <p style="MARGIN-TOP: -112px"><a 
                  href=book.asp?id=<%=rs("bookid")%> target=_blank><img 
                  height=96 alt=商品样品 hspace=5 src="<%if trim(rs("bookpic"))="" then
				  response.write "images/emptybook.gif"
				  else
				  response.write trim(rs("bookpic"))
				  end if%>" 
                   width=65 vspace=3 border=0></a> 
                                <p style="MARGIN-TOP: -50px" align=right>&nbsp; </p>
                              </td>
                              <td width="47%"><a href=book.asp?id=<%=rs("bookid")%> target=_blank><font  color=#FF6600><%=trim(rs("bookname"))%></font></a> 
                                <br><%if trim(rs("bookcontent"))<>"" then
					  if len(trim(rs("bookcontent")))> 58 then
response.write left(trim(rs("bookcontent")),56)&"..."
else
response.write trim(rs("bookcontent"))
end if
end if%>
                                <br>
                                市场价：<%=formatnumber(rs("shichangjia"),2)%>　 会员价：<font color=#FF6600><%=formatnumber(rs("huiyuanjia"),2)%>
                                <input style="height:20; font:9pt; BORDER-BOTTOM: #cccccc 1px groove; BORDER-RIGHT: #cccccc 1px groove; BACKGROUND-COLOR: #CCCCCC"  onClick="javascript:window.open('shopping.asp?id=<%=rs("bookid")%> ','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"   type=button value=购买 name=Submit222>
                                </font></td>
                            </tr>
                            <tr> 
                              <td colspan=2> 
                                <div align=center> <br>
                                </div>
                              </td>
                            </tr>
                            </tbody> 
                          </table>
                          <%end if%>
                        </td>
                        <td valign=top width="50%"> 
                          <%if rs.eof and rs.bof then
			  response.write "<br>目前没有特价商品"
			  else
			  if rs.recordcount>=2 then
			  rs.movenext
			  else
			  rs.movefirst
			  end if
			  %>
                          <br>
                          <table cellspacing=0 cellpadding=2 width="100%" border=0>
                            <tbody> 
                            <tr> 
                              <td width="52%"><br>
                                <img height=103 hspace=5 src="images/bg_book.gif" 
                  width=71 vspace=5 border=0> 
                                <p style="MARGIN-TOP: -112px"><a 
                  href=book.asp?id=<%=rs("bookid")%> target=_blank><img 
                  height=96 alt=商品样品 hspace=5 src="<%if trim(rs("bookpic"))="" then
				  response.write "images/emptybook.gif"
				  else
				  response.write trim(rs("bookpic"))
				  end if%>" 
                  width=65 vspace=3 border=0></a> 
                                <p style="MARGIN-TOP: -50px" align=right>&nbsp; </p>
                              </td>
                              <td width="48%"><a  
                  href=book.asp?id=<%=rs("bookid")%> target=_blank><font  color=#FF6600><%=trim(rs("bookname"))%></font></a> 
                                <br>
                                <%if trim(rs("bookcontent"))<>"" then
					  if len(trim(rs("bookcontent")))> 58 then
response.write left(trim(rs("bookcontent")),56)&"..."
else
response.write trim(rs("bookcontent"))
end if
end if%>
                                <br>市场价：<%=formatnumber(rs("shichangjia"),2)%><br> 会员价：<font color=#FF6600><%=formatnumber(rs("huiyuanjia"),2)%></font> 
                                <input style="height:20; font:9pt; BORDER-BOTTOM: #cccccc 1px groove; BORDER-RIGHT: #cccccc 1px groove; BACKGROUND-COLOR: #CCCCCC"  onClick="javascript:window.open('shopping.asp?id=<%=rs("bookid")%> ','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"   type=button value=购买 name=Submit2222>
                                <br>
                              </td>
                            </tr>
                            <tr> 
                              <td colspan=2> 
                                <div align=center> </div>
                              </td>
                            </tr>
                            </tbody> 
                            <%rs.close
				set rs=nothing%>
                          </table>
                          <%end if%>
                        </td>
                      </tr>
                      </tbody> 
                    </table>
                  </td>
                </tr>
              </table>
              <br><a href="<%=tx2url%>" target=_blank><img src="<%=tx2%>" width="400" height="65" border="0"></a></div>
          </td>
          <td width="24%" valign="top"> 
            <table cellspacing=0 cellpadding=0 width=100% bgcolor="#CCCCCC" height="20">
              <tr> 
                <td width=6>&nbsp;</td>
                <td width=17><img src="images/index7.gif" width="10" height="11"></td>
                <td class=hg12 valign=bottom>&nbsp;<b>最新动态</b></td>
                <td width=5>&nbsp;</td>
              </tr>
            </table>
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#efefef">
              <tr> 
                <td height="2"></td>
              </tr>
              <tr> 
                <td height="20"> 
                  <div align="center"> </div>
                </td>
              </tr>
              <tr> 
                <td>
                  <div align="center"><marquee direction="up" width="120" height="106"  scrollamount="2" id=info onMouseOver=info.stop() onMouseOut=info.start() ><%=gonggao%> 
                    </marquee></div>
                </td>
              </tr>
              <tr> 
                <td height="1" background="images/ppb.gif"></td>
              </tr>
              <tr> 
                <td> 
                  <div align="right"></div>
                </td>
              </tr>
              <tr> 
                <td height="1" background="images/ppb.gif"></td>
              </tr>
            </table>
            <%set rs=server.CreateObject("adodb.recordset")
rs.open "select top 10 bookid,bookname,huiyuanjia from shop_books where bestbook=1 order by adddate desc",conn,1,1
dim icount
icount=rs.recordcount
if rs.eof and rs.bof then
response.write "<center>&nbsp;</center>"
else%>
            <a href="<%=tx3url%>" target=_blank><img src="<%=tx3%>" width="183" height="51" border="0"></a> 
            <table cellspacing=0 cellpadding=0 width=100% bgcolor="#CCCCCC" height="20">
              <tr> 
                <td width=6>&nbsp;</td>
                <td width=17><img src="images/index7.gif" width="10" height="11"></td>
                <td class=hg12 valign=bottom>&nbsp;<b><font color="#990000">热点商品</font></b></td>
                <td width=5>&nbsp;</td>
              </tr>
            </table>
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#efefef">
              <tr> 
                <td height="2"></td>
              </tr>
              <tr> 
                <td height="20"> 
                  <div align="center"> </div>
                </td>
              </tr>
              <tr> 
                <td> 
                  <%
		  i=0
		  do while not rs.eof
		  response.write "·<a href=book.asp?id="&rs("bookid")&" target=_blank>"
		  if len(trim(rs("bookname")))>18 then
		  response.write left(trim(rs("bookname")),18)&"..."
		  else
		  response.write trim(rs("bookname"))
		  end if
		  response.write "</a>&nbsp;&nbsp;<font color=#FF6600>"&formatnumber(rs("huiyuanjia"),2)&"元</font><br>"
		  i=i+1
		  if i>=5 then exit do
		  rs.movenext
		  loop
		  		  %>
                </td>
              </tr>
              <tr> 
                <td height="1" background="images/ppb.gif"></td>
              </tr>
              <tr> 
                <td> 
                  <div align="center"></div>
                </td>
              </tr>
              <tr> 
                <td height="1" background="images/ppb.gif"></td>
              </tr>
            </table>
            <table cellspacing=0 cellpadding=0 width=100% bgcolor="#CCCCCC" height="20">
              <tr> 
                <td width=6>&nbsp;</td>
                <td width=17><img src="images/index7.gif" width="10" height="11"></td>
                <td class=hg12 valign=bottom>&nbsp;<b><font color="#990000">热点商品</font></b></td>
                <td width=5>&nbsp;</td>
              </tr>
            </table>
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#efefef">
              <tr> 
                <td height="2"></td>
              </tr>
              <tr> 
                <td height="20"> 
                  <div align="center"> </div>
                </td>
              </tr>
              <tr> 
                <td> 
                  <%
		  rs.absoluteposition=icount\2+1
		  i=0
		  do while not rs.eof
		  response.write "·<a href=book.asp?id="&rs("bookid")&" target=_blank>"
		  if len(trim(rs("bookname")))>18 then
		  response.write left(trim(rs("bookname")),18)&"..."
		  else
		  response.write trim(rs("bookname"))
		  end if
		  response.write "</a>&nbsp;&nbsp;<font color=#FF6600>"&formatnumber(rs("huiyuanjia"),2)&"元</font><br>"
		  i=i+1
		  if i>=5 then exit do
		  rs.movenext
		  loop
		  %>
                </td>
              </tr>
              <tr> 
                <td height="1" background="images/ppb.gif"></td>
              </tr>
              <tr> 
                <td> 
                  <div align="right"></div>
                </td>
              </tr>
              <tr> 
                <td height="1" background="images/ppb.gif"></td>
              </tr>
            </table>
            <%end if
rs.close
set rs=nothing%>
            <table cellspacing=0 cellpadding=0 width=100% bgcolor="#CCCCCC" height="20">
              <tr> 
                <td width=6>&nbsp;</td>
                <td width=17><img src="images/index7.gif" width="10" height="11"></td>
                <td class=hg12 valign=bottom>&nbsp;<b>请投一票</b></td>
                <td width=5>&nbsp;</td>
              </tr>
            </table>
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#efefef">
              <tr> 
                <td height="6"></td>
              </tr>
              <tr> 
                <td height="20"> 
                  <div align="center">
                    <script language="javascript" src="admin/vote/votedy.asp"></script>
                  </div>
                </td>
              </tr>
              <tr> 
                <td></td>
              </tr>
              <tr> 
                <td height="1" background="images/ppb.gif"></td>
              </tr>
              <tr> 
                <td> 
                  <div align="right"></div>
                </td>
              </tr>
              <tr> 
                <td height="1" background="images/ppb.gif"></td>
              </tr>
            </table>
            <table cellspacing=0 cellpadding=0 width=100% bgcolor="#CCCCCC" height="20">
              <tr> 
                <td width=6>&nbsp;</td>
                <td width=17><img src="images/index7.gif" width="10" height="11"></td>
                <td class=hg12 valign=bottom>&nbsp;特价商品</td>
                <td width=5>&nbsp;</td>
              </tr>
            </table>
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#efefef">
              <tr> 
                <td height="6"></td>
              </tr>
              <tr> 
                <td height="20"> 
                  <div align="center">
                    <%
			set rs=server.CreateObject("adodb.recordset")
			i=0
			rs.open "select top 8 bookid,dazhe,bookname from shop_books where dazhe<=0.6 order by adddate desc",conn,1,1
			if rs.eof and rs.bof then
			response.write "<br>目前没有特价商品"
			end if
			if rs.recordcount>=3 then
			rs.absoluteposition=3
			do while not rs.eof
			i=i+1
			if len(trim(rs("bookname")))>14 then
			response.write "·<a href=book.asp?id="&rs("bookid")&" target=_blank>"&left(trim(rs("bookname")),12)&"...</a>&nbsp;&nbsp;<font color=#FF6600>"&rs("dazhe")*100&"%</font><br>"
			else
			response.write "·<a href=book.asp?id="&rs("bookid")&" target=_blank>"&trim(rs("bookname"))&"</a>&nbsp;&nbsp;<font color=#FF6600>"&rs("dazhe")*100&"%</font><br>"
			end if
			if i>=6 then exit do
			rs.movenext
			loop
			end if
			rs.close
			set rs=nothing
			%>
                  </div>
                </td>
              </tr>
              <tr> 
                <td></td>
              </tr>
              <tr> 
                <td height="1" background="images/ppb.gif"></td>
              </tr>
              <tr> 
                <td> 
                  <div align="right"></div>
                </td>
              </tr>
              <tr> 
                <td height="1" background="images/ppb.gif"></td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<!--#include file="service.asp"-->
<!--#include file="copyright.asp"-->
<div  id=floater 
            style="Z-INDEX: 20; WIDTH: 130px; POSITION: absolute; TOP: 342px; overflow: visible;; left: 2px"> 
</div>
<script language=javascript 
            src="floater.js"></script>
</body>
</html>
