<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$CONFIG[charset]}">
<title>{$head[title]}-{$PHPCMS[sitename]}</title>
<meta name="keywords" content="{$head[keywords]}">
<meta name="description" content="{$head[description]}">
<meta name="generator" content="Phpcms {$PHPCMS[version]}">
<link href="{PHPCMS_PATH}favicon.ico" rel="shortcut icon">
<link href="{$skindir}/style.css" rel="stylesheet" type="text/css">
<script language="javascript" src="{PHPCMS_PATH}data/js/config.js"></script>
<script language="javascript" src="{PHPCMS_PATH}include/js/common.js"></script>
<script language="javascript" src="{PHPCMS_PATH}include/js/prototype.js"></script>
</head>
<body  {if isset($enableprotect) && $enableprotect}oncontextmenu='return false' ondragstart='return false' onselectstart ='return false' onselect='document.selection.empty()' oncopy='document.selection.empty()' onbeforecopy='return false'{/if}>
<div class="header">
<table width="980" cellpadding="0" cellspacing="0" class="bg_login">
    <tr>
	 <td width="200" align="center"><!--时间--><script language="JavaScript" src="{PHPCMS_PATH}include/js/time.js"></script>
     </td>
    <td width="38" align="right">
<!--{if $channelid && isset($MOD['enable_rss']) && $MOD['enable_rss']}-->
	<a href="{$CHA[linkurl]}rss.php{if isset($catid)}?catid={$catid}{/if}" target="_blank"><img src="{PHPCMS_PATH}images/rss.gif" border="0"/></a>
<!--{/if}-->
	</td>
    <td width="*" align="right">
	<!--会员登录-->
    <script language="javascript" src="{$MODULE[member][linkurl]}login.php?action=js"></script>
	</td>
  </tr>
</table>
<table width="980" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="260" height="90" align="center"><a href="{PHPCMS_PATH}"><img src="{$imgurl($PHPCMS['logo'])}"></a></td>
    <td width="620" align="center">
<SCRIPT LANGUAGE="JavaScript" src="{$MODULE[ads][linkurl]}ad.php?id=1"></SCRIPT>
	</td>
    <td width="100">
     <table width="100%"  cellspacing="0" cellpadding="0">
      <tr>
        <td>【<a id="StranLink">繁体中文</a>】</td>
      </tr>
      <tr>
        <td>【<a href="#" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage ('{$PHPCMS['siteurl']}');">设为首页</a>】</td>
      </tr>
      <tr>
      <td>【<a href="#" onClick="window.external.addFavorite('{$PHP_SITEURL}','{$PHPCMS['sitename']}')">加入收藏</a>】</td>
      </tr>
     </table></td>
    </tr>
	</table>

<!--频道列表-->
<div id="Whatever" align="center">
    <ul class="TabBarLevel1" id="TabPage1">
        <li {if $channelid==0}id="Tabi" class="Selected"{/if}><a href="{PHPCMS_PATH}">首页</a></li>
      <!--{loop $CHANNEL $channel}-->
        <li {if $channelid==$channel['channelid']}id="Tabi" class="Selected"{/if}><a href="{$channel[linkurl]}" class="white">{$channel[channelname]}</a></li>
	  <!--{/loop}-->
    </ul>
</div>

<!--频道下属栏目列表-->
<!--{if $channelid}-->
      <table width="100%" cellpadding="0"  cellspacing="0">
       <tr>
        <td class="submenu">
		<a href="{$CHA[linkurl]}" class="white"> {$CHA[channelname]}首页</a>
        {tag_频道一级栏目}
		| <a href="{$CHA[linkurl]}type.php" class="white">分类</a>
		| <a href="{$CHA[linkurl]}special/" class="white">专题</a>
		| <a href="{$MODULE[guestbook][linkurl]}index.php?keyid={$channelid}" class="white">留言本</a> 
		| <a href="{$CHA[linkurl]}contribute.php" class="white">投稿</a>
		| <a href="{$CHA[linkurl]}search.php" class="white">搜索</a>
		</td>
       </tr>
       </table>
<!--{/if}-->
</div>

<div class="main"> 
<table width="980" cellpadding="0" cellspacing="0">
<tr>
   <td height="10"> </td>
</tr>
</table>