Commit 4f15562f authored by wangxinghua's avatar wangxinghua

init 2

parent f94d31f8
<?php if (!defined('THINK_PATH')) exit();?><!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>病房探视系统</title>
<link href="__APP__/__PUBLIC__/css/reset.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/zh-cn-system.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/table_form.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/dialog.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles1.css" title="styles1" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles2.css" title="styles2" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles3.css" title="styles3" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles4.css" title="styles4" media="screen" />
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/styleswitch.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/admin_common.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/dialog.js"></script>
<body>
<style type="text/css">
html{_overflow-y:scroll}
</style>
<script type="text/javascript">
function complete(msg,status){
$("input").val('');
if (status==1)
{
alertMsg(msg);
setTimeout(function(){
window.top.art.dialog({id:'alert'}).close();
},2000);
}else{
alertMsg(msg);
}
}
function alertMsg(msg)
{
window.top.art.dialog({id:'alert',content:decodeURIComponent(msg),lock:true,width:'220',height:'70'});
}
</script>
<form name="myform" action="__APP__/sys/updatepasswd" method="post" id="myform" target="iframe">
<table width="100%" class="table_form contentWrap">
<tr>
<td width="80">用户名</td>
<td><?php echo ($_SESSION['account']); ?></td>
</tr>
<tr>
<td>旧密码</td>
<td><input type="password" name="old_password" id="old_password" class="input-text"></input><font color="red">*</font></td>
</tr>
<tr>
<td>新密码</td>
<td><input type="password" name="new_password" id="new_password" class="input-text"></input><font color="red">*</font></td>
</tr>
<tr>
<td>重复新密码</td>
<td><input type="password" name="new_pwdconfirm" id="new_pwdconfirm" class="input-text"></input><font color="red">*</font></td>
</tr>
</table>
<div class="bk15"></div>
<button type="submit" class="button" name="dosubmit" style="margin-left:5px;"><img src="__APP__/Public/images/curd/b_save.png" style="vertical-align:text-bottom;"/>提交</button>
</form>
<iframe style="display:none" name="iframe"></iframe>
</body>
</html>
\ No newline at end of file
<?php if (!defined('THINK_PATH')) exit();?><!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>病房探视系统</title>
<link href="__APP__/__PUBLIC__/css/reset.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/zh-cn-system.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/table_form.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/dialog.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles1.css" title="styles1" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles2.css" title="styles2" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles3.css" title="styles3" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles4.css" title="styles4" media="screen" />
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/styleswitch.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/admin_common.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/dialog.js"></script>
<script type="text/javascript" src="__APP__/__PUBLIC__/js/datepicker/WdatePicker.js"></script>
</head>
<body>
<script language="JavaScript">
$(function(){
$("input[name='b_auth'][value='<?php echo ($vo["b_auth"]); ?>']").attr("checked", "checked");
$('a.remove').click(function(){
$(this).parent().parent().parent().parent().parent().remove();
});
if('<?php echo ($vo["id"]); ?>' == '' && '<?php echo ($is_has_rule); ?>' == '')
{
funAdd();
}
});
function complete(msg,status){
if (status==1)
{
alertMsg(msg);
if("<?php echo ($_GET['from']); ?>" != 'patient')
{
window.top.right.location.href="__APP__/authority/index";
}
else
{
window.top.right.location.reload();
}
setTimeout(function(){
window.top.art.dialog({id:'alert'}).close();
window.top.art.dialog({id:'addAuth'}).close();
},2000);
}else{
alertMsg(msg);
}
}
function alertMsg(msg)
{
window.top.art.dialog({id:'alert',content:decodeURIComponent(msg),lock:true,width:'220',height:'70'});
}
function funAdd()
{
index = 1;
if("<?php echo ($_GET['from']); ?>" == 'patient')
index = 3;
i = $('.table_form tr:eq('+index+') td:eq(0) table').size();
table = "<table><tr><td><input type=\"checkbox\" name=\"week["+i+"][]\" value=\"1\">周一 <input type=\"checkbox\" name=\"week["+i+"][]\" value=\"2\">周二 <input type=\"checkbox\" name=\"week["+i+"][]\" value=\"3\">周三 <input type=\"checkbox\" name=\"week["+i+"][]\" value=\"4\">周四 <input type=\"checkbox\" name=\"week["+i+"][]\" value=\"5\">周五 <input type=\"checkbox\" name=\"week["+i+"][]\" value=\"6\">周六 <input type=\"checkbox\" name=\"week["+i+"][]\" value=\"7\">周日 <input type=\"checkbox\" name=\"week["+i+"][]\" value=\"8\">法定假日 <font color=\"red\">*</font></td></tr><tr><td>时间:<input class=\"Wdate input-text\" type=\"text\" onClick=\"new WdatePicker({skin:'whyGreen',dateFmt:'HH:mm'})\" name=\"st[]\" style=\"width:60px\">到 <input class=\"Wdate input-text\" type=\"text\" onClick=\"new WdatePicker({skin:'whyGreen',dateFmt:'HH:mm'})\" name=\"et[]\" style=\"width:60px\"><font color=\"red\">*</font></td></tr><tr><td>人数:<input type=\"text\" name=\"number[]\" size=\"5\"><font color=\"red\">注:不填表示不限制</font></td></tr><tr><td>次数:<input type=\"text\" name=\"cishu[]\" size=\"5\"><font color=\"red\">注:不填表示不限制</font></td></tr>";
if(i > 0)
table += "<tr><td align=\"right\"><div class=\"content-menu ib-a blue line-x\"><a class=\"on remove\" href=\"javascript:;\"><em>删除</em></a></div></td></tr>"
table += "</table>";
$('.table_form tr:eq('+index+') td:eq(0)').append(table);
$('a.remove').click(function(){
$(this).parent().parent().parent().parent().parent().remove();
});
}
</script>
<style type="text/css">
html{_overflow-y:scroll}
</style><div id="closeParentTime" style="display:none"></div>
<?php if($vo["id"] > 0): ?><form name="myform" id="myform" action="__APP__/authority/update" method="post" target="iframe">
<input type="hidden" name="id" value="<?php echo ($vo["id"]); ?>">
<?php else: ?>
<form name="myform" id="myform" action="__APP__/authority/insert" method="post" target="iframe">
<input type="hidden" name="from" value="<?php echo ($_GET['from']); ?>">
<input type="hidden" name="zhuyuanhao" value="<?php echo ($_GET['zhuyuanhao']); ?>"><?php endif; ?>
<div class="pad_10">
<?php if($_GET['from'] != 'patient'): ?><div class="content-menu ib-a blue line-x">
<a class="on" href="javascript:history.go(-1)"><img src="__APP__/Public/images/curd/b_back.png" /><em>返回</em></a>
</div><?php endif; ?>
</div>
<div style='overflow-y:auto;overflow-x:hidden' class='scrolltable'>
<table width="100%" cellspacing="0" class="table_form contentWrap">
<?php if($_GET['from'] != 'patient'): ?><tr>
<th align="left">权限名称</th>
<td><input type="text" name="name" id="name" value="<?php echo ($vo["name"]); ?>" size="15"><font color="red">*</font></td>
</tr>
<?php else: ?>
<?php if(isset($_GET['bpv']) && $_GET['bpv'])
echo '<tr><td colspan="2">已勾选患者:'.rtrim($_GET['bpv'],',').'</td></tr>';
?>
<tr><td colspan="2">继承病区权限</td></tr>
<tr><td colspan="2">
<input type="radio" name="b_auth" value="0" />是,<span style="color:red">注:此处设置的权限会与病区权限叠加</span></td></tr>
<tr><td colspan="2">
<input type="radio" name="b_auth" value="1" />否,<span style="color:red">注:此处设置的权限会忽略病区的权限</span></td>
</tr><?php endif; ?>
<tr>
<th>权限规则</th>
<td>
<?php if($vo){ ?>
<?php if(is_array($vo["rule"])): $k = 0; $__LIST__ = $vo["rule"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$rule): ++$k;$mod = ($k % 2 )?><table>
<?php $t = explode('-',$rule['time']);$w = explode(',',$rule['week']); ?>
<tr>
<td>
<input type="checkbox" name="week[<?php echo ($k-1); ?>][]" <?php if(in_array(1,$w)){echo "checked";} ?> value="1">周一
<input type="checkbox" name="week[<?php echo ($k-1); ?>][]" <?php if(in_array(2,$w)){echo "checked";} ?> value="2">周二
<input type="checkbox" name="week[<?php echo ($k-1); ?>][]" <?php if(in_array(3,$w)){echo "checked";} ?> value="3">周三
<input type="checkbox" name="week[<?php echo ($k-1); ?>][]" <?php if(in_array(4,$w)){echo "checked";} ?> value="4">周四
<input type="checkbox" name="week[<?php echo ($k-1); ?>][]" <?php if(in_array(5,$w)){echo "checked";} ?> value="5">周五
<input type="checkbox" name="week[<?php echo ($k-1); ?>][]" <?php if(in_array(6,$w)){echo "checked";} ?> value="6">周六
<input type="checkbox" name="week[<?php echo ($k-1); ?>][]" <?php if(in_array(7,$w)){echo "checked";} ?> value="7">周日
<input type="checkbox" name="week[<?php echo ($k-1); ?>][]" <?php if(in_array(8,$w)){echo "checked";} ?> value="8">法定假日
<font color="red">*</font>
</td>
</tr>
<tr>
<td>
时间:<input class="Wdate" type="text" onClick="new WdatePicker({skin:'whyGreen',dateFmt:'HH:mm'})" name="st[]" style="width:60px" value="<?php echo ($t[0]); ?>">
<input class="Wdate" type="text" onClick="new WdatePicker({skin:'whyGreen',dateFmt:'HH:mm'})" name="et[]" style="width:60px" value="<?php echo ($t[1]); ?>">
<font color="red">*</font>
</td>
</tr>
<tr>
<td>
人数:<input type="text" name="number[]" size="5" value="<?php echo ($rule["number"]); ?>">
<font color="red">注:不填表示不限制</font>
</td>
</tr>
<tr>
<td>
次数:<input type="text" name="cishu[]" size="5" value="<?php echo ($rule["cishu"]); ?>">
<font color="red">注:不填表示不限制</font>
</td>
</tr>
<tr>
<td align="right">
<div class="content-menu ib-a blue line-x">
<a class="on remove" href="javascript:;"><em>删除</em></a>
</div>
</td>
</tr>
</table><?php endforeach; endif; else: echo "" ;endif; ?>
<?php }else{ ?>
&nbsp;<?php } ?>
<td></tr>
<tr><td></td><td><div class="content-menu ib-a blue line-x">
<a class="on" href="javascript:funAdd()"><em>+新增</em></a>
</div></td></tr>
<?php if($_GET['from'] != 'patient'): ?><tr>
<th>备注</th>
<td>
<textarea name="remark" id="remark" cols="50" rows="10"><?php echo ($vo["remark"]); ?></textarea>
</td>
</tr><?php endif; ?>
</table>
</div>
<div class="bk10"></div>
<?php if($_GET['from'] != 'patient'): ?><div class="btn" style="padding-left:170px;">
<button type="submit" class="button" name="dosubmit"><img src="__APP__/Public/images/curd/b_save.png" style="vertical-align:text-bottom"/>提交</button>
</div><?php endif; ?>
</div>
</form>
</div>
<iframe style="display:none" name="iframe"></iframe>
</body>
</html>
\ No newline at end of file
<?php if (!defined('THINK_PATH')) exit();?><!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>病房探视系统</title>
<link href="__APP__/__PUBLIC__/css/reset.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/zh-cn-system.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/table_form.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/dialog.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles1.css" title="styles1" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles2.css" title="styles2" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles3.css" title="styles3" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles4.css" title="styles4" media="screen" />
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/styleswitch.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/admin_common.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/dialog.js"></script>
<script type="text/javascript" src="__APP__/__PUBLIC__/js/datepicker/WdatePicker.js"></script>
</head>
<body>
<div class="subnav">
<div class="content-menu ib-a blue line-x">
</div>
</div>
<style type="text/css">
html{_overflow-y:scroll}
</style><div class="pad-lr-10">
<form name="searchform" action="__ACTION__" method="get" id="formid">
<table width="100%" cellspacing="0" class="search-form">
<tbody>
<tr>
<td><div class="explain-col">
年月:<input class="Wdate" type="text" onClick="new WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM'})" value="<?php echo ($_GET['ym']); ?>" name="ym" size="8">
时间:<input class="Wdate" type="text" onClick="new WdatePicker({skin:'whyGreen',dateFmt:'dd HH:mm:ss'})" value="<?php echo ($_GET['stime']); ?>" name="stime" size="12">
<input class="Wdate" type="text" onClick="new WdatePicker({skin:'whyGreen',dateFmt:'dd HH:mm:ss'})" value="<?php echo ($_GET['etime']); ?>" name="etime" size="12">
二维码:<input type="text" value="<?php echo ($_GET['no']); ?>" class="input-text" name="no" size="18">
动作:<select name="direction">
<option value="" <?php if($_GET['direction'] == ''): ?>selected<?php endif; ?>>请选择</option>
<option value="0" <?php if($_GET['direction'] == '0'): ?>selected<?php endif; ?>></option>
<option value="1" <?php if($_GET['direction'] == '1'): ?>selected<?php endif; ?>></option>
</select>
<button type="submit" class="button" onclick="fnsubmit('formid','__ACTION__','get');"><img src="__APP__/Public/images/curd/b_search.png" style="vertical-align:text-top"/>查询</button>
</div>
</td>
</tr>
</tbody>
</table>
<div class="table-list">
<table width="100%" cellspacing="0">
<thead>
<tr>
<th width="80">二维码编号</th>
<th width="80">被访人住院号</th>
<th width="50">动作</th>
<th width="80">时间</th>
<th width="80">闸机编号</th>
<th width="10%">操作</th>
</tr>
</thead><tbody>
<?php if($list){ ?>
<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$o): ++$i;$mod = ($i % 2 )?><tr>
<td align="center"><?php echo ($o["no"]); ?></td>
<td align="center"><?php echo ($o["zhuyuanhao"]); ?></td>
<td align="center"><?php if($o["direction"] == 1): ?><?php else: ?><?php endif; ?></td>
<td align="center"><?php echo ($o["time"]); ?></td>
<td align="center"><?php echo ($o["mid"]); ?></td>
<td align="center">
</td>
</tr><?php endforeach; endif; else: echo "" ;endif; ?>
<?php }else{ ?>
<tr><td colspan="6">没有相关记录</td></tr>
<?php } ?>
</tbody>
</table>
<div id="pages"><?php echo ($page); ?></div>
</div>
</div>
</form>
</div>
</body>
</html>
\ No newline at end of file
<?php if (!defined('THINK_PATH')) exit();?><!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>病房探视系统</title>
<link href="__APP__/__PUBLIC__/css/reset.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/zh-cn-system.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/table_form.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/dialog.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles1.css" title="styles1" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles2.css" title="styles2" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles3.css" title="styles3" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles4.css" title="styles4" media="screen" />
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/styleswitch.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/admin_common.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/dialog.js"></script>
<script type="text/javascript">
function depAdd(zhuyuanhao,type)
{
window.top.art.dialog({id:'depAdd',iframe:'__APP__/hospital/dep?zhuyuanhao='+zhuyuanhao+'&type='+type,title:'新增家属', width:'300', height:'120',lock:true}, function(){
var d = window.top.art.dialog({id:'depAdd'}).data.iframe;
d.$('#depform').submit();
return false;
}, function(){window.top.art.dialog({id:'depAdd'}).close()});
}
function depDel(zhuyuanhao,type,id)
{
window.top.art.dialog({title:'提示',content:'会将家属以及家属拥有的权限删除,确定删除吗?',lock:true,width:'200',height:'50'},function(){
$.ajax({
url:"__APP__/hospital/depdelajax",
type:"post",
dataType:"json",
data:{zhuyuanhao:zhuyuanhao,type:type,id:id},
success:function(req){
window.top.art.dialog({
id:'alert',
content:decodeURIComponent(req.info),
lock:true,
width:'220',
height:'70'
});
if(req.status == 1)
{
setTimeout(function(){
window.top.art.dialog({id:'alert'}).close();
$("input[name='id[]'][value='"+id+"']").parent().parent().remove();
},2000);
}
},
error:function(){
window.top.art.dialog({id:'alert',content:decodeURIComponent(title+'失败'),lock:true,width:'220',height:'70'});
}
});
},function(){});}
</script>
</head>
<body>
<style type="text/css">
html{_overflow-y:scroll}
</style>
<form name="searchform" action="__ACTION__" method="get" id="formid">
<table width="100%" cellspacing="0" class="search-form">
<tbody>
<tr>
<td><div class="explain-col" style="margin-top:5px;">
<?php if($_GET['type'] == 1): ?>注:陪住权限限定1人
<?php elseif($_GET['type'] == 2): ?>
注:外出检查权限限定2人<?php endif; ?>
<div style="margin-top:5px;">
<input type="hidden" name="type" value="<?php echo ($_GET['type']); ?>">
<input type="hidden" name="zhuyuanhao" value="<?php echo ($_GET['zhuyuanhao']); ?>">
身份证号:<input type="text" value="<?php echo ($_GET['shenfenzheng']); ?>" class="input-text" name="shenfenzheng">
<button type="submit" class="button" onclick="fnsubmit('formid','__ACTION__','get');"><img src="__APP__/Public/images/curd/b_search.png" style="vertical-align:text-top"/>查询</button>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</form>
<div class="table-list">
<div>
<input type="radio" value="1" name="status" <?php if($status == 1): ?>checked="checked"<?php endif; ?>>启用
<input type="radio" value="0" name="status" <?php if($status == 0): ?>checked="checked"<?php endif; ?>>停用
</div>
<div class="content-menu ib-a blue line-x">
<a class="on" href="javascript:depAdd('<?php echo ($_GET['zhuyuanhao']); ?>',<?php echo ($_GET['type']); ?>)"><em>+新增家属</em></a>
</div>
请从以下家属列表中选择
<table width="100%" cellspacing="0">
<thead>
<tr>
<th width="35" align="center">&nbsp;</th>
<th width="100" align="left">姓名</th>
<th width="120" align="left">身份证号</th>
<th width="80" align="left">手机号</th>
<th>&nbsp;</th>
</tr>
</thead><tbody id="deptbody">
<?php if($list){ ?>
<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$o): ++$i;$mod = ($i % 2 )?><tr>
<td width="35">
<input type="checkbox" name="id[]" value="<?php echo ($o["id"]); ?>" <?php if($obids[$o['id']] == 1): ?>checked="checked"<?php endif; ?>>
</td>
<td><?php echo ($o["name"]); ?></td>
<td><?php echo ($o["shenfenzheng"]); ?></td>
<td><?php echo ($o["mobile"]); ?></td>
<td><a class="on" href="javascript:depDel('<?php echo ($_GET['zhuyuanhao']); ?>',<?php echo ($_GET['type']); ?>,<?php echo ($o["id"]); ?>)"><em>删除</em></a></td>
</tr><?php endforeach; endif; else: echo "" ;endif; ?>
<?php }else{ ?>
<tr><td colspan="5">没有相关记录</td></tr>
<?php } ?>
</tbody>
</table>
</div>
</body>
</body>
</html>
\ No newline at end of file
<?php if (!defined('THINK_PATH')) exit();?><!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>病房探视系统</title>
<link href="__APP__/__PUBLIC__/css/reset.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/zh-cn-system.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/table_form.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/dialog.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles1.css" title="styles1" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles2.css" title="styles2" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles3.css" title="styles3" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles4.css" title="styles4" media="screen" />
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/styleswitch.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/admin_common.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/dialog.js"></script>
</head>
<body>
<div class="subnav">
<div class="content-menu ib-a blue line-x">
<a class="add fb" href="__APP__/authority/edit"><img src="__APP__/Public/images/curd/b_add.png" /><em>添加权限</em></a></div>
</div>
<style type="text/css">
html{_overflow-y:scroll}
</style><div class="pad-lr-10">
<form name="searchform" action="__ACTION__" method="get" id="formid">
<table width="100%" cellspacing="0" class="search-form">
<tbody>
<tr>
<td><div class="explain-col">
权限名称:<input type="text" value="<?php echo ($filter['name']); ?>" class="input-text" name="name">
<button type="submit" class="button" onclick="fnsubmit('formid','__ACTION__','get');"><img src="__APP__/Public/images/curd/b_search.png" style="vertical-align:text-top"/>查询</button>
</div>
</td>
</tr>
</tbody>
</table>
<div class="table-list">
<table width="100%" cellspacing="0">
<thead>
<tr>
<th width="35" align="center"><input type="checkbox" value="" id="check_box" onclick="selectall('id[]');"></th>
<th width="150">权限名称</th>
<th width="300">规则</th>
<th width="60">类型</th>
<th align="left">备注</th>
<th>操作</th>
</tr>
</thead><tbody>
<?php if($list){ ?>
<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$o): ++$i;$mod = ($i % 2 )?><tr>
<td align="center" width="35">
<?php if($o['is_sys'] == 1){
if($_SESSION['rid'] == 1){?>
<input type="checkbox" name="id[]" value="{$o.id}">
<?php }}else{ ?>
<input type="checkbox" name="id[]" value="<?php echo ($o["id"]); ?>">
<?php } ?>
</td>
<td align="center"><?php echo ($o["name"]); ?></td>
<td align="left"><?php echo ($o["rule"]); ?></td>
<td align="center"><?php echo ($o["is_sys_text"]); ?></td>
<td align="left"><?php echo ($o["remark"]); ?></td>
<td align="center" width="10%">
<?php if($o["is_sys"] == 1): ?><?php if($_SESSION['rid'] == 1): ?><a href='__APP__/authority/edit/id/<?php echo ($o["id"]); ?>'><img src="__APP__/Public/images/curd/b_edit.png" />修改</a><?php endif; ?>
<?php else: ?>
<a href='__APP__/authority/edit/id/<?php echo ($o["id"]); ?>'><img src="__APP__/Public/images/curd/b_edit.png" />修改</a><?php endif; ?>
<?php if($o["is_sys"] != 1): ?><a href="javascript:void(0);" onClick="if(confirm('确认要删除 『 <?php echo ($o["name"]); ?> 』 吗?'))location.href='__APP__/authority/delete/id/<?php echo ($o["id"]); ?>';"><img src="__APP__/Public/images/curd/b_drop.png" />删除</a><?php endif; ?>
</td>
</tr><?php endforeach; endif; else: echo "" ;endif; ?>
<?php }else{ ?>
<tr><td colspan="4">没有相关记录</td></tr>
<?php } ?>
</tbody>
</table>
<div class="btn"><a href="#"
onClick="javascript:$('input[type=checkbox]').attr('checked', true)">全选</a>/<a
href="#"
onClick="javascript:$('input[type=checkbox]').attr('checked', false)">取消</a>
<select name="deletesel">
<option value="selected">选中</option>
<option value="all">全部</option>
</select>
<button name="submit" type="submit" class="button" onClick="return checkForm();"><img src="__APP__/Public/images/curd/b_drop.png" />删除</button>
</div>
<div id="pages"><?php echo ($page); ?></div>
</div>
</div>
</form>
</div>
<script type="text/javascript">
function checkForm() {
if(confirm('确认要删除吗?'))
{
if($('select[name=deletesel]:eq(0)').attr('value') == 'selected')
{
var ids='';
$("input[name='id[]']:checked").each(function(i, n){
ids += $(n).val() + ',';
});
if(ids=='') {
window.top.art.dialog({content:"请选择再执行操作",lock:true,width:'200',height:'50',time:1.5},function(){});
return false;}
}
else
{
if($("input[name='id[]']").size() < 1)
{
window.top.art.dialog({content:"没有要删除的记录",lock:true,width:'200',height:'50',time:1.5},function(){});
return false;}
}
fnsubmit('formid','__APP__/authority/delete','post');
return true;
}
else
return false;
}
</script>
</body>
</html>
\ No newline at end of file
<?php if (!defined('THINK_PATH')) exit();?><!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>病房探视系统</title>
<link href="__APP__/__PUBLIC__/css/reset.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/zh-cn-system.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/table_form.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/dialog.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles1.css" title="styles1" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles2.css" title="styles2" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles3.css" title="styles3" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles4.css" title="styles4" media="screen" />
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/styleswitch.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/admin_common.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/dialog.js"></script>
<script type="text/javascript">
setPosTitle('<?php echo ($_GET["rid"]); ?>','<?php echo ($_GET["rname"]); ?>下的用户列表');
</script>
</head>
<body>
<?php if($_GET['rid']) { ?>
<div class="subnav">
<div class="content-menu ib-a blue line-x">
<a class="add fb" href="__APP__/sys/adduser/rid/<?php echo ($filter['rid']); ?>/rname/<?php echo ($_GET["rname"]); ?>"><img src="__APP__/Public/images/curd/b_add.png" /><em>添加本角色用户</em></a>
</div>
</div>
<?php }else{ ?>
<div class="subnav">
<div class="content-menu ib-a blue line-x">
<a class="add fb" href="__APP__/sys/adduser/rid/<?php echo ($filter['rid']); ?>"><img src="__APP__/Public/images/curd/b_add.png" /><em>添加用户</em></a></div>
</div>
<?php } ?>
<div class="pad-lr-10">
<form name="searchform" action="__ACTION__" method="get" id="formid">
<input name="rid" value="<?php echo ($_GET["rid"]); ?>" type="hidden"/>
<table width="100%" cellspacing="0" class="search-form">
<tr>
<td><div class="explain-col">
用户名:<input type="text" value="<?php echo ($filter['account']); ?>" class="input-text" name="account">
<button type="submit" class="button" onclick="fnsubmit('formid','__ACTION__','get');"><img src="__APP__/Public/images/curd/b_search.png" style="vertical-align:text-top"/>查询</button>
</div>
</td>
</tr>
</table>
</form>
<div class="table-list">
<table width="100%" cellspacing="0">
<thead>
<tr>
<th width="35" align="center"><input type="checkbox" value="" id="check_box" onclick="selectall('user_id[]');"></th>
<th>用户名</th>
<th>所属角色</th>
<th>添加时间</th>
<th>上次登录时间</th>
<th>上次登录IP</th>
<th>登录次数</th>
<th>状态</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<?php if($list){ ?>
<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$user): ++$i;$mod = ($i % 2 )?><tr>
<td align="center" width="35"><?php if(($user["id"] != 1) && ($user["id"] != $_SESSION['adnamangeAuthId'])): ?><input type="checkbox" name="user_id[]" value="<?php echo ($user["id"]); ?>"><?php endif; ?></td>
<td align="center"><?php echo ($user["account"]); ?></td>
<td align="center"><?php echo ($user["name"]); ?></td>
<td align="center"><?php echo (date("Y-m-d H:i:s",$user["create_time"])); ?></td>
<td align="center"><?php if($user["last_login_time"] > 0): ?><?php echo (date("Y-m-d H:i:s",$user["last_login_time"])); ?><?php endif; ?></td>
<td align="center"><?php echo ($user["last_login_ip"]); ?></td>
<td align="center"><?php echo ($user["login_count"]); ?></td>
<td align="center"><?php if($user["status"] == 1): ?>启用<?php else: ?>禁用<?php endif; ?></td>
<td align="center">
<?php if(($user["id"] != 1) && ($user["id"] != $_SESSION['adnamangeAuthId'])): ?><a href='__APP__/sys/adduser/id/<?php echo ($user["id"]); ?>'><img src="__APP__/Public/images/curd/b_edit.png" />修改</a>
<a href='javascript:void(0)' onClick="if(confirm('确认要删除<?php echo ($user["account"]); ?>吗?'))
location.href='__APP__/sys/deleteuser/id/<?php echo ($user["id"]); ?>'"><img src="__APP__/Public/images/curd/b_drop.png" />删除</a>
<?php if($user["status"] == 1): ?><a href='__APP__/sys/activeuser/id/<?php echo ($user["id"]); ?>/status/0'><img src="__APP__/Public/images/curd/b_cancel.png" />禁用</a>
<?php else: ?>
<a href='__APP__/sys/activeuser/id/<?php echo ($user["id"]); ?>/status/1'><img src="__APP__/Public/images/curd/b_ok.png" />启用</a><?php endif; ?><?php endif; ?>
</td>
</tr><?php endforeach; endif; else: echo "" ;endif; ?>
<?php }else{ ?>
<tr><td colspan="10">没有相关记录</td></tr>
<?php } ?>
</tbody>
</table>
<div class="btn">
<a href="#" onClick="javascript:$('input[type=checkbox]').attr('checked', true)">全选</a>/
<a href="#" onClick="javascript:$('input[type=checkbox]').attr('checked', false)">取消</a>
<select name="deletesel">
<option value="selected">选中</option>
<option value="all">全部</option>
</select>
<button name="submit" type="submit" class="button" onClick="if(confirm('确认要删除吗?')){if($('select[name=deletesel]:eq(0)').attr('value') == 'selected'){checkuid();return false;}else fnsubmit('formid','__APP__/sys/deleteuser','post');}return false;">
<img src="__APP__/Public/images/curd/b_drop.png" />删除</button>
</div>
<div id="pages"><?php echo ($page); ?></div>
</div>
</div>
<script type="text/javascript">
function checkuid() {
var ids='';
$("input[name='user_id[]']:checked").each(function(i, n){
ids += $(n).val() + ',';
});
if(ids=='') {
window.top.art.dialog({content:"请选择再执行操作",lock:true,width:'200',height:'50',time:1.5},function(){});
return false;} else {
fnsubmit('formid','__APP__/sys/deleteuser','post');
}
}
</script>
</body>
</html>
\ No newline at end of file
<?php if (!defined('THINK_PATH')) exit();?><!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>病房探视系统</title>
<link href="__APP__/__PUBLIC__/css/reset.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/zh-cn-system.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/table_form.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/dialog.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles1.css" title="styles1" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles2.css" title="styles2" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles3.css" title="styles3" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles4.css" title="styles4" media="screen" />
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/styleswitch.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/admin_common.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/dialog.js"></script>
<body>
<style type="text/css">
html{_overflow-y:scroll}
</style>
<div id="main_frameid" class="pad-10" style="_margin-right:-12px;_width:98.9%;">
<div class="col-2 lf mr10" style="width:100%;margin-top: 10px;">
<h6>使用帮助</h6>
<div class="content">
编写中...
<!--<h4>1.权限设置</h4>
<p><pre>
选择权限管理-权限信息菜单,可在此设置基本的权限规则
添加/修改:
a.可以选择周一到周日,法定节假日
b.时间精确到分
c.人数指被访人能被多少不同的人访问,次数指每个访客可以进闸机的次数,出不算
不同的时间范围是一条规则,点新增可增加多条规则
删除:
删除需谨慎,会将已分配给病区的权限删除;系统内置的权限不允许删除;
</pre>
</p>
<h4>2.权限分类</h4>
<h5>a.病区权限</h5>
<h5>b.患者权限</h5>
<h5>c.家属权限</h5>
优先级最高
-->
</div>
</div>
</body>
</html>
\ No newline at end of file
<?php if (!defined('THINK_PATH')) exit();?><!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=EmulateIE7" />
<title>病房探视系统-登录</title>
<link rel="stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/login.css" />
<script type="text/javascript">
window.onload = function(){
if(self!=top){top.location.href = self.location.href;}
document.myform.username.focus();
//document.getElementById('code_img').click();
}
</script>
</head>
<body style="background:url('/__PUBLIC__/images/admin_img/bj_black.png') no-repeat;">
<div id="login_bg" class="login_box">
<div class="login_iptbox" style="width: 420px;">
<form action="__APP__/manage/checklogin" method="post" name="myform">
<input name="dosubmit" value="" type="submit" class="login_tj_btn" />
用户名:<input name="username" id="username" type="text" class="ipt" value="" />
密码:<input name="password" type="password" id="password" class="ipt" value="" />
<!--验证码:<input name="verify" type="text" class="ipt ipt_reg" onfocus="document.getElementById('yzm').style.display='block'" autocomplete="off"/>
<div id="yzm" class="yzm">
<img id='code_img' onclick='this.src="__APP__/manage/verify/t/"+Math.random()' src='__APP__/manage/verify'><br /><a href="javascript:document.getElementById('code_img').src='__APP__/manage/verify/t/'+Math.random();void(0);">单击更换验证码</a></div>
</form>
</div>
</div>-->
<div class="copy_right">©2019 病房探视系统&nbsp;|&nbsp;技术支持:北京融威众邦电子技术有限公司&nbsp;|&nbsp;联系电话:010-62152062</div>
</body>
</html>
\ No newline at end of file
<?php if (!defined('THINK_PATH')) exit();?> <!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>病房探视系统</title>
<link href="__APP__/__PUBLIC__/css/reset.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/zh-cn-system.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/table_form.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/dialog.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles1.css" title="styles1" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles2.css" title="styles2" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles3.css" title="styles3" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles4.css" title="styles4" media="screen" />
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/styleswitch.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/admin_common.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/dialog.js"></script>
<body>
<style type="text/css">
html{_overflow-y:scroll}
</style>
<div id="main_frameid" class="pad-10" style="_margin-right:-12px;_width:98.9%;">
<script type="text/javascript">
$(function(){
updateDev();
if ($.browser.msie && parseInt($.browser.version) < 7) $('#browserVersionAlert').show();
$("input[name='one_open']").change(function(){
setOneopen($(this).val());
});
});
function updateDev()
{
if($("td[id^='td_dev']").size()>0)
{
setTimeout("updateDev()", parseInt('<?php echo C('DEVICE_ACTIVE_TIME') ?>')*1000);
$.getJSON('__APP__/index/updateDev', function(data){
for(k in data)
{
$("td[id='td_dev"+k+"']").html('<img src="__APP__/Public/images/'+data[k]+'">');
}
});
}
}
function setOneopen(v)
{
$.getJSON('__APP__/index/setoneopen/v/'+v, function(data){
if(data == '1')
{
window.top.art.dialog({
id:'alert',
content:'操作成功',
lock:true,
width:'220',
height:'70'
});
setTimeout(function(){
window.top.art.dialog({id:'alert'}).close();
},2000);
}
else
{
window.top.art.dialog({id:'alert',content:'操作失败',lock:true,width:'220',height:'70'});
}
});
}
</script>
<div class="explain-col mb10" style="display:none" id="browserVersionAlert">
使用IE8浏览器可获得最佳视觉效果</div>
<div class="col-2 lf mr10" style="width:100%">
<h6>闸机设备</h6>
<div class="content">
<div class="table-list">
<div style="padding-bottom:5px;">
<span style="font-size:16px;font-weight:bolder;color:red">一键开门</span>
<input type="radio" name="one_open" value="1" <?php if($one_open == 1): ?>checked="checked"<?php endif; ?>>
<input type="radio" name="one_open" value="0" <?php if($one_open == 0): ?>checked="checked"<?php endif; ?>>
注:如果设置"是",所有闸机将开门适用于特殊情况
</div>
<table width="100%" cellspacing="0">
<thead>
<tr>
<th>设备编号</th>
<th>IP地址</th>
<th>方向</th>
<th>位置</th>
<th>状态</th>
</tr>
</thead>
<tbody>
<?php if($list){ ?>
<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$m): ++$i;$mod = ($i % 2 )?><tr>
<td align="center" width="100"><?php echo ($m["code"]); ?></td>
<td align="center" widht="120"><?php echo (long2ip($m["ip"])); ?></td>
<td align="center" width="80">
<?php
if($m['direction'] == 0)
echo '进';
else if ($m['direction'] == 1)
echo '出';
else
echo '进&出';
?>
</td>
<td align="center" widht="120"><?php echo ($m["position"]); ?></td>
<td align="center" width="80" id="td_dev<?php echo ($m["code"]); ?>"><img src="__APP__/Public/images/<?php if(time() - $m['active_time'] > C('DEVICE_ACTIVE_TIME')) echo 'disabled.gif'; else echo 'enable.gif'; ?>"/></td>
</tr><?php endforeach; endif; else: echo "" ;endif; ?>
<?php }else{ ?>
<tr><td colspan="6">没有相关记录</td></tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</body>
</html>
\ No newline at end of file
<?php if (!defined('THINK_PATH')) exit();?><!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>病房探视系统</title>
<link href="__APP__/__PUBLIC__/css/reset.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/zh-cn-system.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/table_form.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/dialog.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles1.css" title="styles1" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles2.css" title="styles2" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles3.css" title="styles3" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles4.css" title="styles4" media="screen" />
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/styleswitch.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/admin_common.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/dialog.js"></script>
<script type="text/javascript" src="__APP__/__PUBLIC__/js/datepicker/WdatePicker.js"></script>
<script type="text/javascript">
//查看显示二维码
function showEwm(no)
{
var ewm_host = '<?php echo C('FRONTEND_HOST')?>frontend/Index/createEwm';
window.top.art.dialog({id:'showEwm',content:'<img src="'+ewm_host+'/code/'+no+'" />',title:'二维码', width:'300', height:'200'},function () {
window.top.art.dialog({id:'showEwm'}).close();
}
);
}
</script>
</head>
<body>
<div class="subnav">
<div class="content-menu ib-a blue line-x">
</div>
</div>
<style type="text/css">
html{_overflow-y:scroll}
</style><div class="pad-lr-10">
<form name="searchform" action="__ACTION__" method="get" id="formid">
<table width="100%" cellspacing="0" class="search-form">
<tbody>
<tr>
<td><div class="explain-col" style="border-bottom:0px;">
年份:<input class="Wdate" type="text" onClick="new WdatePicker({skin:'whyGreen',dateFmt:'yyyy'})" value="<?php echo ($_GET['year']); ?>" name="year" size="5">
时间:<input class="Wdate" type="text" onClick="new WdatePicker({skin:'whyGreen',dateFmt:'MM-dd HH:mm:ss'})" value="<?php echo ($_GET['stime']); ?>" name="stime" size="15">
<input class="Wdate" type="text" onClick="new WdatePicker({skin:'whyGreen',dateFmt:'MM-dd HH:mm:ss'})" value="<?php echo ($_GET['etime']); ?>" name="etime" size="15">
二维码:<input type="text" value="<?php echo ($_GET['no']); ?>" class="input-text" name="no" size="18">
</div><div class="explain-col" style="border-top:0px;border-bottom:0px;">
被访人:<input type="text" value="<?php echo ($_GET['bfr']); ?>" class="input-text" name="bfr" placeholder="支持被访人住院号、手机号后四位" size="25">
访客:<input type="text" value="<?php echo ($_GET['guest']); ?>" class="input-text" name="guest" placeholder="支持访客姓名、电话、身份证号" size="25">
<button type="submit" class="button" onclick="fnsubmit('formid','__ACTION__','get');"><img src="__APP__/Public/images/curd/b_search.png" style="vertical-align:text-top"/>查询</button>
</div>
<div class="explain-col" style="border-top:0px;color:red">
家属二维码凭条丢失或损坏不能出门怎么办?请找到该家属的登记记录,然后点击操作栏中的“查看二维码”,让家属用拍照即可
</div>
</td>
</tr>
</tbody>
</table>
<div class="table-list">
<table width="100%" cellspacing="0">
<thead>
<tr>
<th width="80">二维码编号</th>
<th width="80">姓名</th>
<th width="120">身份证号</th>
<th width="100">手机号码</th>
<th width="80">被访人住院号</th>
<th width="100">被访人手机后四位</th>
<th width="80">登记时间</th>
<th width="100">操作</th>
</tr>
</thead><tbody>
<?php if($list){ ?>
<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$o): ++$i;$mod = ($i % 2 )?><tr>
<td align="center"><?php echo ($o["no"]); ?></td>
<td align="center"><?php echo ($o["name"]); ?></td>
<td align="center"><?php echo ($o["shenfenzheng"]); ?></td>
<td align="center"><?php echo ($o["mobile"]); ?></td>
<td align="center"><?php echo ($o["zhuyuanhao"]); ?></td>
<td align="center"><?php echo ($o["p_mobile"]); ?></td>
<td align="center"><?php echo ($o["addtime"]); ?></td>
<td align="center">
<a href="javascript:showEwm('<?php echo ($o["no"]); ?>')">查看二维码</a>|
<a href="__APP__/guest/inout/no/<?php echo ($o["no"]); ?>/ym/<?php echo ($_GET['year']); ?>-<?php echo substr($_GET['stime'],0,2);?>/stime/<?php echo substr($_GET['stime'],3);?>/etime/31 23:59:59">查看进出日志</a>
</td>
</tr><?php endforeach; endif; else: echo "" ;endif; ?>
<?php }else{ ?>
<tr><td colspan="8">没有相关记录</td></tr>
<?php } ?>
</tbody>
</table>
<div id="pages"><?php echo ($page); ?></div>
</div>
</div>
</form>
</div>
</body>
</html>
\ No newline at end of file
<?php if (!defined('THINK_PATH')) exit();?><!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>病房探视系统</title>
<link href="__APP__/__PUBLIC__/css/reset.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/zh-cn-system.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/table_form.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/dialog.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles1.css" title="styles1" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles2.css" title="styles2" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles3.css" title="styles3" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles4.css" title="styles4" media="screen" />
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/styleswitch.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/admin_common.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/dialog.js"></script>
<body>
<style type="text/css">
html{_overflow-y:scroll}
</style>
<div id="main_frameid" class="pad-10" style="_margin-right:-12px;_width:98.9%;">
<script type="text/javascript">
$(function(){
getTime();
if ($.browser.msie && parseInt($.browser.version) < 7) $('#browserVersionAlert').show();
});
function getTime()
{
setTimeout("getTime()", 1000);
$.getJSON('__APP__/index/gettime', function(data){
$('#time').html(data.time);
});
}
</script>
<div class="explain-col mb10" style="display:none" id="browserVersionAlert">
使用IE8浏览器可获得最佳视觉效果</div>
<div class="col-2 lf mr10" style="width:100%;margin-top: 10px;">
<h6>服务器环境</h6>
<div class="content">
<table>
<?php if(is_array($info)): $i = 0; $__LIST__ = $info;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): ++$i;$mod = ($i % 2 )?><tr><td><?php echo ($key); ?>:</td><td <?php if($key == '服务器时间'): ?>id="time"<?php endif; ?>><?php echo ($v); ?></td></tr><?php endforeach; endif; else: echo "" ;endif; ?>
<tr height="30px"><th colspan="2">&nbsp;</th></tr>
</table>
</div>
</div>
</body>
</html>
\ No newline at end of file
<?php if (!defined('THINK_PATH')) exit();?><!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>病房探视系统</title>
<link href="__APP__/__PUBLIC__/css/reset.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/zh-cn-system.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/table_form.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/dialog.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles1.css" title="styles1" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles2.css" title="styles2" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles3.css" title="styles3" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles4.css" title="styles4" media="screen" />
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/styleswitch.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/admin_common.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/dialog.js"></script>
<link href="__APP__/__PUBLIC__/css/jquery.treeview.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/jquery.treeview.min.js"></script>
<script type="text/javascript">
$(function(){
$('#id_area').treeview();
$(":checkbox").bind("click",function(event){
event.stopPropagation(); //停止事件冒泡
});
});
function fnrs(id,level)
{
var ck = $('#'+id).attr('checked');
var cl = $('#'+id).attr('class');
switch(level)
{
case 1:
$('.'+id).each(function(){this.checked = ck;$('.'+this.id).each(function(){this.checked = ck;$('.'+this.id).each(function(){this.checked = ck;})})});
break;
case 2:
$('.'+id).each(function(){this.click();this.checked = ck});
if($('#'+id).attr('checked')==true)
$('#'+cl).attr('checked',true);
else
{
if($(':checkbox[class="'+cl+'"][checked=true]').size()==0)
{
$('#'+cl).attr('checked',false);
}
}
break;
case 3:
$('.'+id).each(function(){this.checked = ck;});
if(ck==true)
{
$('#'+cl).attr('checked',true);
$('#'+$('#'+cl).attr('class')).attr('checked',true);
}
else
{
if($(':checkbox[class="'+cl+'"][checked=true]').size()==0)
{
$('#'+cl).attr('checked',false);
if($(':checkbox[class="'+$('#'+cl).attr('class')+'"][checked=true]').size()==0)
$('#'+$('#'+cl).attr('class')).attr('checked',false);
}
}
break;
case 4:
if(ck==true)
{
$('#'+cl).attr('checked',true);
$('#'+$('#'+cl).attr('class')).attr('checked',true);
$('#'+$('#'+$('#'+cl).attr('class')).attr('class')).attr('checked',true);
}
else
{
if($(':checkbox[class="'+cl+'"][checked=true]').size()==0)
{
$('#'+cl).attr('checked',false);
if($(':checkbox[class="'+$('#'+cl).attr('class')+'"][checked=true]').size()==0)
$('#'+$('#'+cl).attr('class')).attr('checked',false);
if($(':checkbox[class="'+$('#'+$('#'+cl).attr('class')).attr('class')+'"][checked=true]').size()==0)
$('#'+$('#'+$('#'+cl).attr('class')).attr('class')).attr('checked',false);
}
}
break;
}
}
function complete(msg,status){
if (status==1)
{
alertMsg(msg);
setTimeout(function(){
window.top.art.dialog({id:'alert'}).close();
window.top.right.location.href="__APP__/sys/role";
},2000);
}else{
alertMsg(msg);
}
}
function alertMsg(msg)
{
window.top.art.dialog({id:'alert',content:decodeURIComponent(msg),lock:true,width:'220',height:'70'});
}
</script>
</head>
<body>
<style type="text/css">
html{_overflow-y:scroll}
</style><div class="pad-lr-10">
<div class="pad_10">
<div class="content-menu ib-a blue line-x"><a class="on" href="javascript:history.go(-1)"><img src="__APP__/Public/images/curd/b_back.png" /><em>返回</em></a></div>
</div>
<form name="myform" action="__APP__/sys/grantnode" method="post" target="iframe">
<input type="hidden" value="<?php echo ($id); ?>" name="rid" />
<div class="explain-col">
资源列表
</div>
<div class="table-list">
<ul id="id_area" class="filetree">
<?php echo ($html); ?>
</ul>
</div>
<div class="bk15"></div>
<button type="submit" class="button" name="dosubmit"><img src="__APP__/Public/images/curd/b_save.png" style="vertical-align:text-bottom"/>提交</button>
</form>
</div>
<iframe style="display:none" name="iframe"></iframe>
</body>
</html>
\ No newline at end of file
<?php if (!defined('THINK_PATH')) exit();?><!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>病房探视系统</title>
<link href="__APP__/__PUBLIC__/css/reset.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/zh-cn-system.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/table_form.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/dialog.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles1.css" title="styles1" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles2.css" title="styles2" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles3.css" title="styles3" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles4.css" title="styles4" media="screen" />
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/styleswitch.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/admin_common.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/dialog.js"></script>
</head>
<body>
<script language="JavaScript">
function complete(msg,status){
if (status==1)
{
alertMsg(msg);
setTimeout(function(){
window.top.art.dialog({id:'alert'}).close();
window.top.right.location.href="__APP__/sys/user?rid=<?php echo ($rid); ?>&rname=<?php echo ($_GET["rname"]); ?>";
},2000);
}else{
alertMsg(msg);
}
}
function alertMsg(msg)
{
window.top.art.dialog({id:'alert',content:decodeURIComponent(msg),lock:true,width:'220',height:'70'});
}
</script>
<style type="text/css">
html{_overflow-y:scroll}
#pass-strength-result {
background-color: #EEEEEE;
border-color: #DDDDDD !important;
border-style: solid;
border-width: 1px;
margin: 5px 5px 5px 0;
padding: 5px;
text-align: center;
width: 200px;
}
#pass-strength-result.bad {
background-color: #FFB78C;
border-color: #FF853C !important;
}
#pass-strength-result.good {
background-color: #FFEC8B;
border-color: #FFCC00 !important;
}
#pass-strength-result.short {
background-color: #FFA0A0;
border-color: #F04040 !important;
}
#pass-strength-result.strong {
background-color: #C3FF88;
border-color: #8DFF1C !important;
}
</style>
<div id="closeParentTime" style="display:none"></div>
<?php if($vo["id"] > 0): ?><form name="myform" id="myform" action="__APP__/sys/updateuser" method="post" target="iframe">
<input type="hidden" name="id" value="<?php echo ($vo["id"]); ?>">
<?php else: ?>
<form name="myform" id="myform" action="__APP__/sys/insertuser" method="post" target="iframe"><?php endif; ?>
<div class="pad_10">
<div class="content-menu ib-a blue line-x"><a class="on" href="javascript:history.go(-1)"><img src="__APP__/Public/images/curd/b_back.png" /><em>返回</em></a></div>
</div>
<div style='overflow-y:auto;overflow-x:hidden' class='scrolltable'>
<table width="100%" cellspacing="0" class="table_form contentWrap">
<tr>
<th width="120">用户名</th>
<td><input type="text" name="account" id="user_login" value="<?php echo ($vo["account"]); ?>" size="15"><font color="red">*</font>注:3个字符以上,字母或数字组合</td>
</tr>
<tr>
<th width="120">密码</th>
<td><input type="password" name="password" id="password" value="" size="15" class="input-text"><font color="red">*</font><?php if($vo["id"] > 0): ?>注:不修改请留空<?php endif; ?></td>
</tr>
<tr>
<th width="120">病区编码</th>
<td><input type="text" name="bind_account" id="bind_account" value="<?php echo ($vo["bind_account"]); ?>" size="15" class="input-text"><?php if($vo["id"] > 0): ?>注:关联病区时候填入<?php endif; ?></td>
</tr>
<tr>
<th width="120" valign="top">确认密码</th>
<td>
<input type="password" name="repassword" id="repassword" size="15" class="input-text"><font color="red">*</font><?php if($vo["id"] > 0): ?>注:不修改请留空<?php endif; ?>
<div id="pass-strength-result">强度评估</div>
<p>提示:您的密码最好至少包含 7 个字符。为了保证密码强度,使用大小写字母,数字和符号,例如 ! " ? $ % ^ &amp; )。</p>
</td>
</tr>
<tr>
<th width="120">状态</th>
<td><select name="status"><option value="1">启用</option><option value="0">禁用</option></select><font color="red">*</font></td>
</tr>
<?php if($rid != ''): ?><input type="hidden" name="role_id" value="<?php echo ($rid); ?>" />
<?php else: ?>
<tr>
<th width="80">角色</th>
<td><select name="role_id" class="select">
<option value="">-请选择-</option>
<?php if(is_array($role)): foreach($role as $key=>$r): ?><option value="<?php echo ($r["id"]); ?>" <?php if($r['id'] == $vo['role_id']): ?>selected<?php endif; ?>><?php echo ($r["name"]); ?></option><?php endforeach; endif; ?>
</select>&nbsp;<font color="red">*</font></td>
</tr><?php endif; ?>
<tr>
<th width="120">备注</th>
<td><textarea name="remark" cols="30" rows="3"><?php echo ($vo["remark"]); ?></textarea></td>
</tr>
</table>
</div>
<div class="bk10"></div>
<div class="btn">
<button type="submit" class="button" name="dosubmit" style="margin-left:5px;"><img src="__APP__/Public/images/curd/b_save.png" style="vertical-align:text-bottom"/>提交</button>
</div>
</div>
</form>
</div>
<script type='text/javascript'>
/* <![CDATA[ */
var pwsL10n = {"empty":"强度评估","short":"极弱","bad":"弱","good":"中等","strong":"强","mismatch":"不匹配"};
/* ]]> */
</script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/password.js"></script>
<iframe style="display:none" name="iframe"></iframe>
</body>
</html>
\ No newline at end of file
<?php if (!defined('THINK_PATH')) exit();?><!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>病房探视系统</title>
<link href="__APP__/__PUBLIC__/css/reset.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/zh-cn-system.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/table_form.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/dialog.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles1.css" title="styles1" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles2.css" title="styles2" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles3.css" title="styles3" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles4.css" title="styles4" media="screen" />
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/styleswitch.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/admin_common.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/dialog.js"></script>
</head>
<body>
<div class="subnav">
<div class="content-menu ib-a blue line-x">
<a class="add fb" href="__APP__/sys/addrole"><img src="__APP__/Public/images/curd/b_add.png" /><em>添加角色</em></a></div>
</div>
<div class="pad-lr-10">
<form name="searchform" action="__ACTION__" method="get" id="formid">
<table width="100%" cellspacing="0" class="search-form">
<tbody>
<tr>
<td><div class="explain-col">
角色名称:<input type="text" value="<?php echo ($filter['name']); ?>" class="input-text" name="name">
<button type="submit" class="button" onclick="fnsubmit('formid','__ACTION__','get');"><img src="__APP__/Public/images/curd/b_search.png" style="vertical-align:text-top"/>查询</button>
</div>
</td>
</tr>
</tbody>
</table>
<div class="table-list">
<table width="100%" cellspacing="0">
<thead>
<tr>
<th width="35" align="center"><input type="checkbox" value="" id="check_box" onclick="selectall('role_id[]');"></th>
<th>角色名称</th>
<th>备注</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<?php if($list){ ?>
<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$role): ++$i;$mod = ($i % 2 )?><tr>
<td align="center" width="35"><?php if($role["id"] != 1): ?><input type="checkbox" name="role_id[]" value="<?php echo ($role["id"]); ?>"><?php endif; ?></td>
<td align="center"><?php echo ($role["name"]); ?></td>
<td align="center"><?php echo ($role["remark"]); ?></td>
<td align="center">
<a href='__APP__/sys/user/rid/<?php echo ($role["id"]); ?>'>用户列表</a>
<?php if(($role["id"] != 1) && ($role["id"] != $_SESSION['rid'])): ?><a href='__APP__/sys/addrole/id/<?php echo ($role["id"]); ?>'><img src="__APP__/Public/images/curd/b_edit.png" />修改</a>
<a href='javascript:void(0)' onClick="if(confirm('确认要删除<?php echo ($role["name"]); ?>吗?'))
location.href='__APP__/sys/deleterole/id/<?php echo ($role["id"]); ?>'"><img src="__APP__/Public/images/curd/b_drop.png" />删除</a>
<a href='__APP__/sys/node/id/<?php echo ($role["id"]); ?>'><img src="__APP__/Public/images/curd/b_tblops.png" />授权</a><?php endif; ?>
</if>
</td>
</tr><?php endforeach; endif; else: echo "" ;endif; ?>
<?php }else{ ?>
<tr><td colspan="4">没有相关记录</td></tr>
<?php } ?>
</tbody>
</table>
<div class="btn">
<a href="#" onClick="javascript:$('input[type=checkbox]').attr('checked', true)">全选</a>/
<a href="#" onClick="javascript:$('input[type=checkbox]').attr('checked', false)">取消</a>
<select name="deletesel">
<option value="selected">选中</option>
<option value="all">全部</option>
</select>
<button name="submit" type="submit" class="button" onclick="return checkForm();"><img src="__APP__/Public/images/curd/b_drop.png"/>删除</button>
</div>
<div id="pages"><?php echo ($page); ?></div>
</div>
</form>
</div>
<script type="text/javascript">
function checkForm() {
if(confirm('确认要删除吗?'))
{
if($('select[name=deletesel]:eq(0)').attr('value') == 'selected')
{
var ids='';
$("input[name='role_id[]']:checked").each(function(i, n){
ids += $(n).val() + ',';
});
if(ids=='') {
window.top.art.dialog({content:"请选择再执行操作",lock:true,width:'200',height:'50',time:1.5},function(){});
return false;}
}
fnsubmit('formid','__APP__/sys/deleterole','post');
return true;
}
else
return false;
}
</script>
</body>
</html>
\ No newline at end of file
<?php if (!defined('THINK_PATH')) exit();?><!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>病房探视系统</title>
<link href="__APP__/__PUBLIC__/css/reset.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/zh-cn-system.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/table_form.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/dialog.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles1.css" title="styles1" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles2.css" title="styles2" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles3.css" title="styles3" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles4.css" title="styles4" media="screen" />
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/styleswitch.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/admin_common.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/dialog.js"></script>
<script type="text/javascript" src="__APP__/__PUBLIC__/js/datepicker/WdatePicker.js"></script>
<script type="text/javascript">
//选择权限弹窗
function selectAuth(code)
{
window.top.art.dialog({id:'select',iframe:'__APP__/authority/index?from=unit&bingqucode='+code,title:'设置权限', width:'400', height:'300'}, function(){
var d = window.top.art.dialog({id:'select'}).data.iframe;
fnselect(code,d.$("input:radio[name='id']:checked").val());
}, function(){window.top.art.dialog({id:'select'}).close()});
}
function fnselect(code,authority_id)
{
$.ajax({
url:'__APP__/authority/sel',
type:'post',
dataType:'json',
data:{code:code,authority_id:authority_id},
success:function(req){
complete(req.info,req.status);
},
error:function(){
complete('设置权限失败',0);
}
});
}
function complete(msg,status){
if (status==1)
{
alertMsg(msg);
setTimeout(function(){
window.top.art.dialog({id:'alert'}).close();
},2000);
}else{
alertMsg(msg);
}
}
function alertMsg(msg)
{
window.top.art.dialog({id:'alert',content:decodeURIComponent(msg),lock:true,width:'220',height:'70'});
}
</script>
</head>
<body>
<div class="subnav">
<div class="content-menu ib-a blue line-x">
</div>
</div>
<style type="text/css">
html{_overflow-y:scroll}
</style><div class="pad-lr-10">
<form name="searchform" action="__ACTION__" method="get" id="formid">
<table width="100%" cellspacing="0" class="search-form">
<tbody>
<tr>
<td><div class="explain-col">
病区名称:<input type="text" value="<?php echo ($_GET['bingqu']); ?>" class="input-text" name="bingqu" placeholder="">
科室名称:<input type="text" value="<?php echo ($_GET['keshi']); ?>" class="input-text" name="keshi" placeholder="">
<button type="submit" class="button" onclick="fnsubmit('formid','__ACTION__','get');"><img src="__APP__/Public/images/curd/b_search.png" style="vertical-align:text-top"/>查询</button>
</div>
</td>
</tr>
</tbody>
</table>
<div class="table-list">
<table width="100%" cellspacing="0">
<thead>
<tr>
<th width="80">病区编号</th>
<th width="80">病区名称</th>
<th width="80">科室编号</th>
<th width="80">科室名称</th>
<th width="10%">操作</th>
</tr>
</thead><tbody>
<?php if($list){ ?>
<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$o): ++$i;$mod = ($i % 2 )?><tr>
<td align="center"><?php echo ($o["BINGQUCODE"]); ?></td>
<td align="center"><?php echo ($o["BINGQU"]); ?></td>
<td align="center"><?php echo ($o["KESHICODE"]); ?></td>
<td align="center"><?php echo ($o["KESHI"]); ?></td>
<td align="center">
<a href='javascript:selectAuth(<?php echo ($o["BINGQUCODE"]); ?>)'><img src="__APP__/Public/images/curd/b_tblops.png" />设置权限</a>
</td>
</tr><?php endforeach; endif; else: echo "" ;endif; ?>
<?php }else{ ?>
<tr><td colspan="6">没有相关记录</td></tr>
<?php } ?>
</tbody>
</table>
<div id="pages"><?php echo ($page); ?></div>
</div>
</div>
</form>
</div>
</body>
</html>
\ No newline at end of file
<?php if (!defined('THINK_PATH')) exit();?><!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>病房探视系统</title>
<link href="__APP__/__PUBLIC__/css/reset.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/zh-cn-system.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/table_form.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/dialog.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles1.css" title="styles1" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles2.css" title="styles2" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles3.css" title="styles3" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles4.css" title="styles4" media="screen" />
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/styleswitch.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/admin_common.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/dialog.js"></script>
</head>
<body>
<script language="JavaScript">
function complete(msg,status){
if (status==1)
{
alertMsg(msg);
setTimeout(function(){
window.top.art.dialog({id:'alert'}).close();
window.top.right.location.href="__APP__/sys/role";
},2000);
}else{
alertMsg(msg);
}
}
function alertMsg(msg)
{
window.top.art.dialog({id:'alert',content:decodeURIComponent(msg),lock:true,width:'220',height:'70'});
}
function newclassselect()
{
var v = $('select[name="class_id"]:first').attr('value');
var pid = '<?php echo ($vo["parent_id"]); ?>';
if(v)
{
$.post('__APP__/sys/addrole',{act:'classajax',class_id:v,parent_id:pid},function(data){
$('select[name="parent_id"]:first').html(data);
});
}
}
$(function(){
if('<?php echo ($vo["id"]); ?>')
{
newclassselect();
}
});
</script>
<style type="text/css">
html{_overflow-y:scroll}
</style><div id="closeParentTime" style="display:none"></div>
<?php if($vo["id"] > 0): ?><form name="myform" id="myform" action="__APP__/sys/updaterole" method="post" target="iframe">
<input type="hidden" name="id" value="<?php echo ($vo["id"]); ?>">
<?php else: ?>
<form name="myform" id="myform" action="__APP__/sys/insertrole" method="post" target="iframe""><?php endif; ?>
<div class="pad_10">
<div class="content-menu ib-a blue line-x"><a class="on" href="javascript:history.go(-1)"><img src="__APP__/Public/images/curd/b_back.png" /><em>返回</em></a></div>
</div>
<div style='overflow-y:auto;overflow-x:hidden' class='scrolltable'>
<table width="100%" cellspacing="0" class="table_form contentWrap">
<tr>
<th width="120">角色名称</th>
<td><input type="text" name="name" id="name" value="<?php echo ($vo["name"]); ?>" size="15"><font color="red">*</font></td>
</tr>
<tr>
<th width="120">备注</th>
<td><textarea name="remark" cols="30" rows="3"><?php echo ($vo["remark"]); ?></textarea></td>
</tr>
</table>
</div>
<div class="bk10"></div>
<div class="btn">
<button type="submit" class="button" name="dosubmit" style="margin-left:5px;"><img src="__APP__/Public/images/curd/b_save.png" style="vertical-align:text-bottom"/>提交</button>
</div>
</div>
</form>
</div>
<iframe style="display:none" name="iframe"></iframe>
</body>
</html>
\ No newline at end of file
<?php if (!defined('THINK_PATH')) exit();?><!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">
<title>提示信息</title>
<style type="text/css">
<!--
*{ padding:0; margin:0; font-size:12px}
a:link,a:visited{text-decoration:none;color:#0068a6}
a:hover,a:active{color:#ff6600;text-decoration: underline}
.showMsg{border: 1px solid #1e64c8; zoom:1; width:450px; height:172px;position:absolute;top:44%;left:50%;margin:-87px 0 0 -225px}
.showMsg h5{background-image: url(__APP__/Public/images/msg_img/msg.png);background-repeat: no-repeat; color:#fff; padding-left:35px; height:25px; line-height:26px;*line-height:28px; overflow:hidden; font-size:14px; text-align:left}
.showMsg .content{ padding:46px 12px 10px 45px; font-size:14px; height:64px; text-align:left}
.showMsg .bottom{ background:#e4ecf7; margin: 0 1px 1px 1px;line-height:26px; *line-height:30px; height:26px; text-align:center}
.showMsg .ok,.showMsg .guery{background: url(__APP__/Public/images/msg_img/msg_bg.png) no-repeat 0px -560px;}
.showMsg .guery{background-position: left -460px;}
-->
</style>
<script type="text/javascript">
url = '<?php echo ($jumpUrl); ?>';
function jumpurl()
{
setTimeout(function(){location.href=url},<?php echo ($waitSecond); ?>*1000);
}
</script>
</head>
</head>
<body <?php if($message != L( '_VALID_ACCESS_' )): ?>onload="jumpurl()"<?php endif; ?>
<div class="showMsg" style="text-align:center">
<h5>提示信息</h5>
<div class="content guery" style="display:inline-block;display:-moz-inline-stack;zoom:1;*display:inline;max-width:330px"><?php echo ($message); ?>
<?php if($message == L( '_VALID_ACCESS_' )): ?><!--<a href="__APP__/manage/logout">退出</a>--><?php endif; ?>
</div>
<?php if($message != L( '_VALID_ACCESS_' )): ?><div class="bottom">
<a href="<?php echo ($jumpUrl); ?>">如果您的浏览器没有自动跳转,请点击这里</a>
</div><?php endif; ?>
</div>
</body>
</html>
\ No newline at end of file
<?php if (!defined('THINK_PATH')) exit();?><!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>病房探视系统</title>
<link href="__APP__/__PUBLIC__/css/reset.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/zh-cn-system.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/table_form.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/dialog.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles1.css" title="styles1" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles2.css" title="styles2" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles3.css" title="styles3" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles4.css" title="styles4" media="screen" />
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/styleswitch.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/admin_common.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/dialog.js"></script>
<script type="text/javascript" src="__APP__/__PUBLIC__/js/datepicker/WdatePicker.js"></script>
</head>
<body>
<div class="subnav">
</div>
<style type="text/css">
html{_overflow-y:scroll}
</style><div class="pad-lr-10">
<form name="searchform" action="__ACTION__" method="get" >
<table width="100%" cellspacing="0" class="search-form">
<tbody>
<tr>
<td><div class="explain-col">
用户名:<input type="text" value="<?php echo ($filter['account']); ?>" class="input-text" name="account">
操作:<input type="text" value="<?php echo ($filter['action']); ?>" class="input-text" name="action">
开始时间:<input type="text" value="<?php echo ($filter['btime']); ?>" class="Wdate" name='btime' style="width:160px" onClick="new WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd HH:mm:ss'})">
结束时间:<input type="text" value="<?php echo ($filter['etime']); ?>" class="Wdate" name='etime' style="width:160px" onClick="new WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd HH:mm:ss'})">
<button type="submit" class="button"><img src="__APP__/Public/images/curd/b_search.png" style="vertical-align:text-top"/>查询</button>
</div>
</td>
</tr>
</tbody>
</table>
</form>
<div class="table-list">
<table width="100%" cellspacing="0">
<thead>
<tr>
<th>用户名</th>
<th>操作</th>
<th>结果</th>
<th>时间</th>
</tr>
</thead>
<tbody>
<?php if($list){ ?>
<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$log): ++$i;$mod = ($i % 2 )?><tr>
<td align="center"><?php echo ($log["account"]); ?></td>
<td style="width:400px;word-break:break-all;word-wrap:break-word;overflow:hidden"><?php echo ($log["action"]); ?></td>
<td align="center"><?php if($log["result"] == 1): ?>成功<?php else: ?>失败<?php endif; ?></td>
<td align="center"><?php echo ($log["time"]); ?></td>
</tr><?php endforeach; endif; else: echo "" ;endif; ?>
<?php }else{ ?>
<tr><td colspan="4">没有相关记录</td></tr>
<?php } ?>
</tbody>
</table>
<div id="pages"><?php echo ($page); ?></div>
</div>
</body>
</html>
\ No newline at end of file
<?php if (!defined('THINK_PATH')) exit();?><!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>病房探视系统</title>
<link href="__APP__/__PUBLIC__/css/reset.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/zh-cn-system.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/table_form.css" rel="stylesheet" type="text/css" />
<link href="__APP__/__PUBLIC__/css/dialog.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles1.css" title="styles1" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles2.css" title="styles2" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles3.css" title="styles3" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="__APP__/__PUBLIC__/css/style/zh-cn-styles4.css" title="styles4" media="screen" />
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/styleswitch.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/admin_common.js"></script>
<script language="javascript" type="text/javascript" src="__APP__/__PUBLIC__/js/dialog.js"></script>
</head>
<body>
<style type="text/css">
html{_overflow-y:scroll}
</style>
<div class="pad-10">
<?php echo ($html); ?>
</div>
</body>
</body>
</html>
\ No newline at end of file
<?php
return array (
'mlist' =>
array (
0 =>
array (
'name' => 'index',
'title' => '首页',
'id' => '22',
),
1 =>
array (
'name' => 'hospital',
'title' => '医院信息',
'id' => '17',
),
2 =>
array (
'name' => 'guest',
'title' => '访客信息',
'id' => '25',
),
3 =>
array (
'name' => 'authority',
'title' => '权限管理',
'id' => '29',
),
4 =>
array (
'name' => 'sys',
'title' => '系统管理',
'id' => '1',
),
),
'url' => 'sys/log',
'html' => '<h3 class="f14" id="h1" style="display:none"><span title="展开与收缩" class="switchs cu on"></span>系统管理</h3><ul style="display:none" id="ul1"><li class="sub_menu" data-url="sys/log" id="_MP1000_0"><a style="outline: medium none;" hidefocus="true" href="javascript:;" onclick="_MP(\\\'1000_0\\\',\\\'__APP__/sys/log\\\',\\\'操作日志\\\');">操作日志</a></li><li class="sub_menu" data-url="sys/password" id="_MP1000_1"><a style="outline: medium none;" hidefocus="true" href="javascript:;" onclick="_MP(\\\'1000_1\\\',\\\'__APP__/sys/password\\\',\\\'修改密码\\\');">修改密码</a></li><li class="sub_menu" data-url="sys/user" id="_MP1000_2"><a style="outline: medium none;" hidefocus="true" href="javascript:;" onclick="_MP(\\\'1000_2\\\',\\\'__APP__/sys/user\\\',\\\'用户\\\');">用户</a></li><li class="sub_menu" data-url="sys/role" id="_MP1000_3"><a style="outline: medium none;" hidefocus="true" href="javascript:;" onclick="_MP(\\\'1000_3\\\',\\\'__APP__/sys/role\\\',\\\'角色\\\');">角色</a></li></ul><h3 class="f14" id="h17" style="display:none"><span title="展开与收缩" class="switchs cu on"></span>医院信息</h3><ul style="display:none" id="ul17"><li class="sub_menu" data-url="hospital/patient" id="_MP1001_4"><a style="outline: medium none;" hidefocus="true" href="javascript:;" onclick="_MP(\\\'1001_4\\\',\\\'__APP__/hospital/patient\\\',\\\'住院患者\\\');">住院患者</a></li><li class="sub_menu" data-url="hospital/unit" id="_MP1001_5"><a style="outline: medium none;" hidefocus="true" href="javascript:;" onclick="_MP(\\\'1001_5\\\',\\\'__APP__/hospital/unit\\\',\\\'病区\\\');">病区</a></li></ul><h3 class="f14" id="h22" style="display:none"><span title="展开与收缩" class="switchs cu on"></span>首页</h3><ul style="display:none" id="ul22"><li class="sub_menu" data-url="index/dev" id="_MP1002_6"><a style="outline: medium none;" hidefocus="true" href="javascript:;" onclick="_MP(\\\'1002_6\\\',\\\'__APP__/index/dev\\\',\\\'闸机设备\\\');">闸机设备</a></li><li class="sub_menu" data-url="index/info" id="_MP1002_10"><a style="outline: medium none;" hidefocus="true" href="javascript:;" onclick="_MP(\\\'1002_10\\\',\\\'__APP__/index/info\\\',\\\'服务器环境\\\');">服务器环境</a></li><li class="sub_menu" data-url="index/help" id="_MP1002_11"><a style="outline: medium none;" hidefocus="true" href="javascript:;" onclick="_MP(\\\'1002_11\\\',\\\'__APP__/index/help\\\',\\\'使用帮助\\\');">使用帮助</a></li></ul><h3 class="f14" id="h25" style="display:none"><span title="展开与收缩" class="switchs cu on"></span>访客信息</h3><ul style="display:none" id="ul25"><li class="sub_menu" data-url="guest/index" id="_MP1003_7"><a style="outline: medium none;" hidefocus="true" href="javascript:;" onclick="_MP(\\\'1003_7\\\',\\\'__APP__/guest/index\\\',\\\'登记记录\\\');">登记记录</a></li><li class="sub_menu" data-url="guest/inout" id="_MP1003_8"><a style="outline: medium none;" hidefocus="true" href="javascript:;" onclick="_MP(\\\'1003_8\\\',\\\'__APP__/guest/inout\\\',\\\'进出日志\\\');">进出日志</a></li></ul><h3 class="f14" id="h29" style="display:none"><span title="展开与收缩" class="switchs cu on"></span>权限管理</h3><ul style="display:none" id="ul29"><li class="sub_menu" data-url="authority/index" id="_MP1004_9"><a style="outline: medium none;" hidefocus="true" href="javascript:;" onclick="_MP(\\\'1004_9\\\',\\\'__APP__/authority/index\\\',\\\'权限信息\\\');">权限信息</a></li></ul>',
);
?>
\ No newline at end of file
<?php
return array (
'mlist' =>
array (
0 =>
array (
'name' => 'hospital',
'title' => '医院信息',
'id' => '17',
),
1 =>
array (
'name' => 'guest',
'title' => '访客信息',
'id' => '25',
),
2 =>
array (
'name' => 'authority',
'title' => '权限管理',
'id' => '29',
),
3 =>
array (
'name' => 'sys',
'title' => '系统管理',
'id' => '1',
),
),
'url' => 'sys/password',
'html' => '<h3 class="f14" id="h1" style="display:none"><span title="展开与收缩" class="switchs cu on"></span>系统管理</h3><ul style="display:none" id="ul1"><li class="sub_menu" data-url="sys/password" id="_MP1000_0"><a style="outline: medium none;" hidefocus="true" href="javascript:;" onclick="_MP(\\\'1000_0\\\',\\\'__APP__/sys/password\\\',\\\'修改密码\\\');">修改密码</a></li></ul><h3 class="f14" id="h17" style="display:none"><span title="展开与收缩" class="switchs cu on"></span>医院信息</h3><ul style="display:none" id="ul17"><li class="sub_menu" data-url="hospital/patient" id="_MP1001_1"><a style="outline: medium none;" hidefocus="true" href="javascript:;" onclick="_MP(\\\'1001_1\\\',\\\'__APP__/hospital/patient\\\',\\\'住院患者\\\');">住院患者</a></li><li class="sub_menu" data-url="hospital/unit" id="_MP1001_2"><a style="outline: medium none;" hidefocus="true" href="javascript:;" onclick="_MP(\\\'1001_2\\\',\\\'__APP__/hospital/unit\\\',\\\'病区\\\');">病区</a></li></ul><h3 class="f14" id="h25" style="display:none"><span title="展开与收缩" class="switchs cu on"></span>访客信息</h3><ul style="display:none" id="ul25"><li class="sub_menu" data-url="guest/index" id="_MP1002_3"><a style="outline: medium none;" hidefocus="true" href="javascript:;" onclick="_MP(\\\'1002_3\\\',\\\'__APP__/guest/index\\\',\\\'登记记录\\\');">登记记录</a></li><li class="sub_menu" data-url="guest/inout" id="_MP1002_4"><a style="outline: medium none;" hidefocus="true" href="javascript:;" onclick="_MP(\\\'1002_4\\\',\\\'__APP__/guest/inout\\\',\\\'进出日志\\\');">进出日志</a></li></ul><h3 class="f14" id="h29" style="display:none"><span title="展开与收缩" class="switchs cu on"></span>权限管理</h3><ul style="display:none" id="ul29"><li class="sub_menu" data-url="authority/index" id="_MP1003_5"><a style="outline: medium none;" hidefocus="true" href="javascript:;" onclick="_MP(\\\'1003_5\\\',\\\'__APP__/authority/index\\\',\\\'权限信息\\\');">权限信息</a></li></ul>',
);
?>
\ No newline at end of file
<?php
return array (
'mlist' =>
array (
0 =>
array (
'name' => 'hospital',
'title' => '医院信息',
'id' => '17',
),
1 =>
array (
'name' => 'guest',
'title' => '访客信息',
'id' => '25',
),
),
'url' => 'hospital/patient',
'html' => '<h3 class="f14" id="h17" style="display:none"><span title="展开与收缩" class="switchs cu on"></span>医院信息</h3><ul style="display:none" id="ul17"><li class="sub_menu" data-url="hospital/patient" id="_MP1000_0"><a style="outline: medium none;" hidefocus="true" href="javascript:;" onclick="_MP(\\\'1000_0\\\',\\\'__APP__/hospital/patient\\\',\\\'住院患者\\\');">住院患者</a></li><li class="sub_menu" data-url="hospital/unit" id="_MP1000_1"><a style="outline: medium none;" hidefocus="true" href="javascript:;" onclick="_MP(\\\'1000_1\\\',\\\'__APP__/hospital/unit\\\',\\\'病区\\\');">病区</a></li></ul><h3 class="f14" id="h25" style="display:none"><span title="展开与收缩" class="switchs cu on"></span>访客信息</h3><ul style="display:none" id="ul25"><li class="sub_menu" data-url="guest/index" id="_MP1001_2"><a style="outline: medium none;" hidefocus="true" href="javascript:;" onclick="_MP(\\\'1001_2\\\',\\\'__APP__/guest/index\\\',\\\'登记记录\\\');">登记记录</a></li><li class="sub_menu" data-url="guest/inout" id="_MP1001_3"><a style="outline: medium none;" hidefocus="true" href="javascript:;" onclick="_MP(\\\'1001_3\\\',\\\'__APP__/guest/inout\\\',\\\'进出日志\\\');">进出日志</a></li></ul>',
);
?>
\ No newline at end of file
<?php
return array (
0 => 'role_id',
1 => 'node_id',
2 => 'level',
3 => 'module',
'_autoinc' => false,
);
?>
\ No newline at end of file
<?php
return array (
0 => 'id',
1 => 'name',
2 => 'rule',
3 => 'is_sys',
4 => 'user_id',
5 => 'remark',
'_autoinc' => true,
'_pk' => 'id',
);
?>
\ No newline at end of file
<?php
return array (
0 => 'key',
1 => 'value',
'_autoinc' => false,
);
?>
\ No newline at end of file
<?php
return array (
0 => 'id',
1 => 'zhuyuanhao',
2 => 'shenfenzheng',
3 => 'name',
4 => 'mobile',
'_autoinc' => true,
'_pk' => 'id',
);
?>
\ No newline at end of file
<?php
return array (
0 => 'id',
1 => 'direction',
2 => 'code',
3 => 'ip',
4 => 'position',
5 => 'active_time',
'_autoinc' => true,
'_pk' => 'id',
);
?>
\ No newline at end of file
<?php
return array (
0 => 'id',
1 => 'no',
2 => 'zhuyuanhao',
3 => 'shenfenzheng',
4 => 'name',
5 => 'mobile',
6 => 'p_mobile',
7 => 'addtime',
8 => 'is_self',
'_autoinc' => true,
'_pk' => 'id',
);
?>
\ No newline at end of file
<?php
return array (
0 => 'id',
1 => 'no',
2 => 'zhuyuanhao',
3 => 'shenfenzheng',
4 => 'name',
5 => 'mobile',
6 => 'p_mobile',
7 => 'addtime',
8 => 'is_self',
'_autoinc' => true,
'_pk' => 'id',
);
?>
\ No newline at end of file
<?php
return array (
'_autoinc' => false,
);
?>
\ No newline at end of file
<?php
return array (
0 => 'id',
1 => 'no',
2 => 'zhuyuanhao',
3 => 'direction',
4 => 'time',
5 => 'mid',
'_autoinc' => true,
'_pk' => 'id',
);
?>
\ No newline at end of file
<?php
return array (
'_autoinc' => false,
);
?>
\ No newline at end of file
<?php
return array (
0 => 'id',
1 => 'uid',
2 => 'action',
3 => 'result',
4 => 'time',
'_autoinc' => true,
'_pk' => 'id',
);
?>
\ No newline at end of file
<?php
return array (
0 => 'id',
1 => 'zhuyuanhao',
2 => 'kid',
3 => 'bid',
4 => 'rule',
5 => 'is_die',
6 => 'is_out',
7 => 'is_operation',
8 => 'is_icu',
9 => 'is_operation_j',
10 => 'is_operation_z',
11 => 'operation_z_date',
12 => 'b_auth',
13 => 'die_date',
14 => 'out_date',
15 => 'operation_date',
16 => 'operation_j_date',
17 => 'in_status',
18 => 'pz_status',
19 => 'jc_status',
20 => 'visit_cause',
'_autoinc' => true,
'_pk' => 'id',
);
?>
\ No newline at end of file
<?php
return array (
0 => 'id',
1 => 'name',
2 => 'pid',
3 => 'status',
4 => 'remark',
'_autoinc' => true,
'_pk' => 'id',
);
?>
\ No newline at end of file
<?php
return array (
0 => 'role_id',
1 => 'user_id',
'_autoinc' => false,
);
?>
\ No newline at end of file
<?php
return array (
0 => 'id',
1 => 'account',
2 => 'nickname',
3 => 'password',
4 => 'bind_account',
5 => 'last_login_time',
6 => 'last_login_ip',
7 => 'login_count',
8 => 'verify',
9 => 'email',
10 => 'remark',
11 => 'create_time',
12 => 'update_time',
13 => 'status',
14 => 'type_id',
15 => 'info',
'_autoinc' => true,
'_pk' => 'id',
);
?>
\ No newline at end of file
<?php
return array (
0 => 'id',
1 => 'name',
2 => 'title',
3 => 'status',
4 => 'sort',
5 => 'pid',
6 => 'level',
7 => 'menu',
'_autoinc' => true,
'_pk' => 'id',
);
?>
\ No newline at end of file
[ 2019-12-02T18:21:33+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2019-12-05T11:15:03+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2019-12-05T16:52:45+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2019-12-05T17:19:42+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2019-12-06T10:52:26+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2019-12-06T12:36:38+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2019-12-06T12:36:59+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2019-12-06T14:01:37+08:00 ] ERR: (ThinkException) 非法操作__app__
[ 2019-12-06T14:01:37+08:00 ] ERR: (ThinkException) 非法操作__app__
[ 2019-12-06T14:01:37+08:00 ] ERR: (ThinkException) 非法操作__app__
[ 2019-12-06T14:01:37+08:00 ] ERR: (ThinkException) 非法操作__app__
[ 2019-12-06T14:01:37+08:00 ] ERR: (ThinkException) 非法操作__app__
[ 2019-12-06T14:01:38+08:00 ] ERR: (ThinkException) 非法操作__app__
[ 2019-12-06T14:01:38+08:00 ] ERR: (ThinkException) 非法操作__app__
[ 2019-12-06T14:01:39+08:00 ] ERR: (ThinkException) 非法操作__app__
[ 2019-12-06T14:01:39+08:00 ] ERR: (ThinkException) 非法操作__app__
[ 2019-12-06T14:01:39+08:00 ] ERR: (ThinkException) 非法操作__app__
[ 2019-12-06T14:01:39+08:00 ] ERR: (ThinkException) 非法操作__app__
[ 2019-12-06T14:01:39+08:00 ] ERR: (ThinkException) 非法操作__app__
[ 2019-12-06T14:01:39+08:00 ] ERR: (ThinkException) 非法操作__app__
[ 2019-12-06T14:01:39+08:00 ] ERR: (ThinkException) 非法操作__app__
[ 2019-12-06T14:01:40+08:00 ] ERR: (ThinkException) 非法操作__app__
[ 2019-12-06T14:01:40+08:00 ] ERR: (ThinkException) 非法操作__app__
[ 2019-12-06T14:01:40+08:00 ] ERR: (ThinkException) 非法操作__app__
[ 2019-12-06T14:01:40+08:00 ] ERR: (ThinkException) 非法操作__app__
[ 2019-12-06T14:01:40+08:00 ] ERR: (ThinkException) 非法操作__app__
[ 2019-12-06T14:01:40+08:00 ] ERR: (ThinkException) 非法操作__app__
[ 2019-12-06T14:01:40+08:00 ] ERR: (ThinkException) 非法操作__app__
[ 2019-12-06T14:01:40+08:00 ] ERR: (ThinkException) 非法操作__app__
[ 2019-12-06T14:01:40+08:00 ] ERR: (ThinkException) 非法操作__app__
[ 2019-12-06T14:01:40+08:00 ] ERR: (ThinkException) 非法操作__app__
[ 2019-12-06T14:01:40+08:00 ] ERR: (ThinkException) 非法操作__app__
[ 2019-12-06T14:01:40+08:00 ] ERR: (ThinkException) 非法操作__app__
[ 2019-12-06T14:01:40+08:00 ] ERR: (ThinkException) 非法操作__app__
[ 2019-12-06T14:01:41+08:00 ] ERR: (ThinkException) 非法操作__app__
[ 2019-12-11T13:21:52+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2019-12-11T17:23:15+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2019-12-11T17:29:09+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2019-12-11T17:56:37+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2019-12-11T17:56:39+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2019-12-11T18:01:36+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2019-12-11T18:01:44+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2019-12-11T18:02:11+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2019-12-12T15:57:37+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2019-12-12T17:33:16+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2019-12-12T17:43:24+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2019-12-12T17:50:24+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2019-12-19T15:36:15+08:00 ] ERR: (ThinkException) 无法加载模块Wxh20191209
[ 2019-12-25T14:05:20+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2019-12-25T16:01:32+08:00 ] ERR: (ThinkException) 非法操作red
[ 2019-12-30T15:01:10+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2020-01-03T14:52:57+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2020-01-03T16:50:45+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2020-01-03T17:14:48+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2020-01-08T12:24:23+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2020-01-08T12:26:39+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2020-01-08T12:32:56+08:00 ] ERR: (ThinkException) XML标签语法错误 : $Think.session.account neq 'ssjr'
[ 2020-01-08T13:50:58+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2020-01-14T13:37:15+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2020-01-16T12:24:11+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2020-01-17T11:28:49+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2020-01-17T11:44:11+08:00 ] ERR: (ThinkException) 无法加载模块Public
[ 2020-02-13T13:59:43+08:00 ] ERR: (ThinkException) Unknown database 'gatedb'
[ 2020-02-14T10:51:51+08:00 ] ERR: (ThinkException) 无法加载模块
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment