<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../images/csss.css" rel="stylesheet" type="text/css">
<title><%=shjname%></title>
<style type="text/css">
<!--
.big {
	border-top: 1px solid #CCCCCC;
	border-right: 1px solid #CCCCCC;
	border-bottom: 1px solid #999999;
	border-left: 1px solid #CCCCCC;
}
-->
</style>
</head>

<body background="moban/3/images/bg.gif" topmargin="0">

<div align="center">
  <center>
  <table border="0" width="875" cellspacing="0" cellpadding="0" height="260">
    <tr>
      <td width="100%" align="right" height="28">
        <table border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr>
            <td width="644"></td>
            <td width="231" height="26" background="moban/3/images/top1.gif" valign="bottom">&nbsp;&nbsp;<font color="#FFFFFF"> 
              </font><a href="#" onClick="this.style.behavior='url(#default#homepage)';setHomePage('http://<%=rs_shjia("url")%>')"><font color="#FFFFFF">设为首页</font></a>&nbsp;&nbsp;                                                                                              
              <a href="javascript:external.AddFavorite('http://<%=rs_shjia("url")%>','<%=rs_shjia("name")%>')"><font color="#FFFFFF">加入收藏</font></a>&nbsp;&nbsp;&nbsp;<a href="mailto:<%=rs_shjia("UserEmail")%>"><font color="#ffffff"> 联系我们</font></a></td>                                                                                             
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td width="875" valign="top" height="214" background="moban/3/images/top.gif">
        <table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0">
          <tr>
            <td width="24%" valign="top" align="center">
              <table border="0" width="100%" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="100%" valign="middle" align="center" height="100"><%if rs_shjia("logo")<>"" then%><img src=../<%=trim(rs_shjia("logo"))%>  width=150 height=60 border=0>
          <%else%>                                     
          <div align="center">
            <center>
            <table border="0" width="98%" cellspacing="0" cellpadding="0" height="73">
              <tr>
                <td width="100%" height="73" width="126" background="moban/3/images/logo.gif">
                  <table border="0" width="100%">
                     <tr>
                      <td width="98%" height="20" align=center><font color=#ffffff size=3><%=rs_shjia("url")%></font></td>
                    </tr>
                    <tr>
                      <td width="98%" height="30" align=center><b><font color=#ffffff  face="黑体" size=4><%=rs_shjia("name")%></font></b></td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
            </center>
          </div>
          <%end if%></td>
                </tr>
                <tr>
                  <td width="100%" valign="top" align="center">
                  <form name="userlogin" method="post" action="../checkuserlogin.asp">
                    <div align="center">
                      <center>
                      <table border="0" width="202" height="81" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="100%" background="moban/3/images/loginbg.gif" valign="top">
                            <table border="0" width="100%" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="30%">&nbsp;<font color="#FFFFFF"><b>用户名：</b></font></td>
                                <td width="42%"><input type="text" name="username" size="10"></td>
                                <td width="28%" rowspan="2" valign="middle" align="center"><INPUT  name="imageField" src="moban/3/images/login.gif" value="" type=image onFocus="this.blur()" width="43" height="39"></td>
                              </tr>
                              <tr>
                                <td width="30%">&nbsp;<font color="#FFFFFF"><b>密&nbsp;                                                                                     
                                  码：</b></font></td>
                                <td width="42%"><input type="text" name="userpassword" size="10"></td>
                              </tr>
                              <tr>
                                <td width="30%">&nbsp;<font color="#FFFFFF"><b>验证码：</b></font></td>
                                <td width="42%"><input type="text" class=wenbenkuang name=verifycode size="10" value="<%If GetCode=9999 Then Response.Write "9999"%>"></td>
                                <td width="28%" valign="middle" align="center"><img src=../GetCode.asp></td>
                              </tr>
                              <tr>
                                <td width="30%"></td>
                                <td width="42%" align="center"><a href="../reg.asp"><font color="#FFFFFF"><b>注册</b></a></td>
                                <td width="28%"><a href="../getpwd.asp"><font color="#FFFFFF"><b>忘密</b></font></a></td>
                              </tr>
                            </table>
                          </td>
                        </tr>
                      </table>
                      </center>
                    </div>
                    </form>
                  </td>
                </tr>
              </table>
            </td>
            <td width="76%" valign="top">
              <table border="0" width="664" cellspacing="0" cellpadding="0" height="204">
                <tr>
                  <td width="664" height="54"><map name="FPMap0">
                    <area href="index.asp?id=<%=rs_shjia("shjiaid")%>" shape="rect" coords="18, 15, 77, 48">
                    <area href="about.asp?id=<%=rs_shjia("shjiaid")%>" shape="rect" coords="102, 15, 159, 50">
                    <area href="news.asp?id=<%=rs_shjia("shjiaid")%>" shape="rect" coords="185, 15, 241, 46">
                    <area href="list.asp?id=<%=rs_shjia("shjiaid")%>" shape="rect" coords="263, 15, 324, 47">
                    <area href="info.asp?id=<%=rs_shjia("shjiaid")%>" shape="rect" coords="340, 17, 408, 46">
                    <area href="zhaoshang.asp?id=<%=rs_shjia("shjiaid")%>" shape="rect" coords="419, 15, 495, 45">
                    <area href="job.asp?id=<%=rs_shjia("shjiaid")%>" shape="rect" coords="511, 14, 568, 51">
                    <area href="gbook.asp?id=<%=rs_shjia("shjiaid")%>" shape="rect" coords="589, 17, 650, 49"></map><img border="0" src="moban/3/images/mune.gif" usemap="#FPMap0" width="664" height="54"></td>
                </tr>
                <tr>
                                   <td width="100%" height="152"><center><table><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<%if trim(rs_shjia("textbanner"))<>"" then%><font style="font-size:15pt;color:#ffffff;font-family: 华文行楷"><strong><%=rs_shjia("textbanner")%></strong></font><%else%><font style="font-size:15pt;color:#ffffff;font-family:黑体"><strong><%=rs_shjia("name")%>欢迎您！</strong></font><%end if%><br><br><marquee direction="left" width="356" height="20" scrollamount="3" id=info onMouseOver=info.stop() onMouseOut=info.start()><font color="red"><%=rs_shjia("content")%></font></marquee> 
                  </td><td width="308"><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="290" height="100" align="top">
  <param name="_cx" value="6879">
  <param name="_cy" value="2646">
  <param name="FlashVars" value>
  <param name="Movie" value="../swf/6.swf">
  <param name="Src" value="../swf/6.swf">
  <param name="WMode" value="Transparent">
  <param name="Play" value="-1">
  <param name="Loop" value="-1">
  <param name="Quality" value="High">
  <param name="SAlign" value>
  <param name="Menu" value="-1">
  <param name="Base" value>
  <param name="AllowScriptAccess" value="always">
  <param name="Scale" value="ShowAll">
  <param name="DeviceFont" value="0">
  <param name="EmbedMovie" value="0">
  <param name="BGColor" value>
  <param name="SWRemote" value>
  <param name="MovieData" value>
  <param name="SeamlessTabbing" value="1">
  <param name="Profile" value="0">
  <param name="ProfileAddress" value>
  <param name="ProfilePort" value="0">
