<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:51:"./application/index/view/default/index/article.html";i:1539507708;s:49:"./application/index/view/default/base/footer.html";i:1540307285;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<title><?php if($cate['seo_title'] != ''): ?><?php echo $cate['seo_title']; else: ?><?php echo $cate['catname']; endif; ?> - <?php echo $site['sitename']; ?></title>
<meta name="keywords" content="<?php echo $cate['seo_keywords']; ?>">
<meta name="description" content="<?php echo $cate['seo_description']; ?>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link href="/favicon.ico" rel="shortcut icon">
<link rel="stylesheet" href="/public/static/index/layui/css/layui.css">
<link rel="stylesheet" href="/public/static/index/qiye/public/css/style.css">
<script src="/public/static/index/js/jquery-1.11.3.min.js"></script>
<script src="/public/static/index/layui/layui.js"></script>
</head>
<body>
<div class="tpt-header">
<div class="tpt-wp cl">
<div class="tpt-logo">
    <a href="/index.html">
        <img src="<?php echo $site['logo']; ?>">
    </a>
</div>
<input id="nav-btn" type="checkbox">
<label class="tpt-nav-btn layui-icon" for="nav-btn"></label>
<ul class="tpt-nav">
    <li>
        <a class="tpt-nav-li" href="/index.html">网站首页</a>
        <ul class="tpt-nav-ul"></ul>
    </li>
    <?php if(is_array($catemenu) || $catemenu instanceof \think\Collection || $catemenu instanceof \think\Paginator): $i = 0; $__LIST__ = $catemenu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;if($vo['isend'] == 0): ?>
    <li>
        <input id="nav-7" type="checkbox">
            <label for="nav-7" class="layui-icon">
                <a class="tpt-nav-li"  href="<?php if($static): ?>http://<?php echo \think\Request::instance()->server('HTTP_HOST'); ?>/html/category_<?php echo $vo['id']; ?>_1.html<?php else: ?><?php echo url('category',['id'=>$vo['id']]); endif; ?>"><?php echo $vo['catname']; ?></a>
            </label>
        <?php if($vo['son'] != null): ?>
        <ul class="tpt-nav-ul">
            <?php if(is_array($vo['son']) || $vo['son'] instanceof \think\Collection || $vo['son'] instanceof \think\Paginator): $i = 0; $__LIST__ = $vo['son'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$voson): $mod = ($i % 2 );++$i;?>
            <li><a  href="<?php if($static): ?>http://<?php echo \think\Request::instance()->server('HTTP_HOST'); ?>/html/category_<?php echo $voson['id']; ?>_1.html<?php else: ?><?php echo url('category',['id'=>$voson['id']]); endif; ?>"><?php echo $voson['name']; ?></a></li>
            <?php endforeach; endif; else: echo "" ;endif; ?>
        </ul>
        <?php endif; ?>
    </li>
    <?php else: ?>
    <li>
        <a class="tpt-nav-li"  href="<?php if($static): ?>http://<?php echo \think\Request::instance()->server('HTTP_HOST'); ?>/html/category_<?php echo $vo['id']; ?>_1.html<?php else: ?><?php echo url('category',['id'=>$vo['id']]); endif; ?>"><?php echo $vo['catname']; ?></a>
        <ul class="tpt-nav-ul"></ul>
    </li>
    <?php endif; endforeach; endif; else: echo "" ;endif; ?>
