修改柠檬河专题页面模板

This commit is contained in:
Li Jianxuan 2013-04-17 02:55:43 +00:00
parent 7780d3e67a
commit e38c014140
25 changed files with 882 additions and 919 deletions

View File

@ -7,6 +7,8 @@ class YrnmrController extends DataController
{ {
parent::preDispatch(); parent::preDispatch();
//$this->_helper->layout->setLayout('yrnmr'); //$this->_helper->layout->setLayout('yrnmr');
$acName = $this->_request->getActionName();
$this->view->pageID = "yrnmr-".$acName;
} }
function indexAction() function indexAction()

View File

@ -9,14 +9,11 @@ $this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('基础数据'); $this->breadcrumb('基础数据');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<div class="row">
<div id='sidebar'> <div class="span3">
<div id='leftnavi'>
<?= $this->partial('yrnmr/navi.phtml'); ?> <?= $this->partial('yrnmr/navi.phtml'); ?>
</div> </div>
</div> <div class="span9">
<div id='right'>
<div>&nbsp;</div>
<div id="intro"> <div id="intro">
<p> <p>
基础数据指为流域生态-水文研究提供各种自然、生态、水文、社会经济等本底信息的数据,同时还包括了主要的几次科学试验数据、模型数据集等。 基础数据指为流域生态-水文研究提供各种自然、生态、水文、社会经济等本底信息的数据,同时还包括了主要的几次科学试验数据、模型数据集等。
@ -37,3 +34,4 @@ $this->breadcrumb()->setSeparator(' > ');
</div> </div>
<?php endif; ?> <?php endif; ?>
</div> </div>
</div>

View File

@ -10,12 +10,11 @@ $this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('浏览'); $this->breadcrumb('浏览');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<div id='sidebar'> <div class="row">
<div id='leftnavi'> <div class="span3">
<?= $this->partial('yrnmr/navi.phtml'); ?> <?= $this->partial('yrnmr/navi.phtml'); ?>
</div> </div>
</div> <div class="span9">
<div id='right'>
<?php echo $this->page->getNavigation(); ?> <?php echo $this->page->getNavigation(); ?>
<hr /> <hr />
<div id="mdlist"> <div id="mdlist">
@ -28,3 +27,4 @@ $this->breadcrumb()->setSeparator(' > ');
<hr /> <hr />
<?php echo $this->page->getNavigation(); ?> <?php echo $this->page->getNavigation(); ?>
</div> </div>
</div>

View File

@ -11,13 +11,11 @@ $this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('分类浏览:'.$this->codename); $this->breadcrumb('分类浏览:'.$this->codename);
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<div id='sidebar'> <div class="row">
<div id='leftnavi'> <div class="span3">
<?= $this->partial('yrnmr/navi.phtml'); ?> <?= $this->partial('yrnmr/navi.phtml'); ?>
</div> </div>
</div> <div class="span9">
<div id='right'>
<div class="clear">&nbsp;</div>
<div id='links'> <div id='links'>
<ul> <ul>
<?php foreach($this->category as $cg) : ?> <?php foreach($this->category as $cg) : ?>
@ -41,5 +39,5 @@ $this->breadcrumb()->setSeparator(' > ');
<?php echo $this->page->getNavigation(); ?> <?php echo $this->page->getNavigation(); ?>
</div> </div>
<?php endif; ?> <?php endif; ?>
</div>
</div> </div>

View File

@ -9,14 +9,11 @@ $this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('核心数据'); $this->breadcrumb('核心数据');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<div class="row">
<div id='sidebar'> <div class="span3">
<div id='leftnavi'>
<?= $this->partial('yrnmr/navi.phtml'); ?> <?= $this->partial('yrnmr/navi.phtml'); ?>
</div> </div>
</div> <div class="span9">
<div id='right'>
<div class="clear">&nbsp;</div>
<div id="intro"> <div id="intro">
<p>核心数据指流域生态-水文模型、陆面过程模型、社会经济模型以及其他各类模型所需要的关键性的驱动和参数数据集以及验证、发展和改进模型所需的关键观测数据。</p> <p>核心数据指流域生态-水文模型、陆面过程模型、社会经济模型以及其他各类模型所需要的关键性的驱动和参数数据集以及验证、发展和改进模型所需的关键观测数据。</p>
</div> </div>
@ -32,3 +29,4 @@ $this->breadcrumb()->setSeparator(' > ');
</div> </div>
<?php endif; ?> <?php endif; ?>
</div> </div>
</div>

