修改黑河专题页面,修改高级搜索页面插件

This commit is contained in:
Li Jianxuan 2013-04-11 09:22:39 +00:00
parent d360fd8eff
commit 7491be2bd2
35 changed files with 1282 additions and 1237 deletions

View File

@ -7,6 +7,7 @@ class HeiheController extends DataController
{
parent::preDispatch();
$this->debug = 1;
$this->view->pageID = "heihe-".$this->_request->getActionName();
}
function indexAction()
@ -276,6 +277,7 @@ class HeiheController extends DataController
function categoryAction()
{
$code = (int)$this->_request->getParam('code');
$this->view->code = $code;
$page=(int)$this->_request->getParam('page');
if (empty($page)) $page=1;
$offset=$this->limit*($page-1);

View File

@ -288,7 +288,6 @@ $this->breadcrumb()->setSeparator(' > ');
</div>
<!-- //页面内容 -->
<script>
$('#wapper').width($('body').width()-300);
$(function() {
//Google map (不启用预先加载)

View File

@ -12,30 +12,25 @@ $this->breadcrumb('<a href="/author">'.$this->config->title->author.'</a>');
$this->breadcrumb('新建数据');
$this->breadcrumb()->setSeparator(' > ');
?>
<!-- 左侧导航 -->
<div id='sidebar'>
<div id='leftnavi'>
<div class="row">
<div class="span3">
<?= $this->partial('author/navi.phtml'); ?>
</div>
</div>
<!-- //左侧导航 -->
<!-- 页面内容 -->
<div id="wapper">
<div id="tabs-controller">
<ul>
<li class="box-shadow"><a class="text-shadow" href="/author/newdata">未提交数据列表</a></li>
<li class="box-shadow"><a class="text-shadow iframe" href="/service/geonetwork?url=metadata.xmlinsert.form">导入元数据</a></li>
<li class="box-shadow"><a class="text-shadow" href="/author/newdata/ac/add-by-template">根据模板新建元数据</a></li>
<li class="box-shadow"><a class="text-shadow" href="/author/newdata/ac/add-by-data">根据已有数据新建元数据</a></li>
<li class="box-shadow active"><a class="text-shadow" href="/author/metadata">新建元数据</a></li>
<div class="span9">
<div>
<ul class="nav nav-pills">
<li><a href="/author/newdata">未提交数据列表</a></li>
<li><a class="iframe" href="/service/geonetwork?url=metadata.xmlinsert.form">导入元数据</a></li>
<li><a href="/author/newdata/ac/add-by-template">根据模板新建元数据</a></li>
<li><a href="/author/newdata/ac/add-by-data">根据已有数据新建元数据</a></li>
<li class="active"><a href="/author/metadata">新建元数据</a></li>
</ul>
</div>
<div id="datalist">
<ul>
<div>
<ul class="unstyled">
<?php if(!empty($this->MDList)) { ?>
<?php foreach($this->MDList as $k=>$v) { ?>
<li id="item_<?= $v['id'] ?>"><p><a href="/author/metadata/ac/new/uuid/<?= $v['uuid']?>"><?= $v['content']->title ?></a></p>
<li class="well" id="item_<?= $v['id'] ?>"><p><a href="/author/metadata/ac/new/uuid/<?= $v['uuid']?>"><?= $v['content']->title ?></a></p>
<p>[ 状态:<?= $v['status']==0 ? "草稿":"已提审"?> | <a href="/author/metadata/ac/new/uuid/<?= $v['uuid']?>">修改</a> |
<a href="javascript:void(0);" onclick="del(<?= $v['id'] ?>,'<?= $v['uuid']?>')" id="delBtn_<?= $v['id'] ?>">删除</a> ]</p></li>
<?php }?>
@ -46,6 +41,7 @@ $this->breadcrumb()->setSeparator(' > ');
</ul>
</div>
</div>
</div>
<!-- //页面内容 -->
<script>
$('#wapper').width($('body').width()-300);

View File

@ -5,12 +5,14 @@ $this->headTitle('高级搜索');
if (!empty($this->codename)) $this->headTitle($this->codename);
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/metadata.css');
$this->headLink()->appendStylesheet('/css/search.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('高级搜索');
$this->breadcrumb()->setSeparator(' > ');
$this->headScript()->appendFile('http://maps.google.cn/maps?file=api&v=2&key='.$this->config->google->maps->api);
$this->theme->AppendPlus($this,'google_map_v3');
$this->theme->AppendPlus($this,'google_map_keydragzone');
$this->theme->AppendPlus($this,'jquery_ui');
$this->theme->AppendPlus($this,'colorbox');
?>
<div>
<?= $this->partial('data/tools.phtml'); ?>
@ -30,69 +32,172 @@ foreach($this->metadata as $md) : ?>
<?php endforeach; ?>
<?php echo $this->page->getNavigation();?>
<?php else: ?>
<script src="/js/dragzoom.js" type="text/javascript"></script>
<div id="map"></div>
<div id="spatial">
<form id="search" enctype="application/x-www-form-urlencoded" action="/data/advancesearch" method="post">
<fieldset><legend>时间范围</legend><ul>
<li><span>开始时间:</span>
<input name="start" type="text" id="start" />
</li>
<li><span>结束时间:</span>
<input name="end" type="text" id="end" />&nbsp;
</li></ul></fieldset>
<fieldset><legend>空间范围</legend><ul>
<li><span>东:</span>&nbsp;
<input name="e" id="e" type="text" /></li>
<li><span>南:</span>&nbsp;
<input name="s" id="s" type="text" /></li>
<li><span>西:</span>&nbsp;
<input name="w" id="w" type="text" /></li>
<li><span>北:</span>&nbsp;
<input name="n" id="n" type="text" /></li></ul></fieldset>
<span>关键词:</span><input name="q" id="q" type="text" />
<input id="search" type="submit" value="搜索" onclick="dosubmit()" />
<div class="row">
<div class="span8" id="map_canvas" style="height:500px;"></div>
<div class="span4">
<form id="search" enctype="application/x-www-form-urlencoded" action="/data/advancesearch" method="post">
<fieldset><legend>时间范围</legend>
<label>
开始时间
<input name="start" type="text" id="start" />
</label>
<label>
结束时间
<input name="end" type="text" id="end" />
</label>
</fieldset>
<fieldset><legend>空间范围</legend>
<label>
<input name="e" id="e" type="text" /></label>
<label>
<input name="s" id="s" type="text" /></label>
<label>西
<input name="w" id="w" type="text" /></label>
<label>
<input name="n" id="n" type="text" /></label>
</fieldset>
<label>关键词
<input name="q" id="q" type="text" /></label>
<button id="search" class="btn btn-large btn-block btn-primary" type="submit" value="" onclick="dosubmit()" ><i class="icon-search"></i>搜索</button>
</form>
</div>
</div>
<script type="text/javascript">
function dosubmit()
$(function() {
//Google map (不启用预先加载)
google.maps.event.addDomListener(window, 'load', initialize);
//jquery ui datepicker
$("#start").datepicker({dateFormat:"yy-mm-dd"});
$("#end").datepicker({dateFormat:"yy-mm-dd"});
});
// Google Map Part
var map = null;
var mapElementID = "map_canvas";
var bounds = null;
var rectangle = null;
var input = {east:'#e',west:'#w',north:'#n',south:'#s'};
function initialize() {
//加载地图
var myLatlng = new google.maps.LatLng(35.656456,105.819946);
var myOptions = {
zoom: 3,
center: myLatlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
}
map = new google.maps.Map(document.getElementById(mapElementID), myOptions);
//Keydragzone
map.enableKeyDragZoom({
key: "shift",
boxStyle: {
border: "1px dashed black",
backgroundColor: "transparent",
opacity: 1.0
},
veilStyle: {
backgroundColor: "white",
opacity: 0.35,
cursor: "crosshair"
}
});
var dz = map.getDragZoomObject();
google.maps.event.addListener(dz, 'dragstart', function (latlng) {
RemoveRectangle();
//console.dir(latlng);
});
google.maps.event.addListener(dz, 'dragend', function (latlng) {
MapValueChange(latlng.fa.d,latlng.Z.d,latlng.fa.b,latlng.Z.b);
setRectangle(latlng.fa.d,latlng.fa.b,latlng.Z.b,latlng.Z.d);
//console.dir(latlng);
});
InputValueChange();
}
function setRectangle(east,west,south,north){
bounds = new google.maps.LatLngBounds(
new google.maps.LatLng(south,west),
new google.maps.LatLng(north,east)
);
rectangle = new google.maps.Rectangle({
bounds: bounds,
editable: true
});
rectangle.setMap(map);
google.maps.event.addListener(rectangle, 'bounds_changed', function () {
var latlng = rectangle.getBounds();
MapValueChange(latlng.ca.d,latlng.Z.d,latlng.ca.b,latlng.Z.b);
//console.dir(latlng);
});
}
function RemoveRectangle(){
if(rectangle != null)
{
rectangle.setMap(null);
rectangle = null;
}
}
function MapValueChange(east,north,west,south){
$(input.east).val(east);
$(input.north).val(north);
$(input.west).val(west);
$(input.south).val(south);
}
function InputValueChange(){
if(MapInputValueCheck() == true)
{
if(rectangle == null)
{
setRectangle($(input.east).val(),$(input.west).val(),$(input.south).val(),$(input.north).val());
}else{
var reSetBounds = new google.maps.LatLngBounds(
new google.maps.LatLng($(input.south).val(),$(input.west).val()),
new google.maps.LatLng($(input.north).val(),$(input.east).val())
);
rectangle.setBounds(reSetBounds);
}
}
}
function MapInputValueCheck()
{
if($(input.east).val() != "" && $(input.west).val() != "" && $(input.north).val() != "" && $(input.south).val() != "")
{
return true;
}else{
return false;
}
}
$(input.east).bind('blur',InputValueChange);
$(input.west).bind('blur',InputValueChange);
$(input.north).bind('blur',InputValueChange);
$(input.south).bind('blur',InputValueChange);
// Google map Part --End
function Alert(content){
$.colorbox({innerWidth:'40%',html:'<div style="line-height:30px;font-size:16px;">'+ content +'</div>'});
}
function dosubmit() {
theForm.action="/data/advancesearch";
}
</script>
<script type="text/javascript">
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(36, 103.5, 5));
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
map.setMapType(G_HYBRID_MAP);
var txte=document.getElementById("e");
var txtw=document.getElementById("w");
var txtn=document.getElementById("n");
var txts=document.getElementById("s");
/* first set of options is for the visual overlay.*/
var boxStyleOpts = {
opacity: .2,
border: "2px solid red"
}
/* second set of options is for everything else */
var otherOpts = {
buttonHTML: "<img src='/images/zoom-button.gif' />",
buttonZoomingHTML: "<img src='/images/zoom-button-activated.gif' />",
buttonStartingStyle: {width: '24px', height: '24px'}
};
/* third set of options specifies callbacks */
var callbacks = {
dragend: function(nw,ne,se,sw,nwpx,nepx,sepx,swpx){txte.value=ne.lng();txtn.value=ne.lat();txts.value=sw.lat();txtw.value=sw.lng();}
};
map.addControl(new DragZoomControl(boxStyleOpts, otherOpts, callbacks));
</script>
<div id="help">
<fieldset><legend>搜索说明</legend><ul><li>关键词:您可以使用一个关键词,比如“沙漠”,也可以使用多个关键词,中间用空格分开。</li>
<li>空间范围这是以度为单位的十进制数字。比如东经125度30分可以输入为125.5。您也可以通过下面的在线地图工具直接在图上拉框选择一个范围,空间坐标会自动转换到文本框中。</li>

View File

@ -10,9 +10,6 @@ $this->breadcrumb('缩略图浏览');
$this->breadcrumb()->setSeparator(' > ');
$this->theme->AppendPlus($this,'masonry');
?>
<style>
</style>
<div class="row-fluit">
<?php echo $this->page->getNavigation(); ?>
<ul class="thumb unstyled" id="container">

View File

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

View File

@ -10,15 +10,14 @@ $this->breadcrumb('<a href="/heihe/">'.$this->config->title->heihe.'</a>');
$this->breadcrumb('浏览');
$this->breadcrumb()->setSeparator(' > ');
?>
<div id='sidebar'>
<div id='leftnavi'>
<div class="row">
<div class="span2">
<?= $this->partial('heihe/navi.phtml'); ?>
</div>
</div>
<div id='right'>
<div class="span10">
<?php echo $this->page->getNavigation(); ?>
<hr />
<div id="mdlist">
<div class="mdlist">
<ol start="<?php echo $this->offset; ?>">
<?php foreach($this->metadata as $md) : ?>
<li><a href="/heihe/view/uuid/<?php echo $md['uuid']; ?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>"><?php echo $md['title']; ?></a></li>
@ -28,3 +27,4 @@ $this->breadcrumb()->setSeparator(' > ');
<hr />
<?php echo $this->page->getNavigation(); ?>
</div>
</div>

View File

@ -11,26 +11,29 @@ $this->breadcrumb('<a href="/heihe/">'.$this->config->title->heihe.'</a>');
$this->breadcrumb('分类浏览:'.$this->codename);
$this->breadcrumb()->setSeparator(' > ');
?>
<div id='sidebar'>
<div id='leftnavi'>
<div class="row">
<div class="span2">
<?= $this->partial('heihe/navi.phtml'); ?>
</div>
</div>
<div id='right'>
<div class="clear">&nbsp;</div>
<div id='links'>
<ul>
<div class="span10">
<div>
<ul class="nav nav-pills">
<?php foreach($this->category as $cg) : ?>
<li><a href='/heihe/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>
<li <?php if($cg['code']== $this->code) echo 'class="active"' ?>>
<a href='/heihe/category/code/<?php echo $cg['code']; ?>'>
<?php (empty($cg['name_zh']))?print($cg['name']):print($cg['name_zh']); ?>
<span class="note">(<?php echo $cg['count']; ?>)</span>
</a>
</li>
<?php endforeach; ?>
</ul>
</div>
<?php if (!empty($this->metadata)) : ?>
<div id='mdlist'>
<div class="md-list">
<?php echo $this->page->getNavigation(); ?>
<hr />
<div id="mdlist">
<div class="md-list">
<ol start="<?php echo $this->offset; ?>">
<?php foreach($this->metadata as $md) : ?>
<li><a href="/heihe/view/uuid/<?php echo $md['uuid']; ?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>"><?php echo $md['title']; ?></a></li>
@ -43,3 +46,4 @@ $this->breadcrumb()->setSeparator(' > ');
<?php endif; ?>
</div>
</div>

View File

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

View File

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

View File

@ -12,14 +12,11 @@ $this->breadcrumb('<a href="/heihe/">'.$this->config->title->heihe.'</a>');
$this->breadcrumb('数据文档');
$this->breadcrumb()->setSeparator(' > ');
?>
<div id='sidebar'>
<div id='leftnavi'>
<div class="row">
<div class="span2">
<?= $this->partial('heihe/navi.phtml'); ?>
</div>
</div>
<div id='right'>
<div>&nbsp;</div>
<div class="span10">
<div id="intro">
<h3>黑河数据清单:</h3>
<ol>
@ -54,6 +51,7 @@ echo ' <a href="'.$md['link'].'">下载</a>';
</div>
<?php endif; ?>
</div>
</div>
<script>
function showdata(id,page){
var url="/service/refdatalist/id/"+id;

View File

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

View File

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

View File

@ -9,14 +9,11 @@ $this->breadcrumb('<a href="/heihe/">'.$this->config->title->heihe.'</a>');
$this->breadcrumb('水文观测数据');
$this->breadcrumb()->setSeparator(' > ');
?>
<div id='sidebar'>
<div id='leftnavi'>
<div class="row">
<div class="span2">
<?= $this->partial('heihe/navi.phtml'); ?>
</div>
</div>
<div id='right'>
<div class="clear">&nbsp;</div>
<div class="span10">
<div id="intro">
<p>
黑河流域的基本水文观测站点共计30个其中包括了水文站18个雨量站12个。
@ -38,3 +35,4 @@ $this->breadcrumb()->setSeparator(' > ');
</div>
<?php endif; ?>
</div>
</div>

View File

@ -9,13 +9,11 @@ $this->headScript()->appendFile('/js/jquery-1.7.min.js');
$this->breadcrumb($this->config->title->heihe);
$this->breadcrumb()->setSeparator(' > ');
?>
<style>.next:hover{cursor:pointer;}</style>
<div id='sidebar'>
<div id='leftnavi'>
<div class="row">
<div class="span2">
<?= $this->partial('heihe/navi.phtml'); ?>
</div>
</div>
<div id='right'>
<div class="span10">
<div class="clear">&nbsp;</div>
<div id="intro">
<h1>黑河流域数据简介</h1>
@ -39,6 +37,7 @@ $this->breadcrumb()->setSeparator(' > ');
<img class="next" src="/images/next.png" onclick="changetlist()" />
</div>
</div>
</div>
<script type="text/javascript" language="javascript">
function changetlist(){
$.getJSON("/service/mdjson/source/heihe", function(data){

View File

@ -10,13 +10,11 @@ $this->breadcrumb('水文观测数据');
$this->breadcrumb()->setSeparator(' > ');
?>
<div id='sidebar'>
<div id='leftnavi'>
<div class="row">
<div class="span2">
<?= $this->partial('heihe/navi.phtml'); ?>
</div>
</div>
<div id='right'>
<div class="clear">&nbsp;</div>
<div class="span10">
<div id="intro">
<p>
黑河流域中游的水资源模拟主要是针对地表径流、地下水以及地表水与地下水相互转换等内容来开展,
@ -37,3 +35,4 @@ $this->breadcrumb()->setSeparator(' > ');
</div>
<?php endif; ?>
</div>
</div>

View File

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

View File

@ -9,14 +9,11 @@ $this->breadcrumb('<a href="/heihe/">'.$this->config->title->heihe.'</a>');
$this->breadcrumb('土地利用数据');
$this->breadcrumb()->setSeparator(' > ');
?>
<div id='sidebar'>
<div id='leftnavi'>
<div class="row">
<div class="span2">
<?= $this->partial('heihe/navi.phtml'); ?>
</div>
</div>
<div id='right'>
<div class="clear">&nbsp;</div>
<div class="span10">
<div id="intro">
<p>1:10万土地利用数据是在中国科学院“八五”重大应用项目《全国资源环境遥感宏观调查与动态研究》组织了中国科学院所属19个研究所的遥感科技队伍以卫星遥感为手段在三年内基于Landsat MSSTM和ETM遥感数据建立了中国1:10万土地利用影像和矢量数据库。</p>
</div>
@ -32,3 +29,4 @@ $this->breadcrumb()->setSeparator(' > ');
</div>
<?php endif; ?>
</div>
</div>

View File

@ -8,35 +8,33 @@ $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');
$this->theme->AppendPlus($this,'colorbox');
?>
<div id='sidebar'>
<div id='leftnavi'>
<div class="row">
<div class="span2">
<?= $this->partial('heihe/navi.phtml'); ?>
</div>
</div>
<div id='right'>
<div class="clear">&nbsp;</div>
<div id="intro">
</div>
<div class="span10">
<div id="intro"></div>
<?php if ($this->metadata) : ?>
<div id="mdlist">
<ol>
<div>
<ol class="md-list">
<?php foreach($this->metadata as $md) : ?>
<li class="singleline"><a href="/heihe/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a>
[<a class="colorbox" href="/service/bigthumb/uuid/<?php echo $md['uuid']; ?>" title="<?php echo $md['title']; ?>"><img src="/images/westdc_40w.gif" alt="缩略图幻灯片"/>缩略图幻灯片</a>]
[<a href="/service/pdf/review/1/uuid/<?php echo $md['uuid']; ?>"><img src="/images/pdf_icon.jpg" alt="Adobe PDF格式">PDF版本下载</a>]
[<a href="/service/odt/review/1/uuid/<?php echo $md['uuid']; ?>"><img src="/images/odt_icon.png" alt="OpenOffice odt格式">ODT版本下载</a>]
[<a href="/service/doc/review/1/uuid/<?php echo $md['uuid']; ?>"><img src="/images/doc_icon.gif" alt="MS Word doc格式">DOC版本下载</a>]
<li>
<a href="/heihe/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a>
<span class="pull-right">
[<a class="colorbox" href="/service/bigthumb/uuid/<?php echo $md['uuid']; ?>" title="<?php echo $md['title']; ?>"><i class="icon-facetime-video"></i>缩略图幻灯片</a>]
[<a href="/service/pdf/review/1/uuid/<?php echo $md['uuid']; ?>"><i class="icon-file"></i>PDF版本下载</a>]
[<a href="/service/odt/review/1/uuid/<?php echo $md['uuid']; ?>"><i class="icon-book"></i>ODT版本下载</a>]
[<a href="/service/doc/review/1/uuid/<?php echo $md['uuid']; ?>"><i class="icon-list-alt"></i>DOC版本下载</a>]
</span>
</li>
<?php endforeach; ?>
</ol>
</div>
<?php endif; ?>
</div>
</div>
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){$(".colorbox").colorbox({slideshow:"true",rel:"colorbox",photo:"true",transition:"fade"});});
</script>

View File

@ -9,14 +9,11 @@ $this->breadcrumb('<a href="/heihe/">'.$this->config->title->heihe.'</a>');
$this->breadcrumb('气象观测数据');
$this->breadcrumb()->setSeparator(' > ');
?>
<div id='sidebar'>
<div id='leftnavi'>
<div class="row">
<div class="span2">
<?= $this->partial('heihe/navi.phtml'); ?>
</div>
</div>
<div id='right'>
<div class="clear">&nbsp;</div>
<div class="span10">
<div id="intro">
<p>
黑河流域及其周边地区的气象常规观测站点共21个。观测要素包括日平均气压、最高气压、最低气压、平均气温、最高气温、最低气温、平均相对湿度、最小相对湿度、平均风速、最大风速及风向、极大风速及风向、日照时数、降水量。
@ -34,3 +31,4 @@ $this->breadcrumb()->setSeparator(' > ');
</div>
<?php endif; ?>
</div>
</div>

View File

@ -9,14 +9,11 @@ $this->breadcrumb('<a href="/heihe/">'.$this->config->title->heihe.'</a>');
$this->breadcrumb('模型数据');
$this->breadcrumb()->setSeparator(' > ');
?>
<div id='sidebar'>
<div id='leftnavi'>
<div class="row">
<div class="span2">
<?= $this->partial('heihe/navi.phtml'); ?>
</div>
</div>
<div id='right'>
<div class="clear">&nbsp;</div>
<div class="span10">
<div id="intro">
<p>
包括大气驱动数据、辐射数据、SWAT模型数据等。
@ -34,3 +31,4 @@ $this->breadcrumb()->setSeparator(' > ');
</div>
<?php endif; ?>
</div>
</div>

View File

@ -1,41 +1,41 @@
<ul class="nav nav-list">
<li><a href="/heihe/">黑河流域数据简介</a></li>
<li><a href="/heihe/core">核心数据</a>
<ul>
<li><a href="/heihe/dem">DEM数据</a></li>
<li><a href="/heihe/landuse">土地利用数据</a></li>
<li><a href="/heihe/soil">土壤数据</a></li>
<li><a href="/heihe/meteo">气象观测数据</a></li>
<li><a href="/heihe/hydro">水文观测数据</a></li>
<li><a href="/heihe/irragation">灌溉数据</a></li>
<li><a href="/heihe/obs">观测试验数据</a></li>
<ul class="nav nav-pills nav-stacked">
<li id="Nav-heihe-index"><a href="/heihe/">黑河流域数据简介</a></li>
<li id="Nav-heihe-core"><a href="/heihe/core">核心数据</a>
<ul class="nav nav-list heihe-subnav">
<li id="Nav-heihe-dem"><i class="icon-chevron-right"></i><a href="/heihe/dem">DEM数据</a></li>
<li id="Nav-heihe-landuse"><i class="icon-chevron-right"></i><a href="/heihe/landuse">土地利用数据</a></li>
<li id="Nav-heihe-soil"><i class="icon-chevron-right"></i><a href="/heihe/soil">土壤数据</a></li>
<li id="Nav-heihe-meteo"><i class="icon-chevron-right"></i><a href="/heihe/meteo">气象观测数据</a></li>
<li id="Nav-heihe-hydro"><i class="icon-chevron-right"></i><a href="/heihe/hydro">水文观测数据</a></li>
<li id="Nav-heihe-irragation"><i class="icon-chevron-right"></i><a href="/heihe/irragation">灌溉数据</a></li>
<li id="Nav-heihe-obs"><i class="icon-chevron-right"></i><a href="/heihe/obs">观测试验数据</a></li>
</ul>
</li>
<li><a href="/heihe/base">基础数据</a>
<ul>
<li><a href="/heihe/geobase">基础地理数据</a></li>
<li><a href="/heihe/landsurface">陆地表层数据</a></li>
<li><a href="/heihe/rs">遥感数据</a></li>
<li><a href="/heihe/water">水文水资源数据</a></li>
<li><a href="/heihe/model">模型数据</a></li>
<li><a href="/heihe/economic">社会经济数据</a></li>
<li id="Nav-heihe-base"><a href="/heihe/base">基础数据</a>
<ul class="nav nav-list heihe-subnav">
<li id="Nav-heihe-geobase"><i class="icon-chevron-right"></i><a href="/heihe/geobase">基础地理数据</a></li>
<li id="Nav-heihe-landsurface"><i class="icon-chevron-right"></i><a href="/heihe/landsurface">陆地表层数据</a></li>
<li id="Nav-heihe-rs"><i class="icon-chevron-right"></i><a href="/heihe/rs">遥感数据</a></li>
<li id="Nav-heihe-water"><i class="icon-chevron-right"></i><a href="/heihe/water">水文水资源数据</a></li>
<li id="Nav-heihe-model"><i class="icon-chevron-right"></i><a href="/heihe/model">模型数据</a></li>
<li id="Nav-heihe-economic"><i class="icon-chevron-right"></i><a href="/heihe/economic">社会经济数据</a></li>
</ul>
</li>
</ul>
<ul class="nav nav-list">
<li><a href="/heihe/document">黑河文档</a></li>
<li><a href="/heihe/list">数据列表</a></li>
<li><a href="/heihe/browse">整体浏览</a></li>
<li><a href="/heihe/category">ISO19115分类</a></li>
<li><a href="/heihe/thumb">缩略图浏览</a></li>
<li><a href="/heihe/tag">关键词导航</a></li>
<li><a href="/heihe/timeline">时间轴导航</a></li>
<li><a href="/heihe/timemap">时空联合导航</a></li>
<ul class="nav nav-pills nav-stacked">
<li id="Nav-heihe-document"><a href="/heihe/document">黑河文档</a></li>
<li id="Nav-heihe-list"><a href="/heihe/list">数据列表</a></li>
<li id="Nav-heihe-browse"><a href="/heihe/browse">整体浏览</a></li>
<li id="Nav-heihe-category"><a href="/heihe/category">ISO19115分类</a></li>
<li id="Nav-heihe-thumb"><a href="/heihe/thumb">缩略图浏览</a></li>
<li id="Nav-heihe-tag"><a href="/heihe/tag">关键词导航</a></li>
<li id="Nav-heihe-timeline"><a href="/heihe/timeline">时间轴导航</a></li>
<li id="Nav-heihe-timemap"><a href="/heihe/timemap">时空联合导航</a></li>
<!-- <li>WebGIS地图浏览</li>
<li>黑河计划数据汇交</li>
<li>数据使用协议</li> -->
<li class="bigtitle text-shadow"><a href="/heihe/submit">数据汇交</a></li>
<li class="bigtitle text-shadow"><a href="/heihe/projects">数据汇交计划</a></li>
<li id="Nav-heihe-submit"><a href="/heihe/submit">数据汇交</a></li>
<li id="Nav-heihe-projects"><a href="/heihe/projects">数据汇交计划</a></li>
</ul>
<form id="search" enctype="application/x-www-form-urlencoded" action="/heihe/search" method="post">
<input type="text" name="q" id="q" value="<?php echo (empty($this->key))?'回车搜索标题和摘要':$this->key; ?>" onfocus="myfocus(this);" onblur="myblur(this);" style="width:100%;">

View File

@ -9,14 +9,11 @@ $this->breadcrumb('<a href="/heihe/">'.$this->config->title->heihe.'</a>');
$this->breadcrumb('观测试验数据');
$this->breadcrumb()->setSeparator(' > ');
?>
<div id='sidebar'>
<div id='leftnavi'>
<div class="row">
<div class="span2">
<?= $this->partial('heihe/navi.phtml'); ?>
</div>
</div>
<div id='right'>
<div>&nbsp;</div>
<div class="span10">
<div id="intro">
<ol>
<li><a href="/water">黑河综合遥感联合试验</a></li>
@ -44,3 +41,4 @@ $this->breadcrumb()->setSeparator(' > ');
</div>
<?php endif; ?>
</div>
</div>

View File

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

View File

@ -9,14 +9,11 @@ $this->breadcrumb('<a href="/heihe/">'.$this->config->title->heihe.'</a>');
$this->breadcrumb('土壤数据');
$this->breadcrumb()->setSeparator(' > ');
?>
<div id='sidebar'>
<div id='leftnavi'>
<div class="row">
<div class="span2">
<?= $this->partial('heihe/navi.phtml'); ?>
</div>
</div>
<div id='right'>
<div class="clear">&nbsp;</div>
<div class="span10">
<div id="intro">
<p>
黑河流域已有的土壤数据主要包括了陆面过程模型和水文模型所需要的土壤质地数据,同时也提供了国内资源环境科学研究常用的土壤类型数据。
@ -34,3 +31,4 @@ $this->breadcrumb()->setSeparator(' > ');
</div>
<?php endif; ?>
</div>
</div>

View File

@ -8,35 +8,28 @@ $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');
$this->theme->AppendPlus($this,'colorbox');
?>
<div id='sidebar'>
<div id='leftnavi'>
<div class="row">
<div class="span2">
<?= $this->partial('heihe/navi.phtml'); ?>
</div>
</div>
<div id='right'>
<div class="clear">&nbsp;</div>
<div class="span10">
<?php if(!empty($this->error)) {?>
<div id="intro"><?php echo $this->error;?></div>
<?php }else{?>
<div style="overflow:hidden;">
<div id="tabs-controller">
<ul>
<li class="box-shadow"><a class="text-shadow" href="/heihe/submit/ac/newdata">根据模板创建元数据</a></li>
<li class="box-shadow"><a class="text-shadow" href="/heihe/submit/ac/newdata/do/add">根据已有数据创建元数据</a></li>
<li class="box-shadow"><a class="text-shadow iframe" href="/service/geonetwork?url=metadata.xmlinsert.form">导入元数据</a></li>
<li class="box-shadow"><a class="text-shadow" href="/heihe/submit/ac/unsubmit">未提交元数据</a></li>
<div>
<ul class="nav nav-pills">
<li class="active"><a href="/heihe/submit/">汇交计划首页</a></li>
<li><a href="/heihe/submit/ac/newdata">根据模板创建元数据</a></li>
<li><a href="/heihe/submit/ac/newdata/do/add">根据已有数据创建元数据</a></li>
<li><a class="iframe" href="/service/geonetwork?url=metadata.xmlinsert.form">导入元数据</a></li>
<li><a href="/heihe/submit/ac/unsubmit">未提交元数据</a></li>
</ul>
</div>
</div>
<?php } ?>
</div>
</div>
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$(".iframe").colorbox({iframe:true, width:"80%", height:"80%"});

View File

@ -8,43 +8,41 @@ $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');
$this->theme->AppendPlus($this,'colorbox');
?>
<div id='sidebar'>
<div id='leftnavi'>
<div class="row">
<div class="span2">
<?= $this->partial('heihe/navi.phtml'); ?>
</div>
</div>
<div id='right'>
<div class="clear">&nbsp;</div>
<div class="span10">
<?php if(!empty($this->error)) {?>
<div id="intro"><?php echo $this->error;?></div>
<?php }else{?>
<div style="overflow:hidden;">
<div id="tabs-controller">
<ul>
<li class="box-shadow"><a class="text-shadow" href="/heihe/submit/ac/newdata">根据模板创建元数据</a></li>
<li class="box-shadow active"><a class="text-shadow" href="/heihe/submit/ac/newdata/do/add">根据已有数据创建元数据</a></li>
<li class="box-shadow"><a class="text-shadow iframe" href="/service/geonetwork?url=metadata.xmlinsert.form">导入元数据</a></li>
<li class="box-shadow"><a class="text-shadow" href="/heihe/submit/ac/unsubmit">未提交元数据</a></li>
<div>
<ul class="nav nav-pills">
<li><a href="/heihe/submit/">汇交计划首页</a></li>
<li><a href="/heihe/submit/ac/newdata">根据模板创建元数据</a></li>
<li class="active"><a href="/heihe/submit/ac/newdata/do/add">根据已有数据创建元数据</a></li>
<li><a class="iframe" href="/service/geonetwork?url=metadata.xmlinsert.form">导入元数据</a></li>
<li><a href="/heihe/submit/ac/unsubmit">未提交元数据</a></li>
</ul>
</div>
<div id="datalist">
<h2>根据已有元数据来创建数据</h2>
<div class="input-append">
<form id="datasearch" class="search_form" action="/submit/newdata/ac/add">
<input type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" />
<button type="submit" class="btn" id="search_btn">搜索</button>
</form>
</div>
<?php
if (count($this->paginator)):
echo "<ul>";
echo '<ul class="unstyled">';
$autoindex=0;
foreach ($this->paginator as $item):
$autoindex++;
?>
<li>
<li class="well well-small">
<p><span class="title"><?php echo $item['title'];?></span>
<a href="/service/geonetwork?url=metadata.create?group=2<?php echo urlencode('&id='.$item['gid']); ?>" target="_blank">以此为模板新建</a>
| <a href="/data/<?php echo $item['uuid'];?>" target="_blank">查看数据</a></p>
@ -54,13 +52,11 @@ $this->headLink()->appendStylesheet('/css/colorbox.css');
endforeach;
echo "</ul>";
endif; ?>
</div>
<div class="pagenavi"><?= $this->paginator; ?></div>
</div>
<?php } ?>
</div>
</div>
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$(".iframe").colorbox({iframe:true, width:"80%", height:"80%"});

View File

@ -8,44 +8,41 @@ $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');
$this->theme->AppendPlus($this,'colorbox');
?>
<div id='sidebar'>
<div id='leftnavi'>
<div class="row">
<div class="span2">
<?= $this->partial('heihe/navi.phtml'); ?>
</div>
</div>
<div id='right'>
<div class="clear">&nbsp;</div>
<div class="span10">
<?php if(!empty($this->error)) {?>
<div id="intro"><?php echo $this->error;?></div>
<?php }else{?>
<div style="overflow:hidden;">
<div id="tabs-controller">
<ul>
<li class="box-shadow active"><a class="text-shadow" href="/heihe/submit/ac/newdata">根据模板创建元数据</a></li>
<li class="box-shadow"><a class="text-shadow" href="/heihe/submit/ac/newdata/do/add">根据已有数据创建元数据</a></li>
<li class="box-shadow"><a class="text-shadow iframe" href="/service/geonetwork?url=metadata.xmlinsert.form">导入元数据</a></li>
<li class="box-shadow"><a class="text-shadow" href="/heihe/submit/ac/unsubmit">未提交元数据</a></li>
<div>
<ul class="nav nav-pills">
<li><a href="/heihe/submit/">汇交计划首页</a></li>
<li class="active"><a href="/heihe/submit/ac/newdata">根据模板创建元数据</a></li>
<li><a href="/heihe/submit/ac/newdata/do/add">根据已有数据创建元数据</a></li>
<li><a class="iframe" href="/service/geonetwork?url=metadata.xmlinsert.form">导入元数据</a></li>
<li><a href="/heihe/submit/ac/unsubmit">未提交元数据</a></li>
</ul>
</div>
<div id="datalist">
<div>
<h2>根据预制元数据模板创建数据</h2>
<div class="input-append">
<form id="datasearch" class="search_form" action="/submit/newdata/">
<input type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" />
<button type="submit" class="btn" id="search_btn">搜索</button>
</form>
</div>
<?php
if (count($this->paginator)):
echo "<ul>";
echo '<ul class="unstyled">';
$autoindex=0;
foreach ($this->paginator as $item):
$autoindex++;
?>
<li>
<li class="well well-small">
<p><span class="title"><?php echo $item['title'];?></span>
<a href="/service/geonetwork?url=metadata.create?group=2<?php echo urlencode('&id='.$item['id']); ?>" target="_blank">以此为模板新建</a>
<?php if ($this->isadmin || $item['isowner']==0) : ?>
@ -59,9 +56,9 @@ $this->headLink()->appendStylesheet('/css/colorbox.css');
endif; ?>
</div>
<div class="pagenavi"><?= $this->paginator; ?></div>
</div>
<?php } ?>
</div>
</div>
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$(".iframe").colorbox({iframe:true, width:"80%", height:"80%"});

View File

@ -8,24 +8,20 @@ $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');
$this->theme->AppendPlus($this,'colorbox');
?>
<div id='sidebar'>
<div id='leftnavi'>
<div class="row">
<div class="span2">
<?= $this->partial('heihe/navi.phtml'); ?>
</div>
</div>
<div id='right'>
<div class="clear">&nbsp;</div>
<div id="tabs-controller">
<ul>
<li class="box-shadow"><a class="text-shadow" href="/heihe/submit/ac/newdata">根据模板创建元数据</a></li>
<li class="box-shadow"><a class="text-shadow" href="/heihe/submit/ac/newdata/do/add">根据已有数据创建元数据</a></li>
<li class="box-shadow"><a class="text-shadow iframe" href="/service/geonetwork?url=metadata.xmlinsert.form">导入元数据</a></li>
<li class="box-shadow active"><a class="text-shadow" href="/heihe/submit/ac/unsubmit">未提交元数据</a></li>
<div class="span10">
<div>
<ul class="nav nav-pills">
<li><a href="/heihe/submit/">汇交计划首页</a></li>
<li><a href="/heihe/submit/ac/newdata">根据模板创建元数据</a></li>
<li><a href="/heihe/submit/ac/newdata/do/add">根据已有数据创建元数据</a></li>
<li><a class="iframe" href="/service/geonetwork?url=metadata.xmlinsert.form">导入元数据</a></li>
<li class="active"><a href="/heihe/submit/ac/unsubmit">未提交元数据</a></li>
</ul>
</div>
<?php if(!empty($this->error)) {?>
@ -34,12 +30,12 @@ $this->headLink()->appendStylesheet('/css/colorbox.css');
<div id="datalist">
<?php
if (count($this->paginator)):
echo "<ul>";
echo '<ul class="unstyled">';
$autoindex=0;
foreach ($this->paginator as $item):
$autoindex++;
?>
<li>
<li class="well well-small">
<p><span class="title"><?php echo $item['title'];?></span> </p>
<p><a href="/service/geonetwork?url=metadata.show?id=<?php echo $item['id']; ?>" target="_blank">在geonetwork里查看</a>
| <a href="/service/geonetwork?url=metadata.edit?id=<?php echo $item['id']; ?>" target="_blank">在geonetwork里修改</a>
@ -58,6 +54,7 @@ $this->headLink()->appendStylesheet('/css/colorbox.css');
<div class="pagenavi"><?= $this->paginator; ?></div>
<?php } ?>
</div>
</div>
<script>
$(".iframe").colorbox({iframe:true, width:"80%",height:"80%"});
function action(ac,id){

View File

@ -10,19 +10,17 @@ $this->breadcrumb('<a href="/heihe/">'.$this->config->title->heihe.'</a>');
$this->breadcrumb('关键词导航'.(($this->codename)?''.$this->codename:''));
$this->breadcrumb()->setSeparator(' > ');
?>
<div id='sidebar'>
<div id='leftnavi'>
<div class="row">
<div class="span2">
<?= $this->partial('heihe/navi.phtml'); ?>
</div>
</div>
<div id='right'>
<div class="clear">&nbsp;</div>
<div class="span10">
<?php if (!empty($this->metadata)) : ?>
<div id='mdlist'>
<h1>关键词:<?php echo $this->codename; ?><a href="/heihe/tag/">全部关键词</a></h1>
<?php echo $this->page->getNavigation(); ?>
<hr />
<div id="mdlist">
<div class="md-list">
<ol start="<?php echo $this->offset; ?>">
<?php foreach($this->metadata as $md) : ?>
<li><a href="/heihe/view/uuid/<?php echo $md['uuid']; ?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>"><?php echo $md['title']; ?></a></li>
@ -50,5 +48,6 @@ if (is_array($kcg) && count($kcg)>0 ) :
</fieldset>
<?php endif;endforeach; ?>
</div>
</div>
<?php endif; ?>
</div>
</div>

View File

@ -9,34 +9,41 @@ $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');
$this->theme->AppendPlus($this,'colorbox');
$this->theme->AppendPlus($this,'masonry');
?>
<div id='sidebar'>
<div id='leftnavi'>
<div class="row">
<div class="span2">
<?= $this->partial('heihe/navi.phtml'); ?>
</div>
</div>
<div id='right'>
<div class="span10">
<?php echo $this->page->getNavigation(); ?>
<hr />
<div id="mdlist">
<div>
<ul class="thumb water-thumb unstyled" id="container">
<?php foreach($this->metadata as $md) : ?>
<div class="thumb">
<div class="thumbtitle">
<a href="/heihe/view/uuid/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']); ?> </a>
</div>
<a class="colorbox" href="/service/bigthumb/id/<?php echo $md['id'];?>" title="<?php echo $this->escape($md['title']); ?>">
<img src="/service/thumb/id/<?php echo $md['id'];?>" alt="<?php echo $this->escape($md['title']);?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>" />
<li class="items">
<h4><a href="/heihe/view/uuid/<?php echo $md['uuid'];?>"><?= $this->escape($md['title']);?></a></h4>
<a href="/heihe/view/uuid/<?php echo $md['uuid'];?>" class="thumbnail">
<img src="/service/thumb/id/<?php echo $md['id'];?>" alt="">
</a>
<div class="caption">
<p>
<?php echo mb_strlen($md['description'])>120?$this->escape(mb_substr($md['description'],0,120,'UTF-8').'...'):$this->escape($md['description']);?>
</p>
</div>
<span class="pull-right"><a href="/data/<?php echo $md['uuid'];?>" class="btn"><i class="icon-zoom-in"></i>查看</a></span>
</li>
<?php endforeach; ?>
</ul>
</div>
<hr style="clear:left;"/>
<hr class="clearfix" />
<?php echo $this->page->getNavigation(); ?>
</div>
</div>
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){$(".colorbox").colorbox({rel:"colorbox",photo:"true",transition:"fade"});});
$('#container').masonry({
itemSelector : '.items',
});
</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/heihetime.js');
?>
<div id='sidebar'>
<div id='leftnavi'>
<div class="row">
<div class="span2">
<?= $this->partial('heihe/navi.phtml'); ?>
</div>
</div>
<div id='right'>
<div class="span10">
<div id="tl" class="timeline-default" style="height:600px;"> </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('/js/timeline_var.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/timemap.pack.js');
$this->headScript()->appendFile('/js/jquery.colorbox-min.js');
$this->headLink()->appendStylesheet('/css/colorbox.css');
$this->theme->AppendPlus($this,'colorbox');
?>
<div id='sidebar'>
<div id='leftnavi'>
<div class="row">
<div class="span2">
<?= $this->partial('heihe/navi.phtml'); ?>
</div>
</div>
<div id='right'>
<div class="span10">
<div id="timemap">
<div id="watermap" style="height:500px;width:40%;float:right;"></div>
<div id="timeline" style="height:500px;border-right:1px solid #abc;"></div>
</div>
</div>
</div>
<script type="text/javascript" charset="utf-8">

View File

@ -9,14 +9,11 @@ $this->breadcrumb('<a href="/heihe/">'.$this->config->title->heihe.'</a>');
$this->breadcrumb('水文水资源数据');
$this->breadcrumb()->setSeparator(' > ');
?>
<div id='sidebar'>
<div id='leftnavi'>
<div class="row">
<div class="span2">
<?= $this->partial('heihe/navi.phtml'); ?>
</div>
</div>
<div id='right'>
<div class="clear">&nbsp;</div>
<div class="span10">
<div id="intro">
<p>
黑河流域的基本水文观测站点共计30个其中包括了水文站18个雨量站12个。
@ -38,3 +35,4 @@ $this->breadcrumb()->setSeparator(' > ');
</div>
<?php endif; ?>
</div>
</div>

View File

@ -1,20 +1,7 @@
#divContent{margin:0 auto;padding:0;}
/* water */
#sidebar{margin:0;padding:0;width:220px;_margin-right:-3px;float:left;border-right:2px solid #ddd;background:#ddd;}
#right{margin:0;padding:0;border-left:2px solid #ddd;margin-left:220px;}
#leftnavi{margin:0;padding:0;}
#leftnavi input{margin-left:5px;width:200px;border:1px solid #006;background: #ffc;}
#intro {margin-top:10px;padding:0;padding-left:5px;}
#intro p{text-indent:2em;}
#intro img{padding:5px;}
#intro h1{text-indent:2em;font-size:24px;}
#intro li{white-space: normal;}
/* used in water */
.PageNavigation{padding-left:30px;}
hr{border: none 0;border-bottom:1px dashed #ccc;height: 1px;width:100%;margin:0;padding:5px 0 5px 0;}
#mdlist{}
#mdlist span{width:80%;}
#mdlist ol li{white-space:normal;}
.t1highlight{background-color: #ccccff;}
.t3highlight{background-color: #ccccff;}
.t2highlight{background-color: #FFCCCC;}
@ -59,11 +46,6 @@ form{display:inline;float:left;}
#latest, #services{width:48%;float:left;margin-bottom:10px;font-size:13px;}
#leftContainer{margin-top:5px;}
/*data_links*/
#links .title{background:#c7ddc7; padding: 5px 15px 5px;font-size: 16px; font-weight:bold;}
#links h3{clear:both;color: rgb(153, 0, 51);font-size: 14px;
background: url(/images/arrow_red_10x10.gif) no-repeat left top; padding-left: 13px;}
#leftnav li,#tools li,#category li,#keyword li,#series li{padding-left: 10px;background: url(/images/square.gif) no-repeat left center;}
.submit-group,.element-group{}
#leftnav ul,#leftContainer ul{margin:0px; padding-left:0px;clear:left;}
@ -103,6 +85,7 @@ ol,ol li{list-style:decimal;margin-left:20px;}
font-size:12px;font-weight:bold;color:#00A9FF;white-space: normal;}
.singleline img{height:20px;vertical-align:middle;}
/****new****/
.row-fluit{overflow:hidden;}
.thumb{overflow:hidden;}
.thumb li {width:320px;float:left; margin:10px 20px; overflow:hidden;border: 1px solid #DDDDDD;
@ -116,3 +99,10 @@ ol,ol li{list-style:decimal;margin-left:20px;}
.thumb li img{width:100%;}
.thumb li h4{ position:relative;top:0;height:40px;}
.thumb li p{word-break:break-all;word-wrap:break-word;}
.water-thumb li{width:260px;}
.heihe-subnav li .icon-chevron-right{float:left;margin-top:7px;}
.md-list li{line-height:24px;}
.md-list li:hover{background:#ccc; border-radius:3px;}