add seperate banner
This commit is contained in:
parent
3cbc933b17
commit
b416c4daa4
|
@ -0,0 +1,33 @@
|
||||||
|
<div id="divHeader">
|
||||||
|
<div id="heiheLogo">
|
||||||
|
<a href="/heihe"><img src="/images/glacier-logo.png" alt="Glacier Logo" /></a>
|
||||||
|
</div>
|
||||||
|
<div class="nav">
|
||||||
|
<div id="divNavi">
|
||||||
|
<ul>
|
||||||
|
<!-- CSS Tabs -->
|
||||||
|
<li><a href="/"><span>首页</span></a></li>
|
||||||
|
<!-- <li><a href="/news"><span>新闻动态</span></a></li> -->
|
||||||
|
<li><a href="/data"><span>数据产品与服务</span></a></li>
|
||||||
|
<li><a href="/review"><span>元数据评审</span></a></li>
|
||||||
|
<li><a href="/knowledge"><span>知识积累平台</span></a></li>
|
||||||
|
<li><a href="/community"><span>合作与交流</span></a></li>
|
||||||
|
<li><a href="/about"><span>关于本站</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="userNavi">
|
||||||
|
<?php
|
||||||
|
$auth = Zend_Auth::getInstance();
|
||||||
|
if($auth->hasIdentity())
|
||||||
|
{
|
||||||
|
$user = $auth->getIdentity();
|
||||||
|
echo '<a href="/account/edit">'.$user->username.'</a> ';
|
||||||
|
if ($user->usertype=="administrator") echo '<a href="/admin">后台管理</a> ';
|
||||||
|
echo '<a href="/data/order">数据篮</a> <a href="/account/logout">注销</a>';
|
||||||
|
} else {
|
||||||
|
echo '<a href="/account/login">登录</a> <a href="/account/register">注册</a>';
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -6,7 +6,7 @@
|
||||||
<link rel="stylesheet" type="text/css" media="screen"
|
<link rel="stylesheet" type="text/css" media="screen"
|
||||||
href="/css/default.css" />
|
href="/css/default.css" />
|
||||||
<link rel="stylesheet" type="text/css" media="screen"
|
<link rel="stylesheet" type="text/css" media="screen"
|
||||||
href="/css/heihe.css" />
|
href="/css/glacier.css" />
|
||||||
<script src='/js/navi.js' type="text/javascript"></script>
|
<script src='/js/navi.js' type="text/javascript"></script>
|
||||||
<link rel="alternate" type="application/rss+xml" title="WestDC RSS Feed" href="/data/feed" />
|
<link rel="alternate" type="application/rss+xml" title="WestDC RSS Feed" href="/data/feed" />
|
||||||
<link rel="pingback" href="http://westdc.westgis.ac.cn/data/pingback" />
|
<link rel="pingback" href="http://westdc.westgis.ac.cn/data/pingback" />
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
<?= $this->headStyle() ?>
|
<?= $this->headStyle() ?>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<?= $this->render('heihe_header.phtml') ?>
|
<?= $this->render('glacier_header.phtml') ?>
|
||||||
<div class="clearLine"/>
|
<div class="clearLine"/>
|
||||||
<div id="divBreadCrumb"><?= $this->breadcrumb() ?> </div>
|
<div id="divBreadCrumb"><?= $this->breadcrumb() ?> </div>
|
||||||
<div id="divContent"><?= $this->layout()->content ?></div>
|
<div id="divContent"><?= $this->layout()->content ?></div>
|
||||||
|
|
Loading…
Reference in New Issue