<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>首页</title>
<link href="<{$css_root}>images/layout.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<{$css_root}>images/ifocus.js"></script>
<script type="text/javascript">
<!--
function gID(id)
{
    return document.getElementById(id);
}

function addCookie(pageURL,pageNAME)  
{  
if (document.all)  
    {  
       window.external.addFavorite(pageURL,pageNAME);  
    }  
    else if (window.sidebar)  
    {  
       window.sidebar.addPanel(pageNAME, pageURL, "");  
}  
}  
function setHomepage(pageURL)  
{  
if (document.all)  
    {  
        document.body.style.behavior='url(#default#homepage)';  
  document.body.setHomePage(pageURL);  
   
    }  
    else if (window.sidebar)  
    {  
    if(window.netscape)  
    {  
         try  
   {    
            netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");    
         }    
         catch (e)    
         {    
    alert( "该操作被浏览器拒绝，如果想启用该功能，请在地址栏内输入 about:config,然后将项 signed.applets.codebase_principal_support 值该为true" );    
         }  
    }   
    var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components. interfaces.nsIPrefBranch);  
    prefs.setCharPref('browser.startup.homepage',pageURL);  
}  
}  
-->
</script>
</head>
<body>
<div id="warpper">
  <div id="header">
    <div class="logo"><{$sitename}></div>
    <div class="clogin">您好，
      <{if $is_login eq 1}> <span style="color:red;"><{$username}></span> 欢迎登陆 <span> <a href="user.php?act=logout">[退出]</a> </span></div>
    <{else}>
    请<a href="user.php?act=reg">[注册]</a><a href="user.php?act=login">[登录]</a></div>
  <{/if}>
  <div class="topnav"><a class="homepage" href="javascript:;" onClick="setHomepage('<{$web_url}>')">设为首页</a> <a class="collect" href="javascript:;" onClick="addCookie('<{$web_url}>','<{$sitename}>')">加入收藏</a></div>
  <div class="search">
    <form id="form" name="form" method="post" action="">
      <label>
      <input type="text" name="keywords" id="keywords" class="searchinput" value=""/>
      </label>
      <label>
      <input type="submit" name="button" id="submit" class="searchbtn" value="" />
      </label>
    </form>
  </div>
</div>
<div id="nav">
  <ul>
    <{section name=nav loop=$navs}>
    <li><a href="<{$navs[nav].url}>"><{$navs[nav].name}></a></li>
    <{/section}>
  </ul>
</div>
<!--导航栏  END -->
<div id="ifocus">
  <div id="ifocus_pic">
    <div id="ifocus_piclist" style="left:0; top:0;">
      <ul>
        <li><a href="#" target="_blank"><img src="<{$css_root}>images/ifocus/1.jpg" alt="简洁大方款组合沙发" /></a></li>
        <li><a href="#" target="_blank"><img src="<{$css_root}>images/ifocus/2.jpg" alt="韩版时尚白色系列" /></a></li>
        <li><a href="#" target="_blank"><img src="<{$css_root}>images/ifocus/3.jpg" alt="紫色幽雅系列" /></a></li>
        <li><a href="#" target="_blank"><img src="<{$css_root}>images/ifocus/4.jpg" alt="高档宫廷式真皮沙发" /></a></li>
        <li><a href="#" target="_blank"><img src="<{$css_root}>images/ifocus/5.jpg" alt="2009复古沙发" /></a></li>
        <li><a href="#" target="_blank"><img src="<{$css_root}>images/ifocus/6.jpg" alt="田园式布艺沙发" /></a></li>
      </ul>
    </div>
    <div id="ifocus_opdiv"></div>
    <div id="ifocus_tx">
      <ul>
        <li class="current">简洁大方款组合沙发</li>
        <li class="normal">韩版时尚白色系列</li>
        <li class="normal">紫色幽雅系列</li>
        <li class="normal">高档宫廷式真皮沙发</li>
        <li class="normal">2009复古沙发</li>
        <li class="normal">田园式布艺沙发</li>
      </ul>
    </div>
  </div>
  <div id="ifocus_btn">
    <ul>
      <li class="current"><img src="<{$css_root}>images/ifocus/1-s.jpg" alt="" /></li>
      <li class="normal"><img src="<{$css_root}>images/ifocus/2-s.jpg" alt="" /></li>
      <li class="normal"><img src="<{$css_root}>images/ifocus/3-s.jpg" alt="" /></li>
      <li class="normal"><img src="<{$css_root}>images/ifocus/4-s.jpg" alt="" /></li>
      <li class="normal"><img src="<{$css_root}>images/ifocus/5-s.jpg" alt="" /></li>
      <li class="normal"><img src="<{$css_root}>images/ifocus/6-s.jpg" alt="" /></li>
    </ul>
  </div>
</div>
<div id="content">

<div class="ind_service">
      <dl>
        <dt><a href="#">服务专区</a></dt>
        <dd><img src="<{$css_root}>images/service.gif" border="0"/></dd>
      </dl>
    </div><!-- 服务专区  END -->
    
  <div class="ind_news">
      <dl>
        <dt><a href="#" >新闻中心</a></dt>
        <dd>
          <ul>
            <{section name=list loop=$news max=4}>
            <li><a href="newsc.php?aid=<{$news[list].aid}>" title="<{$news[list].title}>"><{$news[list].title}></a> [<{$news[list].dateline}>] </li>
            <{/section}>
          </ul>
        </dd>
      </dl>
    </div><!-- 新闻列表  END -->
    
    <div class="ind_anno">
      <dl>
        <dt>网站公告</dt>
        <dd>
          <div id="demo" class="annolist" style="overflow:hidden;">
<div id="demo1">
<ul>
	<{section name=list loop=$anno}>
    <li><{$anno[list].message}></li>
    <{/section}>
</ul>
</div>
<div id="demo2"> </div>
</div>
<script type="text/javascript">
 var speed=50;
 var FGDemo=document.getElementById('demo');
 var FGDemo1=document.getElementById('demo1');
 var FGDemo2=document.getElementById('demo2');
 FGDemo2.innerHTML=FGDemo1.innerHTML
 function Marquee1(){
 if(FGDemo2.offsetHeight-FGDemo.scrollTop<=0)
 FGDemo.scrollTop-=FGDemo1.offsetHeight
 else{
 FGDemo.scrollTop++
 }
 }
 var MyMar1=setInterval(Marquee1,speed)
 FGDemo.onmouseover=function() {clearInterval(MyMar1)}
 FGDemo.onmouseout=function() {MyMar1=setInterval(Marquee1,speed)}
</script>
          
        </dd>
      </dl>
    </div><!-- 网站公告  END -->

<div class="ind_link">
      <dl>
        <dt><a href="#" >友情链接</a></dt>
        <dd>
         <ul>
         <{section name=list loop=$flink max=6}>
            <li><a href="<{$flink[list].url}>" target="_blank"><img src="<{$flink[list].logo}>" title="<{$flink[list].name}>" /></a></li>
         <{/section}>
          </ul>
        </dd>
      </dl>
    </div><!-- 新闻列表  END -->
    
    
</div>
  <div id="footer">
    <div class="info"> <a href="about.php?id=7">联系我们</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="guestbook.php">网站留言</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="friendlink.php" >友情链接</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="#">版权声明</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="<{$web_url}>admin" >管理登录</a></div>
    <div id="copyright"> <{$sitename}> 版权所有 滇ICP备00000000号<br/>
    </div>
  </div>
</div>
</div>
</body>
</html>
