westdc-zf1/application/default/views/scripts/data/westee.phtml

35 lines
1.4 KiB
PHTML
Raw Normal View History

<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data);
$this->headTitle('中国西部环境与生态科学重大研究计划');
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/westee.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('中国西部环境与生态科学重大研究计划');
$this->breadcrumb()->setSeparator(' > ');
?>
<hr />
<div class="mditem">
<div class="itemid">ID</div>
<div class="title">名称</div>
<div class="sponsor">主持人</div>
<div class="institute">挂靠单位</div>
<div class="date">执行时间</div>
</div>
<?php foreach($this->westee as $md) : ?>
<hr />
<div class="mditem">
<div class="itemid"><?php echo $md['id'];?></div>
<div class="title"><?php echo $md['title'];?></div>
<span class="sponsor"><?php echo $md['sponsor'];?></span>
<div class="institute"><?php echo $md['institute'];?></div>
<div class="date"><?php echo date('Y-m',strtotime($md['start']));?><?php echo date('Y-m',strtotime($md['end']));?></div>
<?php foreach($this->westeemd as $eemd) : ?>
<?php if ($eemd['eeid']==$md['id']) : ?>
<div class="data">提交数据:<a href="/data/<?php echo $eemd['uuid'];?>"><?php echo $eemd['title'];?></a></div>
<?php endif; ?>
<?php endforeach; ?>
</div>
<?php endforeach; ?>