<div id="footer">
	<div class="ft-in">
		<div class="ft-bg"></div>
		<!-- ad页脚800 开始 -->
		<!--<div class="xad-box xad-box-p4">
			<a href="#" class="icon-close-btn icon-bg"></a>
		</div>-->	
		<!-- ad页脚800 结束 -->
		<div class="ft-con">
		<div class="footer-defined">
			<em class="site-name">
				<?php echo V('-:sysConfig/site_name');?>
				<?php if (V('-:sysConfig/site_record',false)): ?>
					<a target="_blank" href="http://www.miibeian.gov.cn/ "><?php echo V('-:sysConfig/site_record');?></a>
				<?php endif; ?>
			</em>
			<a target="_blank" href="<?php echo W_BASE_URL.'wap.php'?>">WAP 版</a>
			<?php
				$foot = "";
				$foot = json_decode(V('-:sysConfig/foot_link'),true);
				if($foot){
					$count = count($foot);
					$i = 1;
					foreach($foot as $value){ ?>
						<a target="_blank" href="<?php echo $value['link_address'];?>"><?php echo $value['link_name'];?></a>
						<?php if($i < $count) echo '<s>|</s>'; $i++;}?>
				<?php }?>
				<?php if (V('-:sysConfig/third_code', false)): ?>
					<?php if($foot){ echo "|"; }?>
					<?php echo V('-:sysConfig/third_code');?>
				<?php endif; ?>
		</div>
		<span>Powered By <a href="http://x.weibo.com/" target="_blank">Xweibo</a> <?php echo WB_VERSION;?></span>

		</div>
	</div>
	<?php 
		$urls = F('report','','publish');
		for($i=0,$count=count($urls);$i<$count; $i++) {
            if (!empty($urls[$i]))
			    echo '<img src="' . $urls[$i] . '" width="0" height="0" />';
		}
	?>
</div>
