<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!--#include file="connoklin.asp" -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>凯萨洗衣欢迎你！</title>
<link href="pic/css.css" rel="stylesheet" type="text/css" />
<SCRIPT language=Javascript src="pic/bn.js"></SCRIPT>
</head>

<body onmousemove="HideMenu()">
<div id=menuDiv style='Z-INDEX: 2; VISIBILITY: hidden; WIDTH: 1px; POSITION: absolute; HEIGHT: 1px; BACKGROUND-COLOR: #9cc5f8'></div>
<!--#include file="ttop.asp" -->
<table width="993" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="D9F2F3">
  <tr>
    <td width="230" bgcolor="B6E6E8" valign="top">
	<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
     <tr>
      <td><img src="pic/hui.gif"></td>
     </tr>
     <tr>
      <td height="100"><table width="230"  border="0" cellspacing="0" cellpadding="0"  height="100" class="s">
              <tr> 
                <td> 
                  <%if session("linok")="" then%>
                  <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <form action="loginok.asp" method="post" name="MemberForm">
                      <tr> 
                        <td width="50" height="26" align="left">用户名：</td>
                        <td height="26" align="left"><input name="UserName" type="text" id="UserName" size="20" class="input"></td>
                      </tr>
                      <tr> 
                        <td height="26" align="left">密&nbsp;&nbsp;码：</td>
                        <td height="26" align="left"><input name="password" type="password" id="Password" size="21" class="input"> 
                        </td>
                      </tr>
                      <tr align="left"> 
                        <td height="26" colspan="2"  valign="bottom">&nbsp;&nbsp;
						<input name="button" type="submit" class="button"  value=" 登录 "/>
						 
                          &nbsp;&nbsp;&nbsp;&nbsp;<a href="reg.asp" class="gbhui">用户注册</a></td>
                      </tr>
                    </form>
                  </table>
                  <%else%>
                  <% sqlaa="SELECT top 1 * FROM reguser where username='"&session("linok")&"'  order by ID desc"
   set rsaa=server.createobject("adodb.recordset")
   rsaa.open sqlaa,conn,1,1
   awb=rsaa("flag")
   rsaa.close
   set rsaa=nothing
%>
                  <table width="90%" border="0" align="center" cellpadding="3" cellspacing="2">
                    <tr>
                      <td align="left"> <font color=red><%=session("linok")%> </font>您好，欢迎您登录！<%if awb<>1 then%><br>会员状态：<font color=red>管理员审核中</font><%end if%></td>
                    </tr>
                     <tr>
                      <td align="left"> <input name="button" type="button" class="button" onClick="window.location='regedit.asp'" value="修改资料";/>
                        &nbsp;
                        <input name="button" type="button" class="button" style="width:80px;" onClick="window.location='quit.asp'" value="退    出"/> 
                      </td>
                    </tr>
                  </table>
                  <%end if%>
                </td>
              </tr>
            </table></td>
     </tr>
    </table>
	<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
     <tr>
      <td><img src="pic/rong.gif"></td>
     </tr>
    
     <tr>
          <td height="300" align="center"><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="208" height="273">
            <param name="movie" value="images/v2.swf">
            <param name="quality" value="high">
            <embed src="images/v2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="208" height="273"></embed>
          </object></td>
     </tr>
    </table>
	
	<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
     <tr>
      <td><img src="pic/zui.gif"></td>
     </tr>
     <tr>
      <td height="200" align="center">
	  <table width="185" border="0" cellspacing="0" cellpadding="0" align="center" style="border:1px solid #cccccc; " height="190" bgcolor="#FFFFFF">
  <tr>
    <td>
	<marquee id=hdy6 onMouseOver=hdy6.stop() onMouseOut=hdy6.start() scrollamount=2  width=190 direction="up" height="180">
