2012-03-23 09:53:07 +00:00
|
|
|
<?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='sidebar'>
|
|
|
|
<div id='leftnavi'>
|
|
|
|
<?= $this->partial('author/navi.phtml'); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- //左侧导航 -->
|
|
|
|
|
|
|
|
<!-- 页面内容 -->
|
|
|
|
<div id="wapper">
|
|
|
|
<div id="tabs-controller">
|
|
|
|
<ul>
|
|
|
|
<li class="box-shadow active"><a class="text-shadow" href="/author/news">数据新闻</a></li>
|
|
|
|
<li class="box-shadow"><a class="text-shadow" href="/author/news/ac/add">新闻发布</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<form id="datasearch" class="search_form" action="/author/news/">
|
|
|
|
<input type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" />
|
|
|
|
<button type="submit" class="btn" id="search_btn">搜索</button>
|
|
|
|
</form>
|
|
|
|
<div id="archives_view">
|
|
|
|
<div class="title"><?php echo $this->info['title'];?></div>
|
2012-03-28 02:55:03 +00:00
|
|
|
<div class="info">作者:<?php echo $this->info['realname'];?> 发布时间:<?php echo date("Y-m-d",strtotime($this->info['ts_published']));?> 阅读次数:<?php echo $this->info['click'];?></div>
|
2012-03-23 09:53:07 +00:00
|
|
|
<div class="content">
|
|
|
|
<?php echo $this->info['body'];?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- //页面内容 -->
|
|
|
|
<script>
|
|
|
|
$('#wapper').width($('body').width()-300);
|
|
|
|
</script>
|