FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Writing/post.php at master · GreatDick/Writing · GitHub
GreatDick
/
Writing
Public
Notifications
You must be signed in to change notification settings
Fork
2
Star
2
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
Writing
/
post.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
26 lines (25 loc) · 1.19 KB
Breadcrumbs
Writing
/
post.php
Copy path
File metadata and controls
26 lines (25 loc) · 1.19 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
<?php
if
(!
defined
(
'
__TYPECHO_ROOT_DIR__
'
))
exit
;
?>
<?php
$
this
->
need
(
'
header.php
'
);
?>
<div id="container">
<header>
<nav id="nav-menu">
<ul class="topNav-items">
<li class="menu-item
<?php
if
(
$
this
->
is
(
'
index
'
)):
?>
current-menu-item
<?php
endif
;
?>
"> <a href="
<?php
$
this
->
options
->
siteUrl
();
?>
">
<?php
_e
(
'
首页
'
);
?>
</a></li>
<?php
$
this
->
widget
(
'
Widget_Contents_Page_List
'
)->
to
(
$
pages
);
?>
<?php
while
(
$
pages
->
next
()):
?>
<li class="menu-item
<?php
if
(
$
this
->
is
(
'
page
'
,
$
pages
->
slug
)):
?>
current-menu-item
<?php
endif
;
?>
"><a href="
<?php
$
pages
->
permalink
();
?>
" title="
<?php
$
pages
->
title
();
?>
">
<?php
$
pages
->
title
();
?>
</a></li>
<?php
endwhile
;
?>
</ul>
</nav>
<h2 class="post-title">
<?php
$
this
->
title
()
?>
</h2>
<div class="post-time">
<time>
<?php
$
this
->
date
(
'
F j, Y
'
);
?>
</time>
</div>
</header>
<div class="grap">
<?php
$
this
->
content
();
?>
</div>
<p itemprop="keywords" class="post-tags">
<?php
$
this
->
tags
(
''
,
true
,
''
);
?>
</p>
<?php
$
this
->
need
(
'
comments.php
'
);
?>
</div>
<?php
$
this
->
need
(
'
footer.php
'
);
?>
Back
|
FazBrowse Home
|
New Git URL