<table width="97%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td>
<% sqla="SELECT top 1 * FROM about where id=1"
   set rsa=server.createobject("adodb.recordset")
   rsa.open sqla,conn,1,1
   if rsa.eof then
   response.Write("暂无")
   else
   response.write rsa("content")
   end if
   rsa.close
   set rsa=nothing
   %>
</td>
  </tr>
</table>
</marquee>
	</td>
  </tr>
</table>

	  </td>
     </tr>
    </table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
     <tr>
      <td><img src="pic/qqz.gif"></td>
     </tr>
     <tr>
      <td height="165" align="center">
	  <!--#include file="ksqq.asp" -->
	  </td>
     </tr>
    </table>

	</td>
    <td width="12"></td>
    <td width="740" valign="top">
	<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
	<tr><td height="6"></td></tr>
  <tr>
    <td>
	<table width="298" height="206" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="B6E6E8">
  <tr>
                <td align="center"><script language=javascript>
								var focus_width=288
								var focus_height=194
								var text_height=0
								var swf_height = focus_height+text_height
							
								var pics = '';
								var links = '';
								var texts = '';
							
								function ati(url, img, title)
								{
									if(pics != '')
									{
										pics = "|" + pics;
										links = "|" + links;
										texts = "|" + texts;
									}
							
									pics = escape(img) + pics;
									links = escape(url) + links;
									texts = title + texts;
								}
							</script>
              <script language=javascript>
		<% 
