初始化青藏铁路专题
This commit is contained in:
parent
c3178db4b9
commit
0f43c24429
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,29 @@
|
|||
<ul>
|
||||
<li><a href="/qzr/">青藏铁路介绍</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="/qzr/document">文档</a></li>
|
||||
<li><a href="/qzr/list">数据列表</a></li>
|
||||
<li><a href="/qzr/browse">整体浏览</a></li>
|
||||
<li><a href="/qzr/category">ISO19115分类</a></li>
|
||||
<li><a href="/qzr/thumb">缩略图浏览</a></li>
|
||||
<li><a href="/qzr/tag">关键词导航</a></li>
|
||||
<li><a href="/qzr/timeline">时间轴导航</a></li>
|
||||
<li><a href="/qzr/timemap">时空联合导航</a></li>
|
||||
</ul>
|
||||
<form id="search" enctype="application/x-www-form-urlencoded" action="/qzr/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="hidden" name="submit" value="submit">
|
||||
</form>
|
||||
<script>
|
||||
function myfocus(element) {
|
||||
if (element.value == '回车搜索标题和摘要') {
|
||||
element.value = '';
|
||||
}
|
||||
}
|
||||
function myblur(element) {
|
||||
if (element.value == '') {
|
||||
element.value = '回车搜索标题和摘要';
|
||||
}
|
||||
}
|
||||
</script>
|
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
$config = Zend_Registry::get('config');
|
||||
$this->headTitle($config->title->site);
|
||||
$this->headTitle($config->title->qzr);
|
||||
$this->headTitle()->setSeparator(' - ');
|
||||
$this->headLink()->appendStylesheet('/css/water.css');
|
||||
$this->headScript()->appendFile('/js/jquery-1.7.min.js');
|
||||
$this->breadcrumb('<a href="/">首页</a>');
|
||||
$this->breadcrumb('<a href="/qzr/">青藏铁路</a>');
|
||||
$this->breadcrumb($this->infos['title']);
|
||||
$this->breadcrumb()->setSeparator(' > ');
|
||||
if(!empty($this->infos['keyword'])) $keyword = $this->infos['keyword']; else $keyword = $this->infos['title'];
|
||||
?>
|
||||
<div id='sidebar'>
|
||||
<div id='leftnavi'>
|
||||
<?= $this->partial('qzr/navi.phtml'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div id='right'>
|
||||
|
||||
<p>
|
||||
<?php echo $this->infos['body'];?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue