<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:37:"template/index/default/List_page.html";i:1554774219;s:43:"./template/index/default/Public_header.html";i:1554613563;s:41:"./template/index/default/Public_side.html";i:1554687122;s:43:"./template/index/default/Public_footer.html";i:1554716162;}*/ ?>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<title><?php echo $title; ?>-        <?php
                $name = think\Db::name('system')->where(['name'=> 'site_title'])->value('value');
                echo $name;
                ?></title>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/jumbotron.css">
</head>
<body>
<!--header--> 
    <nav class="navbar navbar-inverse navbar-fixed-top">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">切换导航</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="<?php echo url('index/index'); ?>">MyCMS</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
			<ul class="nav navbar-nav">
                        <?php
               $__LIST__ = getAllCategory("0","","0");

                foreach($__LIST__ as $key => $nav):
                ?>
				<li><a href="<?php echo $nav['url']; ?>" title="<?php echo $nav['ename']; ?>"><?php echo $nav['name']; ?></a></li>
				<?php endforeach; ?>
			</ul>
        </div>
      </div>
    </nav> 

<!--main-->
<div class="jumbotron">
  <div class="container">
    <h2>AQBox for Web集成环境</h2>
    <p>AQBox for Web开发集成环境（AQ取意安全、Box取意开箱即用）。AQBox集成了Nginx 1.15.8、MySQL 5.7.25、PHP 5.6.40、FileZilla server 0.941等开源软件，结合明易科技自主开发的WebSockets通信管理模块和MyCMS内容管理系统，致力于给用户打造一个零技术门槛，开箱即用的安全服务器开发生产环境。</p>
    <p><a class="btn btn-primary btn-lg" href="/index/show/index/cid/3/id/2.html" role="button">下载试用 &raquo;</a></p>
  </div>
</div>
<div class="container">
<!-- Example row of columns -->
<ul class="breadcrumb">
  <li>当前位置</li>
  <li><a href="#"><?php echo $cate['name']; ?></a></li>
  <li class="active"><?php echo $cate['ename']; ?></li>
</ul>
<!-- 内容 -->
<div class="content-wrap">
  <div class="content">
    <div class="title">
      <h3><?php echo $title; ?></h3>
    </div>
    <?php echo $cate['content']; ?> </div>
</div>
<!-- 侧边 -->

<div class="sidebar">
  <div class="widget widget_search">
    <form class="navbar-form" action="<?php echo url('search/index'); ?>" method="get">
      <div class="input-group">
        <input type="text" name="keywords" class="form-control" size="35" placeholder="输入关键词" maxlength="15" autocomplete="off">
        <span class="input-group-btn">
        <button class="btn btn-default btn-search" type="submit">搜索</button>
        </span> </div>
    </form>
  </div>	
  <div class="widget widget_sentence">
    <h3>每日一句</h3>
    <div class="widget-sentence-content">
      <h4><?php echo date('Y年m月d日 星期N'); ?></h4>
      <p>        <?php
                $content = think\Db::name('flink')->where(['type' => 2,'id'=> 2])->value('description');
                if ("0" > 0){
                    $content = msubstr(strip_tags($content),0,0);
                }
                echo $content;
                ?></p>
    </div>
  </div>
  <!-- 热门文章 -->
  <div class="widget widget_hot">
    <h3>热门文章</h3>
    <ul>
      <li><a href=""><span class="thumbnail"><img class="thumb" src="http://www.zhmykj.com/assets/img/start.jpg" /></span><span class="text">文章标题</span><span class="muted"><i class="glyphicon glyphicon-time"></i> 2019-1-5 </span><span class="muted"><i class="glyphicon glyphicon-eye-open"></i> 120</span></a></li>
    </ul>
  </div>
	<div class="jumbotron div_userinfo">
    <div style="display:inline-block;font-size:18px;"> 虚位以待 450x150 </div>
  </div>
</div>
</div>

	<div class="footer">
  <p align="center"> 友情链接： 
            <?php
               $__LIST__ = think\Db::name('flink')->where(['type'=> 1,'status' => 0]);
               if("5" != ''){
                        $__LIST__=$__LIST__->limit(5);
                    }
                $__LIST__=$__LIST__->select();

                foreach($__LIST__ as $key => $anlink):
                ?><a href="<?php echo $anlink['url']; ?>"><?php echo $anlink['title']; ?></a> <?php endforeach; ?> </p>
	<hr>
  <div class="container">版权所有 &copy; 2019 明易科技 QQ763809988 </div>
</div>
<div id="gotop"><a class="gotop"></a></div>
</div>
<!-- /container --> 
<script type="text/javascript" src="__PUBLIC__/js/jquery.min.js"></script> 
<script type="text/javascript" src="__PUBLIC__/js/bootstrap.min.js"></script>
<script>
$("#gotop").hide();
$(window).scroll(function () {
    if ($(window).scrollTop() > 100) {
        $("#gotop").fadeIn();
    } else {
        $("#gotop").fadeOut();
    }
});
$("#gotop").click(function () {
    $('html,body').animate({
        'scrollTop': 0
    }, 500);
});
</script>
</body>
</html>