<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); ?><?php
$return = <<<EOF


EOF;
 if(in_array($_G['groupid'],$viewset)) { if(!in_array($_GET['id'],$hidelist)) { 
$return .= <<<EOF

<script src="source/plugin/mini_kf/js/jquery.js" type="text/javascript"></script>

EOF;
 } 
$return .= <<<EOF

<script src="source/plugin/mini_kf/js/minikf.js" type="text/javascript"></script>
<style type="text/css">
* {
margin:0;
padding:0;
}
.minikf-cs {
text-align:left;
font-size:12px;
background:{$config['bgcolor']};
position: fixed;
top: {$config['top']}px;
right: 1px;
_position: absolute;
z-index: 999;
filter:progid:DXImageTransform.Microsoft.gradient(enabled='true', startColorstr='#E5333333', endColorstr='#E5333333');
}
.minikf-cs a {
color: #00A0E9;
}
.minikf-cs a:hover {
color: #ff8100;
text-decoration: none;
}
.minikf-cs .floatL {
width: 36px;
float:left;
position: relative;
z-index:1;
}
.minikf-cs .floatL a {
font-size:0;
text-indent: -999em;
display: block;
}
.minikf-cs .floatR {
width: {$config['width']}px;
float: left;
padding: 5px;
overflow:hidden;
}
.minikf-cs .floatR .cn {
background: {$config['infocolor']};
}
.minikf-cs .cn h3 {
font-size: 14px;
color: #333;
font-weight:600;
line-height: 24px;
padding: 5px
}
.minikf-cs .cn ul {
padding: 0 0 0 8px;
}
.minikf-cs .cn ul li {
line-height: 38px;
height:38px;
border-bottom: solid 1px #E6E4E4;
overflow: hidden;
}
.minikf-cs .cn ul li span {
color: #777;
}
.minikf-cs .cn ul li img {
vertical-align: middle;
}
.minikf-cs .btnOpen, .minikf-cs .btnCtn {
position: relative;
z-index:9;
top:0;
left: 0;
background-image: url(source/plugin/mini_kf/images/minikf.png);
background-repeat: no-repeat;
display:block;
width: 20px;
height: 146px;
padding: 8px;
}
.minikf-cs .btnOpen {
background-position: 0px 0;
}
.minikf-cs .btnCtn {
background-position: -35px 0;
}
.minikf-cs ul li.top {
border-bottom: solid #ACE5F9 1px;
}
.minikf-cs ul li.bot {
border-bottom: none;
}
</style>

<div id="floatTools" class="minikf-cs">
  <div class="floatL"> <a style="display: block" id="aFloatTools_Show" class="btnOpen" title="查看在线客服" onClick="javascript:jQuery('#divFloatToolsView').animate({width: 'show', opacity: 'show'}, 'normal',function(){ jQuery('#divFloatToolsView').show();kf_setCookie('RightFloatShown', 0, '', '/', '#'); });jQuery('#aFloatTools_Show').attr('style','display:none');jQuery('#aFloatTools_Hide').attr('style','display:block');" href="javascript:void(0);">展开</a> <a style="display: none" id="aFloatTools_Hide" class="btnCtn" title="关闭在线客服" onClick="javascript:jQuery('#divFloatToolsView').animate({width: 'hide', opacity: 'hide'}, 'normal',function(){ jQuery('#divFloatToolsView').hide();kf_setCookie('RightFloatShown', 1, '', '/', '#'); });jQuery('#aFloatTools_Show').attr('style','display:block');jQuery('#aFloatTools_Hide').attr('style','display:none');" href="javascript:void(0);">收缩</a> </div>
  <div id="divFloatToolsView" class="floatR" style="display: none">
    <div class="cn">

EOF;
 if(!empty($type['0'])) { 
$return .= <<<EOF

      <h3>{$type['0']}</h3>
      <ul>
  
EOF;
 if(!empty($typeaqq['0'])) { 
$return .= <<<EOF

        <li><span>QQ客服 </span><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&amp;uin={$typeaqq['0']}&amp;site=qq&amp;menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:{$typeaqq['0']}:51" alt="点击这里给我发消息" title="点击这里给我发消息"/></a></li>
  
EOF;
 } 
$return .= <<<EOF

  
EOF;
 if(!empty($typeaqq['1'])) { 
$return .= <<<EOF

        <li><span>QQ客服2</span><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&amp;uin={$typeaqq['1']}&amp;site=qq&amp;menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:{$typeaqq['1']}:51" alt="点击这里给我发消息" title="点击这里给我发消息"/></a></li>
  
EOF;
 } 
$return .= <<<EOF

  
EOF;
 if(!empty($typeaqq['2'])) { 
$return .= <<<EOF

        <li><span>QQ客服3</span><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&amp;uin={$typeaqq['2']}&amp;site=qq&amp;menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:{$typeaqq['2']}:51" alt="点击这里给我发消息" title="点击这里给我发消息"/></a></li>
  
EOF;
 } 
$return .= <<<EOF

  
EOF;
 if(!empty($typeaww['0'])) { 
$return .= <<<EOF

        <li><span>旺旺客服 </span><a target="_blank" href="http://www.taobao.com/webww/ww.php?ver=3&amp;touid={$typeaww['0']}&amp;siteid=cntaobao&amp;status=1&amp;charset=utf-8" ><img border="0" src="http://amos.alicdn.com/realonline.aw?v=2&amp;uid={$typeaww['0']}&amp;site=cntaobao&amp;s=1&amp;charset=utf-8" alt="点击这里给我发消息" /></a></li>
  
EOF;
 } 
$return .= <<<EOF

  
EOF;
 if(!empty($typeaww['1'])) { 
$return .= <<<EOF

        <li><span>旺旺客服2</span><a target="_blank" href="http://www.taobao.com/webww/ww.php?ver=3&amp;touid={$typeaww['1']}&amp;siteid=cntaobao&amp;status=1&amp;charset=utf-8" ><img border="0" src="http://amos.alicdn.com/realonline.aw?v=2&amp;uid={$typeaww['1']}&amp;site=cntaobao&amp;s=1&amp;charset=utf-8" alt="点击这里给我发消息" /></a></li>
  
EOF;
 } 
$return .= <<<EOF

  
EOF;
 if(!empty($typeaww['2'])) { 
$return .= <<<EOF

        <li><span>旺旺客服3</span><a target="_blank" href="http://www.taobao.com/webww/ww.php?ver=3&amp;touid={$typeaww['2']}&amp;siteid=cntaobao&amp;status=1&amp;charset=utf-8" ><img border="0" src="http://amos.alicdn.com/realonline.aw?v=2&amp;uid={$typeaww['2']}&amp;site=cntaobao&amp;s=1&amp;charset=utf-8" alt="点击这里给我发消息" /></a></li>
  
EOF;
 } 
$return .= <<<EOF

      </ul>

EOF;
 } if(!empty($type['1'])) { 
$return .= <<<EOF

      <h3>{$type['1']}</h3>
  <ul>
  
EOF;
 if(!empty($typebqq['0'])) { 
$return .= <<<EOF

        <li><span>QQ客服 </span><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&amp;uin={$typebqq['0']}&amp;site=qq&amp;menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:{$typebqq['0']}:51" alt="点击这里给我发消息" title="点击这里给我发消息"/></a></li>
  
EOF;
 } 
$return .= <<<EOF

  
EOF;
 if(!empty($typebqq['1'])) { 
$return .= <<<EOF

        <li><span>QQ客服2</span><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&amp;uin={$typebqq['1']}&amp;site=qq&amp;menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:{$typebqq['1']}:51" alt="点击这里给我发消息" title="点击这里给我发消息"/></a></li>
  
EOF;
 } 
$return .= <<<EOF

  
EOF;
 if(!empty($typebqq['2'])) { 
$return .= <<<EOF

        <li><span>QQ客服3</span><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&amp;uin={$typebqq['2']}&amp;site=qq&amp;menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:{$typebqq['2']}:51" alt="点击这里给我发消息" title="点击这里给我发消息"/></a></li>
  
EOF;
 } 
$return .= <<<EOF

  
EOF;
 if(!empty($typebww['0'])) { 
$return .= <<<EOF

        <li><span>旺旺客服 </span><a target="_blank" href="http://www.taobao.com/webww/ww.php?ver=3&amp;touid={$typebww['0']}&amp;siteid=cntaobao&amp;status=1&amp;charset=utf-8" ><img border="0" src="http://amos.alicdn.com/realonline.aw?v=2&amp;uid={$typebww['0']}&amp;site=cntaobao&amp;s=1&amp;charset=utf-8" alt="点击这里给我发消息" /></a></li>
  
EOF;
 } 
$return .= <<<EOF

  
EOF;
 if(!empty($typebww['1'])) { 
$return .= <<<EOF

        <li><span>旺旺客服2</span><a target="_blank" href="http://www.taobao.com/webww/ww.php?ver=3&amp;touid={$typebww['1']}&amp;siteid=cntaobao&amp;status=1&amp;charset=utf-8" ><img border="0" src="http://amos.alicdn.com/realonline.aw?v=2&amp;uid={$typebww['1']}&amp;site=cntaobao&amp;s=1&amp;charset=utf-8" alt="点击这里给我发消息" /></a></li>
  
EOF;
 } 
$return .= <<<EOF

  
EOF;
 if(!empty($typebww['2'])) { 
$return .= <<<EOF

        <li><span>旺旺客服3</span><a target="_blank" href="http://www.taobao.com/webww/ww.php?ver=3&amp;touid={$typebww['2']}&amp;siteid=cntaobao&amp;status=1&amp;charset=utf-8" ><img border="0" src="http://amos.alicdn.com/realonline.aw?v=2&amp;uid={$typebww['2']}&amp;site=cntaobao&amp;s=1&amp;charset=utf-8" alt="点击这里给我发消息" /></a></li>
  
EOF;
 } 
$return .= <<<EOF

      </ul>

EOF;
 } if(!empty($type['2'])) { 
$return .= <<<EOF

      <h3>{$type['2']}</h3>
      <ul>
  
EOF;
 if(!empty($typecqq['0'])) { 
$return .= <<<EOF

        <li><span>QQ客服 </span><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&amp;uin={$typecqq['0']}&amp;site=qq&amp;menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:{$typecqq['0']}:51" alt="点击这里给我发消息" title="点击这里给我发消息"/></a></li>
  
EOF;
 } 
$return .= <<<EOF

  
EOF;
 if(!empty($typecqq['1'])) { 
$return .= <<<EOF

        <li><span>QQ客服2</span><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&amp;uin={$typecqq['1']}&amp;site=qq&amp;menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:{$typecqq['1']}:51" alt="点击这里给我发消息" title="点击这里给我发消息"/></a></li>
  
EOF;
 } 
$return .= <<<EOF

  
EOF;
 if(!empty($typecqq['2'])) { 
$return .= <<<EOF

        <li><span>QQ客服3</span><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&amp;uin={$typecqq['2']}&amp;site=qq&amp;menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:{$typecqq['2']}:51" alt="点击这里给我发消息" title="点击这里给我发消息"/></a></li>
  
EOF;
 } 
$return .= <<<EOF

  
EOF;
 if(!empty($typecww['0'])) { 
$return .= <<<EOF

        <li><span>旺旺客服 </span><a target="_blank" href="http://www.taobao.com/webww/ww.php?ver=3&amp;touid={$typecww['0']}&amp;siteid=cntaobao&amp;status=1&amp;charset=utf-8" ><img border="0" src="http://amos.alicdn.com/online.aw?v=2&amp;uid={$typecww['0']}&amp;site=cnalichn&amp;s=10&amp;charset=UTF-8" alt="点击这里给我发消息" /></a></li>
  
EOF;
 } 
$return .= <<<EOF

  
EOF;
 if(!empty($typecww['1'])) { 
$return .= <<<EOF

        <li><span>旺旺客服2</span><a target="_blank" href="http://www.taobao.com/webww/ww.php?ver=3&amp;touid={$typecww['1']}&amp;siteid=cntaobao&amp;status=1&amp;charset=utf-8" ><img border="0" src="http://amos.alicdn.com/online.aw?v=2&amp;uid={$typecww['1']}&amp;site=cnalichn&amp;s=10&amp;charset=UTF-8" alt="点击这里给我发消息" /></a></li>
  
EOF;
 } 
$return .= <<<EOF

  
EOF;
 if(!empty($typecww['2'])) { 
$return .= <<<EOF

        <li><span>旺旺客服3</span><a target="_blank" href="http://www.taobao.com/webww/ww.php?ver=3&amp;touid={$typecww['2']}&amp;siteid=cntaobao&amp;status=1&amp;charset=utf-8" ><img border="0" src="http://amos.alicdn.com/online.aw?v=2&amp;uid={$typecww['2']}&amp;site=cnalichn&amp;s=10&amp;charset=UTF-8" alt="点击这里给我发消息" /></a></li>
  
EOF;
 } 
$return .= <<<EOF

      </ul>

EOF;
 } if($config['diyset'] == '1') { 
$return .= <<<EOF

{$config['diyinfo']}

EOF;
 } 
$return .= <<<EOF

    </div>
  </div>
</div>
<script type="text/javascript">
JQUERY = jQuery.noConflict(); 


jQuery("#floatTools").mouseover(function(){ 
if(jQuery('#aFloatTools_Show').is(":visible")){
jQuery('#divFloatToolsView').animate({width: 'show', opacity: 'show'}, 'normal',function(){ 
jQuery('#divFloatToolsView').show();
kf_setCookie('RightFloatShown', 0, '', '/', '#'); 
});
jQuery('#aFloatTools_Show').attr('style','display:none');
jQuery('#aFloatTools_Hide').attr('style','display:block');
}
});


</script>

EOF;
 } 
$return .= <<<EOF


EOF;
?>
