<!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">
<!--#include file="Inc/SysProduct.asp" -->

<%
function cutstr(tempstr,tempwid)
if len(tempstr)>tempwid then
cutstr=left(tempstr,tempwid)&"..."
else
cutstr=tempstr
end if
end function%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<link href="css/css.css" rel="stylesheet" type="text/css" />
</head>
<script language=javascript>
	function CheckForm()
	{
		if(document.UserLogin.UserName.value=="")
		{
			alert("Please input user name！");
			document.UserLogin.UserName.focus();
			return false;
		}
		if(document.UserLogin.Password.value == "")
		{
			alert("Please input password！");
			document.UserLogin.Password.focus();
			return false;
		}
	}
</script>
<body>
<div id="container">
<div id="top">
  <div class="logo"><img src="images/logo.jpg" /></div>
  <div class="rmenu"><a href="#">首页</a> | <a href="#">注册</a> | <a href="#">登录</a> | <a href="#">设为首页</a> | <a href="#">加为收藏</a></div>
  <div class="clear"></div>
  <div class="tmenu">
    <ul id="hl_menu">
	  <li><a href="#">公司简介</a></li>
	  <li><a href="#">品牌历史</a></li>
	  <li><a href="#">车型展示</a></li>
	  <li><a href="#">在线预约</a></li>
	  <li><a href="#">新闻中心</a></li>
	  <li><a href="#">售后服务</a></li>
	  <li><a href="#">客户留言</a></li>
	  <li><a href="#">名爵club</a></li>
	</ul>
	  <div class="clear"></div>
  </div>
  <div class="banner">
  <SCRIPT>
	var NowFrame = 1;
	var MaxFrame = 5;
	var bStart = 0;
	function fnToggle() {
	var next = NowFrame + 1;
	if(next == MaxFrame+1) 
	{
	NowFrame = MaxFrame;
	next = 1;
	}
	if(bStart == 0)
	{
	bStart = 1;
			  
	setTimeout('fnToggle()', 1000);
	return;
	}
	else
	{
	oTransContainer.filters[0].Apply();
	document.images['oDIV'+next].style.display = "";
	document.images['oDIV'+NowFrame].style.display = "none"; 
	oTransContainer.filters[0].Play(duration=5);
	if(NowFrame == MaxFrame) 
	NowFrame = 1;
	else
	NowFrame++;
	} setTimeout('fnToggle()', 6000);
	}
	fnToggle();
</SCRIPT>
    <table border="0" cellpadding="0" cellspacing="0" width="935">
   
      <tr>
        <td colspan="3"><img name="banner_r1_c1" src="images/banner_r1_c1.jpg" width="935" height="28" border="0" id="banner_r1_c1" alt="" /></td>
        <td><img src="images/spacer.gif" width="1" height="28" border="0" alt="" /></td>
      </tr>
      <tr>
        <td background="images/banner_r2_c1.jpg"><img name="banner_r2_c1" src="images/banner_r2_c1.jpg" width="12" height="291" border="0" id="banner_r2_c1" alt="" /></td>
        <td><!--焦点图片开始-->
