-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
64 lines (64 loc) · 2.55 KB
/
page.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
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php $this->need('header.php'); ?>
<style>
.page-main{
background-color:#fff;
width:960px;
margin:0px auto 0px auto;
}
@media screen and (max-width: 960px) {
.page-main {width: 100%;}
}
</style>
<!-- content section -->
<section class="page-main" style="word-wrap:break-word;">
<ol class="am-breadcrumb">
<li><a href="<?=$this->options ->siteUrl();?>" class="am-icon-home">首页</a></li>
<li class="am-active"><?php $this->title(); ?></li>
</ol>
<article class="am-article am-paragraph am-paragraph-default" data-am-widget="paragraph" data-am-paragraph="{ tableScrollable: true, pureview: true }">
<div class="am-article-hd">
<h1 class="am-article-title"><?php $this->title(); ?></h1>
<p class="am-article-meta">
<div>
<small>
<a href="<?php $this->author->permalink(); ?>" rel="author"><?php $this->author(); ?></a> 发布 | <?php $this->date('Y-m-d'); ?> | 评论数:<?php $this->commentsNum('0', '1', '%d'); ?> | 标签:<?php $this->tags(',', true, '<a>没有标签</a>'); ?>
</small>
</div>
</p>
</div>
<div class="am-article-bd">
<?php parseContent($this); ?>
</div>
<p>
<div class="bdsharebuttonbox"><a href="#" class="bds_more" data-cmd="more"></a><a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a><a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a><a href="#" class="bds_sqq" data-cmd="sqq" title="分享到QQ好友"></a><a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a></div>
<script>
window._bd_share_config={
"common":{
"bdSnsKey":{},
"bdText":"<?php $this->title() ?>",
"bdMini":"2",
"bdMiniList":["qzone","tsina","weixin","tqq","sqq","fbook","twi","copy"],
"bdPic":"<?php if(showThumb($this)){echo showThumb($this)[0];};?>",
"bdStyle":"0",
"bdSize":"16"
},
"share":{},
"image":{
"viewList":["qzone","tqq","weixin","sqq","tsina"],
"viewText":"分享到:",
"viewSize":"16"
},
"selectShare":{
"bdContainerClass":null,
"bdSelectMiniList":["qzone","tqq","weixin","sqq","tsina"]
}
};
with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];
</script>
</p>
</article>
<?php $this->need('comments.php'); ?>
</section>
<!-- end content section -->
<?php $this->need('footer.php'); ?>