View File

@ -9,14 +9,11 @@ $this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('DEM数据'); $this->breadcrumb('DEM数据');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<div class="row">
<div id='sidebar'> <div class="span3">
<div id='leftnavi'>
<?= $this->partial('yrnmr/navi.phtml'); ?> <?= $this->partial('yrnmr/navi.phtml'); ?>
</div> </div>
</div> <div class="span9">
<div id='right'>
<div class="clear">&nbsp;</div>
<div id="intro"> <div id="intro">
<p>DEM是数字高程模型的英文简称(Digital Elevation Model)DEM是地貌形态信息的离散表示这些信息包含流域网格单元的坡度、坡向以及单元格之间的关系等是开展流域研究的重要原始资料。</p> <p>DEM是数字高程模型的英文简称(Digital Elevation Model)DEM是地貌形态信息的离散表示这些信息包含流域网格单元的坡度、坡向以及单元格之间的关系等是开展流域研究的重要原始资料。</p>
<p>数据包括黑河全流域范围各种不同分辨率的数字高程模型DEM栅格大小为30m、90m、1000m和30sec</p> <p>数据包括黑河全流域范围各种不同分辨率的数字高程模型DEM栅格大小为30m、90m、1000m和30sec</p>
@ -33,3 +30,4 @@ $this->breadcrumb()->setSeparator(' > ');
</div> </div>
<?php endif; ?> <?php endif; ?>
</div> </div>
</div>

View File

