37 lines
1.2 KiB
PHTML
37 lines
1.2 KiB
PHTML
<?php
|
|
$this->headTitle($this->config->title->site);
|
|
$this->headTitle($this->config->title->data);
|
|
$this->headTitle()->setSeparator(' - ');
|
|
$this->headLink()->appendStylesheet('/css/water.css');
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
|
$this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
|
|
$this->breadcrumb('气象观测数据');
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
?>
|
|
|
|
<div id='sidebar'>
|
|
<div id='leftnavi'>
|
|
<?= $this->partial('yrnmr/navi.phtml'); ?>
|
|
</div>
|
|
</div>
|
|
<div id='right'>
|
|
<div class="clear"> </div>
|
|
<div id="intro">
|
|
<p>
|
|
观测要素包括日平均气压、最高气压、最低气压、平均气温、最高气温、最低气温、平均相对湿度、最小相对湿度、平均风速、最大风速及风向、极大风速及风向、日照时数、降水量。
|
|
</p>
|
|
</div>
|
|
<hr />
|
|
<?php if ($this->metadata) : ?>
|
|
<?php echo $this->page->getNavigation(); ?>
|
|
<div id="mdlist">
|
|
<ol start="<?php echo $this->offset; ?>">
|
|
<?php foreach($this->metadata as $md) : ?>
|
|
<li><a href="/yrnmr/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
|
|
<?php endforeach; ?>
|
|
</ol>
|
|
</div>
|
|
<?php endif; ?>
|
|
</div>
|