<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title><?php echo $this->_var['row']['webtitle']; ?><?php echo $this->_var['cfg']['edition']; ?></title>

<link href="themes/default/style.css" rel="stylesheet" type="text/css" media="screen"/>
<link href="themes/ico.css" rel="stylesheet" type="text/css" media="screen"/>
<link href="themes/css/core.css" rel="stylesheet" type="text/css" media="screen"/>
<link href="themes/css/print.css" rel="stylesheet" type="text/css" media="print"/>
<!--[if IE]>
<link href="themes/css/ieHack.css" rel="stylesheet" type="text/css" />
<![endif]-->
<script src="javascripts/speedup.js" type="text/javascript"></script>
 <script src="javascripts/jquery-1.7.1.js" type="text/javascript"></script>
<script src="javascripts/jquery.cookie.js" type="text/javascript"></script>
<script src="javascripts/jquery.validate.js" type="text/javascript"></script>
<script src="javascripts/jquery.bgiframe.js" type="text/javascript"></script>
<script src="javascripts/jquery.SuperSlide.2.1.js"  type="text/javascript"></script>


 <script src="bin/dwz.min.js" type="text/javascript"></script> 
  <script src="javascripts/dwz.regional.zh.js" type="text/javascript"></script>
  <script src="javascripts/dwz.database.js" type="text/javascript"></script>
  
<script type="text/javascript">
$(function(){
	DWZ.init("dwz.frag.xml", {
//		loginUrl:"loginsub.html", loginTitle:"登录",	// 弹出登录对话框
		loginUrl:"login.html",	// 跳到登录页面
		statusCode:{ok:200, error:300, timeout:301}, //【可选】
		pageInfo:{pageNum:"pageNum", numPerPage:"numPerPage", orderField:"orderField", orderDirection:"orderDirection"}, //【可选】
		debug:false,	// 调试模式 【true|false】
		callback:function(){
			initEnv();
			$("#themeList").theme({themeBase:"themes"});
		}
	});
});
//清理浏览器内存,只对IE起效,FF不需要
//关闭页面提示
if ($.browser.msie) {
	window.setInterval("CollectGarbage();", 10000);
}
    window.onbeforeunload = function (e) {
        e = e || window.event;
        var y = e.clientY
        if (y <= 0
        || y >= Math.max(document.body.clientHeight, document.documentElement.clientHeight)
        )
            e.returnValue = "你确认关闭浏览器窗口？！！";
    }
</script>
<style type="text/css">
<!--
.STYLE1 {font-size: 16px}
.STYLE10 {
	font-size: 16px;
	color: #FF0000;
}
-->
</style>
</head>

