<!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>{if !empty($archive[mtitle])}{$archive[mtitle]}{elseif $category[$catid][meta_title] and !$archive[title]}{$category[$catid][meta_title]}{else}{if !empty($archive[title])}{$archive[title]}-{/if}{if $type[meta_title]}{$type[meta_title]}-{elseif typename($type[typeid])}{typename($type[typeid])}-{/if}{if $category[$catid][meta_title]}{$category[$catid][meta_title]}-{elseif !empty($catid)}{catname($catid)}-{/if}{get('fullname')}{/if} - Powered by CmsEasy</title>
<meta name="keywords" content="{if $archive[keyword]}{$archive[keyword]}{else}{if $type[keyword]}{$type[keyword]}{elseif $category[$catid][keyword]}{$category[$catid][keyword]}{else}{get('site_keyword')}{/if}{/if}" />
<meta name="description" content="{if $archive[description]}{$archive[description]}{else}{if $type[description]}{$type[description]}{elseif $category[$catid][description]}{$category[$catid][description]}{else}{get('site_description')}{/if}{/if}" />
<meta name="author" content="CmsEasy Team" />
<link rel="icon" href="{$base_url}/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="{$base_url}/favicon.ico" type="image/x-icon" />
<!-- 调用样式表 -->
<link rel="stylesheet" href="{$skin_path}/base.css" type="text/css" media="all"  />
<link rel="stylesheet" href="{$skin_path}/reset.css" type="text/css" media="all"  />
<link rel="stylesheet" href="{$skin_path}/style.css" type="text/css" media="all"  />
<script type="text/javascript" src="{$skin_path}/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript">
sfHover = function() {
var sfEls = document.getElementById("nav").getElementsByTagName("LI");
for (var i=0; i<sfEls.length; i++) {
sfEls[i].onmouseover=function() {
    this.className+=" sfhover";
}
sfEls[i].onmouseout=function() {
    this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
}
}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
</script>
<!--用于PNG图片在IE6下透明-->
<!--[if IE 6]>
<script src="{$skin_path}/js/png.js"></script>
<script>
  DD_belatedPNG.fix('.logo');
  DD_belatedPNG.fix('.nav');
  DD_belatedPNG.fix('#nav li ul');
  DD_belatedPNG.fix('.r_bg');
  DD_belatedPNG.fix(' .cfooter');
  DD_belatedPNG.fix('.cleft_box .cright');
  DD_belatedPNG.fix('.cleft_box_content .serverlist');
  DD_belatedPNG.fix('.cleft_box_content .cheader');
</script>
<![endif]--> 
<style type="text/css">
.logo {width:{get('logo_width')}px; height:{get('logo_height')}px; background:url({$base_url}/{get('site_logo')});}
</style>
<script language="javascript" type="text/javascript">
function killerrors()
{
return true;
}
window.onerror = killerrors;
</script>
</head>
 <body>


<div class="header">

<span class="subnav">
<!-- 页头导航 -->
<a title="{lang(sitewap)}" href="{$base_url}/wap/">{lang(sitewap)}</a>  -  <a href="<?php echo url('archive/orders');?>">{lang(shoppingcart)}</a>  -  
<a href="javascript:void(0);" target="_self" onClick="javascript:try{ window.external.AddFavorite('{$site_url}','{get(sitename)}'); } catch(e){ (window.sidebar)?window.sidebar.addPanel('{get(sitename)}','{$site_url}',''):alert('{get(sitename)}'); }">{lang(favorite)}</a>    -  
{if get('lang_type')=='cn'}<a id="StranLink" title="繁简转换">繁体</a>  -  {/if}
{login_js()}

<!-- 搜索框 -->
<div class="search">
<form name='search' action="<?php echo url('archive/search');?>" onsubmit="search_check();" method="post">
<input type="text" name="keyword" value="{lang(pleaceinputtext)}" onfocus="if(this.value=='{lang(pleaceinputtext)}') {this.value=''}" onblur="if(this.value=='') this.value='{lang(pleaceinputtext)}'" class="s_text" />
<input name='submit' type="submit" value="" align="middle" class="s_btn" />
</form>
</div>
</span>

<div class="logo"><a title="{get(sitename)}" href="{$base_url}/"></a></div>

</div>

<!-- 网站导航 -->
<div class="nav">
<ul id="nav"> 
<li class="one{if $topid==0} on{/if}"><a title="{lang(backhome)}" href="{$base_url}/">{lang(homepage)}</a></li>
{loop categories_nav() $t}
<li class="one{if isset($topid) && $topid==$t[catid]} on{/if}"><a href="{$t[url]}" title="{$t[catname]}" target="{if config::get('nav_blank')==1} _blank{/if}">{$t[catname]}</a>
{if count(categories($t[catid]))}<ul>
{loop categories($t[catid]) $t1}
<li><a title="{$t1[catname]}" href="{$t1[url]}">{$t1[catname]}</a>
{if count(categories($t1[catid]))}<ul>{loop categories($t1[catid]) $t2}<span></span>
<li><a title="{$t2[catname]}" href="{$t2[url]}">{$t2[catname]}</a>
{if count(categories($t2[catid]))}<ul>{loop categories($t2[catid]) $t3}<span></span>
<li><a title="{$t3[catname]}" href="{$t3[url]}">{$t3[catname]}</a>
{if count(categories($t3[catid]))}<ul>{loop categories($t3[catid]) $t4}<span></span>
<li><a title="{$t4[catname]}" href="{$t4[url]}">{$t3[catname]}</a>
{if count(categories($t4[catid]))}<ul>{loop categories($t4[catid]) $t5}<span></span>
<li><a title="{$t5[catname]}" href="{$t4[url]}">{$t3[catname]}</a></li> 
{/loop}</ul>{/if}
</li> 
{/loop}</ul>{/if}
</li>
{/loop}</ul>{/if}
</li>
{/loop}</ul>{/if}
</li> 
{/loop}</ul>{/if}
</li>{/loop}
</ul>
</div>
<!-- 导航结束 -->

<div class="clear box">

<!-- 公告开始 -->
<div id="announ">
{loop announ(5) $an}
<p><a href="{$an[url]}" title="{$an[title]}">{$an[title]}</a> [{$an[adddate]}]</p>
{/loop}
</div>
<!-- 公告结束 -->

<!-- 多站切换开始 -->
<div class="website">
<a href="index.php?case=archive&act=show&aid=4" target="_blank">Sitemap</a> | <?php $t=position_p($catid=5);?>
<a href="{$t.url}" title="{$t['name']}" target="_blank">Contact</a><?php?>

<!-- 多站切换开始 -->
<select name="website" onchange="javascript:window.open(this.options[this.selectedIndex].value)">
<option value="default">{lang('websitego')}</option>
{loop getwebsite() $d}
<option value="{$d['url']}">{$d[name]}</option>
{/loop}
</select>
<!-- 多站切换结束 -->
</div>
</div>


<!-- 幻灯开始 -->
<div class="banner">{if $topid==0}
{template 'system/slide.html'}
<!-- 幻灯结束 -->{else}
<!-- 其它页图片切换 -->
{template 'system/cslide.html'}
</div>
{/if}</div>