<?php /*a:1:{s:75:"F:\wpf\WpfApp1\WpfApp1\bin\x64\Debug\web\im/plugin/im/view/group\index.html";i:1599490630;}*/ ?>
<html><head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title><?php echo htmlentities($info['title']); ?>聊天室</title>
  <link href="<?php echo htmlentities($css); ?>/bootstrap.min.css" rel="stylesheet">
  <link href="<?php echo htmlentities($css); ?>/group.css" rel="stylesheet">	
  <script type="text/javascript" src="<?php echo htmlentities($js); ?>/swfobject.js"></script>
  <script type="text/javascript" src="<?php echo htmlentities($js); ?>/web_socket.js"></script>
  <script type="text/javascript" src="<?php echo htmlentities($js); ?>/jquery.min.js"></script>
  
  <script type="text/javascript">
    if (typeof console == "undefined") {    this.console = { log: function (msg) {  } };}
    // 如果浏览器不支持websocket，会使用这个flash自动模拟websocket协议，此过程对开发者透明
    WEB_SOCKET_SWF_LOCATION = "/swf/WebSocketMain.swf";
    // 开启flash的websocket debug
    WEB_SOCKET_DEBUG = true;
    var ws, name, client_list={};
	var url="<?php echo htmlentities($config['im_url']); ?>";
	var list=[];
	var to_client_id="all";
    var pt='<?php echo htmlentities($img); ?>/qq/';
    var logouturl="<?php echo url('index/user/logout'); ?>";
	var loginurl="<?php echo url('index/user/login'); ?>";  
	var imgpath="<?php echo htmlentities($img); ?>";
	var uid = "<?php echo is_login(); ?>";
    var room_id="<?php echo htmlentities((isset($info['room_id']) && ($info['room_id'] !== '')?$info['room_id']:'')); ?>";
    var pt='<?php echo htmlentities($img); ?>/qq/';
    var upload_url = "<?php echo plugin_url('upload://files/index'); ?>";
    var bind_url="<?php echo plugin_url('im://Worker/bind'); ?>";	
	var history_url="<?php echo plugin_url('im://Worker/history'); ?>";
  </script>
</head>
<body onload="connect();">
    <div class="container">
	    <div class="row clearfix"><div id="menu">
<div class="menu">发送消息</div>
<div class="menu">加好友</div>
<div class="menu">从会话列表删除</div>
<div class="menu">举报此用户</div>
<div class="menu">移至黑名单</div>
</div>
	     
	        <div class="col-md-6 column">
	           <div class="thumbnail"><h4 class="user"><span class="status"><?php echo htmlentities($info['title']); ?>(<?php echo htmlentities($count); ?>人)</span>
			     
			  
			   </h4>
	               <div class="caption" id="dialog">
				   <ul id="im_list"></ul>
				  
				   </div>
	           </div>
	           <form onsubmit="onSubmit(); return false;">
	                <select style="margin-bottom:8px;display:none;" id="client_list">
                        <option value="all">所有人</option>
                    </select> 
					<div class="tool">
				   
				   <img onclick="showemoji()" src="<?php echo htmlentities($img); ?>/face.png">  
				   <img onclick="showGif()" src="<?php echo htmlentities($img); ?>/gif.png">
				   <div class="item" id="cover_id" style=""><input type="file" class="upload_file" id="uploads"/> 
				   <img src="<?php echo htmlentities($img); ?>/pic.png"></div>
				   <div class="item" id="cover_id" style=""><input type="file" class="upload_file" id="uploads"/> <img src="<?php echo htmlentities($img); ?>/file.png">
				   </div>
				 
				   <div id="ems" style=""><p>经典表情</p>
				   <?php for ($x=1; $x<=130; $x++) {
  echo "<img onclick='select(".$x.")' src='".$img."/qq/".$x.".gif'>";
}  ?>
				  </div>  <div id="gif" style=""><p>gif热图</p>
				   <?php for ($x=1; $x<=124; $x++) {
  echo "<img onclick='selectGif(".$x.")' src='".$img."/gif/qq".$x.".gif'>";
}  ?>
				  </div>
				   </div>
                    <textarea class="textarea thumbnail" id="textarea"></textarea>
                    <div class="say-btn">
                       
                        <input type="submit" class="btn btn-default send" value="发表" />
                    </div>
               </form>
          
	        </div><!--自定义右键菜单html代码-->
	         <div class="col-md-3 column">
	           <div class="thumbnail"><h4 class="head">
			     <img style="display:none;" class="logo" src="<?php echo htmlentities($info['cover']); ?>">
				  <img class="right"onclick="logout()" src="<?php echo htmlentities($img); ?>/icon3.png">
				  <img class="right" src="<?php echo htmlentities($img); ?>/icon2.png"> 
				  <img class="right" src="<?php echo htmlentities($img); ?>/icon1.png">
				 </h4>
                   <div class="caption" id="userlist">				   
				      <div id="tab">	
				         <span class="active">消息</span> 
				          <span>群聊</span>
				       </div>
				       <ul class="onlines"  style="display:block;">
					    <img class="right" src="<?php echo htmlentities($img); ?>/im/user.png"> 
					   </ul>
				       <ul class="online"  style="">
					     <?php if(is_array($user) || $user instanceof \think\Collection || $user instanceof \think\Paginator): $i = 0; $__LIST__ = $user;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
					   <li class="im_friend<?php echo htmlentities($vo['uid']); ?>"
					   onclick="selectUser(this,<?php echo htmlentities($vo['uid']); ?>,'')"
					   id="<?php echo htmlentities((isset($vo['from_client_id']) && ($vo['from_client_id'] !== '')?$vo['from_client_id']:'')); ?> "><img src="<?php echo htmlentities(get_user_cover($vo['uid'])); ?>" class="user_icon"> <span class="name"><?php echo htmlentities(get_user($vo['uid'],'username')); ?></span><span class="tips"> 
					  
					   </span></li>
					   <?php endforeach; endif; else: echo "" ;endif; ?>
					   </ul>
				       <ul class="group"></ul>
				   </div>
               </div>
	        </div>
			<!--自定义右键菜单html代码-->
	    </div>
    </div>

 <script type="text/javascript" src="<?php echo htmlentities($js); ?>/group.js"></script>
</body>
</html>
