<?php defined('IN_YUNYECMS') or exit('No permission.'); ?>    <link rel="stylesheet" href="<?php echo ADDONS_TPL;?>static/<?php echo $onlinecfg["theme"] ;?>/css/adBox.css">
    <!-- 用法 直接引入JS文件 替换二维码图片以及QQ号码即可使用 -->
    <div id="kefu">
        <input type="checkbox" id="showKfList">
        <label for="showKfList" class="topBtn"></label>
		<?php if(is_array($cat)): $i = -1; $__DATA__ = $cat;if(count($__DATA__)==0 )  echo "" ;foreach($__DATA__ as $key=>$vc): $mod = ($i % 2 );++$i;?>
	    <?php if($vc['index']=="qq" ) { ?>
		  <?php if(is_array($vc['list'])): $n = -1; $__DATA__ = $vc['list'];if(count($__DATA__)==0 )  echo "" ;foreach($__DATA__ as $key=>$v): $mod = ($n % 2 );++$n;?>
		        <span class="qq" title="<?php echo $v["title"] ;?>" onClick="window.open('http://wpa.qq.com/msgrd?v=3&uin=<?php echo $v["num"] ;?>&site=qq&menu=yes');"></span>
		   <?php  endforeach;  endif; ?>
	    <?php } elseif ($vc['index']=="phone") { ?>
		        <span class="other">
			<?php if(is_array($vc['list'])): $n = -1; $__DATA__ = $vc['list'];if(count($__DATA__)==0 )  echo "" ;foreach($__DATA__ as $key=>$v): $mod = ($n % 2 );++$n;?>	
			<?php if($n==0) { ?>
            <dl class="tel">
                <dt><?php echo $v["num"] ;?></dt>
                <dd><?php echo $v["title"] ;?></dd>
            </dl>
			<?php } ?>
			 <?php  endforeach;  endif; ?>
        </span>
        <?php } elseif ($vc['index']=="weixin") { ?>
        <span class="wechat">
			 <?php if(is_array($vc['list'])): $i = -1; $__DATA__ = $vc['list'];if(count($__DATA__)==0 )  echo "" ;foreach($__DATA__ as $key=>$v): $mod = ($i % 2 );++$i;?>
            <em class="eweima">
                <img src="<?php echo $v["pic"] ;?>" >
                <small>关注微信公众号</small>
            </em>
			 <?php  endforeach;  endif; ?>
        </span>
	    <?php } ?>
	<?php  endforeach;  endif; ?>
    </div>
