-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathlink_old.php
49 lines (47 loc) · 1.61 KB
/
link_old.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
<?php
/**
* 友情链接_旧
*
* @package custom
*/
$this->need('components/header.php');
?>
<div class="PAP" id="link">
<article itemscope itemtype="http://schema.org/BlogPosting">
<div id="post-banner" class="PAP-banner <?php $img = G::getArticleFieldsBanner($this);
if ($img != 'none') echo 'PAP-IMG-Banner'; ?>">
<?php $img = G::getArticleFieldsBanner($this);
if ($img != 'none'): ?>
<div class="PAP-banner-background" style="background-image: url('<?php echo $img; ?>');"></div>
<div class="PAP-banner-mask"></div>
<?php endif; ?>
<div>
<h1 itemprop="name headline"><?php $this->title() ?></h1>
</div>
</div>
<div class="post-content PAP-content" itemprop="articleBody">
<?php echo G::analyzeContent($this->content); ?>
</div>
<div class="friends">
<?php if (isset($this->options->plugins['activated']['Links'])) : ?>
<?php Links_Plugin::output("
<li class='clear'>
<a href='{url}' target='_blank'></a>
<img src='{image}' alt='{name}'/>
<div class='link-item-content-old'>
<h3>{name}</h3>
<span>{sort}</span>
<p>{description}</p>
</div>
</li>
", 0); ?>
<?php else: ?>
<p>请启用Link插件</p>
<?php endif; ?>
</div>
</article>
</div>
<?php if ($this->fields->enableComment == 1): ?>
<?php $this->need('components/comments.php'); ?>
<?php endif; ?>
<?php $this->need('components/footer.php'); ?>