/baser/plugins/blog/views/blog/smartphone/default/archives.php
PHP | 47 lines | 25 code | 4 blank | 18 comment | 1 complexity | 4d5366d39eb2c8303c02848fb7f9ead5 MD5 | raw file
Possible License(s): MIT
- <?php
- /* SVN FILE: $Id$ */
- /**
- * [PUBLISH] ブログアーカイブ一覧
- *
- * PHP versions 5
- *
- * baserCMS : Based Website Development Project <http://basercms.net>
- * Copyright 2008 - 2012, baserCMS Users Community <http://sites.google.com/site/baserusers/>
- *
- * @copyright Copyright 2008 - 2012, baserCMS Users Community
- * @link http://basercms.net baserCMS Project
- * @package baser.plugins.blog.views
- * @since baserCMS v 0.1.0
- * @version $Revision$
- * @modifiedby $LastChangedBy$
- * @lastmodified $Date$
- * @license http://basercms.net/license/index.html
- */
- $bcBaser->setDescription($blog->getTitle().'|'.$bcBaser->getContentsTitle().'のアーカイブ一覧です。');
- ?>
- <!-- title -->
- <h2 class="contents-head">
- <?php $blog->title() ?>
- </h2>
- <!-- archives title -->
- <h3 class="contents-head">
- <?php $bcBaser->contentsTitle() ?>
- </h3>
- <section class="box news">
- <!-- list -->
- <?php if(!empty($posts)): ?>
- <ul>
- <?php foreach($posts as $post): ?>
- <li><?php $blog->postLink($post, '<span class="date">'.$blog->getPostDate($post).'</span><br />'.$blog->getPostTitle($post)) ?></li>
- <?php endforeach; ?>
- </ul>
- <?php else: ?>
- <p class="no-data">記事がありません。</p>
- <?php endif; ?>
- </section>
- <!-- pagination -->
- <?php $bcBaser->pagination('simple'); ?>