<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<?php 
if($page == '1'){
			if($zbp->Config('bluecms')->title){
				$topTitle = $zbp->Config('bluecms')->title;
			}else{
				$topTitle = $zbp->name.$separator.$zbp->subname;
			}
		}else{
			if($zbp->Config('bluecms')->title){
				$topTitle = $zbp->Config('bluecms')->title.$separator.'第'.$page.'页';
			}else{
				$topTitle = $zbp->name.$separator.'第'.$page.'页'.$separator.$zbp->subname;
			}			
		}
		$keywords = $zbp->Config('bluecms')->keywords;
		$description = $zbp->Config('bluecms')->description;
 ?>
<title><?php  echo $topTitle;  ?></title>
<meta name="keywords" content="<?php  echo $keywords;  ?>" />
<meta name="description" content="<?php  echo $description;  ?>" />
<link rel="icon" href="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/images/favicon.ico">
<link rel="stylesheet" type="text/css" href="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/css/font-awesome.css">
<link rel="stylesheet" type="text/css" href="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/css/swiper.css">
<link rel="stylesheet" type="text/css" href="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/css/style.css">
<link rel="stylesheet" type="text/css" href="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/css/iconfont.css">
<script src="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/js/jquery-2.js"></script>
<script type="text/javascript" src="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/js/ajax.js"></script>
<script src="<?php  echo $host;  ?>zb_system/script/zblogphp.js" type="text/javascript"></script>
<script src="<?php  echo $host;  ?>zb_system/script/c_html_js_add.php" type="text/javascript"></script>
<style id="theia-sticky-sidebar-stylesheet-TSS">.theiaStickySidebar:after {content: ""; display: table; clear: both;}</style>
</head>
<body>
<?php  include $this->GetTemplate('header');  ?><div class="home_top_new container"> 
    <div class="new_focus">
        <div class="focus_slider">
            <div class="swiper-container">
                <div class="swiper-wrapper">
                      <?php if ($zbp->Config('bluecms')->ban1=='1') { ?> <div class="swiper-slide">
                        <a href="<?php  echo $zbp->Config('bluecms')->link1;  ?>" target="_blank">
                            <img src="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/ban/b01.jpg" alt="ftp常见错误问题">
                            <p></p>
                        </a>
                    </div><?php } ?>
                     <?php if ($zbp->Config('bluecms')->ban2=='1') { ?> <div class="swiper-slide">
                        <a href="<?php  echo $zbp->Config('bluecms')->link2;  ?>" target="_blank">
                            <img src="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/ban/b02.jpg" alt="ftp常见错误问题">
                            <p>ftp常见错误问题</p>
                        </a>
                    </div><?php } ?>
                    <?php if ($zbp->Config('bluecms')->ban3=='1') { ?> <div class="swiper-slide">
                        <a href="<?php  echo $zbp->Config('bluecms')->link3;  ?>" target="_blank">
                            <img src="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/ban/b03.jpg" alt="ftp常见错误问题">
                            <p>ftp常见错误问题</p>
                        </a>
                    </div><?php } ?>
                    <?php if ($zbp->Config('bluecms')->ban4=='1') { ?> <div class="swiper-slide">
                        <a href="<?php  echo $zbp->Config('bluecms')->link4;  ?>" target="_blank">
                            <img src="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/ban/b04.jpg" alt="ftp常见错误问题">
                            <p>ftp常见错误问题</p>
                        </a>
                    </div><?php } ?>                            
                                    </div>
                <!-- Add Pagination -->
                <div class="swiper-pagination"></div>
                <!-- Add Arrows -->
                <div class="swiper-button-next"><i class="fa fa-angle-right"></i></div>
                <div class="swiper-button-prev"><i class="fa fa-angle-left"></i></div>
            </div>
        </div>
    </div>
    <!-- # new_focus -->
  
    <div class="new_tj">
        <h3><i class="fa fa-file-text"></i>认识我们</h3>
        <span><?php  echo $zbp->Config('bluecms')->add8;  ?></span>
