<?php /*a:2:{s:83:"F:\wpf\WpfApp1\WpfApp1\bin\x64\Debug\web\im\application\index\view\index\index.html";i:1599739873;s:74:"F:\wpf\WpfApp1\WpfApp1\bin\x64\Debug\web\im/plugin/im/view/kefu/index.html";i:1599924159;}*/ ?>

  <link href="<?php echo htmlentities($css); ?>/iconfont.css" rel="stylesheet">
  <link href="<?php echo htmlentities($css); ?>/imkefu.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); ?>/ajaxFileUpload.js"></script>
	 <script type="text/javascript" src="<?php echo htmlentities($common); ?>/layer/layer.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 im_place="<?php echo htmlentities((isset($config['im_place']) && ($config['im_place'] !== '')?$config['im_place']:'3')); ?>";
	var im_robot="<?php echo htmlentities((isset($config['robot']) && ($config['robot'] !== '')?$config['robot']:'')); ?>";
	var list=[];
	var to_client_id;
	var to_uid=0;
    var to_client_name;
	var to_client_img;
	var im_login='<?php echo htmlentities((isset($user['is_login']) && ($user['is_login'] !== '')?$user['is_login']:'')); ?>';
	var pt='<?php echo htmlentities($img); ?>/qq/';
    var logouturl="<?php echo url('index/user/logout'); ?>";
	var loginurl="<?php echo url('index/user/login'); ?>";
    name="<?php echo htmlentities($imuser['username']); ?>";
	var imgpath="<?php echo htmlentities($img); ?>";
	var uid = "<?php echo htmlentities($imuser['id']); ?>";
	var fromclientid;
    var room_id="<?php echo isset($_GET['room_id']) ? $_GET['room_id'] : 1?>";
    var img="<?php echo htmlentities($imuser['cover']); ?>";	
    var logo="<?php echo htmlentities($imuser['cover']); ?>";var pt='<?php echo htmlentities($img); ?>/qq/';
    var upload_url = "<?php echo plugin_url('im://files/index'); ?>";
    var bind_url="<?php echo plugin_url('im://Worker/bind'); ?>";	
	var history_url="<?php echo plugin_url('im://Worker/history'); ?>";
	var uploadfileurl = "<?php echo plugin_url('im://files/add'); ?>";
	var filename;	
	var imtime="<?php echo $config['im_time']; ?>";

  </script>
    <div class="im_container">
	    <div class="im_row clearfix"><div id="immenu">
<div class="immenu">发送消息</div>
<div class="immenu">加好友</div>
<div class="immenu">从会话列表删除</div>
<div class="immenu">举报此用户</div>
<div class="immenu">移至黑名单</div>
</div>
	     
	        <div class="col-md-9 column">
	           <div class="thumbnail"><h4 class="user" style="background:<?php echo htmlentities($config['im_theme']); ?>"><span class="status">在线客服</span>
			     	 
			         <span onclick="imhide()" class="right  icon-font icon-xnormal"></span>
			     </h4>
	               <div class="caption" id="dialog">
				   <ul id="im_list">
				   <?php if(!(empty($config['im_tips']) || (($config['im_tips'] instanceof \think\Collection || $config['im_tips'] instanceof \think\Paginator ) && $config['im_tips']->isEmpty()))): ?>
				   <li id="524" class="textLeft"><img src="<?php echo htmlentities($config['robot']); ?>" class="icon"><span class="say"><?php echo $config['im_tips']; ?></span> </li>
				   <?php endif; ?>
				   </ul|
				  
				   </div>
	           </div>
	           <form class="im_form">
	                <select style="margin-bottom:8px;display:none;" id="client_list">
                        <option value="all">所有人</option>
                    </select> 
					<div class="tool">
				   <?php if($config['im_type']&&in_array('qq',$config['im_type'])): ?>
				   <img onclick="showemoji()" src="<?php echo htmlentities($img); ?>/face.png"> 
				  
				   <?php endif; if($config['im_type']&&in_array('gif',$config['im_type'])): ?>
				   <img onclick="showGif()" src="<?php echo htmlentities($img); ?>/gif.png">
				  
				   <?php endif; if($config['im_type']&&in_array('pic',$config['im_type'])): ?>
				   <div class="item" id="cover_id" style=""><input type="file" class="im_upload_file" id="uploads"/> 
				   <img src="<?php echo htmlentities($img); ?>/pic.png">
				   </div>
				   <?php endif; if($config['im_type']&&in_array('file',$config['im_type'])): ?>
				   <div class="item" id="file_id" style=""><input type="file" name="file" onchange="inputChange(this)" class="im_upload_file" id="files"/> <img src="<?php echo htmlentities($img); ?>/file.png">
				   </div>
				    <?php endif; ?>
				 
				   <div id="ems" style=""><p>经典表情</p>
				   <?php for ($x=1; $x<=99; $x++) {
  echo "<img onclick='selectIm(".$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="imtextarea"></textarea>
                    <div class="say-btn">
                       
                        <a onclick="sendText()" class="imsend" value="" style="background:<?php echo htmlentities($config['im_theme']); ?>" />发表</a>
                    </div>
               </form>
          
	        </div><!--自定义右键菜单html代码-->
	         <div class="col-md-3 column" style="display:none;">
	           <div class="thumbnail"><h4 class="head">
			     <img style="display:none;" class="logo" src="<?php echo htmlentities($imuser['cover']); ?>">
				  <img class="right"onclick="logout()" src="<?php echo htmlentities($img); ?>/im/x.png">
				  
				 </h4>
                   <div class="caption" id="userlist">				   
				      <div id="tab">	
				       
				       </div>
				       <ul class="onlines"  style="display:block;">
					  
					   </ul>
				       <ul class="imonline"  style=""></ul>
				       <ul class="imgroup"></ul>
					   <?php $path=get_cover_path($config['code']);
					   if(!$path){
					     $path=$img.'/im/0.jpg';
					   }
					    ?>
					   <div class="im_company">
					     <div class="im_title">qq客服 </div>
					     <img  width="100" src="<?php echo htmlentities($path); ?>">
					     <p class="im_title">微信号：teslak</p>
					      <div class="im_title">qq </div>
					     <img  width="100" src="<?php echo htmlentities($path); ?>">
					     <p class="im_title">微信号：teslak</p>
					   </div>
				   </div>
               </div>
	        </div>
			<!--自定义右键菜单html代码-->
	    </div>
    </div>
	<div class="im-main" onclick="imshow();" >
       <div class="im-img" ></div>
	   <p class='zx'>在线客服</p>
</div>
 <script type="text/javascript" src="<?php echo htmlentities($js); ?>/imkefu.js">
</script>

