<!--#
##
#	Project: PHPDISK File Storage Solution
#	This is NOT a freeware, use is subject to license terms.
#
#	Site: http://www.phpdisk.com
#
#	$Id: menu.tpl.html 2 2011-05-27 02:59:23Z along $
#
#	Copyright (C) 2008-2011 PHPDisk Team. All Rights Reserved.
#
##
#-->
<html>
<head>
<meta http-equiv="content-Type" content="text/html; charset={$charset}" />
<title>[menu] - Powered by PHPDisk Team</title>
<link href="{$admin_tpl_dir}images/admincp.css" rel=stylesheet type=text/css>
<script type="text/javascript" src="includes/js/jquery.js"></script>
<script type="text/javascript" src="includes/js/common.js"></script>
<script lanuage="javascript">
function expand(id){
	if(getId('box_'+id).style.display == ''){
		getId('box_'+id).style.display = 'none';
		getId('img_'+id).src = "{$admin_tpl_dir}images/menu_close.gif";
		setCookie('admincp_menu_'+id,1,30);
	}else{
		getId('box_'+id).style.display = '';
		getId('img_'+id).src = "{$admin_tpl_dir}images/menu_open.gif";
		setCookie('admincp_menu_'+id,0,30);
	}
}
$(document).ready(function(){
	$("#menu_container li").mouseover(function(){
		$(this).addClass("m_over");
	}).mouseout(function(){
		$(this).removeClass("m_over");
	});
});
</script>
</head>

<body style="margin:0; padding:0">
<div id="menu_container">
	<div class="menu_box">
	<div class="title"><img align="absmiddle" src="{$admin_tpl_dir}images/menu_open.gif" border=0><a href="./" target="_blank">{$L['menu_site_index']}</a> | <a href="{#urr("admincp","item=main")#}" target="mainframe">{$L['menu_admin_index']}</a></div>
	</div>
	<br/>
<!--# if($op =='base'){#-->
	<div class="menu_box">
	<div class="title" onClick="expand(1);"><img id="img_1" align="absmiddle" src="{$admin_tpl_dir}images/menu_open.gif" border=0>{$L['menu_site_setting']}</div>
	<div id="box_1">
	<li><a href="{#urr("admincp","item=settings&action=base")#}" target="mainframe">{$L['menu_base_setting']}</a></li>
	<li><a href="{#urr("admincp","item=settings&action=advanced")#}" target="mainframe">{$L['menu_advanced_setting']}</a></li>
	</div>
	</div>
	<br/>
<!--#}elseif($op =='user'){#-->	
	<div class="menu_box">
	<div class="title" onClick="expand(1);"><img id="img_1" align="absmiddle" src="{$admin_tpl_dir}images/menu_open.gif" border=0>{$L['menu_user_setting']}</div>
	<div id="box_1">
	<li><a href="{#urr("admincp","item=users&action=add_user")#}" target="mainframe">{$L['menu_add_user']}</a></li>
	<li><a href="{#urr("admincp","item=groups&action=index")#}" target="mainframe">{$L['menu_user_group']}</a></li>
	<li><a href="{#urr("admincp","item=users&action=index")#}" target="mainframe">{$L['menu_user_manage']}</a></li>
	<li><a href="{#urr("admincp","item=users&action=active")#}" target="mainframe">{$L['menu_user_active']}</a></li>
	</div>
	</div>
	<br/>
	<div class="menu_box">
	<div class="title" onClick="expand(2);"><img id="img_2" align="absmiddle" src="{$admin_tpl_dir}images/menu_open.gif" border=0>{$L['menu_email']}</div>
	<div id="box_2">
	<li><a href="{#urr("admincp","item=email&action=setting")#}" target="mainframe">{$L['menu_email_setting']}</a></li>
	<li><a href="{#urr("admincp","item=email&action=mail_test")#}" target="mainframe">{$L['menu_email_test']}</a></li>
	</div>
	</div>
	<br/>
	<div class="menu_box">
	<div class="title" onClick="expand(3);"><img id="img_3" align="absmiddle" src="{$admin_tpl_dir}images/menu_open.gif" border=0>{$L['menu_other']}</div>
	<div id="box_3">
	<li><a href="{#urr("admincp","item=verycode")#}" target="mainframe">{$L['menu_verycode']}</a></li>
	</div>
	</div>
	<br/>
