<?php /*a:4:{s:81:"F:\wpf\WpfApp1\WpfApp1\bin\x64\Debug\web\im/plugin/im/view/imgroupuser\index.html";i:1599620650;s:77:"F:\wpf\WpfApp1\WpfApp1\bin\x64\Debug\web\im/plugin/im/view/public\header.html";i:1599620496;s:77:"F:\wpf\WpfApp1\WpfApp1\bin\x64\Debug\web\im/plugin/im/view/public\dialog.html";i:1583543918;s:77:"F:\wpf\WpfApp1\WpfApp1\bin\x64\Debug\web\im/plugin/im/view/public\footer.html";i:1598278409;}*/ ?>
 <!-- 头部 -->
	<!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><?php echo htmlentities((isset($meta_title) && ($meta_title !== '')?$meta_title:"")); ?>|<?php echo api('SITE_NAME'); ?>插件后台管理</title>
   <link rel="stylesheet" href="<?php echo htmlentities($common); ?>/iconfont.css">
	<link rel="stylesheet" href="<?php echo htmlentities($css); ?>/style.css" />
	<script type="text/javascript" src="<?php echo htmlentities($js); ?>/jquery.min.js" ></script>
   <script type="text/javascript" src="<?php echo htmlentities($common); ?>/layer/layer.js"></script>
   <script type="text/javascript" src="<?php echo htmlentities($common); ?>/file.js"></script> 	
<script type="text/javascript" src="<?php echo htmlentities($common); ?>/laydate/laydate.js"></script> 
	<!-- 自定义弹窗-->
    <script>
	var dialog_style ="<?php echo api('DIALOG_STYLE'); ?>";
	var index_url="<?php echo url('index/index'); ?>";
	$(".logo").click(function(){
	   location.href=index_url;
	});
</script>
  <!--引入改进型easydialog弹窗 -->	
<?php if(api('DIALOG_STYLE') == '1'): ?>	
	<link rel="stylesheet" href="__CSS__/global.css">
	<link rel="stylesheet" href="__CSS__/animate.css">
	<link rel="stylesheet" href="__CSS__/dialog.css">
	<style>
		.div-testDialog{
			width: 500px;
			height: auto;
			margin: 50px auto;
		}

		.div-testDialog button{
			margin:  10px;
		}
		@media screen and ( max-width: 460px){
			.div-testDialog{
				width: 90%;
			}
		}
   </style>
<script src="__JS__/dialog.js"></script>	
<?php endif; ?>

	</head>
	<body>
		<div class="top header" style="background:<?php echo api('COLOR'); ?>">
			<div class="logo"></div>
			<ul class="main_links">
		          
				  <li class='menubar'>
                 <a>
					<div class="toggler">

                      <span class="bar"></span>
                      <span class="bar"></span>
                      <span class="bar"></span>
                    </div>
                  </a>
                </li>
					<?php if(isset($group)): ?>    
                        <!-- 欢迎语 -->
						   <?php if(is_array($group) || $group instanceof \think\Collection || $group instanceof \think\Paginator): $i = 0; $__LIST__ = $group;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                            <li class="<?php if($group_id == $vo['id']): ?>active<?php endif; ?>"><a href="<?php echo htmlentities(get_group_url($vo['id'])); ?>"><?php echo htmlentities((isset($vo['title']) && ($vo['title'] !== '')?$vo['title']:"")); ?> </a>
							
							</li>
					<?php endforeach; endif; else: echo "" ;endif; ?>  
							
			  <li><a href="<?php echo site_url(); ?>" target="_blank">前台</a></li>
                <?php endif; ?>
			</ul>	
			<div class="user_info">
			<img src="<?php echo htmlentities($img); ?>/users.png" height='20px'>欢迎您,<a href="<?php echo url('ucenter/edit',array('id'=>is_login())); ?>" id="user_icon"><?php echo get_username(); ?></a>
				<a href="<?php echo url('admin/login/logout'); ?>" id="user_icon"><img src="<?php echo htmlentities($img); ?>/out.png" height='20px'>退出</a>
				
			</div>
			
		<script>	
		
	</script>	

		</div>
	    <div class="main">
			<div class="nav_tree" style="">
				<div class="innerUl"> 
				<div class="wrapper">
<div class="tit">
<span class="icon iconfont icon-xitong1" id="lft"></span> 
<span class="name">系统管理</span></a>
<span class="rgt icon iconfont icon-arrow"></span></div>
<ul class="menuUl" id="child" style="display:;">

         <li class="<?php if(input('_c') == 'lists'): ?>active<?php endif; ?>"><a id="70" href="<?php echo plugin_url('im://lists/index'); ?>">聊天管理</a></li>
        <li class="<?php if(input('_c') == 'imfriend'): ?>active<?php endif; ?>"><a id="70" href="<?php echo plugin_url('im://imfriend/index'); ?>">好友管理</a></li>
         <li class="<?php if(input('_c') == 'imgroup'): ?>active<?php endif; ?>"><a id="70" href="<?php echo plugin_url('im://imgroup/index'); ?>">群管理</a></li>
		   <li class="<?php if(input('_c') == 'imgroupuser'): ?>active<?php endif; ?>"><a id="70" href="<?php echo plugin_url('im://imgroupuser/index'); ?>">群成员管理</a></li>
		    <li class="<?php if(input('_c') == 'imrobot'): ?>active<?php endif; ?>"><a id="70" href="<?php echo plugin_url('im://imrobot/index'); ?>">机器人回复管理</a></li> 
