westdc-zf1/application/admin/views/scripts/index/index.phtml

31 lines
1.2 KiB
PHTML
Raw Normal View History

2011-12-11 12:24:28 +00:00
<?php
$this->headTitle($this->config->title->site);
$this->headTitle('后台管理');
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/admin.css');
$this->headLink()->appendStylesheet('/static/css/jquery.jgrowl.css');
$this->headScript()->appendFile('/js/jquery-1.7.min.js');
$this->headScript()->appendFile('/static/js/jquery.jgrowl_minimized.js');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('后台管理首页');
$this->breadcrumb()->setSeparator(' > ');
?>
<div id="OneColumn">
<?= $this->partial('data/left.phtml'); ?>
<?= $this->partial('down/left.phtml'); ?>
<?= $this->partial('user/left.phtml'); ?>
<?= $this->partial('review/left.phtml'); ?>
<?= $this->partial('stat/left.phtml'); ?>
<?= $this->partial('sys/left.phtml'); ?>
<ul>
<li class="title">其他工具</a></li>
<li><a href="/admin/watermd">WATER元数据处理工具</a></li>
<li><a href="/admin/test">数据测试管理</a></li>
</ul>
</div>
<script>
$.getJSON("/admin/sys/getmsg", function(data) {
var msg = data.count;
if(msg>0){$.jGrowl('<a href="/admin/sys/message/" style="color:#FFF;text-decoration:underline;font-weight:bold;">有'+data.count+'条新消息</a>', { sticky: true });}
})
</script>