</object>
                  </td>
                  </tr></table></center>
                </tr>
              </table>
            </td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
    <td width=875 height="401" valign="top" align="center" background="moban/3/images/body_bg.gif">
      <div align="center">
        <center>
        <table border="0" width="814" cellspacing="0" cellpadding="0" height="317">
          <tr>
            <td width="100%" height="9"><img border="0" src="moban/3/images/body_top.gif"></td>
          </tr>
          <tr>
            <td width="814" background="moban/3/images/body_mid.gif" height="279" valign="top" align="center">
              <table border="0" width="98%" height="100%">
                <tr>
                  <td width="587" valign="top">
                    <table border="0" width="100%">
                      <tr>
                        <td width="100%" colspan="2"><map name="FPMap1">
                          <area href="info.asp?id=<%=rs_shjia("shjiaid")%>" shape="rect" coords="258, 3, 282, 21">
                          <area href="news.asp?id=<%=rs_shjia("shjiaid")%>" shape="rect" coords="558, 3, 581, 23"></map><img border="0" src="moban/3/images/newinfo.gif" usemap="#FPMap1"></td>
                      </tr>
                      <tr>
                        <td width="50%" valign="top" height="120">
                        <%
                        set rs_book=server.createobject("adodb.recordset")
                        sql="select top 5 * from shop_books where shjiaid="&id&" and info>0 order by bookid desc"
                        rs_book.open sql,conn,1,1
                        %>
                          <table border="0" width="100%" cellspacing="0" cellpadding="0">
                          <% do while not rs_book.eof%>
                            <tr>
                              <td width="100%" height="25">&nbsp;<img src=moban/3/images/3.gif broder=0>&nbsp;<a href=../xxlist.asp?id=<%=rs_book("bookid")%>><%=left(trim(rs_book("bookname")),16)%></a>&nbsp;&nbsp;&nbsp;&nbsp;<%=mid(rs_book("adddate"),3,8)%><br><img border="0" src="moban/3/images/line.gif"></td>
                            </tr>
                                 <%rs_book.movenext 
	                             loop
	                             rs_book.close
	                             set rs_book=nothing
	                             %>
                          </table>
                        </td>
                        <td width="50%" valign="top" height="120">
                         <%
                         set rs1s=server.CreateObject("adodb.recordset")
                         strnews="select top 5 * from news where shjiaid="&id
                         rs1s.open strnews,conn,1,1
                         %>
                          <table border="0" width="100%" cellspacing="0" cellpadding="0">
                           <% do while not rs1s.eof %>
                            <tr>
                              <td width="100%" height="25">&nbsp;<img src=moban/3/images/3.gif broder=0>&nbsp;<a href=newsshow.asp?id=<%=id%>&newsid=<%=rs1s("newsid")%>><%=left(trim(rs1s("title")),16)%></a>&nbsp;&nbsp;&nbsp;&nbsp;<%=mid(rs1s("addtime"),3,8)%><br><img border="0" src="moban/3/images/line.gif"></td>
                            </tr>
                                <%rs1s.movenext 
	                             loop
	                             rs1s.close
	                             set rs1s=nothing
	                             %>
                          </table>
                        </td>
                      </tr>
                      <tr>
                        <td width="100%" colspan="2">
                          <table border="0" width="100%">
                            <tr>
                              <td width="100%"><img border="0" src="moban/3/images/product.gif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;                                                             
                                <a href="list.asp?id=<%=rs_shjia("shjiaid")%>">更多..</a></td>
                            </tr>
                            <tr>
                              <td width="100%" height="140" valign="top">
                                <table border="1" width="100%" bordercolor="#E1E1E1" cellspacing="0" cellpadding="0" bordercolordark="#E1E1E1">
                                  <tr>
                                    <td width="100%" height="132" valign="middle" align="center">
                                    <%
                                    set rs_new=server.CreateObject("adodb.recordset")
		                            rs_new.open "select  * from shop_books where shjiaid="&id&" and info=0 order by adddate desc",conn,1,1 
		                            if rs_new.eof and rs_new.bof then 
		                            response.write "<center>暂无新商品</center>" 
		                            response.End 
		                            else 
		                             %>
                                      <table border="0" width="99%">
                                        <tr>
                                          <td width="25%" align="center"><%if rs_new("bookpic")="" then 
