revert last update
This commit is contained in:
parent
482a3c8801
commit
f3e360cfeb
|
@ -2,112 +2,130 @@
|
|||
$this->headTitle($this->config->title->site);
|
||||
$this->headTitle('后台管理');
|
||||
$this->headTitle()->setSeparator(' - ');
|
||||
$this->headLink()->appendStylesheet('/css/admin.css');
|
||||
$this->breadcrumb('<a href="/">首页</a>');
|
||||
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
||||
$this->breadcrumb()->setSeparator(' > ');
|
||||
$this->headScript()->appendFile('/js/jquery-1.6.4.min.js');
|
||||
$this->headScript()->appendFile('/js/jquery.masonry.min.js');
|
||||
?>
|
||||
<!-- Page title -->
|
||||
<div id="pagetitle">
|
||||
<div class="wrapper">
|
||||
<h1>新闻中心</h1>
|
||||
<!-- Quick search box -->
|
||||
<form action="" method="get"><input class="" type="text" id="q" name="q" /></form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- End of Page title -->
|
||||
|
||||
<!-- Page content -->
|
||||
<div id="page">
|
||||
<!-- Wrapper -->
|
||||
<div class="wrapper">
|
||||
|
||||
<!-- Right column/section -->
|
||||
<aside class="column width2 first">
|
||||
<div id="rightmenu">
|
||||
<header>
|
||||
<h3>新闻中心管理</h3>
|
||||
</header>
|
||||
<dl class="first">
|
||||
<dt><img width="16" height="16" alt="" SRC="/static/img/key.png"></dt>
|
||||
<dd><a href="/admin/news/catlog">栏目管理</a></dd>
|
||||
<dd class="last">创建、编辑、删除栏目</dd>
|
||||
|
||||
<dt><img width="16" height="16" alt="" SRC="/static/img/help.png"></dt>
|
||||
<dd><a href="/admin/news/newslist">新闻管理</a></dd>
|
||||
<dd class="last">查看、编辑、搜索、删除新闻</dd>
|
||||
|
||||
<dt><img width="16" height="16" alt="" SRC="/static/img/help.png"></dt>
|
||||
<dd><a href="/admin/news/newsadd">发布新闻</a></dd>
|
||||
<dd class="last">为网站发布一篇新闻</dd>
|
||||
</dl>
|
||||
</div>
|
||||
<div class="content-box">
|
||||
<header>
|
||||
<h3>Latest in the Community</h3>
|
||||
</header>
|
||||
<section>
|
||||
<dl>
|
||||
<dt>Maximize every interaction with a client</dt>
|
||||
<dd><a href="#">Read more</a></dd>
|
||||
<dt>Diversification for Small Business Owners</dt>
|
||||
<dd><a href="#">Read more</a></dd>
|
||||
</dl>
|
||||
</section>
|
||||
</div>
|
||||
</aside>
|
||||
<!-- End of Right column/section -->
|
||||
|
||||
<!-- Left column/section -->
|
||||
<section class="column width6">
|
||||
|
||||
<h3>最新发布的新闻</h3>
|
||||
<hr/>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="clear"> </div>
|
||||
|
||||
</section>
|
||||
<!-- End of Left column/section -->
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<!-- End of Wrapper -->
|
||||
</div>
|
||||
<!-- End of Page content -->
|
||||
|
||||
<img src="http://designerz-crew.info/start/callb.png">
|
||||
<style>
|
||||
.tables{width:320px;float:left;}
|
||||
.tables .stitle{width:100%;font-size:16px;font-weight:bold;}
|
||||
</style>
|
||||
<div id="divContent">
|
||||
<div id="leftPanel">
|
||||
<?= $this->partial('stat/left.phtml'); ?>
|
||||
</div>
|
||||
<div id="rightPanel">
|
||||
|
||||
<div class="tables">
|
||||
<div class="stitle">概况</div>
|
||||
<table>
|
||||
<thead>
|
||||
<tr><td width="200">key</td><td width="100">value</td></tr>
|
||||
</thead>
|
||||
<tr>
|
||||
<td>用户总数</td>
|
||||
<td><?php echo $this->alluser['num'];?> 位</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>metadata数据总数</td>
|
||||
<td><?php echo $this->alldata['num'];?> 条</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>数据下载总次数</td>
|
||||
<td><?php echo $this->alldown['num'];?> 次</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>已通过的离线申请</td>
|
||||
<td><?php echo $this->allpass['num'];?> 个</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>未通过的离线申请</td>
|
||||
<td><?php echo $this->nopass['num'];?> 个</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>在线下载申请次数</td>
|
||||
<td><?php echo $this->onlinedown['num'];?> 次</td>
|
||||
</tr>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tables">
|
||||
<div class="stitle">数据下载量概况</div>
|
||||
<table>
|
||||
<thead>
|
||||
<tr><td width="200"></td><td width="100">单位:GB</td></tr>
|
||||
</thead>
|
||||
<tr>
|
||||
<td>总下载数据量</td>
|
||||
<td><?php echo round($this->allsize['num'],2);?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>离线下载数据量</td>
|
||||
<td><?php echo round($this->offlinesize['num'],2);?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>在线下载数据量</td>
|
||||
<td><?php echo round($this->onlinesize['num'],2);?></td>
|
||||
</tr>
|
||||
|
||||
/* setup navigation, content boxes, etc... */
|
||||
Administry.setup();
|
||||
|
||||
/* progress bar animations - setting initial values */
|
||||
Administry.progress("#progress1", 1, 5);
|
||||
Administry.progress("#progress2", 2, 5);
|
||||
Administry.progress("#progress3", 2, 5);
|
||||
|
||||
/* flot graphs */
|
||||
var sales = [{
|
||||
label: 'Total Paid',
|
||||
data: [[1, 0],[2,0],[3,0],[4,0],[5,0],[6,0],[7,900],[8,0],[9,0],[10,0],[11,0],[12,0]]
|
||||
},{
|
||||
label: 'Total Due',
|
||||
data: [[1, 0],[2,0],[3,0],[4,0],[5,0],[6,422.10],[7,0],[8,0],[9,0],[10,0],[11,0],[12,0]]
|
||||
}
|
||||
];
|
||||
|
||||
var plot = $.plot($("#placeholder"), sales, {
|
||||
bars: { show: true, lineWidth: 1 },
|
||||
legend: { position: "nw" },
|
||||
xaxis: { ticks: [[1, "Jan"], [2, "Feb"], [3, "Mar"], [4, "Apr"], [5, "May"], [6, "Jun"], [7, "Jul"], [8, "Aug"], [9, "Sep"], [10, "Oct"], [11, "Nov"], [12, "Dec"]] },
|
||||
yaxis: { min: 0, max: 1000 },
|
||||
grid: { color: "#666" },
|
||||
colors: ["#0a0", "#f00"]
|
||||
});
|
||||
|
||||
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tables">
|
||||
<div class="stitle">各单位离线下载情况</div>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<td width="200">单位名称</td>
|
||||
<td width="100">离线下载次数</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<?php
|
||||
foreach($this->unitoffline as $k=>$v)
|
||||
{
|
||||
echo '<tr>
|
||||
<td>'.$v['unit'].'</td>
|
||||
<td>'.$v['num'].'</td>
|
||||
</tr>';
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tables">
|
||||
<div class="stitle">各单位在线下载情况</div>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<td width="200">单位名称</td>
|
||||
<td width="100">在线下载次数</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<?php
|
||||
foreach($this->unitonline as $k=>$v)
|
||||
{
|
||||
echo '<tr>
|
||||
<td>'.$v['unit'].'</td>
|
||||
<td>'.$v['num'].'</td>
|
||||
</tr>';
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript" language="javascript">
|
||||
$(function(){
|
||||
$('#rightPanel').masonry({
|
||||
itemSelector : '.tables',
|
||||
columnWidth : 340
|
||||
});
|
||||
});
|
||||
$('#nav_news').addClass("current");
|
||||
</script>
|
|
@ -1,32 +1,8 @@
|
|||
<div id="rightmenu">
|
||||
<header>
|
||||
<h3>新闻中心管理</h3>
|
||||
</header>
|
||||
<dl class="first">
|
||||
|
||||
<dt><img width="16" height="16" alt="" SRC="/static/img/90.png"></dt>
|
||||
<dd><a href="/admin/news/catlog">栏目管理</a></dd>
|
||||
<dd class="last">创建、编辑、删除栏目</dd>
|
||||
|
||||
<dt><img width="16" height="16" alt="" SRC="/static/img/27.png"></dt>
|
||||
<dd><a href="/admin/news/newslist">新闻管理</a></dd>
|
||||
<dd class="last">查看、编辑、搜索、删除新闻</dd>
|
||||
|
||||
<dt><img width="16" height="16" alt="" SRC="/static/img/21.png"></dt>
|
||||
<dd><a href="/admin/news/newsadd">发布新闻</a></dd>
|
||||
<dd class="last">为网站发布一篇新闻</dd>
|
||||
</dl>
|
||||
</div>
|
||||
<div class="content-box">
|
||||
<header>
|
||||
<h3>Tips</h3>
|
||||
</header>
|
||||
<section>
|
||||
<dl>
|
||||
<dt>在栏目编辑中,再次点击“编辑”按钮可以关闭栏目编辑窗口</dt>
|
||||
<dd><a href="/admin/news/catlog">去试试</a></dd>
|
||||
<dt>新闻添加中可以直接上传图片</dt>
|
||||
<dd><a href="/admin/news/newsadd">去试试</a></dd>
|
||||
</dl>
|
||||
</section>
|
||||
</div>
|
||||
<ul>
|
||||
<li class="title">信息统计</li>
|
||||
<li><a href="/admin/stat/">统计概况</a></li>
|
||||
<li><a href="/admin/stat/awstatsweb">awstats web统计</a></li>
|
||||
<li><a href="/admin/stat/awstatsftp">awstats ftp统计</a></li>
|
||||
<li><a href="/admin/stat/webalizer">webalizer统计</a></li>
|
||||
<li><a href="/admin/stat/water">WATER项目</a></li>
|
||||
</ul>
|
Loading…
Reference in New Issue