-
Notifications
You must be signed in to change notification settings - Fork 0
/
archive.php
153 lines (153 loc) · 8.17 KB
/
archive.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php $this->need('header.php'); ?>
<div id="main">
<div class="breadcrumbs mianbao iconfont icon-shouye">
<a href="<?php $this->options->siteUrl(); ?>">返回首页</a> » <?php $this->archiveTitle(array(
'category' => _t('分类 【%s】 下的文章'),
'search' => _t('包含关键字 【%s】 的文章'),
'tag' => _t('标签 【%s】 下的文章'),
'date' => _t('在 【%s】 发布的文章'),
'author' => _t('作者 【%s】 发布的文章')
), '', ''); ?></div>
<?php if ($this->getDescription()): ?>
<div class="fenlei-miaoshu"><b>分类描述: </b><?php echo $this->getDescription(); ?></div>
<?php endif; ?>
<div class="post-near">
<?php $this->options->postmiddleads0 != ''?$this->options->postmiddleads():Typecho_Widget::widget('Widget_Users_Admin')->screenName();?>
</div>
<div class="post-near yc">
<!--<?php $this->options->postmiddleads != ''?$this->options->postmiddleads():Typecho_Widget::widget('Widget_Users_Admin')->screenName();?>-->
<ul class="widget-tile">
<?php $this->widget('Widget_Metas_Tag_Cloud@sidebar', 'sort=mid&ignoreZeroCount=1&desc=0&limit=30')->to($tags); ?>
<?php if($tags->have()): ?>
<?php while($tags->next()): ?>
<li class="right-tags"><a href="<?php $tags->permalink(); ?>" <?php if (!empty($this->options->colortags) && in_array('sidebar', $this->options->colortags)) { echo colortags(); } ?> title="污水处理设备仪表-<?php $tags->name(); ?>"><?php $tags->name(); ?></a></li>
<?php endwhile; ?>
<?php if (FindContents('page-tags.php')): ?>
<li class="right-tags" ><a href="<?php echo FindContents('page-tags.php')[0]['permalink']; ?>" <?php if (!empty($this->options->colortags) && in_array('sidebar', $this->options->colortags)) { echo colortags(); } ?>>more...</a></li>
<?php endif; ?>
<?php else: ?>
<li>暂无标签</li>
<?php endif; ?>
</ul>
</div>
<?php if ($this->have()): ?>
<?php while($this->next()): ?>
<article class="post<?php if ($this->options->PjaxOption && $this->hidden): ?> protected<?php endif; ?> liebiao">
<div class="post-content">
<?php if ($this->options->PjaxOption && $this->hidden): ?>
<h2 class="post-title"><a href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h2>
<form method="post">