response.write "<a href=list1.asp?id="&id&"&bookid="&rs_new("bookid")&" ><img src=../images/emptybook.gif width=120 height=120 border=0></a>"
else%><a href=list1.asp?id=<%=id%>&bookid=<%=rs_new("bookid")%> ><img src="../<%=trim(rs_new("bookpic"))%>" width=120 border=0 height=120></a><%end if%><br><a href=list1.asp?id=<%=id%>&bookid=<%=rs_new("bookid")%>><%if len(trim(rs_new("bookname")))>15 then
	response.write left(trim(rs_new("bookname")),10)&""
	else
	response.write trim(rs_new("bookname"))
	end if%>
</a></td><%rs_new.movenext%><%if rs_new.eof then%><%else%>
                                          <td width="25%" align="center">
                                          <%if rs_new("bookpic")="" then 
response.write "<a href=list1.asp?id="&id&"&bookid="&rs_new("bookid")&" ><img src=../images/emptybook.gif width=120 height=120 border=0></a>"
else%><a href=list1.asp?id=<%=id%>&bookid=<%=rs_new("bookid")%> ><img src="../<%=trim(rs_new("bookpic"))%>" width=120 border=0 height=120></a><%end if%><br><a href=list1.asp?id=<%=id%>&bookid=<%=rs_new("bookid")%>><%if len(trim(rs_new("bookname")))>15 then
	response.write left(trim(rs_new("bookname")),10)&""
	else
	response.write trim(rs_new("bookname"))
	end if%>
</a>
                                          </td><%rs_new.movenext%><%end if%><%if rs_new.eof then%><%else%>
                                          <td width="25%" align="center">
                                                                                    <%if rs_new("bookpic")="" then 
response.write "<a href=list1.asp?id="&id&"&bookid="&rs_new("bookid")&" ><img src=../images/emptybook.gif width=120 height=120 border=0></a>"
else%><a href=list1.asp?id=<%=id%>&bookid=<%=rs_new("bookid")%> ><img src="../<%=trim(rs_new("bookpic"))%>" width=120 border=0 height=120></a><%end if%><br><a href=list1.asp?id=<%=id%>&bookid=<%=rs_new("bookid")%>><%if len(trim(rs_new("bookname")))>15 then
	response.write left(trim(rs_new("bookname")),10)&""
	else
	response.write trim(rs_new("bookname"))
	end if%>
</a>
                                          </td><%rs_new.movenext%><%end if%><%if rs_new.eof then%><%else%>
                                          <td width="25%" align="center">
                                                                                                                       <%if rs_new("bookpic")="" then 
