<!--#
##
#	Project: PHPDISK File Storage Solution
#	This is NOT a freeware, use is subject to license terms.
#
#	Site: http://www.phpdisk.com
#
#	$Id: my_nav_bar.tpl.php 64 2016-07-30 14:01:18Z along $
#
#	Copyright (C) 2008-2016 PHPDisk Team. All Rights Reserved.
#
##
#-->
<?php !defined('IN_PHPDISK') && exit('[PHPDisk] Access Denied!'); ?>
<script type="text/javascript">
$(document).ready(function(){
	$("#ann_box li:not(:first)").css("display","none");
	var B=$("#ann_box li:last");
	var C=$("#ann_box li:first");
	setInterval(function(){
	if(B.is(":visible")){
		C.fadeIn(500).addClass("in");B.hide()
	}else{
		$("#ann_box li:visible").addClass("in");
		$("#ann_box li.in").next().fadeIn(500);
		$("li.in").hide().removeClass("in")}
	},3000)
})
</script>
<div class="mydisk_file_bar">
<div class="l">
<div><h1 style="float:left">{$nav_arr['title']}</h1><!--#include sub/block_announce#--></div>
<ul>
	<li><a href="javascript:void(0);" onclick="document.location.reload();"><img src="images/reload.gif" border="0" align="absmiddle" /><?=__('md_reload')?></a>
	<a href="javascript:;" onclick="abox('{$nav_arr[a_folder_create]}','<?=__('md_folder_create')?>',450,320);"><img src="images/new_folder.gif" border="0" align="absmiddle" /><?=__('md_folder_create')?></a>
	<a href="javascript:;" id="pl_u" onclick="abox('{$nav_arr['a_upload_file']}','<?=__('upload_file')?>',650,460);"><img src="images/upload_file_icon.gif" border="0" align="absmiddle" /><?=__('upload_file')?></a>
	<!--#if(display_plugin('phpdisk_ftp','open_phpdisk_ftp_plugin',1,0)){#-->
	<div id="cl_u" class="menu_thumb">
	<a href="javascript:;" onclick="abox('{#urr("mydisk","item=files&action=ftp_upload")#}','FTP上传',650,450);"><img src="images/upload_file_icon.gif" border="0" align="absmiddle" />FTP上传</a>
	</div>
	<script type="text/javascript">on_menu('pl_u','cl_u','y','','');</script>
	<!--#}#-->
	<!--#if($action!='search'){#-->
	<a href="{$nav_arr['a_list_detail']}"><img src="images/list_icon.gif" border="0" align="absmiddle" /><?=__('thumb_view')?></a>
	<a href="javascript:;" id="p_sfa"><img src="images/share_folder.gif" border="0" align="absmiddle" /><?=__('share_folder')?></a>
	<div id="c_sfa" class="menu_pop">
	<a href="javascript:;" onclick="abox('mydisk.php?item=share&action=share_folder&sel_type=corp','共享给公司',600,350);">共享给公司</a>
	<a href="javascript:;" onclick="abox('mydisk.php?item=share&action=share_folder&sel_type=depart','共享给部门',600,350);">共享给部门</a>
	<!--#if(get_group_power($pd_gid,'can_share_folder_to_other_depart',1)){#-->
	<a href="javascript:;" onclick="abox('mydisk.php?item=share&action=share_folder&sel_type=other_depart','共享给其他部门',600,350);">共享给其他部门</a>
	<!--#}#-->
	<a href="javascript:;" onclick="abox('mydisk.php?item=share&action=share_folder&sel_type=buddy','共享给好友',600,350);">共享给好友</a>
	</div>
	<script type="text/javascript">on_menu('p_sfa','c_sfa','y','','');</script>
	<!--#}#-->
	<!--#if($folder_id>0){#-->
	<a href="javascript:;" onclick="abox('mydisk.php?item=folders&action=folder_modify&folder_id={$folder_id}','修改文件夹',450,320);"><img src="images/edit_folder.gif" border="0" align="absmiddle" />修改文件夹</a>
	<a href="javascript:;" onclick="abox('mydisk.php?item=folders&action=folder_delete&folder_id={$folder_id}','删除文件夹',400,200);"><img src="images/del_folder.gif" border="0" align="absmiddle" />删除文件夹</a>
	<!--#}#-->
	</li>
</ul>
</div>
<div class="r">
	<div class="tit"><?=__('disk_info')?>:</div>
	<div class="disk_info" title="<?=__('disk_remain')?>: {$nav_arr['disk_remain']}% ({$nav_arr['disk_space']})">
	<div style="background:url(images/disk_bar.gif);width:{$nav_arr['disk_fill']}px;">&nbsp;</div>
	</div>
	<div style="color:#666">{$nav_arr['now_space']}/{$nav_arr['max_storage']} (<b>{$nav_arr['disk_percent']}%</b>)</div>
</div>
</div>
<div class="clear"></div>
