<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="author" content="">
	<link rel="icon" href="/favicon.ico">
	<title><?php echo ((isset($seo["title"]) && ($seo["title"] !== ""))?($seo["title"]):"追格-发现小程序,国内最大的微信小程序流量,小程序运营平台"); ?></title>
	<meta name="keywords" content="<?php echo ((isset($seo["keywords"]) && ($seo["keywords"] !== ""))?($seo["keywords"]):'小程序,小程序导航,微信小程序,小程序开发,小程序微信,小程序开发文档,微信公众平台,小程序下载,小程序 教程,小程序申请,追格网,公众号开发'); ?>">
	<meta name="description" content="<?php echo ((isset($seo["description"]) && ($seo["description"] !== ""))?($seo["description"]):'追格发掘和汇集微信小程序。分享最新小程序,小程序开发文档,小程序开发,小程序教程,小程序提交,小程序运营和下载平台'); ?>">
	<link href="/Public/css/bootstrap.min.css" rel="stylesheet">
	<link href="/Public/css/animate.min.css" rel="stylesheet">
	<link href="/Public/css/star-rating-svg.css" rel="stylesheet">
	<link href="/Public/css/zhuige.css?v=5" rel="stylesheet">
	<?php $color=getWebSetting(color);?>
	<link href="/Public/css/color<?php echo $color;?>.css" rel="stylesheet">
</head>
<style type="text/css">
    .prd-shoucang {
        text-align: center;
        margin-top: 20px;
        margin-bottom: 40px;
    }

    #shoucang {
        border: 1px solid #BBB;
        border-radius: 4px;
        padding: 5px 10px;
        font-weight: normal;
        font-size: 16px;
        cursor:pointer;
        text-decoration:none;
    }

    #shoucang-span {
        color: #444;
    }
</style>
<body>
<!-- 头部导航块，共用 -->
<?php if('/Home/Index/detail' == '/home/index/index'): ?><nav id="top_menu" class="navbar navbar-default navbar-static-top" role="navigation">
<?php else: ?>
	<nav id="top_menu" class="navbar navbar-default navbar-fixed-top" role="navigation"><?php endif; ?>
<style>
	.navbar-brand { width: 70px; height: 60px; background: url(<?php echo getWebSetting(logo);?>) no-repeat center center;  background-size: 51px 36px; overflow: hidden; text-indent: -200px;!important;}
</style>
	<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">Toggle navigation</span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
			</button>
			<a class="navbar-brand" href="/">追格</a>
		</div>
		<div id="navbar" class="navbar-collapse collapse">
			<ul class="nav navbar-nav">
				<?php if('/Home/Index' == '/Home/Index' ): ?><li class="active"><a href="/">首页</a></li>
					<?php else: ?>
					<li ><a href="/">首页</a></li><?php endif; ?>
				<?php if('/Home/Index' == '/Home/Last' ): ?><li class="active"><a href="/Last">最新</a></li>
					<?php else: ?>
					<li ><a href="/Last/index">最新</a></li><?php endif; ?>
			</ul>
			<ul class="nav navbar-nav navbar-right">


				<li><a href="https://www.zhuige.com/user/submitapp" target="_blank">分享新程序</a></li>
			</ul>
		</div>
	</div>
</nav>
<!-- 头部结束 -->

<div class="container prd_view top-element"><!-- 产品页宽度重设 -->
    <div class="mini-nav app_type-hide">
        <dl class="share-link pull-right bdsharebuttonbox" data-tag="top_share">
	<dt>分享</dt>
	<dd class="share_weibo"><a title="分享到微博" data-cmd="tsina">微博</a></dd>
	<dd class="share_wechat"><a title="分享到微信" data-cmd="weixin">微信</a></dd>
