forked from crazystear/Practice01
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
35 lines (35 loc) · 1.27 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
/**
* 瀑布流布局的typecho主题practice01,这是我写的第一个typecho主题,纯属练习的作品,所以命名为practice01。主题功能请在使用中慢慢体会:)
*
* @package practice01
* @author 小宇
* @version 1.0.5
* @link https://sunxyu.cn
*/
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$this->need('header.php');
?>
<div class="site-wrap">
<div class="flex-left">
<div class="left-side">
<div class="inside">
<div id="content" class="content">
<?php while($this->next()): ?>
<?php
$getCate = $this->category;
if ($getCate != 'gallery') {
include("post_common.php");
}
?>
<?php endwhile; ?>
</div>
<div id="ajaxloadpost" style="padding: 0 10px;">
<?php $this->pageLink('下一页','next'); ?>
</div>
<div id="showtext"></div>
</div>
</div>
</div>
<?php $this->need('sidebar.php'); ?>
<?php $this->need('footer.php'); ?>