<!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>
<title> Administrator's Control Panel</title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset?>">
<link rel="stylesheet" type="text/css" id="css" href="./css/admincp.css">
<script src="../js/common.js" type="text/javascript"></script>
{literal}
<style type="text/css">
	.leftmenulist{ text-align:left; float: left; clear: both;}
	.tag_menu{ text-align:left; float:left; clear:both;}
</style>

<script>
var collapsed;
function collapse_change(menucount) 
{
	if($('menu_' + menucount).style.display == 'none') 
	{
		$('menu_' + menucount).style.display = '';collapsed = collapsed.replace('[' + menucount + ']' , '');
		$('menuimg_' + menucount).src = 'images/menu_reduce.gif';
	} else {
		$('menu_' + menucount).style.display = 'none';collapsed += '[' + menucount + ']';
		$('menuimg_' + menucount).src = 'images/menu_add.gif';
	}
}
</script>
{/literal}
</head>
<body style="margin:0px auto; padding:0px; text-align:left;">
{foreach from=$left_nav item='nav' key=k}
<div id="{$k}" class="tag_menu" {if $k neq 'home'}style="display:none;"{/if}}>
{foreach from=$nav item=n}
<table width="146" border="0" cellspacing="0" align="center" cellpadding="0" class="leftmenulist" style="margin-bottom: 5px;">
<tr class="leftmenutext">
<td>
<a href="#" onclick="collapse_change(1)">{$n.name}</a>
</td>
</tr>
<tbody>
<tr class="leftmenutd">
<td>
<table border="0" cellspacing="0" cellpadding="0" class="leftmenuinfo">
{foreach from=$n.menu item=c}
<tr><td><a href="{$c.url}" target="main">{$c.name}</a></td></tr>
{/foreach}
</table>
</td>
</tr>
</tbody>
</table>
{/foreach}
</div>
{/foreach}

<table width="146" border="0" cellspacing="0" align="center" cellpadding="0" class="leftmenulist">
<tr class="leftmenutext"><td style="padding-left:36px;"><a href="login.php?action=out" target="_top">安全退出</a></td></tr>
</table>
<table width="146" border="0" cellspacing="0" align="center" cellpadding="0" class="leftmenulist" style="margin-top:5px;">
<tr class="leftmenutext"><td style="padding-left:36px;">版本信息</td></tr>
<tr><td style="padding-left:6px;height:20px;">程序设计：<font color="#4D48EA">phpwms</font></td></tr>
<tr><td style="padding-left:6px;height:20px;">版权所有：<a href="http://www.phpwms.com" target="_blank"><font color="#4D48EA">北京市金南曦网络技术有限公司</font></a></td></tr>
</table>
</body>
</html>