34 lines
1.4 KiB
PHTML
34 lines
1.4 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 class="row">
|
|
<div class="span3">
|
|
<?= $this->partial('yrnmr/navi.phtml'); ?>
|
|
</div>
|
|
<div class="span9">
|
|
<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>
|
|
</div>
|