45 lines
1.9 KiB
PHTML
Executable File
45 lines
1.9 KiB
PHTML
Executable File
<?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="/">Home</a>');
|
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
|
$this->breadcrumb('WATER');
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
?>
|
|
<div class="row">
|
|
<div class="span3">
|
|
<?= $this->partial('water/navi.phtml'); ?>
|
|
</div>
|
|
<div class="span9">
|
|
<div class="row" style="overflow:hidden;">
|
|
<div class="input-append">
|
|
<form id="search" enctype="application/x-www-form-urlencoded" action="/water/search" method="post">
|
|
<input type="text" name="q" id="q" value="Title or Abstract" onfocus="myfocus(this);" onblur="myblur(this);">
|
|
<button class="btn" type="submit" name="submit" id="submit">Search</button>
|
|
<button class="btn" type="button" onclick="location.href='/water/tag'">Keywords</button>
|
|
<button class="btn" type="button" onclick="location.href='/water/timeline'">Timeline</button>
|
|
<button class="btn" type="button" onclick="location.href='/water/timemap'">TimeMap</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<div class="clear"> </div>
|
|
<div id="intro">
|
|
<h1>Watershed Allied Telemetry Experimental Research</h1>
|
|
<?php if(!empty($this->info['body'])) echo $this->info['body'];?>
|
|
</div>
|
|
<script>
|
|
function myfocus(element) {
|
|
if (element.value == element.defaultValue) {
|
|
element.value = '';
|
|
}
|
|
}
|
|
function myblur(element) {
|
|
if (element.value == '') {
|
|
element.value = element.defaultValue;
|
|
}
|
|
}
|
|
</script>
|
|
</div>
|
|
</div>
|