28 lines
1.2 KiB
PHTML
28 lines
1.2 KiB
PHTML
<ul class="nav nav-pills nav-stacked">
|
|
<li id="Nav-qzr-index"><a href="/qzr/">青藏铁路介绍</a></li>
|
|
<li id="Nav-qzr-news"><a href="/qzr/news">相关新闻</a></li>
|
|
</ul>
|
|
<ul>
|
|
<li id="Nav-qzr-document"><a href="/qzr/document">文档</a></li>
|
|
<li id="Nav-qzr-browse"><a href="/qzr/browse">整体浏览</a></li>
|
|
<li id="Nav-qzr-thumb"><a href="/qzr/thumb">缩略图浏览</a></li>
|
|
<li id="Nav-qzr-tags"><a href="/qzr/tag">关键词导航</a></li>
|
|
<li id="Nav-qzr-timeline"><a href="/qzr/timeline">时间轴导航</a></li>
|
|
<li id="Nav-qzr-timemap"><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>
|