
<?php if ($zbp->Config( 'qiyeseo' )->banner) { ?>
<div class="banner">
  <div class="ft-carousel" id="carousel_1">
    <ul class="carousel-inner">
      <?php if ($zbp->Config( 'qiyeseo' )->bannerdiy) { ?><?php  echo $zbp->Config( 'qiyeseo' )->bannerdiy;  ?><?php }else{  ?>
      <?php 
      if ($zbp->Config( 'qiyeseo' )->bannersort)
      $TeOrder = array('log_PostTime'=>'ASC');
      else
      $TeOrder = array('log_PostTime'=>'DESC');
      $TeWhere = array(array('=','log_Status','0'));
      $TeWhere[]=array('like','log_Meta','%wtlb%');
      $TeArray = $zbp->GetArticleList(array('*'),$TeWhere,$TeOrder,array(5),'');
       ?>
      <?php  foreach ( $TeArray as $post) { ?>
      <li class="carousel-item"><a href="<?php  echo $post->Url;  ?>" title="<?php  echo $post->Title;  ?>"><img src="<?php if ($post->Metas->pic) { ?><?php  echo $post->Metas->pic;  ?><?php }else{  ?><?php  echo qiyeseo_thumbnail($post);  ?><?php } ?>" alt="<?php  echo $post->Title;  ?>"></a></li>
      <?php }   ?><?php } ?>
    </ul>
  </div>
</div>







<?php } ?> 
<script type="text/javascript">
	$("#carousel_1").FtCarousel();
</script>



<div class="content">
  <div class="about left w49">
    <h3>关于我们<?php if ($zbp->Config( 'qiyeseo' )->aboutmore) { ?><a href="<?php  echo $zbp->Config( 'qiyeseo' )->aboutmore;  ?>"><i class="iconfont">更多&#xe670;</i></a><?php } ?></h3>
    <img src="<?php  echo $zbp->Config( 'qiyeseo' )->aboutphoto;  ?>" alt="<?php  echo $name;  ?>">
    <p><?php if ($zbp->Config( 'qiyeseo' )->about) { ?><?php  echo $zbp->Config( 'qiyeseo' )->about;  ?><?php }else{  ?>请在后台主题配置——首页设置——关于我们模块设置企业简介内容。<?php } ?><?php if ($zbp->Config( 'qiyeseo' )->aboutmore) { ?><a href="<?php  echo $zbp->Config( 'qiyeseo' )->aboutmore;  ?>" target="_blank"><u>了解更多详情</u></a><?php } ?></p>
  </div>
  <div class="right w49"> <?php $SetindexIDs=explode(',',$zbp->Config('qiyeseo')->qiyenews); ?>
    <?php  foreach ( $SetindexIDs as $key=>$bid) { ?><?php  $i=$key+1;  ?>
    <?php if (isset($categorys[$bid])) { ?>
    <h3><?php  echo $categorys[$bid]->Name;  ?><a href="<?php  echo $categorys[$bid]->Url;  ?>"><i class="iconfont">更多&#xe670;</i></a></h3>
    <ul class="qiyenews">
      <?php  foreach ( GetList($zbp->Config('qiyeseo')->qiyenews_num,$bid,null,null,null,null,array('has_subcate'=>'ture'))as $key=>$post) { ?>
      <li><a href="<?php  echo $post->Url;  ?>" title="<?php  echo $post->Title;  ?>"><?php  echo $post->Title;  ?></a></li>
      <?php }   ?>
    </ul>
    <?php } ?>
    <?php }   ?> </div>
  <div class="clear"></div>
  <!--分类列表版块--> 
  <?php if ($zbp->Config( 'qiyeseo' )->shop) { ?>
  <?php $SetindexIDs=explode(',',$zbp->Config('qiyeseo')->shopid); ?>
  <?php  foreach ( $SetindexIDs as $key=>$bid) { ?><?php  $i=$key+1;  ?>
  <?php if (isset($categorys[$bid])) { ?>
  <h3><?php  echo $categorys[$bid]->Name;  ?><?php if ($zbp->Config( 'qiyeseo' )->shopmore) { ?><a href="<?php  echo $categorys[$bid]->Url;  ?>"><i class="iconfont">更多&#xe670;</i></a><?php } ?></h3>
  <?php if ($zbp->categorys[$bid]->Metas->liststyle =='1') { ?>
  <ul class="post-ab">
    <?php  foreach ( GetList($zbp->Config('qiyeseo')->news_num,$bid,null,null,null,null,array('has_subcate'=>'ture'))as $key=>$post) { ?>
    <li><a href="<?php  echo $post->Url;  ?>" title="<?php  echo $post->Title;  ?>"><?php  echo $post->Title;  ?></a></li>
    <?php }   ?>
  </ul>
  <?php }elseif($zbp->categorys[$bid]->Metas->liststyle =='2') {  ?>
  <ul class="list-shop">
    <?php  foreach ( GetList($zbp->Config('qiyeseo')->shop_num,$bid,null,null,null,null,array('has_subcate'=>'ture'))as $key=>$article) { ?>
    <?php  include $this->GetTemplate('post-list-shop');  ?>
    <?php }   ?>
  </ul>
  <?php } ?>
  <?php } ?>
  <?php }   ?>
  <?php } ?>
  <?php if ($zbp->Config( 'qiyeseo' )->hottags) { ?>
  <?php if($zbp->Config( 'qiyeseo' )->hottagsnum){$nums =  $zbp->Config( 'qiyeseo' )->hottagsnum;}else{$nums =  30;} ?>
  <h3>热门标签</h3>
  <ul class="hottags">
    <?php  echo qiyeseo_hotTags($nums);  ?>
  </ul>
  <?php } ?>
  <?php if ($zbp->Config( 'qiyeseo' )->flinks) { ?>
  <h3>友情链接</h3>
  <ul class="links">
    <?php  if(isset($modules['link'])){echo $modules['link']->Content;}  ?>
  </ul>
  <?php } ?>
  </div>