PageRenderTime 42ms CodeModel.GetById 14ms RepoModel.GetById 1ms app.codeStats 0ms

/baser/plugins/blog/views/blog/mobile/default/posts.php

https://github.com/hashing/basercms
PHP | 30 lines | 11 code | 1 blank | 18 comment | 1 complexity | 505dd09f88e0db9b7223044693a46c0e MD5 | raw file
Possible License(s): MIT
  1. <?php
  2. /* SVN FILE: $Id$ */
  3. /**
  4. * [MOBILE] タイトル一覧
  5. *
  6. * PHP versions 5
  7. *
  8. * baserCMS : Based Website Development Project <http://basercms.net>
  9. * Copyright 2008 - 2012, baserCMS Users Community <http://sites.google.com/site/baserusers/>
  10. *
  11. * @copyright Copyright 2008 - 2012, baserCMS Users Community
  12. * @link http://basercms.net baserCMS Project
  13. * @package baser.plugins.blog.views
  14. * @since baserCMS v 0.1.0
  15. * @version $Revision$
  16. * @modifiedby $LastChangedBy$
  17. * @lastmodified $Date$
  18. * @license http://basercms.net/license/index.html
  19. */
  20. ?>
  21. <?php if(!empty($posts)): ?>
  22. <?php foreach($posts as $key => $post): ?>
  23. <span style="color:#FF6600"></span>&nbsp;<?php $blog->postDate($post, 'y.m.d') ?><br />
  24. <?php $blog->postTitle($post) ?>
  25. <hr size="1" style="width:100%;height:1px;margin:5px 0;padding:0;color:#CCCCCC;background:#CCCCCC;border:1px solid #CCCCCC;" />
  26. <?php endforeach; ?>
  27. <?php else: ?>
  28. <p style="text-align:center"></p>
  29. <?php endif; ?>