<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php if(isset($SEO['title']) && !empty($SEO['title'])) { ?><?php echo $SEO['title'];?><?php } ?><?php echo $SEO['site_title'];?></title>
<meta name="keywords" content="<?php echo $SEO['keyword'];?>" />
<meta name="description" content="<?php echo $SEO['description'];?>" />
<link type="text/css" rel="stylesheet" href="/statics/theme/css/body.css"/>
<link rel="stylesheet" href="/statics/theme/css/jquery-labelauty.css">
<script src="/statics/theme/js/jquery.min.js"></script>
<script src="/statics/theme/js/baoming.js"></script>
<script src="/statics/js/digg.js"></script>
<script>
	var phoneWidth = parseInt(window.screen.width)
	var phoneScale = phoneWidth/750
	var ua = navigator.userAgent
	if (/Android (\d+\.\d+)/.test(ua)){
	var version = parseFloat(RegExp.$1)
	if(version>2.3){
	document.write('<meta name="viewport" content="width=750, minimum-scale = '+phoneScale+', maximum-scale = '+phoneScale+', target-densitydpi=device-dpi">')
	}else{
	document.write('<meta name="viewport" content="width=750, target-densitydpi=device-dpi">')
	}
	} else {
	document.write('<meta name="viewport" content="width=750, user-scalable=no, target-densitydpi=device-dpi">')
	}
</script>
</head>
<body class="body">
	<div class="container">
        <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=5cadbb82dcc42ede061a4f8f1e92ebbd&action=lists&catid=44&num=1&siteid=%24siteid&order=listorder+DESC&moreinfo=1\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>'44','siteid'=>$siteid,'order'=>'listorder DESC','moreinfo'=>'1','limit'=>'1',));}?>
        <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
        <div class="ny_top" style="background:url(<?php echo $r['topbg_img'];?>) no-repeat top center;">
        	<div class="ny_top_bg" style="background:url(<?php echo $r['ny_topbg_img'];?>) no-repeat top center;">
        <?php $n++;}unset($n); ?>
        <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
            	<div class="ny_thead">
					<div class="to_index f1">
                    	<a href="/"></a>
                    </div>
                    <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=3017f9a8bce604bb4af84b6114b1063f&action=lists&catid=10&num=1&siteid=%24siteid&order=listorder+DESC&moreinfo=1\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>'10','siteid'=>$siteid,'order'=>'listorder DESC','moreinfo'=>'1','limit'=>'1',));}?>
                    <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
                    <div class="ny_logo f1">
                    	<img src="<?php echo $r['toplogo_img'];?>">
                    </div>
                    <?php $n++;}unset($n); ?>
                    <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                    <div class="menu_show f2">
                    	<a id="open-sb" class="menu_show_btn" href="javascript:;"></a>
                        <section class="sidebar">
                            <nav>
                                <ul><li><a href="/" target="_blank">首页</a></li></ul><hr >
                                <?php $i=0;?>
                                    <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=49ce9f7f8ed8b5ac7d75caa6764beeb4&action=category&catid=0&num=4&siteid=%24siteid&order=listorder+ASC&moreinfo=1\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>'0','siteid'=>$siteid,'order'=>'listorder ASC','moreinfo'=>'1','limit'=>'4',));}?>
                                    <?php $n=1; if(is_array($data)) foreach($data AS $k => $v) { ?>
                                    <?php $arr=array();?>
                                            <?php array_push($arr,$v["catid"]);?>  
                                    <?php $i=$i+1;?>
                                    <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=817cd2fc789d130cfe2dbae64fbe235a&action=category&catid=%24k&num=4&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>$k,'siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'4',));}?>
                                       <?php $twodata=$data;?>
                                       <?php $n=1;if(is_array($twodata)) foreach($twodata AS $r) { ?>
                                            <?php array_push($arr,$r["catid"]);?>    
                                    <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=3e96fcf0e98248c5f18f8f09a649ce5d&action=category&catid=%24r%5B%27catid%27%5D&num=4&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>$r['catid'],'siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'4',));}?>
                                    <?php $n=1;if(is_array($data)) foreach($data AS $three) { ?>
                                    <?php array_push($arr,$three["catid"]);?>
                                    <?php $n++;}unset($n); ?>
                                    <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                                    <?php $n++;}unset($n); ?>                                        
                                		<ul>
                                        <?php $n=1;if(is_array($twodata)) foreach($twodata AS $r) { ?>
                                            <li><a href="<?php echo $r['url'];?>" target="_blank"><?php echo $r['catname'];?></a></li>
                                        <?php $n++;}unset($n); ?>
                                        </ul>
                                    	<hr class="display<?php echo $i;?>">
                                    <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                                    <?php $n++;}unset($n); ?>
                                    <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                                <?php echo runhook('glogal_header')?>                           
                            </nav>
                        </section>
                    </div>
                </div>
                	<div class="index_tbody"><img src="<?php echo $CATEGORYS[$catid]['image'];?>" /></div>
            </div>
        </div>
        <div class="index_nav">
            <ul>
            <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=befc6ddd983be1e02fa9cb9cdf9c3074&action=lists&catid=53&num=4&order=listorder+ASC&moreinfo=1\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>'53','order'=>'listorder ASC','moreinfo'=>'1','limit'=>'4',));}?>
            <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
                <li><a href="<?php echo $r['url'];?>"><?php echo $r['title'];?></a></li>
            <?php $n++;}unset($n); ?>
            <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
            </ul>
        </div>
