-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
200 lines (189 loc) · 9.04 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
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
<?php
/**
* _ _____ _ _ ____ _
* | | | ___/ / |___ \ _ __ ___| |_
* | | | |_ | | | __) | | '_ \ / _ \ __|
* | |___| _| | | |/ __/ _| | | | __/ |_
* |_____|_| |_|_|_____(_)_| |_|\___|\__|
*
* @package WordPress
* @Theme PureWin
*
* @author [email protected]
* @link https://lf112.net
*/
get_header();
?>
<main>
<!--Main-->
<div id="Main">
<div class="Article-Card">
<div id="AC-Menu">
<article>
<div class="AC-Menu_BackGroup"></div>
<div class="AC-Menu_Main">
<div id="AC-MM_Title"><a><?php bloginfo('name');?></a></div>
<div id="AC-MM_Folding"><a href="javascript:;"><i class="iconfont icon-caidan"></i></a></div>
<div id="AC-MM_Main">
<ul>
<a href="/" style="text-decoration: none;">
<li>
<div class="AC-MM_M-Single AC-MM_M-Spacing">
<div class="AC-MM_M-Single_i">
<i class="iconfont icon-shouye"></i>
</div>
<div class="AC-MM_M-Single_Title">
<h2>首页</h2>
</div>
</div>
</li>
</a>
<a href="javascript:;" style="text-decoration: none;">
<li>
<div class="AC-MM_M-Single">
<div class="AC-MM_M-Single_i">
<i class="iconfont icon-leimupinleifenleileibie"></i>
</div>
<div class="AC-MM_M-Single_Title">
<h2>分类</h2>
</div>
</div>
</li>
</a>
<a href="javascript:;" style="text-decoration: none;">
<li>
<div class="AC-MM_M-Selectivity">
<div class="AC-MM_M-Selectivity_i">
<div class="AC-MM_M-Selectivity_is"></div>
</div>
<div class="AC-MM_M-Selectivity_Text">
<span>PureWin</span>
<p>主题制作中</p>
</div>
</div>
</li>
</a>
<a href="javascript:;" style="text-decoration: none;">
<li>
<div class="AC-MM_M-Selectivity">
<div class="AC-MM_M-Selectivity_i"></div>
<div class="AC-MM_M-Selectivity_Text">
<span>LF112</span>
<p>[email protected]</p>
</div>
</div>
</li>
</a>
</ul>
</div>
</div>
<div class="AC-Menu_Footer">
<div class="AC-MF_Button AC-MF_is">
<a href="javascript:;"><i class="iconfont icon-shouye"></i></a>
</div>
<div class="AC-MF_Button">
<a href="javascript:;"><i class="iconfont icon-shi"></i></a>
</div>
</div>
</article>
</div>
<div id="AC-Article_list">
<div class="AC-AL_Title"></div>
<div class="AC-AL_Header">
<div class="AC-AL_H-Search">
<i class="iconfont icon-iconsousuo"></i>
<input type="text" placeholder="搜索" value="">
</div>
<a href="javascript:;"><i class="iconfont icon-shuaxin"></i></a>
<a href="javascript:;"><i class="iconfont icon-shi"></i></a>
</div>
<div class="AC-AL_Main">
<div class="AC-AL_M-Top">
<h2>文章</h2>
</div>
<div class="AC-AL_M-Main">
<ul>
<li>
<div class="AC-AL_M-M_Head"><p>所有文章</p></div>
</li>
<?php if ( have_posts() ) { ?>
<?php while ( have_posts() ) { the_post(); global $post; ?>
<?php if( $post->post_type== 'post' ) { ?>
<li>
<a href="<?php the_permalink(); ?>" style="text-decoration: none;">
<div class="AC-AL_M-M_Main">
<div class="AC-AL_M-M_M-Header">
<?php echo get_avatar( get_the_author_meta( 'ID' ) ); ?>
</div>
<div class="AC-AL_M-M_M-Text">
<p id="AC-AL_M-M_M-T_Name"><?php echo the_author_posts_link(); ?></p>
<span id="AC-AL_M-M_M-T_Title"><?php the_title(); ?></span>
<?php if ( has_post_thumbnail() ) {the_post_thumbnail();}the_excerpt(); ?>
</div>
<div class="AC-AL_M-M_footer">
<p><?php echo human_time_diff(get_the_time('U'), current_time('timestamp')) . '前'; ?></p>
</div>
</div>
</a>
</li>
<?php } ?>
<?php } ?>
<?php } ?>
</ul>
</div>
</div>
</div>
<div id="AC-Article_Main">
</div>
</div>
</div>
<!--Main-->
<div id="Desktop">
<!--Shortcut Mode-->
<ul>
<li class="Top-li">
<div class="Main-Card">
<div id="logo">
<img src="/wp-content/themes/PureWin/images/Start.png">
</div>
<div id="Title">
<a>PureWin</a>
</div>
</div>
</li>
<li>
<div class="Main-Card">
<div id="logo">
<img src="/wp-content/themes/PureWin/images/WordPress.png">
</div>
<div id="Title">
<a>WordPress</a>
</div>
</div>
</li>
</ul>
<!--Shortcut Mode-->
</div>
<div id="Taskbar-footer">
<div class="Start">
<i class="iconfont icon-win"></i>
</div>
<div class="Search">
<i class="iconfont icon-iconsousuo"></i>
<input id="SSR" type="text" placeholder="在这里输入你想要搜索的内容" value="">
<i class="iconfont icon-xiangyou3-copy" id="left"></i>
</div>
<div class="Menu">
<a target="_blank" href="/wp-admin"><i class="iconfont icon-renwu"></i></a>
</div>
<div class="I">
<i class="iconfont icon-pinglun00"></i>
</div>
<div class="Time">
<span id='i-Time'></span>
<br>
<span id='l-Time'></span>
</div>
</div>
</main>
<?php get_footer(); ?>