westdc-zf1/application/default/views/scripts/author/view-authors.phtml

41 lines
1.1 KiB
PHTML
Raw Normal View History

2013-04-24 10:35:53 +00:00
<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->author);
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/author.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/author">数据作者</a>');
$this->breadcrumb('查看数据作者');
$this->breadcrumb()->setSeparator(' > ');
?>
<div class="row">
<div class="span3">
<?= $this->partial('author/navi.phtml'); ?>
</div>
<div class="span9">
<?php
if(!empty($this->error))
{
echo $this->error;
}
?>
<h3><a href="/data/<?php echo $this->datas[0]['uuid']; ?>"><?php echo $this->datas[0]['title']; ?></a> </h3>
<div class="well">
<?php
if (count($this->paginator)):
echo "<ul>";
$autoindex=0;
foreach ($this->paginator as $item):
$autoindex++;?>
<li>
<p><?php echo $item['realname'];?> (<?php echo $item['email'];?>)</p>
<p>单位:<?php echo $item['unit'];?></p>
</li>
<?php endforeach;
echo "</ul>";
endif; ?>
</div>
<div class="pagenavi"><?= $this->paginator; ?></div>
</div>
2013-04-21 02:50:57 +00:00
</div>