</dl>
        <ul class="breadcrumb">
            <li><a href="/">首页</a></li>
            <li><?php echo ($program["name"]); ?></li>
        </ul>
    </div>

    <div class="row prd-box"><!--  产品块 -->
        <div class="col-md-3 prd-icon_code">
            <div class="prd-icon"><!--  产品图标，二维码 -->
                <img src="<?php echo ($program["logo"]); ?>"  style="width: 144px; height: 144px;" alt="<?php echo ($program["name"]); ?>">
            </div>
            <div class="prd-qrCode app_type-hide">
                <?php if($program["qrcode"] == ''): ?><img src="/Public/images/front/zhuige.jpg" style="width: 144px;" alt="<?php echo ($program["name"]); ?>二维码">
                    <?php else: ?>
                    <img src="<?php echo ($program["qrcode"]); ?>" style="width: 144px;" alt="<?php echo ($program["name"]); ?>二维码"><?php endif; ?>
                <p>关注公众号：追格 </p>
                <p>第一时间获取信息</p>
            </div>
        </div>
        <div class="col-md-9">
            <div class="prd-name"><!--  产品名称，版本，发布时间 -->
                <em class="pull-right">更新日期：<?php echo (date("Y-m-d",$program["tm"])); ?></em>
                <!-- <h1><?php echo ($program["name"]); ?><span class="label label-danger">V <?php echo ($program["version"]); ?></span></h1> -->
                <h1><?php echo ($program["name"]); ?></h1>
            </div>
            <div class="prd-info"><!--  产品分类，开发者，描述，图片 -->
                <div class="prd-type_company">
                    <a class="prd-type" href="<?php echo U('index/index',array('category'=>$program['ctegory']['id']));?>" target="_blank"><?php echo ($program["ctegory"]["category"]); ?></a>|<a class="prd-company" href="#"><?php echo ($program["company"]); ?></a>
                </div>
                <div class="prd-summary">
                    <p><?php echo ($program["introduce"]); ?></p>
                    <p class="prd-tag">
                        <?php if(is_array($program["label"])): $i = 0; $__LIST__ = $program["label"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$label): $mod = ($i % 2 );++$i;?><span class="label label-default"><a href="<?php echo U('index/taglist',array('tag'=>$label['id']));?>" target="_blank"><?php echo ($label["name"]); ?></a></span><?php endforeach; endif; else: echo "" ;endif; ?>
                    </p>
                    <div class="row prd-images">
                        <?php if($program["shotone"] != ''): ?><div class="col-xs-6 col-md-4">
                                <a href="#" class="thumbnail">
                                    <img src="<?php echo ($program["shotone"]); ?>" alt="<?php echo ($program["name"]); ?>截图">
                                </a>
                            </div><?php endif; ?>
                        <?php if($program["shotwo"] != ''): ?><div class="col-xs-6 col-md-4">
                                <a href="#" class="thumbnail">
                                    <img src="<?php echo ($program["shotwo"]); ?>" alt="<?php echo ($program["name"]); ?>截图">
                                </a>
                            </div><?php endif; ?>
                        <?php if($program["shothree"] != ''): ?><div class="col-xs-6 col-md-4">
                                <a href="#" class="thumbnail">
                                    <img src="<?php echo ($program["shothree"]); ?>" alt="<?php echo ($program["name"]); ?>截图">
                                </a>
                            </div><?php endif; ?>
                        <!-- 								<?php if($program["shotfour"] != ''): ?><div class="col-xs-6 col-md-4">
                                                                <a href="#" class="thumbnail">
                                                                    <img src="<?php echo ($program["shotfour"]); ?>" alt="<?php echo ($program["name"]); ?>截图">
                                                                </a>
                                                            </div><?php endif; ?>
                                                        <?php if($program["shotfive"] != ''): ?><div class="col-xs-6 col-md-4">
                                                                <a href="#" class="thumbnail">
                                                                    <img src="<?php echo ($program["shotfive"]); ?>" alt="<?php echo ($program["name"]); ?>截图">
                                                                </a>
                                                            </div><?php endif; ?> -->
                    </div>
                    <div class="prd-qrCode app_type-hide_min">
                        <?php if($program["qrcode"] == ''): ?><img src="/Public/images/front/zhuige.jpg" style="width: 144px; height: 144px;" alt="<?php echo ($program["name"]); ?>二维码">
                            <?php else: ?>
                            <img src="<?php echo ($program["qrcode"]); ?>" style="width: 144px; height: 144px;" alt="<?php echo ($program["name"]); ?>二维码"><?php endif; ?>
                        <p>关注公众号</p>
                        <p>第一时间获取信息</p>
                    </div>
                </div>
            </div>
        </div>
    </div>

</div> <!-- /container -->

<!--   	页脚行 -->
	<footer>
		<div class="container">
			<div class="row foot-line">
				<div class="col-md-8">
				<?php echo getWebSetting(copyright);?>
				</div>
				<div class="col-md-4">
		         <?php echo getLinkUrl();?>
				</div>
			</div>
		</div>
	</footer>
    <!-- Bootstrap core JavaScript-->
    <script src="//cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
    <script src="/Public/js/bootstrap.min.js"></script>
    <script src="/Public/js/jquery.star-rating-svg.min.js"></script>
    <script src="/Public/js/ie10-viewport-bug-workaround.js"></script>
    <script src="/Public/js/zhuige.js?v=10"></script>
    <script>
	with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?cdnversion='+~(-new Date()/36e5)];
</script>
    <div style="display:none;"><script src="https://s11.cnzz.com/z_stat.php?id=1261157961&web_id=1261157961" language="JavaScript"></script></div>


</body>
</html>