<!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}</title>
<meta name="keywords" content="{keywords}" />
<meta name="description" content="{description}" />
<link href="templates/default/styles/kcms.css" rel="stylesheet" type="text/css" />
<script src="/scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
<script type="text/javascript">
    $(function () {
        $("#stype").hover(
        function () {
            $(".sea ul").slideDown("normal");
        },
        function () {
            $(".sea ul").slideUp("normal");
        });
    });

    function stys(h, v) {
        $(".meun").html(h);
        $("#searchtype").val(v);
    }
</script>
</head>
<body>
<div class="topbar">
  <div class="mainbox"><p>
  <%if {userid}==0%>
    <a href="login.html">登录</a> | <a href="register.html">注册</a>
  <%else%>
    欢迎您! <em>☺</em> {username} | <a href="/usercenter/">用户中心</a> | <a href="loginout.html">退出?</a>
  <%/if%>
  </p></div>
</div>
<div class="mainbox">
  <div class="logobar clearfix">
    <div class="logo"><a href="" title="快聚合网赚系统">快聚合网赚系统</a></div>
    <div class="search">
    <div class="clearfix">
    <form action="search.html" method="get">
        <div class="sea">
        <div id="stype">
        <a href="javascript:;" class="meun">资讯</a>
        <ul>
        <li><a href="javascript:stys('专题', 0)">专题</a></li>
        <li><a href="javascript:stys('资讯', 1)">资讯</a></li>
        <li><a href="javascript:stys('博文', 2)">博文</a></li>
        <li><a href="javascript:stys('问答', 3)">问答</a></li>
        <li><a href="javascript:stys('图片', 4)">图片</a></li>
        <li><a href="javascript:stys('视频', 5)">视频</a></li>
        </ul>
        </div>
        <input id="searchtype" name="t" type="hidden" value="1" />
        <input id="searchkeys" name="wd" type="text" />
        </div>
        <input id="submit" type="submit" value="搜索" class="sea_doc"/>
    </form>
    </div>
    <p>
    <%loop (SearchInfo) search SearchTop(6,false)%>
    <a href="search.html?t={search.t}&wd=<%urlencode(search.wd)%>">{search.wd}</a>
    <%/if%>
    </p>
    </div>
  </div>
  <div class="nav">
    <ul class="clearfix">
     <li><a href="/">首页</a></li>
     <%if indexType==1%>
     <li><a href="home.html">综合页</a></li>
     <%/if%>
     <li><a href="news.html">资讯</a></li>
     <li><a href="bowen.html">博文</a></li>
     <li><a href="pic.html">图片</a></li>
     <li><a href="video.html">视频</a></li>
     <%if indexType==0%>
     <li><a href="ask_default.html">问答</a></li>
     <%/if%>
     <li><a href="special.html">专题</a></li>
     <li><a href="tag.html">标签</a></li>
    </ul>
  </div>
  <div class="channel">
  <ul class="clearfix">
    <%loop (ChannelInfo) channel channelList()%>
    <li><a href="channel-{channel.id}.html">{channel.channelname}</a></li>
    <%/loop%>
  </ul>
  </div>
  <div><a href="http://www.kuaishow.com/" target="_blank"><img src="templates/default/images/ad-banner.jpg" width="950" height="80" border="0" /></a></div>