2009-03-06 03:20:46 +00:00
|
|
|
<?php
|
|
|
|
$this->headTitle($this->config->title->site);
|
|
|
|
$this->headTitle($this->config->title->data);
|
|
|
|
$this->headTitle('特色数据集');
|
|
|
|
$this->headTitle()->setSeparator(' - ');
|
|
|
|
$this->headLink()->appendStylesheet('/css/datasetcd.css');
|
|
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
|
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
|
|
|
$this->breadcrumb('特色数据集');
|
|
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
|
|
$auth = Zend_Auth::getInstance();
|
|
|
|
?>
|
|
|
|
<?php
|
|
|
|
foreach ($this->rows as $row) {
|
|
|
|
?>
|
|
|
|
<div class="itemCd">
|
|
|
|
<div class="image"><img src="<?php echo $row->img; ?>" /></div>
|
|
|
|
<div class="title"><?php echo $row->title;?></div>
|
|
|
|
<div class="filesize">(<?php echo $row->size;?>MB)</div>
|
|
|
|
<div class="descript"><span class="intro">简介:</span><?php echo $row->descript; ?></div>
|
|
|
|
|
|
|
|
<div class="link">
|
2009-11-27 07:31:46 +00:00
|
|
|
<?php if ($row->uuid) : ?>
|
|
|
|
<a href="/data/<?php echo $row->uuid; ?>">详细元数据信息(包括下载)</a>
|
|
|
|
<?php else: ?>
|
2009-03-06 03:20:46 +00:00
|
|
|
<?php if ($auth->hasIdentity()) : ?>
|
|
|
|
<a href="<?php echo $row->url;?>">下载ISO文件</a>
|
|
|
|
<?php else: ?>
|
|
|
|
<a href="/account/login">请先登录后再下载ISO文件</a>
|
|
|
|
<?php endif; ?>
|
2009-11-27 07:31:46 +00:00
|
|
|
<?php endif; ?>
|
2009-03-06 03:20:46 +00:00
|
|
|
| <a href="<?php echo $row->document;?>">详细数据文档</a></div>
|
|
|
|
</div>
|
|
|
|
<?php } ?>
|