/baser/plugins/blog/views/elements/admin/blog_contents/index_list.php
PHP | 50 lines | 30 code | 2 blank | 18 comment | 1 complexity | 840312f03d10a1678ae2086f0d4b2716 MD5 | raw file
Possible License(s): MIT
- <?php
- /* SVN FILE: $Id$ */
- /**
- * [ADMIN] ブログコンテンツ 一覧 テーブル
- *
- * 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.views
- * @since baserCMS v 0.1.0
- * @version $Revision$
- * @modifiedby $LastChangedBy$
- * @lastmodified $Date$
- * @license http://basercms.net/license/index.html
- */
- ?>
- <table cellpadding="0" cellspacing="0" class="list-table" id="ListTable">
- <thead>
- <tr>
- <th class="list-tool">
- <div>
- <?php $bcBaser->link($bcBaser->getImg('admin/btn_add.png', array('width' => 69, 'height' => 18, 'alt' => '新規追加', 'class' => 'btn')), array('action' => 'add')) ?>
- </div>
- </th>
- <th>NO</th>
- <th>ブログアカウント</th>
- <th>ブログタイトル</th>
- <th>登録日<br />更新日</th>
- </tr>
- </thead>
- <tbody>
- <?php if(!empty($datas)): ?>
- <?php $count=1; ?>
- <?php foreach($datas as $data): ?>
- <?php $bcBaser->element('blog_contents/index_row', array('data' => $data, 'count' => $count)) ?>
- <?php $count++; ?>
- <?php endforeach; ?>
- <?php else: ?>
- <tr>
- <td colspan="6"><p class="no-data">データが見つかりませんでした。</p></td>
- </tr>
- <?php endif; ?>
- </tbody>
- </table>