-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpagemodule.php
80 lines (77 loc) · 2.59 KB
/
pagemodule.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
<?php
$str=<<<PAGESIGNAL
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/agate.css">
<script src="js/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
<title>$pagetitle</title>
</head>
<body>
<div id="header" class="header">
<div class="header_wrapper">
<h1 class="title"><a href="index.html">我的博客</a></h1>
<ul class="navfz">
<li><a href="index.html">首页</a></li>
<li><a href="archive.html">归档</a></li>
<li><a href="tags/index.html">标签</a></li>
<!-- <li><a href="category">分类</a></li> -->
<li><a href="links.html">友链</a></li>
<li><a href="about.html">关于</a></li>
</ul>
</div>
</div>
<div id="main">
<div class="detail">
<div class="post">
<div class="content">
<h1 class="title">$pagetitle</h1>
<div class="info">
<span class="date"><i class="glyphicon glyphicon-calendar"></i>
$datetime
</span>
<span class="tags"><i class="glyphicon glyphicon-tags"></i>
$tags
</span>
</div>
<div class="post_body">
$postbody
</div>
</div>
</div>
<div class="other_posts">
<a href=$contentpre class="pre">上一篇文章:<br>$titlepre</a>
<a href=$contentnext class="next">下一篇文章:<br>$titlenext</a>
</div>
<div class="clear"></div>
</div>
<!-- 多说评论框 start -->
<div class="ds-thread" data-title=$pagetitle ></div>
<!-- 多说评论框 end -->
<!-- 多说公共JS代码 start (一个网页只需插入一次) -->
<script type="text/javascript">
var duoshuoQuery = {short_name:"yachen"};
(function() {
var ds = document.createElement('script');
ds.type = 'text/javascript';ds.async = true;
ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
ds.charset = 'UTF-8';
(document.getElementsByTagName('head')[0]
|| document.getElementsByTagName('body')[0]).appendChild(ds);
})();
</script>
<!-- 多说公共JS代码 end -->
</div>
<script src="js/jquery-1.11.2.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/contents.js"></script>
</body>
</html>
PAGESIGNAL;
?>