response.write "<a href=list1.asp?id="&id&"&bookid="&rs_new("bookid")&" ><img src=../images/emptybook.gif width=120 height=120 border=0></a>"
else%><a href=list1.asp?id=<%=id%>&bookid=<%=rs_new("bookid")%> ><img src="../<%=trim(rs_new("bookpic"))%>" width=120 border=0 height=120></a><%end if%><br><a href=list1.asp?id=<%=id%>&bookid=<%=rs_new("bookid")%>><%if len(trim(rs_new("bookname")))>15 then
	response.write left(trim(rs_new("bookname")),10)&""
	else
	response.write trim(rs_new("bookname"))
	end if%>
</a>
                                          </td>
                                        </tr>
                                      </table>
                                      <%
                                       rs_new.movenext
                                       end if
                                       rs_new.Close
                                       set rs_new=nothing
                                       end if
                                      %>
                                    </td>
                                  </tr>
                                </table>
                              </td>
                            </tr>
                          </table>
                        </td>
                      </tr>
                    </table>
                  </td>
                  <td width="191" valign="top" align="center">
                    <div align="center">
                      <center>
                      <table border="0" width="170" height="354" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="100%" background="moban/3/images/170x354.gif" valign="top">
                            <table border="0" width="100%">
                              <tr>
                                <td width="100%" align="center"><img border="0" src="moban/3/images/diaocha.gif"></td>
                              </tr>
                              <tr>
                                <td width="100%">
                                  <table border="1" width="100%" bordercolorlight="#E1E1E1" cellspacing="0" cellpadding="0" bordercolordark="#FFFFFF">
                                    <tr>
                                      <td width="100%" align="center" valign="top">
                                        <table border="0" width="99%" height="99%" cellspacing="0" cellpadding="0">
                                          <tr>
                                            <td width="100%" valign="top">
                                             <%
        shjiaid=rs_shjia("shjiaid")
       
		set rs=conn.execute("SELECT * FROM toupiao where shjiaid='"&shjiaid&"' and IsChecked=1 ") 
		if rs.eof then
	  %>
            暂无投票                                                                        
            <%else%>
            <table border="0" width="100%" cellspacing="2" cellpadding="2" height="1">
              <tr> 
                <td width=100% align="center" height="1">
                 <font color="#006583"><b><%=rs("Title")%></b></font><br>
                </td>
              </tr>
              <form action="vote.asp" target="newwindow" method=post name=research>
                <tr> 
                  <td valign=top width="100%" height="14" > 
                    <%
for i=1 to 8
	if rs("Select"&i)<>"" then
%>
                    <input style="border: 0" <%if i=1 then%>checked<%end if%> name=Options type=radio value=<%=i%>>
                    <%=i%>.<%=rs("Select"&i)%><br>                                                                       
                    <%
	end if
next
%> </td>
                </tr>
                <tr> 
                  <td width="100%" height=10 align=center> 
                    <input type="image" border="0" name="submit" src="moban/2/images/toup.gif" width="59" height="19" style="cursor:hand">
                    <a href="vote.asp?stype=view" target="_blank"><img src="moban/2/images/chakan.gif" width="59" height="19" border="0"></a> 
                  </td>
                </tr>
              </form>
            </table>
            <%end if%>
                                            </td>
                                          </tr>
                                        </table>
                                      </td>
                                    </tr>
                                  </table>
                                </td>
                              </tr>
                              <tr>
                                <td width="100%"></td>
                              </tr>
                            </table>
                          </td>
                        </tr>
                      </table>
                      </center>
                    </div>
                  </td>
                </tr>
              </table>
            </td>
          </tr>
          <tr>
            <td width="100%" height="9"><img border="0" src="moban/3/images/body_di.gif"></td>
          </tr>
        </table>
        </center>
      </div>
    </td>
    </tr>
  </table>
  </center>
</div>
<div align="center">
  <center>
  <table border="0" width="875" cellspacing="0" cellpadding="0" background="moban/3/images/yqbg.gif">
    <tr>
      <td width="94" height="33" align="center" background="moban/3/images/yqbg.gif"><font color="#FFFFFF"><b>友情链接：</b></font></td>
      <td width="777" height="33" background="moban/3/images/yqbg.gif" align="center" valign="middle">
        <marquee width="750" height="33" scrollamount="5" scrolldelay="150" onmouseover=javascript:stop() onmouseout="jaascript:start()"><!--#include file="link.asp"--></marquee>
      </td>
    </tr>
    <tr>
      <td width="875" colspan="2" height="44" background="moban/3/images/di.gif">
        <table border="0" width="100%">
          <tr>
            <td width="10%"></td>
            <td width="18%"><a href="mailto:<%=rs_shjia("UserEmail")%>"><font color=#ffffff><%=rs_shjia("UserEmail")%></font></a></td>
            <td width="72%" align="center"><font color=#ffffff>Copyright &#9426; 2006 <%=rs_shjia("url")%> Corp.All Rights Reserved.</font></td>   
          </tr>
        </table>
      </td>
    </tr>
  </table>
  </center>
</div>
</body>