<DIV id=oTransContainer style="FILTER: progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0, wipeStyle=0, motion='forward'); background-color:#45324b; margin:0px; padding:0px;WIDTH: 910px; HEIGHT: 290px">
<A href="#" target=_blank><IMG src="images/banner_r2_c2.jpg" name="oDIV1" width=910 height=291 border=0 id=oDIV1 style="DISPLAY: yes; "></A>
<A href="#" target=_blank><IMG id=oDIV2 style="BORDER-RIGHT: black 0px solid; BORDER-TOP: black 0px solid; DISPLAY: none; BORDER-LEFT: black 0px solid; BORDER-BOTTOM: black 0px solid" height=291 src="images/adv2.jpg" width=910 border=0></A>
<A href="#" target=_blank><IMG id=oDIV3 style="BORDER-RIGHT: black 0px solid; BORDER-TOP: black 0px solid; DISPLAY: none; BORDER-LEFT: black 0px solid; BORDER-BOTTOM: black 0px solid" height=291 src="images/adv3.jpg" width=910 border=0></A>
<A href="#" target=_blank><IMG id=oDIV4 style="BORDER-RIGHT: black 0px solid; BORDER-TOP: black 0px solid; DISPLAY: none; BORDER-LEFT: black 0px solid; BORDER-BOTTOM: black 0px solid" height=291 src="images/adv4.jpg" width=910 border=0></A>
<A href="#" target=_blank><IMG id=oDIV5 style="BORDER-RIGHT: black 0px solid; BORDER-TOP: black 0px solid; DISPLAY: none; BORDER-LEFT: black 0px solid; BORDER-BOTTOM: black 0px solid" height=291 src="images/adv5.jpg" width=910 border=0></A></DIV>
<!--焦点图片结束--></td>
        <td background="images/banner_r2_c3.jpg"><img name="banner_r2_c3" src="images/banner_r2_c3.jpg" width="13" height="291" border="0" id="banner_r2_c3" alt="" /></td>
        <td><img src="images/spacer.gif" width="1" height="291" border="0" alt="" /></td>
      </tr>
      <tr>
        <td colspan="3"><img name="banner_r3_c1" src="images/banner_r3_c1.jpg" width="935" height="15" border="0" id="banner_r3_c1" alt="" /></td>
        <td><img src="images/spacer.gif" width="1" height="15" border="0" alt="" /></td>
      </tr>
    </table>
  </div>
</div>
<div class="content">
  <table border="0" cellpadding="0" cellspacing="0" width="920" style=" margin-left:6px;">
    <!-- fwtable fwsrc="未命名" fwbase="content.jpg" fwstyle="Dreamweaver" fwdocid = "2089954175" fwnested="0" -->
    <tr>
      <td><img src="images/spacer.gif" width="6" height="1" border="0" alt="" /></td>
      <td><img src="images/spacer.gif" width="908" height="1" border="0" alt="" /></td>
      <td><img src="images/spacer.gif" width="6" height="1" border="0" alt="" /></td>
      <td><img src="images/spacer.gif" width="1" height="1" border="0" alt="" /></td>
    </tr>
    <tr>
      <td colspan="3"><img name="content_r1_c1" src="images/content_r1_c1.jpg" width="920" height="6" border="0" id="content_r1_c1" alt="" /></td>
      <td><img src="images/spacer.gif" width="1" height="6" border="0" alt="" /></td>
    </tr>
    <tr>
      <td rowspan="5" background="images/content_r3_c1.jpg">&nbsp;</td>
      <td rowspan="5" bgcolor="fcfaf7" >
	  
	  <div class="mleft">
	   <div class="login"><%	If Session("UserName")="" Then
%><table width="96%" border="0" cellspacing="0" cellpadding="0"  class="logintable">
	   <form action="UserLogin.asp" method="post" name="UserLogin" onSubmit="return CheckForm();">
	   
  <tr>
    <td height="29" colspan="2"><img src="images/logintitle.gif" width="37" height="20" /></td>
    </tr>
  <tr>
    <td height="35">用户名：
      <input name="UserName" type="text" id="UserName" size="18" /></td>
    <td rowspan="2"><input type="image" name="imageField" src="images/login1.gif" /></td>
  </tr>
  <tr>
    <td height="23">密&nbsp;&nbsp;&nbsp;码： 
      <input name="Password" type="password" id="Password" size="18" /></td>
    </tr>
  <tr>
    <td height="60" align="center"><a href="UserReg.asp"><img src="images/regbut.gif" width="99" height="21" border="0" /></a></td>
    <td>&nbsp;</td>
  </tr>
  </form>
</table>
<%else
response.write "欢迎您！" & Session("UserName") & "<br><br>"
		response.write "用户控制面板：<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='UserServer.asp'><b>进入会员中心</b></a> <a href='UserLogout.asp?Action=Ch'>退出会员中心</a><br><br>"	end if%>
 
