westdc-zf1/application/default/views/scripts/author/comment-list.phtml

44 lines
1.5 KiB
PHTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->author);
$this->headTitle()->setSeparator(' - ');
$this->headScript()->appendFile('/js/jquery-1.7.min.js');
$this->headLink()->appendStylesheet('/css/author.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/author">数据管理</a>');
$this->breadcrumb('数据反馈管理');
$this->breadcrumb()->setSeparator(' > ');
?>
<div id="page">
<div class="subnav">
<?= $this->partial('author/navi.phtml'); ?>
</div>
<!-- 页面内容 -->
<div id="wapper">
<div id="tabs-controller">
<ul>
<li class="box-shadow active"><a class="text-shadow" href="/author/comment">元数据反馈概况</a></li>
<li class="box-shadow"><a class="text-shadow" href="/author/comment/ac/listall">所有元数据反馈</a></li>
</ul>
</div>
<div id="datalist">
<?php
if (count($this->paginator)):
echo "<h2>数据标题:".$this->mdtitle."</h2>";
echo "<ul>";
$autoindex=0;
foreach ($this->paginator as $item):
$autoindex++;?>
<li>
<p>评论者:<?php echo $item['author'] ?> <?php echo $item['email'];?>) 评论时间:<?php echo date("Y-m-d H:i",strtotime($item['ts_created']));?></p>
<p>  <?php echo $item['content'] ?></p>
</li>
<?php endforeach;
echo "</ul>";
endif; ?>
<div class="pagenavi"><?= $this->paginator; ?></div>
</div>
</div>
<!-- //页面内容 -->
</div>