2012-11-09 09:58:33 +00:00
|
|
|
|
<?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>
|
2012-11-15 09:45:47 +00:00
|
|
|
|
<?php } else{ ?>
|
2012-11-09 09:58:33 +00:00
|
|
|
|
<div style="overflow:hidden;">
|
|
|
|
|
<div id="tabs-controller">
|
|
|
|
|
<ul>
|
2012-11-12 09:57:42 +00:00
|
|
|
|
<li class="box-shadow"><a class="text-shadow" href="/heihe/projects/">所有项目</a></li>
|
2013-01-05 07:19:40 +00:00
|
|
|
|
<li class="box-shadow"><a class="text-shadow" href="/heihe/projects/ac/my">我负责的</a></li>
|
2012-11-12 09:57:42 +00:00
|
|
|
|
<li class="box-shadow"><a class="text-shadow" href="/heihe/projects/ac/submitting">正在提交</a></li>
|
|
|
|
|
<li class="box-shadow"><a class="text-shadow" href="/heihe/projects/ac/unsubmit">未提交</a></li>
|
|
|
|
|
<li class="box-shadow"><a class="text-shadow" href="/heihe/projects/ac/submit">已提交</a></li>
|
2012-11-09 09:58:33 +00:00
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
2012-11-15 09:45:47 +00:00
|
|
|
|
<?php if(!empty($this->searchLink)){ ?>
|
|
|
|
|
<div>
|
|
|
|
|
<form id="datasearch" class="search_form" action="<?= $this->searchLink ?>">
|
|
|
|
|
<input type="text" id="keyword" name="q" value="<?= $this->searchKeyword; ?>" />
|
|
|
|
|
<button type="submit" class="btn" id="search_btn">搜索</button>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<?php }?>
|
2012-11-09 09:58:33 +00:00
|
|
|
|
<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>
|
2013-01-05 07:19:40 +00:00
|
|
|
|
<p>
|
|
|
|
|
编号:<label><?= $item['code'];?></label> |
|
|
|
|
|
负责人:<?= $item['name'];?> |
|
|
|
|
|
开始时间:<?= $item['pstart'];?> |
|
|
|
|
|
状态:<?= $item['status'];?>
|
|
|
|
|
<?php if(!empty($item['attachid'])) { ?>
|
|
|
|
|
| <a href="/service/attach/id/<?= $item['attachid'];?>">下载</a>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
</p>
|
2012-11-12 09:57:42 +00:00
|
|
|
|
<?php
|
|
|
|
|
if($this->user_email == $item['email'])
|
|
|
|
|
{ ?>
|
|
|
|
|
<p>【<a href="/heihe/projects/ac/upload/pid/<?= $item['id']?>" class="iframe">上传计划</a>】</p>
|
|
|
|
|
<?php }
|
|
|
|
|
?>
|
|
|
|
|
|
2012-11-09 09:58:33 +00:00
|
|
|
|
</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>
|