<hr>
        <ul>
        <?php if (bluecms_is_mobile()) { ?>
<li><a href="mqqwpa://im/chat?chat_type=wpa&uin=<?php  echo $zbp->Config('bluecms')->add1;  ?>&version=1&src_type=web&web_src=oicqzone.com" target="_blank"><img src="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/images/leftqq.png" border="0" ></a>&nbsp;
<a href="mqqwpa://im/chat?chat_type=wpa&uin=<?php  echo $zbp->Config('bluecms')->add2;  ?>&version=1&src_type=web&web_src=oicqzone.com" target="_blank"><img src="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/images/leftqq.png" border="0" ></a></li>
<?php }else{  ?>
<li><a href="http://wpa.qq.com/msgrd?v=3&uin=<?php  echo $zbp->Config('bluecms')->add1;  ?>&site=qq&menu=yes" target="_blank"><img src="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/images/leftqq.png" border="0" ></a>&nbsp;
<a href="http://wpa.qq.com/msgrd?v=3&uin=<?php  echo $zbp->Config('bluecms')->add2;  ?>&site=qq&menu=yes" target="_blank"><img src="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/images/leftqq.png" border="0" ></a></li>
<?php } ?>
                        
                        <li><a>服务热线：<?php  echo $zbp->Config('bluecms')->add4;  ?></a></li> 
                        <li><a>E-MAIL：<?php  echo $zbp->Config('bluecms')->add6;  ?></a></li> 
                        <li><a>地址：<?php  echo $zbp->Config('bluecms')->add7;  ?></a></li>                                   
                 
        </ul>
    </div>
    <!-- # new_tj --> 
</div>

<div class="pcd_ad" id='ad1'></div>
<div class="mbd_ad" id='ad1'></div>
<?php 
$lchanpin = $zbp->Config('bluecms')->chanpin;
$lnews = $zbp->Config('bluecms')->news;
$lnews1 = $zbp->Config('bluecms')->news1;
$lnews2 = $zbp->Config('bluecms')->news2;
 ?> 
<div class="home_pic container">
    <div class="pic_tit">
        <h3> <i class="fa fa-file-text"></i> <span><a href="<?php  echo $zbp->Config('bluecms')->chanpinurl;  ?>" target="_blank"><?php  echo $zbp->categorys[$lchanpin]->Name;  ?></a></span> <a href="<?php  echo $zbp->Config('bluecms')->newsurl;  ?>" target="_blank"><?php  echo $zbp->categorys[$lnews]->Name;  ?></a> <a href="<?php  echo $zbp->Config('bluecms')->news1url;  ?>" target="_blank"><?php  echo $zbp->categorys[$lnews1]->Name;  ?></a> <a href="<?php  echo $zbp->Config('bluecms')->news2url;  ?>" target="_blank"><?php  echo $zbp->categorys[$lnews2]->Name;  ?></a></h3>
    </div>
    <div class="pic_list">
        <ul><?php  foreach ( $array=bluecms_GetArticleCategorys(10,$lchanpin,true)  as $list) { ?>
                        <li>
                <div class="img"><a href="<?php  echo $list->Url;  ?>" title="<?php  echo $list->Title;  ?>" target="_blank"><img src="<?php  echo bluecms_thumbnail($list);  ?>" alt="<?php  echo $list->Title;  ?>"></a></div>
                <p class="tit"><a href="<?php  echo $list->Url;  ?>" title="<?php  echo $list->Title;  ?>" arget="_blank"><?php  echo $list->Title;  ?></a></p>
                <p class="info"><span></span><i>人气:<?php  echo $list->ViewNums;  ?></i></p>
            </li><?php }   ?>                   
                    </ul>
    </div>
</div>
<div class="pcd_ad" id='ad2'></div>
<div class="mbd_ad" id='ad2'></div>
<div class="main container" style="transform: none;">
    <div class="main_l left"> 
        <div class="home_article">
            <ul class="tit">
                <li class="active"><a href="#tab_0">最新资讯</a></li>
            </ul>
            <div class="article_list article_list_cms" id="tab_0" style="display: block;">
                <ul id="infinitescroll">
                <?php  foreach ( GetList(16) as $newlist) { ?>
                                        <li class="infinitescroll_li">
                        <div class="article_img"> <a href="<?php  echo $newlist->Url;  ?>" title="<?php  echo $newlist->Title;  ?>"><img src="<?php  echo bluecms_thumbnail($newlist);  ?>" alt="<?php  echo $newlist->Title;  ?>"></a> </div>
                        <div class="article_text">
                            <dl>
                                <dt><a href="<?php  echo $newlist->Url;  ?>" title="<?php  echo $newlist->Title;  ?>" target="_blank"><?php  echo $newlist->Title;  ?></a></dt>
                                <dd><?php if (strlen($newlist->Intro)>0) { ?>
				<?php $intro= trim(SubStrUTF8(TransferHTML($newlist->Intro,'[nohtml]'),100)).'...'; ?>
				<?php }else{  ?>
				<?php $intro= trim(SubStrUTF8(TransferHTML($newlist->Content,'[nohtml]'),90)).'...'; ?>
			<?php } ?>
			<?php  echo $intro;  ?></dd>
                            </dl>
                            <div class="info"> <span><i class="fa fa-clock-o"></i><?php  echo $newlist->Time('Y-m-d');  ?></span> <span><?php if (Count($newlist->Tags)>0) { ?><?php  foreach ( $newlist->Tags as $tag) { ?><a href="<?php  echo $tag->Url;  ?>" target="_blank" rel="tag"><?php  echo $tag->Name;  ?></a> <?php }   ?><?php } ?></span> </div>
                        </div>
                    </li><?php }   ?>                   
                                 
                                    </ul>
            </div>
        </div>
        <!-- # home_article --> 
    </div>
    <!-- # main_l -->
        <div class="main_r right" style="position: relative; overflow: visible; box-sizing: border-box; min-height: 1px;">   
        <div class="theiaStickySidebar" style="padding-top: 0px; padding-bottom: 1px; position: static; transform: none; top: 0px; left: 934.5px;">
            <div class="widget widget_ad" id="ad3"></div>
            <div class="widget widget_tuijian">
                <h5>推荐文章</h5>
                <?php  $topArray = GetList(10, null, null, null, null, null, array("only_ontop"  => true));;  ?>