@ -12,14 +12,11 @@ $this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('数据文档'); $this->breadcrumb('数据文档');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<div class="row">
<div id='sidebar'> <div class="span3">
<div id='leftnavi'>
<?= $this->partial('yrnmr/navi.phtml'); ?> <?= $this->partial('yrnmr/navi.phtml'); ?>
</div> </div>
</div> <div class="span9">
<div id='right'>
<div>&nbsp;</div>
<div id="intro"> <div id="intro">
</div> </div>
<hr /> <hr />
@ -42,6 +39,7 @@ echo ' <a href="'.$md['link'].'">下载</a>';
</div> </div>
<?php endif; ?> <?php endif; ?>
</div> </div>
</div>
<script> <script>
function showdata(id,page){ function showdata(id,page){
var url="/service/refdatalist/id/"+id; var url="/service/refdatalist/id/"+id;

View File

@ -9,14 +9,11 @@ $this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('社会经济数据'); $this->breadcrumb('社会经济数据');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<div class="row">
<div id='sidebar'> <div class="span3">
<div id='leftnavi'>
<?= $this->partial('yrnmr/navi.phtml'); ?> <?= $this->partial('yrnmr/navi.phtml'); ?>
</div> </div>
</div> <div class="span9">
<div id='right'>
<div class="clear">&nbsp;</div>
<div id="intro"> <div id="intro">
<p> <p>
各类社会经济数据。 各类社会经济数据。
@ -34,3 +31,4 @@ $this->breadcrumb()->setSeparator(' > ');
</div> </div>
<?php endif; ?> <?php endif; ?>
</div> </div>
</div>

View File

@ -9,14 +9,11 @@ $this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('观测试验数据'); $this->breadcrumb('观测试验数据');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<div class="row">
<div id='sidebar'> <div class="span3">
<div id='leftnavi'>
<?= $this->partial('yrnmr/navi.phtml'); ?> <?= $this->partial('yrnmr/navi.phtml'); ?>
</div> </div>
</div> <div class="span9">
<div id='right'>
<div>&nbsp;</div>
<div id="intro"> <div id="intro">
<p> <p>
实验数据 实验数据
@ -34,3 +31,4 @@ $this->breadcrumb()->setSeparator(' > ');
</div> </div>
<?php endif; ?> <?php endif; ?>
</div> </div>
</div>

View File

@ -9,14 +9,11 @@ $this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('基础地理数据'); $this->breadcrumb('基础地理数据');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<div class="row">
<div id='sidebar'> <div class="span3">
<div id='leftnavi'>
<?= $this->partial('yrnmr/navi.phtml'); ?> <?= $this->partial('yrnmr/navi.phtml'); ?>
</div> </div>
</div> <div class="span9">
<div id='right'>
<div>&nbsp;</div>
<div id="intro"> <div id="intro">
</div> </div>
<hr /> <hr />
@ -31,3 +28,4 @@ $this->breadcrumb()->setSeparator(' > ');
</div> </div>
<?php endif; ?> <?php endif; ?>
</div> </div>
</div>

View File

@ -5,7 +5,6 @@ $this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/water.css'); $this->headLink()->appendStylesheet('/css/water.css');
$this->breadcrumb('<a href="/">首页</a>'); $this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>'); $this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->headScript()->appendFile('/js/jquery-1.7.min.js');
$this->breadcrumb($this->config->title->yrnmr); $this->breadcrumb($this->config->title->yrnmr);
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
@ -37,6 +36,7 @@ $this->breadcrumb()->setSeparator(' > ');
<img class="next" src="/images/next.png" onclick="changetlist()" /> <img class="next" src="/images/next.png" onclick="changetlist()" />
</div> </div>
</div> </div>
</div>
<script type="text/javascript" language="javascript"> <script type="text/javascript" language="javascript">
function changetlist(){ function changetlist(){
$.getJSON("/service/mdjson/source/yrnmr", function(data){ $.getJSON("/service/mdjson/source/yrnmr", function(data){

View File

@ -9,14 +9,11 @@ $this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('陆地表层数据'); $this->breadcrumb('陆地表层数据');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<div class="row">
<div id='sidebar'> <div class="span3">
<div id='leftnavi'>
<?= $this->partial('yrnmr/navi.phtml'); ?> <?= $this->partial('yrnmr/navi.phtml'); ?>
</div> </div>
</div> <div class="span9">
<div id='right'>
<div class="clear">&nbsp;</div>
<div id="intro"> <div id="intro">
<p>陆地表层数据包括冰川、沙漠、草场、植被、地貌等数据。</p> <p>陆地表层数据包括冰川、沙漠、草场、植被、地貌等数据。</p>
</div> </div>
@ -32,3 +29,4 @@ $this->breadcrumb()->setSeparator(' > ');
</div> </div>
<?php endif; ?> <?php endif; ?>
</div> </div>
</div>

View File

@ -9,14 +9,11 @@ $this->breadcrumb('<a href="/heihe/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('土地利用数据'); $this->breadcrumb('土地利用数据');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<div class="row">
<div id='sidebar'> <div class="span3">
<div id='leftnavi'>
<?= $this->partial('yrnmr/navi.phtml'); ?> <?= $this->partial('yrnmr/navi.phtml'); ?>
</div> </div>
</div> <div class="span9">
<div id='right'>
<div class="clear">&nbsp;</div>
<div id="intro"> <div id="intro">
<p>1:10万土地利用数据</p> <p>1:10万土地利用数据</p>
</div> </div>
@ -32,3 +29,4 @@ $this->breadcrumb()->setSeparator(' > ');
</div> </div>
<?php endif; ?> <?php endif; ?>
</div> </div>
</div>

View File

@ -12,14 +12,11 @@ $this->headScript()->appendFile('/js/jquery-1.7.min.js');
$this->headScript()->appendFile('/js/jquery.colorbox-min.js'); $this->headScript()->appendFile('/js/jquery.colorbox-min.js');
$this->headLink()->appendStylesheet('/css/colorbox.css'); $this->headLink()->appendStylesheet('/css/colorbox.css');
?> ?>
<div class="row">
<div id='sidebar'> <div class="span3">
<div id='leftnavi'>
<?= $this->partial('yrnmr/navi.phtml'); ?> <?= $this->partial('yrnmr/navi.phtml'); ?>
</div> </div>
</div> <div class="span9">
<div id='right'>
<div class="clear">&nbsp;</div>
<div id="intro"> <div id="intro">
</div> </div>
<?php if ($this->metadata) : ?> <?php if ($this->metadata) : ?>
@ -37,6 +34,7 @@ $this->headLink()->appendStylesheet('/css/colorbox.css');
</div> </div>
<?php endif; ?> <?php endif; ?>
</div> </div>
</div>
<script type="text/javascript" charset="utf-8"> <script type="text/javascript" charset="utf-8">
$(document).ready(function(){$(".colorbox").colorbox({slideshow:"true",rel:"colorbox",photo:"true",transition:"fade"});}); $(document).ready(function(){$(".colorbox").colorbox({slideshow:"true",rel:"colorbox",photo:"true",transition:"fade"});});
</script> </script>

View File

@ -9,14 +9,11 @@ $this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('气象观测数据'); $this->breadcrumb('气象观测数据');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<div class="row">
<div id='sidebar'> <div class="span3">
<div id='leftnavi'>
<?= $this->partial('yrnmr/navi.phtml'); ?> <?= $this->partial('yrnmr/navi.phtml'); ?>
</div> </div>
</div> <div class="span9">
<div id='right'>
<div class="clear">&nbsp;</div>
<div id="intro"> <div id="intro">
<p> <p>
观测要素包括日平均气压、最高气压、最低气压、平均气温、最高气温、最低气温、平均相对湿度、最小相对湿度、平均风速、最大风速及风向、极大风速及风向、日照时数、降水量。 观测要素包括日平均气压、最高气压、最低气压、平均气温、最高气温、最低气温、平均相对湿度、最小相对湿度、平均风速、最大风速及风向、极大风速及风向、日照时数、降水量。
@ -34,3 +31,4 @@ $this->breadcrumb()->setSeparator(' > ');
</div> </div>
<?php endif; ?> <?php endif; ?>
</div> </div>
</div>

View File

@ -9,14 +9,11 @@ $this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('模型数据'); $this->breadcrumb('模型数据');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<div class="row">
<div id='sidebar'> <div class="span3">
<div id='leftnavi'>
<?= $this->partial('yrnmr/navi.phtml'); ?> <?= $this->partial('yrnmr/navi.phtml'); ?>
</div> </div>
</div> <div class="span9">
<div id='right'>
<div class="clear">&nbsp;</div>
<div id="intro"> <div id="intro">
<p> <p>
模型数据 模型数据
@ -34,3 +31,4 @@ $this->breadcrumb()->setSeparator(' > ');
</div> </div>
<?php endif; ?> <?php endif; ?>
</div> </div>
</div>

View File

@ -1,34 +1,35 @@
<ul class="nav nav-pills nav-stacked"> <ul class="nav nav-pills nav-stacked">
<li><a href="/yrnmr/">黄河上游宁蒙河段数据简介</a></li> <li id="Nav-yrnmr-index"><a href="/yrnmr/">黄河上游宁蒙河段数据简介</a></li>
<li><a href="/yrnmr/core">核心数据</a> <li id="Nav-yrnmr-core"><a href="/yrnmr/core">核心数据</a>
<ul> <ul class="nav nav-list nav-stacked heihe-subnav">
<li><a href="/yrnmr/dem">DEM数据</a></li> <li id="Nav-yrnmr-dem"><i class="icon-chevron-right"></i><a href="/yrnmr/dem">DEM数据</a></li>
<li><a href="/yrnmr/landuse">土地利用数据</a></li> <li id="Nav-yrnmr-landuse"><i class="icon-chevron-right"></i><a href="/yrnmr/landuse">土地利用数据</a></li>
<li><a href="/yrnmr/soil">土壤数据</a></li> <li id="Nav-yrnmr-soil"><i class="icon-chevron-right"></i><a href="/yrnmr/soil">土壤数据</a></li>
<li><a href="/yrnmr/meteo">气象观测数据</a></li> <li id="Nav-yrnmr-meteo"><i class="icon-chevron-right"></i><a href="/yrnmr/meteo">气象观测数据</a></li>
<li><a href="/yrnmr/obs">观测数据</a></li> <li id="Nav-yrnmr-obs"><i class="icon-chevron-right"></i><a href="/yrnmr/obs">观测数据</a></li>
<li><a href="/yrnmr/exp">实验数据</a></li> <li id="Nav-yrnmr-exp"><i class="icon-chevron-right"></i><a href="/yrnmr/exp">实验数据</a></li>
</ul> </ul>
</li> </li>
<li><a href="/yrnmr/base">基础数据</a> <li id="Nav-yrnmr-base"><a href="/yrnmr/base">基础数据</a>
<ul><li><a href="/yrnmr/geobase">地理基础数据</a></li> <ul class="nav nav-list nav-stacked heihe-subnav">
<li><a href="/yrnmr/landsurface">陆地表层数据</a></li> <li id="Nav-yrnmr-geobase"><i class="icon-chevron-right"></i><a href="/yrnmr/geobase">地理基础数据</a></li>
<li><a href="/yrnmr/rs">遥感数据</a></li> <li id="Nav-yrnmr-landsurface"><i class="icon-chevron-right"></i><a href="/yrnmr/landsurface">陆地表层数据</a></li>
<li><a href="/yrnmr/water">水文水资源数据</a></li> <li id="Nav-yrnmr-rs"><i class="icon-chevron-right"></i><a href="/yrnmr/rs">遥感数据</a></li>
<li><a href="/yrnmr/model">模型数据</a></li> <li id="Nav-yrnmr-water"><i class="icon-chevron-right"></i><a href="/yrnmr/water">水文水资源数据</a></li>
<li><a href="/yrnmr/economic">社会经济数据</a></li> <li id="Nav-yrnmr-model"><i class="icon-chevron-right"></i><a href="/yrnmr/model">模型数据</a></li>
<li id="Nav-yrnmr-economic"><i class="icon-chevron-right"></i><a href="/yrnmr/economic">社会经济数据</a></li>
</ul> </ul>
</li> </li>
</ul> </ul>
<ul> <ul class="nav nav-pills nav-stacked">
<li><a href="/yrnmr/document">相关文档</a></li> <li id="Nav-yrnmr-document"><a href="/yrnmr/document">相关文档</a></li>
<li><a href="/yrnmr/list">数据列表</a></li> <li id="Nav-yrnmr-list"><a href="/yrnmr/list">数据列表</a></li>
<li><a href="/yrnmr/browse">整体浏览</a></li> <li id="Nav-yrnmr-browse"><a href="/yrnmr/browse">整体浏览</a></li>
<li><a href="/yrnmr/category">ISO19115分类</a></li> <li id="Nav-yrnmr-category"><a href="/yrnmr/category">ISO19115分类</a></li>
<li><a href="/yrnmr/thumb">缩略图浏览</a></li> <li id="Nav-yrnmr-thumb"><a href="/yrnmr/thumb">缩略图浏览</a></li>
<li><a href="/yrnmr/tag">关键词导航</a></li> <li id="Nav-yrnmr-tag"><a href="/yrnmr/tag">关键词导航</a></li>
<li><a href="/yrnmr/timeline">时间轴导航</a></li> <li id="Nav-yrnmr-timeline"><a href="/yrnmr/timeline">时间轴导航</a></li>
<li><a href="/yrnmr/timemap">时空联合导航</a></li> <li id="Nav-yrnmr-timemap"><a href="/yrnmr/timemap">时空联合导航</a></li>
</ul> </ul>
<form id="search" enctype="application/x-www-form-urlencoded" action="/yrnmr/search" method="post"> <form id="search" enctype="application/x-www-form-urlencoded" action="/yrnmr/search" method="post">
<input type="text" name="q" id="q" value="<?php echo (empty($this->key))?'回车搜索标题和摘要':$this->key; ?>" onfocus="myfocus(this);" onblur="myblur(this);"> <input type="text" name="q" id="q" value="<?php echo (empty($this->key))?'回车搜索标题和摘要':$this->key; ?>" onfocus="myfocus(this);" onblur="myblur(this);">

View File

@ -9,14 +9,11 @@ $this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('观测数据'); $this->breadcrumb('观测数据');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<div class="row">
<div id='sidebar'> <div class="span3">
<div id='leftnavi'>
<?= $this->partial('yrnmr/navi.phtml'); ?> <?= $this->partial('yrnmr/navi.phtml'); ?>
</div> </div>
</div> <div class="span9">
<div id='right'>
<div>&nbsp;</div>
<div id="intro"> <div id="intro">
<p> <p>
观测数据 观测数据
@ -34,3 +31,4 @@ $this->breadcrumb()->setSeparator(' > ');
</div> </div>
<?php endif; ?> <?php endif; ?>
</div> </div>
</div>

View File

@ -9,14 +9,11 @@ $this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('遥感数据'); $this->breadcrumb('遥感数据');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<div class="row">
<div id='sidebar'> <div class="span3">
<div id='leftnavi'>
<?= $this->partial('yrnmr/navi.phtml'); ?> <?= $this->partial('yrnmr/navi.phtml'); ?>
</div> </div>
</div> <div class="span9">
<div id='right'>
<div>&nbsp;</div>
<div id="intro"> <div id="intro">
</div> </div>
<hr /> <hr />
@ -31,3 +28,4 @@ $this->breadcrumb()->setSeparator(' > ');
</div> </div>
<?php endif; ?> <?php endif; ?>
</div> </div>
</div>

View File

@ -9,14 +9,11 @@ $this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('土壤数据'); $this->breadcrumb('土壤数据');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<div class="row">
<div id='sidebar'> <div class="span3">
<div id='leftnavi'>
<?= $this->partial('yrnmr/navi.phtml'); ?> <?= $this->partial('yrnmr/navi.phtml'); ?>
</div> </div>
</div> <div class="span9">
<div id='right'>
<div class="clear">&nbsp;</div>
<div id="intro"> <div id="intro">
<p> <p>
土壤类型数据 土壤类型数据
@ -34,3 +31,4 @@ $this->breadcrumb()->setSeparator(' > ');
</div> </div>
<?php endif; ?> <?php endif; ?>
</div> </div>
</div>

View File

@ -10,13 +10,11 @@ $this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('关键词导航'.(($this->codename)?''.$this->codename:'')); $this->breadcrumb('关键词导航'.(($this->codename)?''.$this->codename:''));
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<div id='sidebar'> <div class="row">
<div id='leftnavi'> <div class="span3">
<?= $this->partial('yrnmr/navi.phtml'); ?> <?= $this->partial('yrnmr/navi.phtml'); ?>
</div> </div>
</div> <div class="span9">
<div id='right'>
<div class="clear">&nbsp;</div>
<?php if (!empty($this->metadata)) : ?> <?php if (!empty($this->metadata)) : ?>
<div id='mdlist'> <div id='mdlist'>
<h1>关键词:<?php echo $this->codename; ?><a href="/yrnmr/tag/">全部关键词</a></h1> <h1>关键词:<?php echo $this->codename; ?><a href="/yrnmr/tag/">全部关键词</a></h1>
@ -50,5 +48,6 @@ if (is_array($kcg) && count($kcg)>0 ) :
</fieldset> </fieldset>
<?php endif;endforeach; ?> <?php endif;endforeach; ?>
</div> </div>
</div>
<?php endif; ?> <?php endif; ?>
</div>
</div>

View File

@ -9,16 +9,13 @@ $this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>'); $this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('缩略图浏览'); $this->breadcrumb('缩略图浏览');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
$this->headScript()->appendFile('/js/jquery-1.7.min.js'); $this->theme->AppendPlus($this,'colorbox');
$this->headScript()->appendFile('/js/jquery.colorbox-min.js');
$this->headLink()->appendStylesheet('/css/colorbox.css');
?> ?>
<div id='sidebar'> <div class="row">
<div id='leftnavi'> <div class="span3">
<?= $this->partial('yrnmr/navi.phtml'); ?> <?= $this->partial('yrnmr/navi.phtml'); ?>
</div> </div>
</div> <div class="span9">
<div id='right'>
<?php echo $this->page->getNavigation(); ?> <?php echo $this->page->getNavigation(); ?>
<hr /> <hr />
<div id="mdlist"> <div id="mdlist">
@ -37,6 +34,7 @@ $this->headLink()->appendStylesheet('/css/colorbox.css');
<hr style="clear:left;"/> <hr style="clear:left;"/>
<?php echo $this->page->getNavigation(); ?> <?php echo $this->page->getNavigation(); ?>
</div> </div>
</div>
<script type="text/javascript" charset="utf-8"> <script type="text/javascript" charset="utf-8">
$(document).ready(function(){$(".colorbox").colorbox({rel:"colorbox",photo:"true",transition:"fade"});}); $(document).ready(function(){$(".colorbox").colorbox({rel:"colorbox",photo:"true",transition:"fade"});});
</script> </script>

View File

@ -13,11 +13,11 @@ $this->headScript()->appendFile('/js/timeline_var.js');
$this->headScript()->appendFile('/js/timeline_js/timeline-api.js'); $this->headScript()->appendFile('/js/timeline_js/timeline-api.js');
$this->headScript()->appendFile('/js/yrnmrtime.js'); $this->headScript()->appendFile('/js/yrnmrtime.js');
?> ?>
<div id='sidebar'> <div class="row">
<div id='leftnavi'> <div class="span3">
<?= $this->partial('yrnmr/navi.phtml'); ?> <?= $this->partial('yrnmr/navi.phtml'); ?>
</div> </div>
</div> <div class="span9">
<div id='right'>
<div id="tl" class="timeline-default" style="height:600px;"> </div> <div id="tl" class="timeline-default" style="height:600px;"> </div>
</div> </div>
</div>

View File

@ -12,22 +12,19 @@ $this->breadcrumb()->setSeparator(' > ');
//$this->headScript()->appendFile('http://maps.google.cN/maps?file=api&v=2&key='.$this->config->google->maps->api); //$this->headScript()->appendFile('http://maps.google.cN/maps?file=api&v=2&key='.$this->config->google->maps->api);
$this->headScript()->appendFile('/js/timeline_var.js'); $this->headScript()->appendFile('/js/timeline_var.js');
$this->headScript()->appendFile('/js/timeline_js/timeline-api.js'); $this->headScript()->appendFile('/js/timeline_js/timeline-api.js');
$this->headScript()->appendFile('/js/jquery-1.7.min.js');
$this->headScript()->appendFile('/js/timemap.2.0.1/lib/mxn/mxn.js?(google)'); $this->headScript()->appendFile('/js/timemap.2.0.1/lib/mxn/mxn.js?(google)');
$this->headScript()->appendFile('/js/timemap.2.0.1/timemap.pack.js'); $this->headScript()->appendFile('/js/timemap.2.0.1/timemap.pack.js');
$this->headScript()->appendFile('/js/jquery.colorbox-min.js'); $this->theme->AppendPlus($this,'colorbox');
$this->headLink()->appendStylesheet('/css/colorbox.css');
?> ?>
<div id='sidebar'> <div class="row">
<div id='leftnavi'> <div class="span3">
<?= $this->partial('yrnmr/navi.phtml'); ?> <?= $this->partial('yrnmr/navi.phtml'); ?>
</div> </div>
</div> <div class="span9">
<div id='right'>
<div id="timemap"> <div id="timemap">
<div id="watermap" style="height:500px;width:40%;float:right;"></div> <div id="watermap" style="height:500px;width:40%;float:right;"></div>
<div id="timeline" style="height:500px;border-right:1px solid #abc;"></div> <div id="timeline" style="height:500px;border-right:1px solid #abc;"></div>
</div>
</div> </div>
</div> </div>
<script type="text/javascript" charset="utf-8"> <script type="text/javascript" charset="utf-8">

View File

@ -9,14 +9,11 @@ $this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('水文水资源数据'); $this->breadcrumb('水文水资源数据');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<div class="row">
<div id='sidebar'> <div class="span3">
<div id='leftnavi'>
<?= $this->partial('yrnmr/navi.phtml'); ?> <?= $this->partial('yrnmr/navi.phtml'); ?>
</div> </div>
</div> <div class="span9">
<div id='right'>
<div class="clear">&nbsp;</div>
<div id="intro"> <div id="intro">
<p> <p>
水资源 水资源
@ -34,3 +31,4 @@ $this->breadcrumb()->setSeparator(' > ');
</div> </div>
<?php endif; ?> <?php endif; ?>
</div> </div>
</div>