48 Star 284 Fork 91

云落 / git

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
index.php 1.36 KB
一键复制 编辑 原始数据 按行查看 历史
<?php get_header(); ?>
<div class="content-wrap">
<div class="content">
<?php
if ($paged && $paged > 1) {
printf('<header class="archive-header"><h1>最新发布 第' . $paged . '页</h1><div class="archive-header-info"><p>' . get_option('blogname') . get_option('blogdescription') . '</p></div></header>');
} else {
if (git_get_option('git_slide_style') == 'git_slide_3d' ) include 'modules/sticky.php';
if (git_get_option('git_slide_style') == 'git_slide_pt' ) include 'modules/slick.php';
}
if(git_get_option('git_slide_style') != ''):
if (git_get_option('git_adindex_02')) echo'<div class="banner banner-sticky">' . git_get_option('git_adindex_02') . '</div>';
endif;
if (git_is_mobile() && git_get_option('Mobiled_adindex_02')) echo '<div class="banner-sticky mobileads">' . git_get_option('Mobiled_adindex_02') . '</div>';
if (git_get_option('git_cms_b')) {
include 'modules/cms.php';
} else {
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
if (git_get_option('git_orderbygx')) { $orderby = 'modified'; } else { $orderby = 'date'; }
$args = array(
'ignore_sticky_posts' => 1,
'paged' => $paged,
'orderby' => $orderby
);
query_posts($args);
if (git_get_option('git_card_b')) {
include 'modules/card.php';
}else{
include 'modules/excerpt.php';
}
}
?>
</div>
</div>
<?php get_sidebar(); get_footer(); ?>
PHP
1
https://gitee.com/yunluo/git.git
git@gitee.com:yunluo/git.git
yunluo
git
git
alpha

搜索帮助