<body  >
<style type="text/css">
<!--
.nLi{position:relative; z-index:1;}
.sub1 div{background:#fff;height: 25px;color:#999;}
.sub1 div a{height: 25px;width:104px;display:block;line-height:25px;padding:0 8px;}
.sub1 div a span{float:right;display:block;width: 12px;height: 12px;margin-top:7px;}
.sub1 div a:hover{background:#f5f5f5;text-decoration:none;}
.STYLE4 {color: #FF0000}
-->
</style>
	<div id="layout">
		<div id="header">
			<div class="headerNav">
				
				<ul class="nav">
		
<li><a href="http://www.010xr.com/" target="_blank"><b>新睿社区</b></a></li>
					<li><a href="http://010xr.com" target="_blank"><b>商业源码</b></a></li>
					<li><a href="http://010xr.com" target="_blank"><b>破解模板</b></a></li>

					<li><a href="<?php echo $this->_var['row']['fzgj']; ?>" target="navTab" rel="page1"><b>辅助工具</b></a></li>
					<li class="nLi" ><a href="javascript:" >用户:<?php echo $_SESSION['username']; ?></a>
						<ul class="sub1" style="left:-38px; top:12px;  position:absolute;border:none;width:120px;background:transparent;padding-top:10px;">
							<div style="margin-top:5px;"><a style="line-height:25px;color:#999;" href="index.php?action=user&do=editpass&id=<?php echo $_SESSION['userid']; ?>" target="dialog"><span class="useredit"></span>用户设置</a></div>
							<div><a href="index.php?action=user&do=logout" style="line-height:25px;color:#999;"><span class="userlogout"></span>退出</a></div>
						</ul>
					</li>
					<li ><a href="index.php?action=smsmail&do=messlist" target="navTab" rel="messlist">消息</a></li>
				
						
					
					</li>
					
					<li ><a href="index.php?action=user&do=logout">退出</a></li>
				</ul>
				<script  type="text/javascript">
				jQuery(".nav").slide({type:"menu",titCell:".nLi", targetCell:".sub1", effect:"slideDown", delayTime:300 ,triggerTime:0, returnDefault:false});
				</script>
				<ul class="themeList" id="themeList">
					<li theme="silver"><div class="selected">银色</div></li>
				
					<li theme="default"><div >蓝色</div></li>
					<li theme="green"><div>绿色</div></li>
					<!--<li theme="red"><div>红色</div></li>-->
					<li theme="purple"><div>紫色</div></li>
				
					<li theme="azure"><div>天蓝</div></li>
				</ul>
			</div>
		</div>

		<div id="leftside">
			<div id="sidebar_s">
				<div class="collapse">
					<div class="toggleCollapse"><div></div></div>
				</div>
			</div>
			<div id="sidebar">
				<div class="toggleCollapse"><h2>主菜单</h2><div>收缩</div></div>
				<div class="accordion" fillSpace="sidebar">
					<div class="accordionHeader">
					
						  <h2><span>Folder</span>快捷操作</h2>
</div>
<div class="accordionContent">
  <p align="center">&nbsp;</p>
  <p align="center"><a href="?action=info&amp;do=new" target="dialog" height="555" width="600"><img src="indexima/xzdj.png" width="50" height="50" /><br />
  </a><a href="?action=info&amp;do=new" target="dialog" height="555" width="600"><br>
    新增登记</a></p>
  <p align="center">&nbsp;</p>
  <p align="center"><a href="index.php?action=info" target="navTab" rel="info"><img src="indexima/yyxx.png" width="50" height="50" /><br />
    <br>
    预约信息</a></p>
  <p align="center">&nbsp;</p>
  <p align="center"><a href="index.php?action=sell" target="navTab" rel="sell"><img src="indexima/dzxx.png" width="50" height="50" /><br />
    <br>
    到诊信息</a></p>
  <p align="center">&nbsp;</p>
  <p align="center"><a href="?action=data&amp;do=export&amp;id=1" target="dialog"><img src="indexima/sjdc.png" alt="rerer" width="50" height="50" /><br />
    <br>
    数据导出</a></p>
</div>
					<div class="accordionHeader">
						<h2><span>Folder</span>常用操作</h2>
					</div>
					<div class="accordionContent">
						<ul class="tree treeFolder">
							<li><a>基础数据</a>
								<ul>
									<li><a href="index.php?action=info" target="navTab" rel="info">预约信息</a></li>
									<li><a href="index.php?action=sell" target="navTab" rel="sell">到诊信息</a></li>
									<!--<li><a >医院信息</a>
										<ul>
										<?php $_from = $this->_var['list2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'row_0_78378400_1458320093');if (count($_from)):
    foreach ($_from AS $this->_var['row_0_78378400_1458320093']):
?>
											<li><a href="index.php?action=section&tid=<?php echo $this->_var['row_0_78378400_1458320093']['id']; ?>" target="navTab" rel="section"><?php echo $this->_var['row_0_78378400_1458320093']['title']; ?></a></li>
										<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
									<!--	</ul>
									</li>
									<li><a href="index.php?action=info&list=public" target="navTab" rel="public">公共客户</a></li>
									<li><a href="index.php?action=zhiliao" target="navTab" rel="zhiliao">现场咨询记录</a></li>
									<li><a href="?action=zhtj&do=list5" target="navTab" rel="member">会员记录</a></li>
									<li><a href="?action=plug&do=couponlist" target="navTab" rel="yhq">优惠券管理</a></li>-->
								</ul>
							</li>
						  <li><a>综合统计</a>
							  <ul>

								  <li><a href="?action=zhtj&do=list1" target="navTab" rel="zhtj">已到院客户</a></li>
								  <li><a href="?action=zhtj&do=list2" target="navTab" rel="zhtj">未到院客户</a></li>
								  <!--<li><a href="?action=zhtj&do=list3" target="navTab" rel="zhtj">到院已消费客户</a></li>-->
								  <!--<li><a href="?action=zhtj&do=list4" target="navTab" rel="zhtj">到院未消费客户</a></li>-->
							  </ul>
							</li>
							<li><a>统计报表</a>
								<ul>
<li><a href="?action=zhtj&do=list7" target="navTab" rel="zlxm">预约病种统计</a></li>
									<li><a href="index.php?action=report&do=t1" target="navTab" rel="reportt1">区域统计表</a></li>
									<li><a href="index.php?action=report&do=t2" target="navTab" rel="reportt2">渠道统计表</a></li>
									<li><a href="index.php?action=report&do=t5" target="navTab" rel="reportt5">预约统计表</a></li>
									<li><a href="?action=zhtj&do=list6" target="navTab" rel="keyword">关键词统计</a></li>
								</ul>
							</li>
					  </ul>
					</div>
					<?php if ($_SESSION['roleid'] == "1"): ?>	
					<div class="accordionHeader">
						<h2><span>Folder</span>系统管理</h2>
					</div>
					<div class="accordionContent">
						<ul class="tree treeFolder ">
							
							<li><a>配置管理</a>
								<ul>
									<li><a href="?action=config&do=sys" target="navTab" rel="sys">系统设置</a></li>
									<li><a href="index.php?action=config" target="navTab" rel="config">基础配置</a></li>
									<li><a href="?action=config&do=sms" target="navTab" rel="sys">短信配置</a></li>
									<li><a href="?action=config&do=pricelist" target="navTab" rel="sys">价格设置</a></li>
								</ul>
							</li>
							 <li><a>用户管理</a>
								<ul>
									<li><a href="index.php?action=role" target="navTab" rel="role">用户组设定</a></li>
									<li><a href="index.php?action=user" target="navTab" rel="user">用户列表</a></li>
									<li><a href="?action=user&do=listzx" target="navTab" rel="userzx">执行人员</a></li>		
								</ul>
							</li>
							<li><a>数据管理</a>
								<ul>
									<li><a href="index.php?action=data&do=backup" target="navTab" rel="backup">数据备份</a></li>
									<li><a href="index.php?action=data&do=recover" target="navTab" rel="backup">数据下载</a></li>
									<li><a href="?action=data&do=export&id=1" target="dialog">数据导出</a></li>
								</ul>
							</li>
							<li><a href="?action=data&do=record&tid=" target="navTab" rel="record">日志&缓存</a></li>
							<li><a href="?action=info&do=log" target="navTab" rel="log">客户操作日志</a></li>
</ul>
					</div>
					<?php endif; ?>
				
					<div class="accordionContent">
						<ul class="tree treeFolder ">
					
						</ul>
					</div>
				</div>

			</div>
		</div>
		<div id="container">
			<div id="navTab" class="tabsPage">
				<div class="tabsPageHeader">
					<div class="tabsPageHeaderContent">
						<ul class="navTab-tab">
							<li tabid="main" class="main"><a href="javascript:void(0)"><span><span class="home_icon">我的工作台</span></span></a></li>
						</ul>
					</div>
					<div class="tabsLeft">left</div>
					<div class="tabsRight">right</div>
					<div class="tabsMore">more</div>
				</div>
				<ul class="tabsMoreList">
					<li><a href="javascript:void(0)">主页</a></li>
				</ul>
				<div class="navTab-panel tabsPageContent layoutBox">
					<div class="page unitBox">
						<div class="pageFormContent" layoutH="20" >
						
						<div class="richeng">
						  <div align="center">
						  <a href="?action=info&amp;do=new" target="dialog" height="400" width="600" class="work">
						  <a href="?action=info&amp;do=new" target="dialog" height="550" width="600"></a>
						  <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" >
                            <tr>
                              <td height="50"><div align="center" class="STYLE1">
                                -- <?php echo $this->_var['row']['webtitle']; ?>
                              -- 便捷提醒 </span>  </div> </tr>
                            <tr>
                              <td height="30" ><div align="center" class="STYLE10">今日有【 <?php echo $this->_var['row']['jryy']; ?> 】个预约客人可能到院 </span>                            
                              </div>                            
                            </tr>
                            <tr>
                              <td height="30" ><div align="center" class="STYLE10">昨天有【 <?php echo $this->_var['row']['jrsms']; ?> 】条回复短信没有处理</span>
                              </div>                            
                            </tr>
                            <tr>
                              <td height="30" ><div align="center" class="STYLE10">今日有【 <?php echo $this->_var['row']['jrvisits']; ?> 】个客户需要再次回访</span>                              
                              </div>                            
                            </tr>
                            <tr>
                              <td height="50%" ><div align="center" class="STYLE1"><a href="http://iphone.gzsky100.com" target="_blank" >号码获取系统</a></div>                                
                              </tr>
                          </table>
						  </div>
						</div>
						</div>
					</div>
			  </div>
					
		  </div>
				
				
	  </div>
</div>

		<div id="taskbar" style="left:0px; display:none;">
			<div class="taskbarContent">
				<ul></ul>
			</div>
</div>
			<div class="taskbarLeft taskbarLeftDisabled" style="display:none;">taskbarLeft</div>
			<div class="taskbarRight" style="display:none;">taskbarRight</div>
		

<div id="footer">
	
	<a class="button" href="?action=plug&do=publicshow&src=<?php echo $this->_var['row']['mapsrc']; ?>" target="dialog" rel="page1" max="true" ><span>地图查找</span></a>
	<a class="button" href="tpl/price/price_search.htm" target="dialog" rel="price" height="160" ><span>价格查询</span></a>
	<a class="button" href="?action=plug&do=publicshow&src=http://xiuxiu.web.meitu.com/?xiuxiu" target="dialog" rel="page2" max="true" ><span>美图秀秀</span></a>
	<a class="button" href="index.php?action=info&yyat=<?php echo $this->_var['row']['today']; ?>" target="navTab" rel="cue"> <span>今日预计到诊<font style="color:#f00;" > 【 <?php echo $this->_var['row']['jryy']; ?> 】 </font>人</span></a>
	<?php echo $this->_var['row']['webtitle']; ?></div>


	<div class="resizable"></div>


<div id="alertBackground" class="alertBackground"></div>
	<div id="dialogBackground" class="dialogBackground"></div>

	<div id='background' class='background'></div>
	<div id='progressBar' class='progressBar'>玩命加载中，我想静静...</div>
	
</body>
</html>