<div class="clear"></div>
<?php if($mod=='index' && is_array($cache_ad['index_footer'])):?>
<?php foreach($cache_ad['index_footer'] as $v):?>
<div class="ad980">
<?php if($v['ad_url']):?>
<a href="<?php echo $v['ad_url'] ?>" target="_blank"><img src="<?php echo pe_thumb($v['ad_logo']) ?>" /></a>
<?php else:?>
<img src="<?php echo pe_thumb($v['ad_logo']) ?>" />
<?php endif;?>
</div>
<?php endforeach;?>
<?php endif;?>
<?php if(is_array($cache_ad['footer'])):?>
<?php foreach($cache_ad['footer'] as $v):?>
<div class="ad980">
<?php if($v['ad_url']):?>
<a href="<?php echo $v['ad_url'] ?>" target="_blank"><img src="<?php echo pe_thumb($v['ad_logo']) ?>" /></a>
<?php else:?>
<img src="<?php echo pe_thumb($v['ad_logo']) ?>" />
<?php endif;?>
</div>
<?php endforeach;?>
<?php endif;?>
<div class="foot">
	<div class="bottom_link">
		<div class="border_link">
			<?php foreach($cache_class_arr['help'] as $v):?>
			<?php if(++$help_index>4)break;?>
			<?php $info_list = $db->pe_selectall('article', array('class_id'=>$v['class_id']))?>
			<div class="item_1 fl">
				<h3><?php echo $v['class_name'] ?></h3>
				<ul class="mat5">
					<?php foreach($info_list as $vv):?>
					<li><a href="<?php echo pe_url('article-'.$vv['article_id']) ?>" title="<?php echo $vv['article_name'] ?>"><?php echo $vv['article_name'] ?></a></li>
					<?php endforeach;?>
				</ul>
			</div>
			<div class="bottom_libg fl"></div>
			<?php endforeach;?>
			<div class="foot_tel fl">
				<h3 class="c666"><?php echo $cache_setting['web_title']['setting_value'] ?></h3>
				<p class="mat10">
					<?php foreach($web_qq as $v):?>
					<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=<?php echo $v ?>&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:<?php echo $v ?>:41" alt="点击这里给我发消息" title="点击这里给我发消息"></a>
					<?php endforeach;?>
				</p>
				<p class="tel_num"><?php echo $cache_setting['web_phone']['setting_value'] ?></p>
			</div>
			<div class="clear"></div>
		</div>
	</div>
	<div class="flink">
		<span class="strong">友情链接：</span>
		<?php foreach($cache_link as $v):?>
		<a href="<?php echo $v['link_url'] ?>" title="<?php echo $v['link_name'] ?>" target="_blank"><?php echo $v['link_name'] ?></a>
		<?php endforeach;?>
	</div>
	<div class="subnav">
		Copyright <span class="num">©</span> <?php echo $cache_setting['web_copyright']['setting_value'] ?> All Rights Reserved　<?php echo $cache_setting['web_icp']['setting_value'] ?>
		<p>咨询热线：<?php echo $cache_setting['web_phone']['setting_value'] ?>　咨询QQ：<?php echo $cache_setting['web_qq']['setting_value'] ?>　<?php echo $cache_setting['web_tongji']['setting_value'] ?></p>
		<p>Powered by <a href="http://www.phpshe.com" target="_blank" title="PHPSHE商城系统v1.3" class="cgreen">phpshe1.3</a></p>
	</div>
</div>
<LINK rel=stylesheet type=text/css href="<?php echo $pe['host_tpl'] ?>/kefu1/css/common.css">
<SCRIPT type=text/javascript src="<?php echo $pe['host_tpl'] ?>/kefu1/js/kefu.js"></SCRIPT>
<DIV id=floatTools class=float0831>
	<DIV class=floatL>
		<A  id=aFloatTools_Show class=btnOpen title=查看在线客服 onclick="kf_open()" href="javascript:void(0);">展开</A>
		<A style="DISPLAY: none" id=aFloatTools_Hide class=btnCtn title=关闭在线客服 onclick="kf_close()" href="javascript:void(0);">收缩</A>
	</DIV>
	<DIV id=divFloatToolsView class=floatR>
    <DIV class=tp></DIV>
    <DIV class=cn>
	<UL>
    	<div class="KeFuItem"></div>
        <LI class="top"  style="padding-top:0"><H3 class=titZx>QQ咨询</H3></LI>
		<?php $qqnum = count($web_qq)?>
		<?php foreach($web_qq as $k=>$v):?>
        <LI <?php if($qqnum==$k+1):?>class=bot<?php endif;?>><a href="http://wpa.qq.com/msgrd?v=3&amp;uin=<?php echo $v ?>&amp;site=qq&amp;menu=yes" target="_blank"><img border="0" title="在线客服" alt="在线客服" src="http://wpa.qq.com/pa?p=2:<?php echo $v ?>:41"></a></LI>
		<?php endforeach;?>
	</UL>
    <UL class=webZx>
        <LI class=webZx-in></LI>
      </UL>
	<UL>
		<LI class="top" style="padding-top:0"><H3 class=titDh>电话咨询</H3></LI>
		<LI><SPAN class="icoTl"><?php echo $cache_setting['web_phone']['setting_value'] ?></SPAN><div class="clear"></div></LI>
		<li style="padding-bottom:5px; float:none;"><a href="<?php echo pe_url('page-11') ?>">更多联系方式>></a></li>
	</UL>
	</DIV>
	</DIV>
</DIV>
<script type="text/javascript">
function kf_open() {
	$('#divFloatToolsView').animate({width: 'show', opacity: 'show'}, 'normal',function(){
		$('#divFloatToolsView').show();
		//kf_setCookie('RightFloatShown', 0, '', '/', 'www.baidu.com');
	});
	$('#aFloatTools_Show').attr('style','display:none');
	$('#aFloatTools_Hide').attr('style','display:block');
}
function kf_close() {
	$('#divFloatToolsView').animate({width: 'hide', opacity: 'hide'}, 'normal',function(){
		$('#divFloatToolsView').hide();
		//kf_setCookie('RightFloatShown', 1, '', '/', 'www.baidu.com');
	});
	$('#aFloatTools_Show').attr('style','display:block');
	$('#aFloatTools_Hide').attr('style','display:none');
}
kf_close()
</script>
</body>
</html>
