2011-09-23 07:34:40 +00:00
|
|
|
<?php
|
|
|
|
$this->headTitle($this->config->title->site);
|
|
|
|
$this->headTitle('后台管理');
|
|
|
|
$this->headTitle()->setSeparator(' - ');
|
2012-03-27 07:02:36 +00:00
|
|
|
$this->headScript()->appendFile('/js/jquery-1.7.min.js');
|
2012-11-28 09:27:53 +00:00
|
|
|
$this->headLink()->appendStylesheet('/css/admin.css');
|
2012-04-12 04:04:23 +00:00
|
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
2012-03-27 07:02:36 +00:00
|
|
|
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
|
|
|
$this->breadcrumb('<a href="/admin/news">新闻中心</a>');
|
2011-09-23 07:34:40 +00:00
|
|
|
?>
|
2012-03-27 07:02:36 +00:00
|
|
|
<style>
|
|
|
|
.listingDetails{position:absolute;width:650px; z-index:999;}
|
|
|
|
.pad{position:absolute;background:#FFF;border:2px solid #444;border-radius:5px;padding:5px;display:none;}
|
|
|
|
</style>
|
|
|
|
<div id="leftPanel">
|
|
|
|
<?= $this->partial('news/left.phtml'); ?>
|
|
|
|
</div>
|
|
|
|
<div id="rightPanel">
|
|
|
|
<?php if ($this->msg or $this->messages) :?>
|
|
|
|
<div id="message">
|
|
|
|
<?php if ($this->msg) : ?>
|
|
|
|
<p><?php echo $this->msg; ?></p>
|
|
|
|
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
|
|
|
<p><?php echo $msg; ?></p>
|
|
|
|
<?php endforeach;endif; ?>
|
|
|
|
</div>
|
|
|
|
<?php endif; ?>
|
2011-09-23 07:34:40 +00:00
|
|
|
|
2012-03-27 07:02:36 +00:00
|
|
|
<h3>统计</h3>
|
|
|
|
<hr/>
|
|
|
|
<ul>
|
|
|
|
<li>共 <?php echo $this->totle['c'];?> 条档案</li>
|
|
|
|
<li>栏目 <?php echo $this->typec['c'];?> 个</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
2011-09-23 07:34:40 +00:00
|
|
|
$(document).ready(function(){
|
2012-03-27 07:02:36 +00:00
|
|
|
$('.title').bind('click', function() {
|
|
|
|
$('.pad').css('display','none');
|
|
|
|
$(this).next('.listingDetails').children('.pad').show();
|
|
|
|
});
|
|
|
|
$('.closepad').bind('click', function() {
|
|
|
|
$('.pad').css('display','none');
|
|
|
|
});
|
2011-09-23 07:34:40 +00:00
|
|
|
});
|
2012-03-27 07:02:36 +00:00
|
|
|
function showpad(id){
|
|
|
|
$('#titlebtn'+id).click();
|
|
|
|
}
|
2011-09-23 07:34:40 +00:00
|
|
|
</script>
|