59 lines
2.3 KiB
PHTML
59 lines
2.3 KiB
PHTML
|
<?php
|
|||
|
$this->headTitle($this->config->title->site);
|
|||
|
$this->headTitle($this->config->title->data);
|
|||
|
$this->headTitle()->setSeparator(' - ');
|
|||
|
$this->headLink()->appendStylesheet('/css/water.css');
|
|||
|
$this->breadcrumb('<a href="/">首页</a>');
|
|||
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
|||
|
$this->breadcrumb('<a href="/heihe/">'.$this->config->title->heihe.'</a>');
|
|||
|
$this->breadcrumb('数据汇交计划');
|
|||
|
$this->breadcrumb()->setSeparator(' > ');
|
|||
|
$this->headScript()->appendFile('/js/jquery-1.7.min.js');
|
|||
|
$this->headScript()->appendFile('/js/jquery.colorbox-min.js');
|
|||
|
$this->headLink()->appendStylesheet('/css/colorbox.css');
|
|||
|
?>
|
|||
|
<div id='sidebar'>
|
|||
|
<div id='leftnavi'>
|
|||
|
<?= $this->partial('heihe/navi.phtml'); ?>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div id='right'>
|
|||
|
<div class="clear"> </div>
|
|||
|
<?php if(!empty($this->error)) {?>
|
|||
|
<div id="intro"><?php echo $this->error;?></div>
|
|||
|
<?php }else{?>
|
|||
|
<div style="overflow:hidden;">
|
|||
|
<div id="tabs-controller">
|
|||
|
<ul>
|
|||
|
<li class="box-shadow"><a class="text-shadow" href="/heihe/submit/ac/newdata">正在提交</a></li>
|
|||
|
<li class="box-shadow"><a class="text-shadow" href="/heihe/submit/ac/newdata/do/add">未提交</a></li>
|
|||
|
<li class="box-shadow"><a class="text-shadow" href="/heihe/project/ac/commited">已提交</a></li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
<div id="datalist">
|
|||
|
<?php
|
|||
|
if (count($this->paginator)):
|
|||
|
echo "<ul>";
|
|||
|
$autoindex=0;
|
|||
|
foreach ($this->paginator as $item):
|
|||
|
$autoindex++;
|
|||
|
?>
|
|||
|
<li>
|
|||
|
<p><span class="title"><?php echo $item['title'];?></span></p>
|
|||
|
<p>编号:<label><?= $item['code'];?></label> | 负责人:<?= $item['name'];?> | 开始时间:<?= $item['pstart'];?> | 状态:<?= $item['status'];?></p>
|
|||
|
</li>
|
|||
|
<?php
|
|||
|
endforeach;
|
|||
|
echo "</ul>";
|
|||
|
endif; ?>
|
|||
|
</div>
|
|||
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
|||
|
|
|||
|
</div>
|
|||
|
<?php } ?>
|
|||
|
</div>
|
|||
|
<script type="text/javascript" charset="utf-8">
|
|||
|
$(document).ready(function(){
|
|||
|
$(".iframe").colorbox({iframe:true, width:"80%", height:"80%"});
|
|||
|
});
|
|||
|
</script>
|