sqlxx="SELECT top 6 * FROM news where BigClassName in ('资讯中心','加盟店展示') and sketch<>''  order by ID desc"
set rsxx=server.createobject("adodb.recordset")
rsxx.open sqlxx,conn,1,1
do while not rsxx.eof %>	  
    ati('show.asp?id=<%=rsxx("id")%>', '<%=replace(rsxx("Sketch"),"../../","")%>', '<%=xxrs("title")%>');
	<%rsxx.movenext
  loop
  rsxx.close
  set rsxx=nothing%>
			 document.write('<embed src="pixviewer.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#ffffff" quality="high" width="'+ focus_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"/>');
			 </script>
                </td>
  </tr>
</table>
	</td>
    <td valign="top">
	<table width="432" height="206" border="0" cellspacing="0" cellpadding="0" align="right">
              <tr>
    <td><img src="pic/n.gif" width="89" height="28" border="0">
	</td>
                <td align="right"> <a href="news.asp?typeid=1"><img src="pic/more.gif" width="32" height="15" border="0"></a> 
                </td>
  </tr>
  <tr>
                <td colspan="2" valign="top" width="430" height="170"> 
                  <table width="100%" border="0" align="right" cellpadding="2" cellspacing="1" bgcolor="#EEF9FA">
                        <% 
sql="SELECT top 7 * FROM news where BigClassName='资讯中心' and smallclassname<>'洗衣技术'  order by ID desc"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
do while not rs.eof %>
				    <tr>
    <td width="3%">
	<img src="pic/dian.gif" width="7" height="9" border="0">
	</td>
    <td width="82%"><a href="show.asp?id=<%=rs("id")%>" title="<%=rs("title")%>" target="_blank" class="gbhui"><%=rs("title")%></a>
	</td>
	<td width="15%"><%=rs("time")%></td>
  </tr>
  <%rs.movenext
  loop
  rs.close
  set rs=nothing%>                    
</table>
  </td></tr>
</table>
	</td>
  </tr>
</table>

	
	  <table width="739" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="739" height="8"></td>
        </tr>
        <tr> 
          <td><img src="pic/1.gif" border="0" usemap="#Map2"></td>
        </tr>
        <tr> 
          <td height="122" align="center" background="pic/1bg.gif">
		  <table width="96%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td>
	<DIV id=scroll_div style="OVERFLOW: hidden; WIDTH: 704px"   align=right>
<TABLE class=text cellSpacing=2 cellPadding=0 width="100%" border=0>
<tr><td align="center" id=scroll_begin>
<TABLE class=text cellSpacing=1 cellPadding=1 width="100%" border=0>
                      <TR align=middle>
<%Set rs=Server.CreateObject("ADODB.RecordSet") 
   sql="select * from news where bigclassname='洗涤设备' order by id desc"
        rs.open sql,conn,1,1
		do while not rs.eof 
		if rs("sketch")<>"" then
		sketch=replace(rs("Sketch"),"../../","")
		else
		sketch="pic/nopic.gif"
		end if%>
                      <td> <table width="95%" border="0" align="center" cellpadding="2" cellspacing="2">
                          <tr> 
                            <td align="center" class="gbhui"><a href=show.asp?id=<%=rs("id")%> title=<%=rs("title")%> class="gbhui" target="_blank"><img src="<%=sketch%>" border="0" width="118" height="111" class="img_bor"></a></td>
                          </tr>
                          <tr> 
                            <td  align="center" class="gbhui"><a href=show.asp?id=<%=rs("id")%> title=<%=rs("title")%> class="gbhui" target="_blank"><%=left(rs("title"),6)%>
                              <%if len(rs("title"))>6 then%>
                              ...
                              <%end if%>
                              </a></td>
                          </tr>
                        </table></td>
<%rs.movenext
loop
rs.close
set rs=nothing%>
</TR>

</TABLE>
</td>
<td id=scroll_end></td>
</tr>
</TABLE>
</DIV>
        <SCRIPT>
var speed=20
scroll_end.innerHTML=scroll_begin.innerHTML
function Marquee(){
if(scroll_end.offsetWidth-scroll_div.scrollLeft<=0)
scroll_div.scrollLeft-=scroll_begin.offsetWidth
else{
scroll_div.scrollLeft++
}
}
var MyMar=setInterval(Marquee,speed)
scroll_div.onmouseover=function() {clearInterval(MyMar)}
scroll_div.onmouseout=function() {MyMar=setInterval(Marquee,speed)}
</SCRIPT>		

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

		  </td>
        </tr>
        <tr> 
          <td><img src="pic/1end.gif"></td>
        </tr>
      </table>
	  <table width="739" border="0" cellspacing="0" cellpadding="0">
	  <tr><td height="8"></td></tr>
        <tr>
          <td><img src="pic/2.gif" width="739" height="38" border="0" usemap="#Map3"></td>
        </tr>
        <tr>
          <td width=739 height="122" align="center" background="pic/1bg.gif"><table width="96%" border="0" cellspacing="0" cellpadding="0" align="center">
              <tr> 
                <td> <DIV id=scroll_div2 style="OVERFLOW: hidden; WIDTH: 704px"   align=right> 
                    <TABLE class=text cellSpacing=2 cellPadding=0 width="100%" border=0>
                      <tr>
                        <td align="center" id=scroll_begin2> <TABLE class=text cellSpacing=1 cellPadding=1 width="100%" border=0>
                            <TR align=middle> 
                              <%Set rs=Server.CreateObject("ADODB.RecordSet") 
   sql="select * from news where bigclassname='加盟店展示'  order by id desc"
        rs.open sql,conn,1,1
		do while not rs.eof 
		if rs("sketch")<>"" then
		sketch2=replace(rs("Sketch"),"../../","")
		else
		sketch2="pic/nopic.gif"
		end if%>
                              <td> <table width="95%" border="0" align="center" cellpadding="2" cellspacing="2">
                                  <tr> 
                                    <td align="center" class="gbhui"><a href=show.asp?id=<%=rs("id")%> title=<%=rs("title")%> class="gbhui" target="_blank"><img src="<%=sketch2%>" border="0" width="118" height="111" class="img_bor"></a></td>
                                  </tr>
                                  <tr> 
                                    <td  align="center" class="gbhui"><a href=show.asp?id=<%=rs("id")%> title=<%=rs("title")%> class="gbhui" target="_blank"><%=left(rs("title"),6)%> 
                                      <%if len(rs("title"))>6 then%>
                                      ... 
                                      <%end if%>
                                      </a></td>
                                  </tr>
                                </table></td>
                              <%rs.movenext
loop
rs.close
set rs=nothing%>
                            </TR>
                          </TABLE></td>
                        <td id=scroll_end2></td>
                      </tr>
                    </TABLE>
                  </DIV>
                  <SCRIPT>
var speed2=20
scroll_end2.innerHTML=scroll_begin2.innerHTML
function Marquee2(){
if(scroll_end2.offsetWidth-scroll_div2.scrollLeft<=0)
scroll_div2.scrollLeft-=scroll_begin2.offsetWidth
else{
scroll_div2.scrollLeft++
}
}
var MyMar2=setInterval(Marquee2,speed2)
scroll_div2.onmouseover=function() {clearInterval(MyMar2)}
scroll_div2.onmouseout=function() {MyMar2=setInterval(Marquee2,speed2)}
</SCRIPT> </td>
              </tr>
            </table> </td>
        </tr>
        <tr>
          <td><img src="pic/1end.gif"></td>
        </tr>
      </table>
	  <table width="739" border="0" cellspacing="0" cellpadding="0">
	  <tr><td height="8"></td></tr>
        <tr>
          <td><img src="pic/3.gif" width="739" height="38" border="0" usemap="#Map5"></td>
        </tr>
        <tr>
          <td width=739 height="122" valign="top" background="pic/1bg.gif"> 
            <table width="96%" border="0" align="center" cellpadding="2" cellspacing="3" bgcolor="#EEF9FA">
                        <%
sql="SELECT top 12 * FROM news where BigClassName='资讯中心' and smallclassname='洗衣技术'  order by ID desc"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
if not rs.eof then
 %>
			  <%
for aa=1 to 6
if not rs.eof then
%>
              <tr valign="top"> 
                <% 
 for bbb=1 to 2
 if not rs.eof then 
 %>
			  <td width="50%">
			  <table width="100%" border="0" cellspacing="0" cellpadding="0">
			  <tr> 
                <td width="3%"> <img src="pic/dian.gif" width="7" height="9" border="0"> 
                </td>
                <td width="97%"> <a href="show.asp?id=<%=rs("id")%>" title="<%=rs("title")%>" target="_blank" class="gbhui"><%=rs("title")%></a></td>
              </tr>
              </table>
			  </td>
                <%
				rs.movenext
				else
				exit for
				end if
				next
				%>
              </tr>
              <%
   else
       exit for
   end if
  next 
else%>
<tr><td>&nbsp; </td></tr>
<%end if%>
            </table>
          </td>
        </tr>
        <tr>
          <td><img src="pic/1end.gif"></td>
        </tr>
      </table>
	  <table width="739" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="739" height="8"></td>
        </tr>
        <tr> 
          <td><img src="pic/4.gif" width="739" height="38"></td>
        </tr>
        <tr> 
          <td height="122" align="center" background="pic/1bg.gif">            <table width="97%"  border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td>&nbsp;</td>
                <td align="right"><img src="pic/b.jpg" width="468" height="181"></td>
              </tr>
                        </table></td>
        </tr>
        <tr> 
          <td><img src="pic/1end.gif"></td>
        </tr>
      </table>
	  
	  </td>
    <td width="11"></td>
  </tr>
</table>
<!--#include file="eend.asp" -->
<map name="Map2">
  <area shape="rect" coords="683,3,728,25" href="sebei.asp">
</map>
<map name="Map3">
  <area shape="rect" coords="684,1,727,26" href="join.asp">
</map>
<map name="Map4">
  <area shape="rect" coords="504,87,505,88" href="#">
</map>
<map name="Map5">
  <area shape="rect" coords="690,4,737,27" href="news.asp?typeid=4">
</map>

</body>
</html>