<!--#}elseif($op =='file'){#-->	
	<div class="menu_box">
	<div class="title" onClick="expand(1);"><img id="img_1" align="absmiddle" src="{$admin_tpl_dir}images/menu_open.gif" border=0>{$L['menu_files']}</div>
	<div id="box_1">
	<li><a href="{#urr("admincp","item=files&action=index")#}" target="mainframe">{$L['menu_files_list']}</a></li>
	<li><a href="{#urr("admincp","item=tag")#}" target="mainframe">{$L['menu_tag']}</a></li>
	</div>
	</div>
	<br/>
	<div class="menu_box">
	<div class="title" onClick="expand(2);"><img id="img_2" align="absmiddle" src="{$admin_tpl_dir}images/menu_open.gif" border=0>{$L['menu_public']}</div>
	<div id="box_2">
	<li><a href="{#urr("admincp","item=public")#}" target="mainframe">{$L['menu_public_setting']}</a></li>
	<li><a href="{#urr("admincp","item=public&action=category")#}" target="mainframe">{$L['menu_public_category']}</a></li>
	<li><a href="{#urr("admincp","item=public&action=viewfile")#}" target="mainframe">{$L['menu_public_viewfile']}</a></li>
	</div>
	</div>
	<br/>
	<div class="menu_box">
	<div class="title" onClick="expand(3);"><img id="img_3" align="absmiddle" src="{$admin_tpl_dir}images/menu_open.gif" border=0>{$L['menu_report']}</div>
	<div id="box_3">
	<li><a href="{#urr("admincp","item=report")#}" target="mainframe">{$L['menu_report_setting']}</a></li>
	<li><a href="{#urr("admincp","item=report&action=user")#}" target="mainframe">{$L['menu_report_user']}</a></li>
	<li><a href="{#urr("admincp","item=report&action=system")#}" target="mainframe">{$L['menu_report_system']}</a></li>
	<li><a href="{#urr("admincp","item=report&action=file_unlocked")#}" target="mainframe">{$L['menu_report_file_unlocked']}</a></li>
	</div>
	</div>
	<br/>