</div>
<div class="news">
 <table width="98%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="78%" style="padding-left:20px;"><img src="images/newstitle.gif" width="100" height="21" /></td>
    <td width="22%" align="right">[ <a href="news.asp">更多</a> ] </td>
  </tr>
</table>
  <%
set rs_news=server.createobject("adodb.recordset")
sqltext4="select top " & New_count & " * from news where BigClassName='企业新闻' order by AddDate desc"
rs_news.open sqltext4,conn,1,1				 	
%>
<div class="newslist" >
<ul>
  <%i=0
do while not rs_news.eof and i<11%>
  <li> <span><%=FormatDateTime(rs_news("AddDate"),2)%></span><a href="shownews.asp?id=<%=rs_news("id")%>" target="_blank"><%=cutstr(rs_news("title"),22)%></a></li>
   
                          <%rs_news.movenext
i=i+1
loop
rs_news.close %>
</ul>
</div>
</div>

	  </div>
	  
	  <div class="mright">
	    <table border="0" cellpadding="0" cellspacing="0" width="591">
          <!-- fwtable fwsrc="未命名" fwbase="rc.jpg" fwstyle="Dreamweaver" fwdocid = "2089954175" fwnested="0" -->
          <tr>
            <td><img src="images/spacer.gif" width="257" height="1" border="0" alt="" /></td>
            <td><img src="images/spacer.gif" width="334" height="1" border="0" alt="" /></td>
            <td><img src="images/spacer.gif" width="1" height="1" border="0" alt="" /></td>
          </tr>
          <tr>
            <td><img name="rc_r1_c1" src="images/rc_r1_c1.jpg" width="257" height="153" border="0" id="rc_r1_c1" alt="" /></td>
            <td><img name="rc_r1_c2" src="images/rc_r1_c2.jpg" width="334" height="153" border="0" id="rc_r1_c2" alt="" /></td>
            <td><img src="images/spacer.gif" width="1" height="153" border="0" alt="" /></td>
          </tr>
          <tr>
            <td colspan="2" style="padding-left:20px; padding-right:10px;"><p>上海华星名爵4S店位于华星汽车广场内，建有国内最大的具有“四位一体”功能的标准展示厅。高贵、典雅的展示大厅，让您全方位领略英国名爵品牌浓郁文化的韵味。更使用户享受到全面、快捷、体贴的人性化服务。 </p></td>
            <td><img src="images/spacer.gif" width="1" height="88" border="0" alt="" /></td>
          </tr>
          <tr>
            <td rowspan="3" colspan="2"><img name="rc_r3_c1" src="images/rc_r3_c1.jpg" width="591" height="225" border="0" id="rc_r3_c1" alt="" /></td>
            <td><img src="images/spacer.gif" width="1" height="17" border="0" alt="" /></td>
          </tr>
          <tr>
            <td><img src="images/spacer.gif" width="1" height="11" border="0" alt="" /></td>
          </tr>
          <tr>
            <td><img src="images/spacer.gif" width="1" height="197" border="0" alt="" /></td>
          </tr>
        </table>
	  </div>	  </td>
      <td rowspan="5" background="images/content_r5_c3.jpg">&nbsp;</td>
      <td><img src="images/spacer.gif" width="1" height="239" border="0" alt="" /></td>
    </tr>
    <tr>
      <td><img src="images/spacer.gif" width="1" height="10" border="0" alt="" /></td>
    </tr>
    <tr>
      <td><img src="images/spacer.gif" width="1" height="9" border="0" alt="" /></td>
    </tr>
    <tr>
      <td><img src="images/spacer.gif" width="1" height="11" border="0" alt="" /></td>
    </tr>
    <tr>
      <td><img src="images/spacer.gif" width="1" height="197" border="0" alt="" /></td>
    </tr>
    <tr>
      <td colspan="3"><img name="content_r7_c1" src="images/content_r7_c1.jpg" width="920" height="10" border="0" id="content_r7_c1" alt="" /></td>
      <td><img src="images/spacer.gif" width="1" height="10" border="0" alt="" /></td>
    </tr>
  </table>
</div>

<div id="footer"></div>
</div>
</body>
</html>
