<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php $this->load->view('sys_seo')?>
<base href="<?=base_url();?>" />
<link rel="stylesheet" href="skin/css/style.css">
<link rel="stylesheet" href="skin/common/layui/css/layui.css">
<script src="skin/common/jquery1.8.min.js"></script>
<script src="skin/common/layui/layui.js"></script>
</head>
<body>
<div class="head_top">
    <div class="content">
      <div class="fl">
        <h2>欢迎光临<?=$setting['company']?>！</h2>
      </div>
      <div class="fr"><a href="/?b=wap" target="_blank" rel="nofollow">手机版</a> <a href="javascript:viod(0)" rel="nofollow">加入收藏</a> </div>
       <div class="top_time">今天是 <?php echo date('Y').'年'.date('m').'月'.date('d').'日 '.datetime_xinqi()?></div>
    </div>
</div>
<div class="logoser content">
 <div class="logo fl"><a href="/"><img src="upload/<?=$setting['logo']?>" height="80" alt="<?=$setting['company']?>"/></a></div>
  <div class="txt"><p class="p1">关注社会热点</p><p class="p2">一起实现我们的中国梦</p></div>
 <div class="logo fr">
 <iframe width="300" height="80" frameborder="0" scrolling="no" hspace="0" src="https://i.tianqi.com/?c=code&a=getcode&id=35&site=34&icon=1"></iframe>
 </div>

</div>
<div class="nav5"></div>  
<div class="menu">
   <div class="content">
     <ul>
       <li <?php if(empty($category['id'])){ echo "class='cur'";}?>><a href="<?=base_url();?>">首页 </a></li>
<?php foreach ($cat as $v){?>
   <li <?php if(isset($category['id']) && $category['id']==$v['id']){ echo "class='cur'";}?>><a href="<?=$v['url']?>" ><?=$v['catname']?></a></li>
<?php }?>  
     </ul>
   </div>
   </div>
   <div class="nav1"></div>  