<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=$da['title']?></title>
<link rel="stylesheet" type="text/css" href="<?=$da['p']?>/css/webmain.css"/>
<link rel="stylesheet" type="text/css" id="mainstylecss" href="<?=$da['stylecss']?>"/>
<link rel="stylesheet" type="text/css" href="web/res/fontawesome/css/font-awesome.min.css">
<!--[if IE 7 ]><link rel="stylesheet" type="text/css" href="web/res/fontawesome/css/font-awesome-ie7.min.css"><![endif]-->
<link rel="stylesheet" type="text/css" href="web/res/mode/menu/jquery-rockmenu.css"/>
<link rel="stylesheet" type="text/css" href="mode/plugin/css/jquery-rockdatepicker.css"/>
<link rel="shortcut icon" href="<?=$da['icon']?>" />
<script type="text/javascript" src="web/res/js/jquery.1.9.1.min.js"></script>
<script type="text/javascript" src="js/js.js"></script>
<script type="text/javascript" src="js/worker.js"></script>
<script type="text/javascript" src="js/base64-min.js"></script>
<script type="text/javascript" src="<?=$da['p']?>/<?=$da['d']?><?=$da['m']?>/<?=$da['m']?>public.js"></script>
<script type="text/javascript" src="<?=$da['p']?>/<?=$da['d']?><?=$da['m']?>/<?=$da['m']?>homescript.js"></script>
<script type="text/javascript" src="web/res/mode/menu/jquery-rockmenu.js"></script>
<script type="text/javascript">
<?php 
$maincolor = getconfig('apptheme','#1389D3');
?>
js.servernow	= '<?=$da['now']?>';
PROJECT			= '<?=$da['p']?>';
adminip			= '<?=$da['ip']?>';
VERSION			= '<?=VERSION?>';
companymode		= <?=(getconfig('companymode')? 'true' : 'false')?>;
var show_key 	= '<?=$da['showkey']?>',homeurl = '<?=$da['homeurl']?>',homename='<?=$da['homename']?>';
function globalbody(){
	adminid		= '<?=$da['adminid']?>';
	adminface	= '<?=$da['face']?>';
	adminname	= '<?=$da['adminname']?>';
	adminuser	= '<?=$da['adminuser']?>';
	adminstyle	= '<?=$da['style']?>';
	admintype	= '<?=$da['admintype']?>';
	deptallname	= '<?=$da['my']['deptallname']?>';
	adminranking= '<?=$da['my']['ranking']?>';
}
datesss = 'background:url(mode/icons/date.png) no-repeat right';
maincolor = '<?=$maincolor?>';
homestyle = 1;
</script>
<style>
<?php
$maincolora= c('image')->colorTorgb($maincolor);
$maincolors= ''.$maincolora[0].','.$maincolora[1].','.$maincolora[2].'';
echo 'body{--main-color:'.$maincolor.'}';
?>
.topactcss:hover{background:rgba(0,0,0,0.1);cursor:pointer}
.topactive{background:rgba(0,0,0,0.2)}
.topactive1,.topactive1:hover{background:white;color:#000000}
table{background:none}
.homeblank1{display:none}
#tabs_title>li{padding:8px 10px;border-bottom:1px #f1f1f1 solid}
#tabs_title span{background-color:#e1e1e1;color:white;border-radius:50%;display:inline-block;height:16px;width:16px;line-height:14px;text-align:center;}
</style>
</head>
<body style="padding:0px;margin:0px;overflow:hidden;" scroll="no">

<div id="topdimenu" class="box" style="background-color:white;position:absolute;top:60px;z-index:9;display:none;border:none">
	<ul style="margin:0;float:left;border-right:1px #eeeeee solid">
	<?php foreach($da['topmenu'] as $k=>$rs){
		$str = '<li class="topactcss" style="padding:8px 10px;border-bottom:1px #f1f1f1 solid" pmenuid="'.$rs['id'].'" title="'.$rs['name'].'" icon="'.$rs['icons'].'">';
		if($rs['icons'])$str.='<i class="icon-'.$rs['icons'].'"></i> ';
		$str.=''.$rs['name'].'</li>';
		echo $str;
	}
	?>
	</ul>
	<div style="overflow:auto;height:200px;width:200px;float:left;border-left:1px #eeeeee solid" id="menulist">
		<ul class="list-group" style="margin:0" id="menushow">
		</ul>
	</div>
</div>

<div id="tabsmenu" class="box" style="background-color:white;position:absolute;top:60px;z-index:9;display:none;border:none;width:150px">
	<ul id="tabs_title" style="margin:0;"></ul>
</div>

<div id="mainindexhome" style="background:url(<?=$da['beijing']?>) top center;width:100%;height:100%;zoom:1;z-index:-10;background-color:#2D7D9A" >
	<div style="height:60px;overflow:hidden;background:rgba(0,0,0,0.3);color:white" align="center" id="topheaderid">
		<div style="max-width:<?=$da['homewidth']?>;" align="left">
		<table border="0" height="60" width="100%" cellspacing="0" cellpadding="0"><tr>
		<td style="font-size:18px" nowrap class="cursor"><img src="<?=$da['logo']?>" style="display:inline;" align="absmiddle" height="24" width="24"> <?=$da['title']?></td>
		<td><div style="width:20px"></div></td>		
		<td id="zhuind01" nowrap onclick="changetabs('home')" class="topactcss topactive"><div style="padding:0px 20px"><i class="icon-home"></i> 首页</div></td>
		
		<td id="zhuind02" style="display:none" nowrap class="topactcss"><div id="zhuind02_text" style="padding:0px 20px">工作区</div></td>
		
		<td width="100%" align="right"></td>
		
		<td nowrap id="indesearchmenu" class="topactcss"><div style="padding:0px 20px"><i class="icon-search"></i></div></td>
		<td nowrap id="zhuind03" class="topactcss"><div style="padding:0px 20px"><i class="icon-list-ul"></i> 菜单<font color="red" style="display:none" id="zhuhongdi">●</font></div></td>
		
		<?php 
		if(getconfig('mobile_show',true))echo '<td nowrap onclick="openmobile()" class="topactcss"><div style="padding:0px 20px"><i class="icon-tablet"></i> 手机版</div></td>';
		if(getconfig('reim_show', true))echo '<td nowrap onclick="openreim(this)" class="topactcss"><div style="padding:0px 20px"><span title="REIM即时通信"><i class="icon-comments-alt"></i> REIM <font class="badge red" id="reim_stotal" style="font-size:12px;background:red;color:white"></font></span></div></td>';
		?>
		<td nowrap class="topactcss" id="indexuserl">
			<div style="padding:0px 20px">
				<img style="width:18px;height:18px;border-radius:50%" id="myface" src="<?=$da['face']?>" align="absmiddle">
				<?=$da['adminname']?><span class="caret"></span>
			</div>
		</td>
		</tr>
		</table>
		</div>
	</div>

		
	<div id="indexcontent" style="overflow:auto;position:relative;" align="center">
		<div id="content_allmainview" style="max-width:<?=$da['homewidth']?>;" align="left"></div>
	</div>

</div>



<script src="mode/bootstrap3.3/bootstrap.min.js"></script>
<script type="text/javascript" src="mode/bootstrapplugin/jquery-bootstable.js"></script><!--表格插件-->
<script type="text/javascript" src="mode/bootstrapplugin/jquery-bootsform.js"></script><!--表单插件-->
<script type="text/javascript" src="mode/bootstrapplugin/jquery-bootstree.js"></script><!--表格树形插件-->
<script type="text/javascript" src="mode/plugin/jquery-rockdatepicker.js"></script><!--日期选择插件-->
<script type="text/javascript" src="web/res/js/jquery-imgview.js"></script><!--图片预览-->
<script type="text/javascript" src="web/res/perfectscrollbar/jquery.mousewheel.js"></script><!--鼠标-->
<script type="text/javascript" src="web/res/js/jquery-rockupload.js"></script><!--上传插件-->
<script type="text/javascript" src="web/res/js/jquery-changeuser.js"></script><!--人员选择-->
<script type="text/javascript" src="web/res/mode/calendar/jquery-rockcalendar.js"></script><!--日期插件-->
<script type="text/javascript" src="web/res/mode/calendar/jquery-rocklunar.js"></script><!--农历-->
<script type="text/javascript" src="js/option.js"></script><!--数据选项-->
<script type="text/javascript" src="web/res/js/notify.js"></script><!--通知提醒插件-->
<script type="text/javascript" src="mode/plugin/jquery-rockmodels.js"></script><!--弹出提示插件-->
</body>
</html>