修复少传参数的问题

This commit is contained in:
Li Jianxuan 2011-09-21 09:44:11 +00:00
parent 261263c61b
commit 5d5bf7bca7
1 changed files with 128 additions and 128 deletions

View File

@ -1,128 +1,128 @@
<?php <?php
$this->headTitle($this->config->title->site); $this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data); $this->headTitle($this->config->title->data);
$this->headTitle()->setSeparator(' - '); $this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/metadata.css'); $this->headLink()->appendStylesheet('/css/metadata.css');
$this->breadcrumb('<a href="/">首页</a>'); $this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb($this->config->title->data); $this->breadcrumb($this->config->title->data);
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<div id='leftContainer'> <div id='leftContainer'>
<div id="links"> <div id="links">
<div class="title"><img src="/images/dbs.png" align="absmiddle" />数 据 导 航</div> <div class="title"><img src="/images/dbs.png" align="absmiddle" />数 据 导 航</div>
<h3> <h3>
<?php echo $this->searchform; ?> <?php echo $this->searchform; ?>
<a href="/data/advancesearch">高级搜索</a></h3> <a href="/data/advancesearch">高级搜索</a></h3>
<h3><a href="/water">黑河综合遥感联合试验</a> <a href="/data/datasetcd">特色数据集光盘</a> </h3> <h3><a href="/water">黑河综合遥感联合试验</a> <a href="/data/datasetcd">特色数据集光盘</a> </h3>
<h3> 分类浏览</h3> <h3> 分类浏览</h3>
<div id='category'> <div id='category'>
<fieldset><legend><a href="/data/category">数据集类别</a></legend> <fieldset><legend><a href="/data/category">数据集类别</a></legend>
<ul> <ul>
<?php foreach($this->category as $cg) : ?> <?php foreach($this->category as $cg) : ?>
<li><a href='/data/category/<?php echo $cg['code']; ?>'><?php (empty($cg['name_zh']))?print($cg['name']):print($cg['name_zh']); ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li> <li><a href='/data/category/code/<?php echo $cg['code']; ?>'><?php (empty($cg['name_zh']))?print($cg['name']):print($cg['name_zh']); ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
<?php endforeach; ?> <?php endforeach; ?>
</ul></fieldset> </ul></fieldset>
</div> </div>
<?php if ($this->serie) : ?> <?php if ($this->serie) : ?>
<div id='series'> <div id='series'>
<fieldset><legend><a href="/data/series">数据集序列</a></legend> <fieldset><legend><a href="/data/series">数据集序列</a></legend>
<ul> <ul>
<?php foreach($this->serie as $cg) : ?> <?php foreach($this->serie as $cg) : ?>
<li><a href='/data/series/<?php echo $cg['id']; ?>'><?php echo $cg['name']; ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li> <li><a href='/data/series/<?php echo $cg['id']; ?>'><?php echo $cg['name']; ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
<?php endforeach; ?> <?php endforeach; ?>
</ul></fieldset> </ul></fieldset>
</div> </div>
<?php endif; ?> <?php endif; ?>
<div id='keyword'> <div id='keyword'>
<?php <?php
$keytypezh=array('place'=>'地点关键词','theme'=>'主题关键词','discipline'=>'学科关键词','stratum'=>'地层关键词','temporal'=>'时间关键词'); $keytypezh=array('place'=>'地点关键词','theme'=>'主题关键词','discipline'=>'学科关键词','stratum'=>'地层关键词','temporal'=>'时间关键词');
foreach($this->keywords as $type=>$kcg) : foreach($this->keywords as $type=>$kcg) :
if (is_array($kcg) && count($kcg)>0 ) : if (is_array($kcg) && count($kcg)>0 ) :
?> ?>
<fieldset><legend><a href="/data/tag/"><?php echo $keytypezh[$type]; ?></a></legend> <fieldset><legend><a href="/data/tag/"><?php echo $keytypezh[$type]; ?></a></legend>
<ul> <ul>
<?php foreach($kcg as $cg) : ?> <?php foreach($kcg as $cg) : ?>
<li><a href='/data/tag/<?php echo $cg['keyword']; ?>'><?php echo $cg['keyword']; ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li> <li><a href='/data/tag/<?php echo $cg['keyword']; ?>'><?php echo $cg['keyword']; ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
<?php endforeach; ?> <?php endforeach; ?>
<li class="more"><a href='/data/tag/'>...更多>>></a></li> <li class="more"><a href='/data/tag/'>...更多>>></a></li>
</ul> </ul>
</fieldset> </fieldset>
<?php endif;endforeach; ?> <?php endif;endforeach; ?>
</div> </div>
<ul><li><a href="/data/timeline">时间轴浏览</a></li> <ul><li><a href="/data/timeline">时间轴浏览</a></li>
<li><a href="/data/map">空间浏览</a></li> <li><a href="/data/map">空间浏览</a></li>
<li><a href="/data/timemap">时空浏览</a></li> <li><a href="/data/timemap">时空浏览</a></li>
<li><a href="/data/browse">数据列表浏览</a></li> <li><a href="/data/browse">数据列表浏览</a></li>
<li><a href="/data/onlinelist">在线数据清单</a></li> <li><a href="/data/onlinelist">在线数据清单</a></li>
<li><a href="/data/offlinelist">离线数据清单</a></li> <li><a href="/data/offlinelist">离线数据清单</a></li>
</ul> </ul>
<h3>数据申请与提交</h3> <h3>数据申请与提交</h3>
<ul><li><a href="/data/submit">如何向西部数据中心提交数据</li></a><li><a href="/data/request">如何申请数据</li></a></ul> <ul><li><a href="/data/submit">如何向西部数据中心提交数据</li></a><li><a href="/data/request">如何申请数据</li></a></ul>
</div> </div>
<div id='toolbox'> <div id='toolbox'>
</div> </div>
</div> </div>
<div id='latest'> <div id='latest'>
<div class="title"><img src="/images/dbs.png" align="absmiddle" />数据最近更新<a href="/data/feed" target="_blank"><img src="images/rss.png"></a></div> <div class="title"><img src="/images/dbs.png" align="absmiddle" />数据最近更新<a href="/data/feed" target="_blank"><img src="images/rss.png"></a></div>
<div class="mditem"> <div class="mditem">
<ul> <ul>
<?php foreach($this->metadata as $md) : ?> <?php foreach($this->metadata as $md) : ?>
<li> <img src="/images/westdc_20w.gif" /> <a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']);?></a> </li> <li> <img src="/images/westdc_20w.gif" /> <a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']);?></a> </li>
<?php endforeach; ?> <?php endforeach; ?>
<li class="more"><a href="/data/browse">更多</a></li> <li class="more"><a href="/data/browse">更多</a></li>
</ul> </ul>
</div> </div>
</div> </div>
<div id="services"> <div id="services">
<div class="title"><img src="/images/Project24x24_24-bit.png" align="absmiddle" />&nbsp;数据服务</div> <div class="title"><img src="/images/Project24x24_24-bit.png" align="absmiddle" />&nbsp;数据服务</div>
<div class="items"> <div class="items">
<div class="item"> <div class="item">
<h3> <a href="/data/newsletter">数据中心通讯</a></h3> <h3> <a href="/data/newsletter">数据中心通讯</a></h3>
<p class="description"> <p class="description">
数据中心不定期发布数据通讯,通告中心动态、最新数据和数据工具</p> 数据中心不定期发布数据通讯,通告中心动态、最新数据和数据工具</p>
<ul> <ul>
<li>-&nbsp;&nbsp;&nbsp;<a href='/images/newsletter/<?php echo $this->newsletter; ?>' target="_blank"><?php echo $this->newsletterno; ?>期数据通讯</a>(pdf格式)</li> <li>-&nbsp;&nbsp;&nbsp;<a href='/images/newsletter/<?php echo $this->newsletter; ?>' target="_blank"><?php echo $this->newsletterno; ?>期数据通讯</a>(pdf格式)</li>
<li> <li>
<?php <?php
echo $this->form; echo $this->form;
if (!empty($this->messages)) : ?> if (!empty($this->messages)) : ?>
<span id="message"> <span id="message">
<?php <?php
foreach ($this->messages as $info)echo $info; foreach ($this->messages as $info)echo $info;
?> ?>
</span> </span>
<?php endif; ?> <?php endif; ?>
</li> </li>
</ul> </ul>
</div> </div>
<div class="item"> <div class="item">
<h3><a href="/data/service">用户服务</a></h3> <h3><a href="/data/service">用户服务</a></h3>
<p class="description"> <p class="description">
了解"西部数据中心"数据服务内容、方式及政策</p> 了解"西部数据中心"数据服务内容、方式及政策</p>
<ul> <ul>
<li>-&nbsp;&nbsp;&nbsp;<a href="/data/offlineapp">离线数据服务记录最近20个</a></li> <li>-&nbsp;&nbsp;&nbsp;<a href="/data/offlineapp">离线数据服务记录最近20个</a></li>
</ul> </ul>
</div> </div>
<div class="item"> <div class="item">
<h3><a href="/knowledge">文献服务</a></h3> <h3><a href="/knowledge">文献服务</a></h3>
<p class="description"> <p class="description">
数据中心依托中科院资环信息中心提供西部环境与生态文献和文档服务</p> 数据中心依托中科院资环信息中心提供西部环境与生态文献和文档服务</p>
<ul><li>-&nbsp;&nbsp;&nbsp;<a href="/knowledge/netkites">移动文献查询服务</a></li></ul> <ul><li>-&nbsp;&nbsp;&nbsp;<a href="/knowledge/netkites">移动文献查询服务</a></li></ul>
</div> </div>
<!--<div class="item"> <!--<div class="item">
<h3><a href="/data/ogcwxs">在线地图服务</a></h3> <h3><a href="/data/ogcwxs">在线地图服务</a></h3>
<p class="description">提供OGC WMS、WFS等在线地图服务</p>--> <p class="description">提供OGC WMS、WFS等在线地图服务</p>-->
</div> </div>
<div class="item"> <div class="item">
<h3><a href="/about/contact">联系我们</a></h3> <h3><a href="/about/contact">联系我们</a></h3>
</div> </div>
</div>&nbsp; </div>&nbsp;
</div> </div>