</ul>
</div>
</div>
<style type="text/css">
.tpt-menu {background-image: linear-gradient(312deg, rgb(58, 231, 243) 0%, rgb(30, 150, 229) 100%);}
.tpt-menu .a {background-color: #ff5c33;}
</style>

<div class="tpt-menu">
    <div class="tpt-wp cl">
        <h2><?php echo $cate['catname']; ?></h2>
        <p>感谢使用本套网站内容管理系统，致力于为您提供设计简约且操作简单的网站程序</p>
        <div class="c">
            <?php if(is_array($artres) || $artres instanceof \think\Collection || $artres instanceof \think\Paginator): $i = 0; $__LIST__ = $artres;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
		    <a <?php if($vo['id'] == $cateid['id']): ?> class="a" <?php else: endif; ?> href="<?php if($static): ?>http://<?php echo \think\Request::instance()->server('HTTP_HOST'); ?>/html/category_<?php echo $vo['id']; ?>_1.html<?php else: ?><?php echo url('category',['id'=>$vo['id']]); endif; ?>"><?php echo $vo['catname']; ?></a>
            <?php endforeach; endif; else: echo "" ;endif; ?>
        </div>
    </div>
</div>
<div class="tpt-art">
    <div class="tpt-wp cl">
        <div class="tpt-msg">
            <i class="layui-icon">&#xe715;</i>您现在的位置：
            <a href="/index.html">网站首页</a>
            <i class="layui-icon i">&#xe65b;</i>

            <a href="<?php if($static): ?>http://<?php echo \think\Request::instance()->server('HTTP_HOST'); ?>/html/category_<?php echo $cateid['id']; ?>_1.html<?php else: ?><?php echo url('category',['id'=>$cateid['id']]); endif; ?>"><?php echo $cateid['catname']; ?></a>

        </div>
        <div class="tpt-art-1 cl">
            <ul>
                <?php
           $list = think\Db::name('article')->where("catid=$id")->field('id,catid,title,thumb,keywords,inputtime,views,description,author,source')->limit("0")->order('listorder desc')->paginate();
           $__LIST__ = $list;
if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $i = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                <li class="cl">
                    <div class="tpt-ml-2">
                        <div class="tpt-art-3">
                            <a href="<?php if($static): ?>http://<?php echo \think\Request::instance()->server('HTTP_HOST'); ?>/html/show_<?php echo $vo['catid']; ?>_<?php echo $vo['id']; ?>.html<?php else: ?><?php echo url('info',['id'=>$vo['id'],'catid'=>$vo['catid']]); endif; ?>">
                               <?php if($vo['thumb'] != ''): ?>
                                <img src="/public/uploads/<?php echo $vo['thumb']; ?>" alt="<?php echo $vo['title']; ?>">
                               <?php else: ?>
                                <img src="/public/static/index/suolvetu.jpg">
                               <?php endif; ?>
                            </a>
                        </div>
                    </div>
                    <div class="tpt-mr-8">
                        <div class="tpt-art-2">
                            <div class="tpt-art-4">
                                <div class="tpt-art-4-1">
                                    <h3><?php echo date("Y-m-d",strtotime($vo['inputtime'])); ?></h3>
                                </div>
                                <div class="tpt-art-4-2">
                                    <a href="<?php if($static): ?>http://<?php echo \think\Request::instance()->server('HTTP_HOST'); ?>/html/show_<?php echo $vo['catid']; ?>_<?php echo $vo['id']; ?>.html<?php else: ?><?php echo url('info',['id'=>$vo['id'],'catid'=>$vo['catid']]); endif; ?>" target="_blank"><i class="layui-icon">&#xe602;</i></a>
                                </div>
                            </div>
                            <div class="tpt-art-5">
                                <h2>
                                    <a href="<?php if($static): ?>http://<?php echo \think\Request::instance()->server('HTTP_HOST'); ?>/html/show_<?php echo $vo['catid']; ?>_<?php echo $vo['id']; ?>.html<?php else: ?><?php echo url('info',['id'=>$vo['id'],'catid'=>$vo['catid']]); endif; ?>"><?php echo $vo['title']; ?></a>
                                </h2>
                                <p><?php echo str_cut(strip_tags(htmlspecialchars_decode($vo['description'])),235); ?></p>
                            </div>
                        </div>
                    </div>
                </li>
                <?php endforeach; endif; else: echo "" ;endif; ?>             
            </ul>
        </div>
        <div class="pages cl"><?php echo $__LIST__->render(); ?></div>
    </div>
</div>
<div class="tpt-footer tpt-none">
	<div class="tpt-wp cl">
		<ul>
			<li style="padding: 0 50px 0 30px;">
				<h2>服务支持</h2>
				<p><a href="#">联系我们</a></p>
				<p><a href="#">支持计划</a></p>
				<p><a href="#">新手学堂</a></p>
				<p><a href="#">自助工具</a></p>
				<p><a href="#">咨询与设计</a></p>
			</li>
			<li>
				<h2>账户管理</h2>
				<p><a href="#">管理控制台</a></p>
				<p><a href="#">备案管理</a></p>
				<p><a href="#">账号管理</a></p>
				</li>
			<li>
				<h2>快速入口</h2>
				<p><a href="#">帮助文档</a></p>
				<p><a href="#">开放API</a></p>
				<p><a href="#">问答社区</a></p>
				<p><a href="#">技术博客</a></p>
			</li>
			<li>
				<h2>关于我们</h2>
				<p><a href="#">合作伙伴</a></p>
				<p><a href="#">提交建议</a></p>
				<p><a href="#">媒体报道</a></p>
				<p><a href="#">联系我们</a></p>
				<p><a href="#">友情链接</a></p>
			</li>
			<li>
				<h2>联系方式</h2>
				<p><span><i style="font-size: 24px;position: relative;right: 3px;top: 3px;" class="layui-icon">&#xe645;</i>全国服务热线：</span></p>
				<p><span style="color:#1E9FFF;font-size: 24px;">+86-<?php echo $site['tel']; ?></span></p>
				<p><span style="font-size: 12px;">周一到周五 9:00-19:00</span></p>
				<p><span style="font-size: 12px;"><i style="font-size: 18px;position: relative;right: 3px;top: 3px;" class="layui-icon">&#xe715;</i><?php echo $site['address']; ?></span></p>
				<p><span>用户支持：</span></p>
				<p><span style="color:#1E9FFF;"><?php echo $site['mailbox']; ?></span></p>
			</li>
			<li style="border-right: none;padding: 0 10px 0 50px;">
				<div class="tpt-footer-1">
				<h3>微信二维码</h3>
				<p>扫一扫获取更多资讯</p>
				<img src="<?php echo $site['erweima']; ?>">
				</div>
			</li>
		</ul>
	</div>
</div>
<div class="tpt-footer-2">
	<div class="tpt-wp cl">
			<p>
				<?php echo $site['copy']; ?><a href="http://www.miitbeian.gov.cn/" target="_blank"><?php echo $site['icp']; ?><script>function stop(){return false;}document.oncontextmenu=stop;</script></a>
				<span class="pipe">|</span>
				<a href="http://wpa.qq.com/msgrd@v=3&uin=<?php echo $site['qq1']; ?>&site=qq&menu=yes" target="_blank">QQ:<?php echo $site['qq1']; ?></a>
				</span><?php echo $site['tongji']; ?>
			</p>
	</div>
</div> 
</body>
</html>