增加水文气象2015年链接
This commit is contained in:
parent
45ecc6ea33
commit
e042786e08
|
@ -17,7 +17,7 @@ class HiwaterController extends DataController
|
||||||
{
|
{
|
||||||
$this->view->pageIn = "collapse2";
|
$this->view->pageIn = "collapse2";
|
||||||
}
|
}
|
||||||
else if(in_array($acName,array("hmon",'hmon2012','hmon2013','hmon2014','hmon2012up','hmon2012middle','hmon2012down','hmon2013up','hmon2013middle','hmon2013down','hmon2014up','hmon2014middle','hmon2014down','super','normal','prec')))
|
else if(in_array($acName,array("hmon",'hmon2012','hmon2013','hmon2014','hmon2015','hmon2012up','hmon2012middle','hmon2012down','hmon2013up','hmon2013middle','hmon2013down','hmon2014up','hmon2014middle','hmon2014down','hmon2015up','hmon2015middle','hmon2015down','super','normal','prec')))
|
||||||
{
|
{
|
||||||
$this->view->pageIn = "collapse3";
|
$this->view->pageIn = "collapse3";
|
||||||
}
|
}
|
||||||
|
@ -452,6 +452,29 @@ class HiwaterController extends DataController
|
||||||
$this->_helper->viewRenderer('base');
|
$this->_helper->viewRenderer('base');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function hmon2015Action()
|
||||||
|
{
|
||||||
|
$this->getmdrestricted(array('2015','水文气象观测网'));
|
||||||
|
$archive = new Archive($this->db);
|
||||||
|
$this->view->info = $archive->getOneArchive('HiWATER:流域水文气象观测网','about');
|
||||||
|
$this->_helper->viewRenderer('base');
|
||||||
|
}
|
||||||
|
function hmon2015upAction()
|
||||||
|
{
|
||||||
|
$this->getmdrestricted(array('2015','上游寒区水文试验区','水文气象观测网'));
|
||||||
|
$this->_helper->viewRenderer('base');
|
||||||
|
}
|
||||||
|
function hmon2015middleAction()
|
||||||
|
{
|
||||||
|
$this->getmdrestricted(array('2015','中游人工绿洲试验区','水文气象观测网'));
|
||||||
|
$this->_helper->viewRenderer('base');
|
||||||
|
}
|
||||||
|
function hmon2015downAction()
|
||||||
|
{
|
||||||
|
$this->getmdrestricted(array('2015','下游天然绿洲试验区','水文气象观测网'));
|
||||||
|
$this->_helper->viewRenderer('base');
|
||||||
|
}
|
||||||
|
|
||||||
function listAction()
|
function listAction()
|
||||||
{
|
{
|
||||||
$sql="select uuid,title from normalmetadata where uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='hiwater') order by timebegin,title";
|
$sql="select uuid,title from normalmetadata where uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='hiwater') order by timebegin,title";
|
||||||
|
|
|
@ -77,6 +77,17 @@
|
||||||
<li><a href="/hiwater/hmon2014down"><i class="icon-double-angle-right"></i>下游</a></li>
|
<li><a href="/hiwater/hmon2014down"><i class="icon-double-angle-right"></i>下游</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<div class="tree-toggle accordion-heading">
|
||||||
|
<a href="#" class="detail-link pull-right"><i class="icon-plus"></i></a>
|
||||||
|
<a class="accordion-toggle" href="/hiwater/hmon2015" title="查看详细">2015</a>
|
||||||
|
</div>
|
||||||
|
<ul class="nav nav-list tree">
|
||||||
|
<li><a href="/hiwater/hmon2015up"><i class="icon-double-angle-right"></i>上游</a></li>
|
||||||
|
<li><a href="/hiwater/hmon2015middle"><i class="icon-double-angle-right"></i>中游</a></li>
|
||||||
|
<li><a href="/hiwater/hmon2015down"><i class="icon-double-angle-right"></i>下游</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue