<!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=gbk" />
<title>{:$title}_{:if $seotitle}$seotitle{:else}{:C('name')}{:/if}</title>
<meta name="keywords" content="{:$keywords}" />
<meta name="description" content="{:$description}" />
<link href="images/style.css" type="text/css" rel="stylesheet" />
<link href="../../statics/skins/blue/jxbox.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="http://lib.sinaapp.com/js/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript">
!window.jQuery && document.write('<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.8.3.min.js"><\/script>');
</script>
<script type="text/javascript" src="../../statics/js/jquery.cookie.js"></script>
<script type="text/javascript" src="../../statics/js/jquery.jxbox.min.js"></script>
<script type="text/javascript" src="../../statics/js/common.js"></script>
</head>
<body>
<div id="top">
 <div id="top_login">
  <div id="top_login_1">欢迎来到{:$config['name']}！请 <a href="javascript:;" onclick="login()">登录</a> <a href="{:Url::getUrl('member', 'reg')}">免费注册</a></div>
  <div id="top_login_2">您好，{username} <a href="{:Url::getUrl('member')}">会员中心</a> <a href="{:Url::getUrl('member', 'logout')}">退出</a></div>
 </div>
 <div class="search">
  <form name="search" action="{:ROOT_PATH}index.php" target="_blank">
   <input type="text" name="q" size="20" />
   <input type="hidden" name="a" value="search" />
   <select name='c'>
    <option value="article" selected="selected">文章</option>
    <option value="product">产品</option>
   </select>
   <input type="submit" name="s" value="搜索" class="button"/>
  </form>
 </div>
 <div class="rss">
  <a href="{:Url::getRssUrl()}" title="RSS订阅中心" target="_blank">
   <img src="images/rss.png" alt="RSS订阅" border="0" width="52" height="24" />
  </a>
 </div>
</div>
<div id="head">
 <div class="logo"><a href="{:ROOT_PATH}" title="{:$config['name']}">{:$config['name']}</a></div>
 <div class="banner"> {:Tag :: ad('top')}</div>
</div>
<ul id="nav">
 <li class="first"><a href="{:ROOT_PATH}" title="{:$config['name']}首页">首&nbsp;&nbsp;页</a></li>
 <!--{:loop Tag::menu($catid) $v}-->
 <li><a href="{:$v['url']}" title="{:$v['name']}"{:if $v['active']} class="active"{:/if}>{:$v['name']}</a></li>
 <!--{:/loop}-->
</ul>
<!--{:if $catid && (get_category($catid, 'pid') or get_category($catid, 'subnum'))}-->
<ul id="sub_nav">
 <!--{:loop Tag::menu($catid, $catid, 0, true) $v}-->
 <li><a href="{:$v['url']}" title="{:$v['name']}">{:$v['name']}</a></li>
 <!--{:/loop}-->
</ul>
<!--{:/if}-->