The current repo belongs to Paused status, and some functions are restricted. For details, please refer to the description of repo status
1 Star 5 Fork 2

sking / hiaiBlog
Paused

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
page_links.php 1.05 KB
Copy Edit Raw Blame History
sking authored 2020-02-05 17:35 . HIAIV1.5
<?php
/**
* 友情链接
*
* @package custom
*/
if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php $this->need('header.php'); ?>
<div class="container container-page">
<div class="pageside">
<div class="pagemenus">
<ul class="pagemenu">
<?php $this->widget('Widget_Contents_Page_List')->to($cpages);?>
<?php while ($cpages->next()): ?>
<li<?php if($cpages->title==$this->title){print ' class="active"';} ?>><a href="<?php $cpages->permalink();?>"><?php $cpages->title();?></a></li>
<?php endwhile; ?>
</ul>
</div>
</div>
<div class="content">
<header class="article-header">
<h1 class="article-title"><a href="<?php $this->permalink(); ?>"><?php $this->title() ?></a></h1>
</header>
<h3>友情链接</h3>
<ul class="plinks">
<li id="linkcat-42" class="linkcat">
<ul class="xoxo blogroll">
<li><?php Links_Plugin::output("SHOW_MIX"); ?></li>
</ul>
</li>
</ul>
<article class="article-content">
<?php parseContent($this); ?>
</article>
<?php $this->need('comments.php'); ?>
</div>
</div>
<?php $this->need('footer.php'); ?>
PHP
1
https://gitee.com/hkq15/hiaiBlog.git
git@gitee.com:hkq15/hiaiBlog.git
hkq15
hiaiBlog
hiaiBlog
master

Search