<?php  foreach ( $topArray as $top) { ?>
                                <div class="tj_box">
                    <div class="img">
                        <a  href="<?php  echo $top->Url;  ?>" title="<?php  echo $top->Title;  ?>" target="_blank">
                            <img src="<?php  echo bluecms_thumbnail($top);  ?>" alt="<?php  echo $top->Title;  ?>">
                        </a>
                    </div>
                    <div class="info">
                        <p>
                            <a href="<?php  echo $top->Url;  ?>" title="<?php  echo $top->Title;  ?>" target="_blank"><?php  echo $top->Title;  ?></a>
                        </p>
                    </div>
                </div><?php }   ?>                               
        
            </div>

            <div class="widget widget_previous">
                <h5>热门浏览</h5>
                <ul>
                <?php 
$order = array('log_ViewNums'=>'DESC');
$where = array(array('=','log_Status','0'));
$array = $zbp->GetArticleList(array('*'),$where,$order,array(8),'');
 ?>
<?php  foreach ( $array as $hotlist) { ?>
 <li><a href="<?php  echo $hotlist->Url;  ?>" title="<?php  echo $hotlist->Title;  ?>" target="_blank"><?php  echo $hotlist->Title;  ?></a></li>
<?php }   ?>    
                </ul>
            </div>            
            <div class="widget widget_ad" id='ad4'></div>
            <div class="widget widget_tags">
                <h5>标签列表</h5>
                <ul>
                <?php  if(isset($modules['tags'])){echo $modules['tags']->Content;}  ?>
                                    </ul>
            </div>
            <div class="widget widget_link">
                <h5>友情链接</h5>
                <ul>
                <?php  if(isset($modules['link'])){echo $modules['link']->Content;}  ?>                                            
                </ul>
            </div>
            <div class="resize-sensor" style="position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px; overflow: hidden; z-index: -1; visibility: hidden;">
                <div class="resize-sensor-expand" style="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;">
                    <div style="position: absolute; left: 0px; top: 0px; transition: all 0s ease 0s; width: 350px; height: 2061px;"> 
                    </div>
                </div>
                <div class="resize-sensor-shrink" style="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;">
                    <div style="position: absolute; left: 0; top: 0; transition: 0s; width: 200%; height: 200%"> 
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<?php  include $this->GetTemplate('footer');  ?>
<div id="goTop" class="goTop" style="display: none;"><i class="fa fa-angle-up"></i></div>
<script src="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/js/jquery.js"></script> 
<script src="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/js/common.js" type="text/javascript"></script> 
<script src="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/js/ResizeSensor.js" type="text/javascript"></script> 
<script src="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/js/theia-sticky-sidebar.js" type="text/javascript"></script> 
<script>jQuery(document).ready(function($) {jQuery('.main_r').theiaStickySidebar({ additionalMarginTop: 10,});});</script> 
<script type="text/javascript" src="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/js/infinitescroll.js"></script> 
<script src="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/js/swiper.js" type="text/javascript"></script> 
<script>
    var swiper = new Swiper('.swiper-container', {
      slidesPerView: 1, //只显示1图
      loop: true, //无限循环
      // autoHeight: true, //自由高度
      // spaceBetween: 20, //切换间距
      centeredSlides: false, // true时候活动块居中 false 居左
      lazy: true, //延迟加载
      autoplay: {
        delay: 5000,
        disableOnInteraction: false,
      },  //自动切换
      pagination: {
        el: '.swiper-pagination',
        clickable: true,
      },  //圆标点
      navigation: {
        nextEl: '.swiper-button-next',
        prevEl: '.swiper-button-prev',
      },  //上下翻页
    });
</script>
</body>
</html>