</ul>
</div>
 
 
		         </div>
	    </div>
		
	     <script type="text/javascript">
		 	$(".menubar").click(function(){
				 $('.nav_tree').toggleClass('w80');

				 if ( $('.nav_tree').hasClass('w80')) {
		              $(".innerUl #child").hide();		
					  $(".innerUl .name,.innerUl .rgt").hide();
	            }else{
		           $(".innerUl #child").show();
				   $(".innerUl .name,.innerUl .rgt").show();
	            }
			
				
          });
		  $(".innerUl #lft").mouseover(function(){
                 $(".innerUl .name,.innerUl .rgt").show();
				 $('.nav_tree').removeClass('w80');
                if ( $('.nav_tree').hasClass('w80')) {
		              $(".innerUl #child").hide();		
					  $(".innerUl .name,.innerUl .rgt").hide();
	            }else{
		           $(".innerUl #child").show();
				   $(".innerUl .name,.innerUl .rgt").show();
	            }
				 
          });
		    var type="<?php echo api('upload_type'); ?>";
		    if(type==1){
				  var url = "<?php echo url('Attachment/insert'); ?>";
			}else if(type==2){
				  var url = "<?php echo url('Attachment/upfile'); ?>";
			}else{    
			  var url = "<?php echo url('Attachment/update'); ?>";
			}
			$(".tit").click(function(){
                $(this).next().toggle();
				
				if($(this).find(".rgt").hasClass('icon-arrow')){
				console.log(1);
				   $(this).find(".rgt").attr("class","rgt icon iconfont icon-right2")
				}else{
				  $(this).find(".rgt").attr("class","rgt icon iconfont icon-arrow")
				}
          });					   		
       </script>		 
	
	<script type="text/javascript" src="<?php echo htmlentities($common); ?>/upload.js"></script> 
<!-- 头部 --> 
		 <script type="text/javascript" src="<?php echo htmlentities($common); ?>/laydate/laydate.js"></script>	
			<div class="content">
				<div class="edit_title"><?php echo htmlentities((isset($meta_title) && ($meta_title !== '')?$meta_title:"")); ?></div>
				<div class="tips_msg none"><span class="tips">保存成功</span><span class="close_tips"></span></div>
					<div class="search">
					   <form class="search-form"  action="<?php echo url(); ?>" method="post">
						  <div class="group">
							   名称：<input type="text" name="title" class="search_ipt" value="<?php echo input('title'); ?>"/>
						  
						 
						 <input type="button" class="search_btn"value="搜索" onclick="$('.search-form').submit()">
							  </div>
					   </form>
					</div>
				
				<div class="table">
					<div class="edit">
						<div class="edit_left ">
								<a href="<?php echo plugin_url('im://imgroupuser/add'); ?>" class="add cur">新增</a>
							<a data-url="<?php echo plugin_url('im://imgroupuser/del'); ?>" class="delete cur">删除</a>
						</div>
						<div class="search_right">
							<input type="text" value="<?php echo input('title'); ?>"/>
							<div class="search_btn"></div>
						</div>
					</div>
					<table class="list_table">
					    <tr>
						   <th> <input class="checkbox check-all" type="checkbox"></th>
						   <th>id</th>
						 <th> 群组id</th>
		                 <th> 昵称</th>
		               
		                   <th class="">操作</th>
                        </tr>
				          <?php if(is_array($res['list']) || $res['list'] instanceof \think\Collection || $res['list'] instanceof \think\Paginator): $i = 0; $__LIST__ = $res['list'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                               <tr class="even gradeC">
                                    <td><input class="ids row-selected" type="checkbox" name="id[]" value="<?php echo htmlentities($vo['id']); ?>"></td>
									<td><?php echo htmlentities($vo['id']); ?> </td>
									<td><?php echo htmlentities($vo['group_id']); ?></td>
			                        <td> <?php echo htmlentities(get_username($vo['uid'])); ?></td>
			                        <td class="list_opr">
                                            <span class="opr_box">
									               <a href="<?php echo plugin_url('im://imgroupuser/edit?id='.$vo['id']); ?>" class="edit_btn cur">编辑</a>
									       <a data-url="<?php echo plugin_url('im://imgroupuser/del?id='.$vo['id']); ?>" class="del_btn cur">删除</a>
								
                                        </span>          
                                    </td>
                                </tr>
											
					    <?php endforeach; endif; else: echo "" ;endif; ?>
					</table>
					<!--分页-->
					<ul class="pagination">
						  <?php echo $res['page']; ?>
					</ul>
				</div>
			</div>
		</div>
  <script src="<?php echo htmlentities($js); ?>/style.js"></script>
  <script>
		laydate({
				elem: '#start_time',
				format: 'YYYY-MM-DD hh:mm:ss', 
				min: laydate.now(), //设定最小日期为当前日期//目标元素。由于laydate.js封装了一个轻量级的选择器引擎，因此elem还允许你传入class、tag但必须按照这种方式 '#id .class'
				event: 'focus' //响应事件。如果没有传入event，则按照默认的click
		});
			
		laydate({
				  elem: '#end_time',
				  format: 'YYYY-MM-DD hh:mm:ss', 
				  min: laydate.now(), //设定最小日期为当前日期//目标元素。由于laydate.js封装了一个轻量级的选择器引擎，因此elem还允许你传入class、tag但必须按照这种方式 '#id .class'
				  event: 'focus' //响应事件。如果没有传入event，则按照默认的click
		});
</script> <!-- 头部 -->
	
<script src="<?php echo htmlentities($js); ?>/common.js"></script>  

<script>
var html='<footer style=""><p> Powered by <a href="http://www.bycms.cn/" target="_blank">bymall V1.0</a> </p></footer>';

$(".content").append(html);
var sid="<?php echo input('module_id')?input('module_id'):''; ?>";var obj=$("a#"+sid);$(obj).parents("li").eq(0).addClass("active");
</script>
</body>
</html>
<!-- 头部 --> 

