<?php die;?>
<!--{if $CategoryRS|@count neq 0 }-->
<!--{assign var=cpath value='myfun'|GetDef:$CategoryRS->getPath()}-->
<!--{else}-->
<!--{assign var=cpath value=1}-->
<!--{/if}-->
<script type="text/javascript">var def=<!--{$cpath}-->;</script>
<script language="JavaScript">
function CheckForm()
{
 if (document.loginform.loginname.value.length == 0)
 {
  alert("用户名不能为空！");
  document.loginform.loginname.focus();
  return false;
 }

 if (document.loginform.password.value.length == 0)
 {
  alert("密码不能为空！");
  document.loginform.password.focus();
  return false;
 }

 if (document.loginform.checkcode.value.length == 0)
 {
  alert("验证码不能为空！");
  document.loginform.checkcode.focus();
  return false;
 }
  document.loginform.submit();
  return true;
}
</script>
<div id="top">
  <div id="top-contain">
  <div id="top-logo"><a href="<!--{'micefun'|GetUrl:'index'}-->"><img src="imgs/micecms-logo.jpg" title="<!--{$smarty.const.MICE_TITLE}-->" border="0" width="200" height="60" /></a></div>
  <div id="top-service">企业网站管理系统：开源、易用、安全、PHP开发、MVC架构、支持5种数据库。</div>
  <div id="top-right"><script>document.write(unescape('%3Ciframe name="cssframe" id="cssframe" width="0" height="0" %3E%3C/iframe%3E'))</script>
		<div id="theme"><span>换个颜色看网站：</span>
		<img src="imgs/theme0.gif" width="11" height="9" onclick="theme(1,'<!--{$smarty.const.MICE_URL}-->');" />
		<img src="imgs/theme2.gif" width="11" height="9" onclick="theme(2,'<!--{$smarty.const.MICE_URL}-->');" />
		<img src="imgs/theme1.gif" width="11" height="9" onclick="theme(3,'<!--{$smarty.const.MICE_URL}-->');" />
		<img src="imgs/theme3.gif" width="11" height="9" onclick="theme(4,'<!--{$smarty.const.MICE_URL}-->');" />
		<img src="imgs/theme4.gif" width="11" height="9" onclick="theme(5,'<!--{$smarty.const.MICE_URL}-->');" /></div>
	  <div id="top-links"><a href="javascript:window.external.addFavorite('<!--{$smarty.const.MICE_URL}-->','miceCMS—觅策内容管理系统,开源免费的PHP类CMS,支持多种数据库');" class="topA"> 加入收藏 </a><a href="<!--{'micefun'|ListUrl:132}-->">联系我们</a><a href="http://www.micesoft.cn" target="_blank">觅策软件</a></div>
  </div>
  </div>
</div>
<div id="menu">
  <div id="menu-bg">
  <div id="menu-parent">
  <a href="<!--{'micefun'|GetUrl:'index'}-->" class="menu-this" id="par1">网站首页</a>
  <!--{assign var=subsql value='WHERE parentid=0 AND isvisible=0 AND type LIKE \'article%\' ORDER BY orderid ASC'}-->
  <!--{foreach from='micefun'|CategoryList:$subsql:0:8 item=Category}-->
  <a href="<!--{'micefun'|ListUrl:$Category->getCategoryId()}-->" target="<!--{$Category->getTarget()}-->" id="par<!--{$Category->getOrderid()}-->"><!--{$Category->getTitle()}--></a>
  <!--{/foreach}-->
  </div>  
  <div id="menu-son">
    <div id="son1">
	<!--{if 'micefun'|MiceSession:'mu__userid'>0}-->
	用户名：<!--{'micefun'|MiceSession:'mu__loginname'}-->&nbsp;&nbsp;&nbsp;&nbsp<a href="<!--{$smarty.const.MICE_URL}-->index.php/user">用户中心</a>&nbsp;&nbsp;&nbsp;&nbsp<a href="<!--{$smarty.const.MICE_URL}-->index.php/logout">退出</a>
	<!--{else}-->
	<form id="loginform" name="loginform" method="post" action="<!--{$smarty.const.MICE_URL}-->index.php/login" onkeydown="if (event.keyCode==13) {return CheckForm()}" style="margin:0px;">用户名&nbsp;<input name="loginname" type="text" size="10" style="height:10px">&nbsp;&nbsp;&nbsp;&nbsp;密码&nbsp;<input name="password" type="password" size="10" style="height:10px">&nbsp;&nbsp;&nbsp;&nbsp;验证码&nbsp;<input name="checkcode" type="text" size="10" style="height:10px">&nbsp;&nbsp;<img src="<!--{$smarty.const.MICE_URL}-->index.php/checkcode" align="absmiddle" onClick="this.src=this.src+'/'" title="看不清?点击图片更新！" style="cursor:hand;"/>&nbsp;&nbsp;<img src="imgs/login.gif" align="absmiddle" onClick="return CheckForm()" style="cursor:hand;"/>&nbsp;&nbsp;<a href="<!--{$smarty.const.MICE_URL}-->index.php/reg">注册用户</a>&nbsp;&nbsp;<a href="<!--{$smarty.const.MICE_URL}-->index.php/forgetpwd">忘记密码</a></form>
	<!--{/if}-->
	</div>
	<!--{assign var=subsql value='WHERE parentid=0 AND isvisible=0 AND type LIKE \'article%\' ORDER BY orderid ASC'}-->
	<!--{foreach from='micefun'|CategoryList:$subsql:0:8 item=Category}-->
		<div id="son<!--{$Category->getOrderid()}-->">
		<!--{assign var=subsql2 value='WHERE parentid='|cat:$Category->getCategoryId()|cat:' AND isvisible=0 AND type LIKE \'article%\' ORDER BY orderid ASC'}-->
		<!--{foreach from='micefun'|CategoryList:$subsql2:0:8 item=Category2 name=counter2}-->
			<!--{if $smarty.foreach.counter2.iteration>1}-->|<!--{/if}-->
			<a href="<!--{'micefun'|ListUrl:$Category2->getCategoryId()}-->"><!--{$Category2->getTitle()}--></a> 
		<!--{/foreach}-->
		</div>
	<!--{/foreach}-->
  </div>
  </div>
</div>
<script type="text/javascript" src="js/menu.js"></script>
<div id="divStayTopright" style="position:absolute; z-index:999;"> 
<a href="<!--{$smarty.const.MICE_URL}-->" title="<!--{$smarty.const.MICE_TITLE}-->"><img  src="imgs/kefu/back_home.gif" alt="<!--{$smarty.const.MICE_TITLE}-->" width="15" height="19" border=0 ></a><br>
<a href="javascript:window.external.addFavorite('<!--{$smarty.const.MICE_URL}-->','<!--{$smarty.const.MICE_TITLE}-->');" title="收藏本站"><img  src="imgs/kefu/icon_bookmark.gif" width="15" height="19" border=0 ></a><br>
<a href="mailto:cms@micecms.com" title="给我们发送邮件"><img  src="imgs/kefu/icon_mail.gif" width="15" height="18" border=0 ></a><br>
<a href="http://wpa.qq.com/msgrd?V=1&Uin=81835325&Site=www.micecms.com&Menu=yes" target="_blank" title="业务咨询""><img src="imgs/kefu/qq_on.gif" width="15" height="21" border="0" align="absmiddle"></a><br>
<a href="http://wpa.qq.com/msgrd?V=1&amp;Uin=78825278&amp;Site=www.micecms.com&amp;Menu=yes" target="_blank" title="技术咨询""><img src="imgs/kefu/qq_on.gif" width="15" height="21" border="0" align="absmiddle" /></a><br>
<a href="#top" title="返回页顶"><img src="imgs/kefu/top.gif" width="15" height="20" border="0"></a><br>  
</div> 

<SCRIPT type=text/javascript>
var verticalpos="frombottom"
function JSFX_FloatTopDiv()
{
var startX =0,
startY = 459;
var ns = (navigator.appName.indexOf("Netscape") != -1);
var d = document;
function ml(id)
{
var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.divs[id];
if(d.divs)el.style=el;
el.sP=function(x,y){this.style.right=x;this.style.top=y;};
el.x = startX;
if (verticalpos=="fromtop")
el.y = startY;
else{
el.y = ns ? pageYOffset + innerHeight : document.documentElement.scrollTop + 
document.documentElement.clientHeight;
el.y -= startY;
}
return el;
}
window.stayTopright=function()
{
if (verticalpos=="fromtop"){
var pY = ns ? pageYOffset : document.documentElement.scrollTop;
ftlObj.y += (pY + startY - ftlObj.y)/8;
}
else{
var pY = ns ? pageYOffset + innerHeight : document.documentElement.scrollTop + 
document.documentElement.clientHeight;
ftlObj.y += (pY - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
setTimeout("stayTopright()", 10);
}
ftlObj = ml("divStayTopright");
stayTopright();
}
JSFX_FloatTopDiv();
</SCRIPT>