<!--#}elseif($op =='plugin'){#-->
	<div class="menu_box">
	<div class="title" onClick="expand(1);"><img id="img_1" align="absmiddle" src="{$admin_tpl_dir}images/menu_open.gif" border=0>{$L['menu_plugins_cp']}</div>
	<div id="box_1">
	<li><a href="{#urr("admincp","item=plugins")#}" target="mainframe">{$L['menu_plugins_index']}</a></li>
	<li><a href="{#urr("admincp","item=plugins&action=shortcut")#}" target="mainframe">{$L['menu_plugins_cp_setting']}</a></li>
	</div>
	</div>
	<br/>
	<!--#if($settings['open_plugins_cp']){#-->
	<div class="menu_box">
	<div class="title" onClick="expand(2);"><img id="img_2" align="absmiddle" src="{$admin_tpl_dir}images/menu_open.gif" border=0>{$L['menu_plugins_shortcut']}</div>
	<div id="box_2">
	<!--#
	if(count($s_plugins_arr)){
		foreach($s_plugins_arr as $v){
	#-->
		<li>{#get_name($v['plugin_name'],$v['admin_url'],$v['actived'],'mainframe')#}</li>
	<!--#
		}
		unset($s_plugins_arr);
	}else{
	#-->
		<li>{$L['cp_plugin_not_found']}</li>
	<!--#
	}
	#-->
	</div>
	</div>
	<br/>
	<!--#}#-->
	<!--#if($settings['open_plugins_last']){#-->
	<div class="menu_box">
	<div class="title" onClick="expand(3);"><img id="img_3" align="absmiddle" src="{$admin_tpl_dir}images/menu_open.gif" border=0>{$L['menu_plugins_last_actived']}</div>
	<div id="box_3">
	<!--#
	if(count($plugins_arr)){
		foreach($plugins_arr as $v){
	#-->
		<li>{#get_name($v['plugin_name'],$v['admin_url'],$v['actived'],'mainframe')#}</li>
	<!--#
		}
		unset($plugins_arr);
	}
	#-->
	</div>
	</div>
	<br/>
	<!--#}#-->
<!--#}elseif($op =='lang_tpl'){#-->	
	<div class="menu_box">
	<div class="title" onClick="expand(1);"><img id="img_1" align="absmiddle" src="{$admin_tpl_dir}images/menu_open.gif" border=0>{$L['menu_template_language']}</div>
	<div id="box_1">
	<li><a href="{#urr("admincp","item=lang")#}" target="mainframe">{$L['menu_lang_manage']}</a></li>
	<li><a href="{#urr("admincp","item=templates")#}" target="mainframe">{$L['menu_template_manage']}</a></li>
	</div>
	</div>
	<br/>
<!--#}elseif($op =='extend'){#-->	
	<div class="menu_box">
	<div class="title" onClick="expand(1);"><img id="img_1" align="absmiddle" src="{$admin_tpl_dir}images/menu_open.gif" border=0>{$L['menu_extend']}</div>
	<div id="box_1">
	<li><a href="{#urr("admincp","item=advertisement")#}" target="mainframe">{$L['menu_adv_manage']}</a></li>
	<li><a href="{#urr("admincp","item=link")#}" target="mainframe">{$L['menu_link_manage']}</a></li>
	<li><a href="{#urr("admincp","item=announce")#}" target="mainframe">{$L['menu_announce_manage']}</a></li>
	<li><a href="{#urr("admincp","item=navigation")#}" target="mainframe">{$L['menu_navigation_manage']}</a></li>
	<li><a href="{#urr("admincp","item=credit")#}" target="mainframe">{$L['menu_credit_manage']}</a></li>
	<li><a href="{#urr("admincp","item=comment")#}" target="mainframe">{$L['menu_comment_manage']}</a></li>
	<li><a href="{#urr("admincp","item=seo")#}" target="mainframe">{$L['menu_seo_manage']}</a></li>
	<li><a href="{#urr("admincp","item=union")#}" target="mainframe">{$L['menu_union_manage']}</a></li>
	<li><a href="{#urr("admincp","item=gallery")#}" target="mainframe">{$L['menu_gallery_manage']}</a></li>
	</div>
	</div>
	<br/>
	<div class="menu_box">
	<div class="title" onClick="expand(2);"><img id="img_2" align="absmiddle" src="{$admin_tpl_dir}images/menu_open.gif" border=0>{$L['menu_datacall_manage']}</div>
	<div id="box_2">
	<li><a href="{#urr("admincp","item=datacall&action=js")#}" target="mainframe">{$L['menu_datacall_js']}</a></li>
	<li><a href="{#urr("admincp","item=datacall&action=sql")#}" target="mainframe">{$L['menu_datacall_sql']}</a></li>
	<li><a href="{#urr("admincp","item=datacall&action=arr")#}" target="mainframe">{$L['menu_datacall_arr']}</a></li>
	</div>
	</div>
	<br/>
<!--#}elseif($op =='tool'){#-->	
	<div class="menu_box">
	<div class="title" onClick="expand(1);"><img id="img_1" align="absmiddle" src="{$admin_tpl_dir}images/menu_open.gif" border=0>{$L['menu_database_manage']}</div>
	<div id="box_1">
	<li><a href="{#urr("admincp","item=database&action=optimize")#}" target="mainframe">{$L['menu_database_optimize']}</a></li>
	<li><a href="{#urr("admincp","item=database&action=backup")#}" target="mainframe">{$L['menu_database_backup']}</a></li>
	<li><a href="{#urr("admincp","item=database&action=restore")#}" target="mainframe">{$L['menu_database_restore']}</a></li>
	</div>
	</div>
	<br/>
	<div class="menu_box">
	<div class="title" onClick="expand(2);"><img id="img_2" align="absmiddle" src="{$admin_tpl_dir}images/menu_open.gif" border=0>{$L['menu_system_setting']}</div>
	<div id="box_2">
	<li><a href="{#urr("admincp","item=cache&action=search_index")#}" target="mainframe">{$L['menu_search_index']}</a></li>
	<li><a href="{#urr("admincp","item=cache&action=update")#}" target="mainframe">{$L['menu_cache_manage']}</a></li>
	<li><a href="{#urr("admincp","item=version")#}" target="mainframe">{$L['menu_version_check']}</a></li>
	</div>
	</div>
	<br/>
<!--#}else{#-->	
	<div class="menu_box">
	<div class="title" onClick="expand(1);"><img id="img_1" align="absmiddle" src="{$admin_tpl_dir}images/menu_open.gif" border=0>{$L['menu_system_common']}</div>
	<div id="box_1">
	<!--#
	if(count($cs_menus)){
		foreach($cs_menus as $v){
	#-->
	<li><a href="{#urr("admincp","$v[url]")#}" target="mainframe">{$v['title']}</a></li>
	<!--#
		}
		unset($cs_menus);
	#-->	
	<li><a href="{#urr("admincp","item=sitemap&action=setting")#}" class="txtblue" target="mainframe">{$L['menu_system_common_setting']}</a></li>
	<!--#
	}else{
	#-->
	<li>{$L['none_common_menu']}</li>
	<!--#
	}
	#-->
	</div>
	</div>
	<br/>
<!--#}#-->	
	<div class="menu_box">
	<div class="title"><img align="absmiddle" src="{$admin_tpl_dir}images/menu_open.gif" border=0><a href="{#urr("admincp","item=users&action=adminlogout")#}" onClick="return confirm('{$L['system_logout_confirm']}');" target="mainframe">{$L['menu_logout']}</a></div>
	</div>
	<br/>
</div>
</body>
</html>
