修改三江源子平台后台UI
This commit is contained in:
parent
d928c3f573
commit
40f2fc8d04
|
@ -2651,11 +2651,10 @@ class Admin_DataController extends Zend_Controller_Action
|
|||
{
|
||||
$uuid = $this->_getParam('uuid');
|
||||
$submit = $this->_getParam('submit');
|
||||
$visual = new Visual\Visual;
|
||||
|
||||
if(!empty($uuid))
|
||||
{
|
||||
$visual = new Visual\Visual;
|
||||
|
||||
$this->_helper->viewRenderer('visual-add');
|
||||
$this->view->data = ['uuid' => $uuid];
|
||||
|
||||
|
@ -2689,6 +2688,9 @@ class Admin_DataController extends Zend_Controller_Action
|
|||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
view::addPaginator($visual->getVisualMetadata(),$this,10);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ class Admin_UserController extends Zend_Controller_Action
|
|||
$paginator->setCurrentPageNumber($this->_getParam('page'));
|
||||
$paginator->setItemCountPerPage(30);
|
||||
$paginator->setView($this->view);
|
||||
Zend_View_Helper_PaginationControl::setDefaultViewPartial('pagination.phtml');
|
||||
Zend_View_Helper_PaginationControl::setDefaultViewPartial('pagination_param.phtml');
|
||||
$this->view->paginator=$paginator;
|
||||
}//listAction
|
||||
|
||||
|
@ -127,7 +127,7 @@ class Admin_UserController extends Zend_Controller_Action
|
|||
$paginator->setCurrentPageNumber($this->_getParam('page'));
|
||||
$paginator->setItemCountPerPage(30);
|
||||
$paginator->setView($this->view);
|
||||
Zend_View_Helper_PaginationControl::setDefaultViewPartial('pagination.phtml');
|
||||
Zend_View_Helper_PaginationControl::setDefaultViewPartial('pagination_param.phtml');
|
||||
$this->view->paginator=$paginator;
|
||||
|
||||
$ac = $this->_getParam('ac');
|
||||
|
|
|
@ -1,11 +1,14 @@
|
|||
<ul class="nav nav-pills nav-stacked well">
|
||||
<span class="label"><h4>数据管理</h4></span>
|
||||
<li><a href="/admin/data/md">元数据管理</a></li>
|
||||
<li><a href="/admin/data/newdata">新建元数据</a></li>
|
||||
<li><a href="/admin/data/author">数据作者管理</a></li>
|
||||
<li><a href="/admin/data/version">数据版本管理</a></li>
|
||||
<li><a href="/admin/data/comment">数据反馈管理</a></li>
|
||||
<li><a href="/admin/data/attachments">数据附件管理</a></li>
|
||||
<li><a href="/admin/data/fund">支持项目</a></li>
|
||||
<li><a href="/admin/data/visual">可视化数据</a></li>
|
||||
</ul>
|
||||
<div class="well" style="padding:8px 0">
|
||||
<ul class="nav nav-list">
|
||||
<li class="nav-header"><h4>数据管理</h4></li>
|
||||
<li class="divider"></li>
|
||||
<li><a href="/admin/data/md">元数据管理</a></li>
|
||||
<li><a href="/admin/data/newdata">新建元数据</a></li>
|
||||
<li><a href="/admin/data/author">数据作者管理</a></li>
|
||||
<li><a href="/admin/data/version">数据版本管理</a></li>
|
||||
<li><a href="/admin/data/comment">数据反馈管理</a></li>
|
||||
<li><a href="/admin/data/attachments">数据附件管理</a></li>
|
||||
<li><a href="/admin/data/fund">支持项目</a></li>
|
||||
<li><a href="/admin/data/visual">可视化数据</a></li>
|
||||
</ul>
|
||||
</div>
|
|
@ -2,7 +2,6 @@
|
|||
$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('<a href="/admin/data">数据管理</a>');
|
||||
|
@ -10,40 +9,51 @@
|
|||
$this->breadcrumb()->setSeparator(' > ');
|
||||
$this->theme->AppendPlus($this,'colorbox');
|
||||
?>
|
||||
<div id="leftPanel">
|
||||
<?= $this->partial('data/left.phtml'); ?>
|
||||
</div>
|
||||
<div id="rightPanel">
|
||||
<?php if ($this->msg or $this->messages) :?>
|
||||
<div id="message">
|
||||
<?php if ($this->msg) : ?>
|
||||
<div class="row-fluid">
|
||||
<div class="span2">
|
||||
<?= $this->partial('data/left.phtml'); ?>
|
||||
</div>
|
||||
<div class="span10">
|
||||
|
||||
<h3>元数据管理</h3>
|
||||
<hr />
|
||||
|
||||
<?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): ?>
|
||||
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
||||
<p><?php echo $msg; ?></p>
|
||||
<?php endforeach;endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endforeach;endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="right_title">元数据管理</div>
|
||||
|
||||
<div class="search">
|
||||
<form action="" method="get">
|
||||
<div class="input-prepend">
|
||||
<div class="search" style="overflow:hidden;">
|
||||
<div class="span6">
|
||||
<form action="" method="get" class="form-search">
|
||||
<div class="input-append">
|
||||
<input type="hidden" name="search" value='1' />
|
||||
<input class="span2 search-query" type="text" name="keyword" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字"/>
|
||||
<input type="submit" class="btn" value="搜索" />
|
||||
<input class="span12" type="text" name="keyword" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字"/>
|
||||
<button type="submit" class="btn">搜索</button>
|
||||
</div>
|
||||
</form>
|
||||
</div><!-- search DIV -->
|
||||
</div>
|
||||
<div class="span6 text-right">
|
||||
<a href="/admin/data/md/down/1">下载全部xml元数据</a>
|
||||
</div>
|
||||
</div><!-- search DIV -->
|
||||
|
||||
<a href="/admin/data/md/down/1">下载全部xml元数据</a>
|
||||
<?php if (count($this->paginator)): ?>
|
||||
<div class="datalist">
|
||||
<ul>
|
||||
<?php foreach ($this->paginator as $item): ?>
|
||||
<li class="well well-small">
|
||||
<?php if (count($this->paginator)): ?>
|
||||
<div class="datalist">
|
||||
<ul class="unstyled">
|
||||
<?php foreach ($this->paginator as $item): ?>
|
||||
<li class="well well-small">
|
||||
<h4><a href="/data/<?= $item['uuid']; ?>" class="title"><?= $item['title']; ?></a></h4>
|
||||
<p>大小:<?= $item['filesize']; ?>M,创建时间:<?= date('Y-m-d',strtotime($item['ts_created'])); ?>,查看:<?= $item['viewed']; ?>次。</p>
|
||||
<?php if($item['author']) :?>
|
||||
<p>数据贡献者:<?= $item['author']; ?></p>
|
||||
<?php endif;?>
|
||||
<p class="content"><?= $item['description']; ?></p>
|
||||
<p>
|
||||
操作:
|
||||
<a href="/service/geonetwork?url=metadata.edit?id=<?= $item['gid']; ?>" target="_blank">编辑</a> |
|
||||
|
@ -65,16 +75,13 @@
|
|||
<a href="/admin/data/fund/uuid/<?php echo $item['uuid'];?>">支持项目</a> |
|
||||
<a href="/admin/data/visual/uuid/<?php echo $item['uuid'];?>">数据可视化</a>
|
||||
</p>
|
||||
<?php if($item['author']) :?>
|
||||
<p>数据贡献者:<?= $item['author']; ?></p>
|
||||
<?php endif;?>
|
||||
<p class="content"><?= $item['description']; ?></p>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php echo $this->paginator; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php echo $this->paginator; ?>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$(".iframe").colorbox({iframe:true, width:"50%", height:"50%"});
|
||||
|
|
|
@ -2,19 +2,38 @@
|
|||
$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('<a href="/admin/data">数据管理</a>');
|
||||
$this->breadcrumb('同步GEONETWORK元数据</a>');
|
||||
$this->breadcrumb()->setSeparator(' > ');
|
||||
?>
|
||||
<div class="row">
|
||||
<div class="span3">
|
||||
<div class="row-fluid">
|
||||
<div class="span2">
|
||||
<?= $this->partial('data/left.phtml'); ?>
|
||||
</div>
|
||||
|
||||
<div class="span9">
|
||||
|
||||
<div class="span10">
|
||||
<?php if (count($this->paginator)): ?>
|
||||
<div class="datalist">
|
||||
<ul class="unstyled">
|
||||
<?php foreach ($this->paginator as $item): ?>
|
||||
<li class="well well-small">
|
||||
<h4><a href="/data/<?= $item['uuid']; ?>" class="title"><?= $item['title']; ?></a></h4>
|
||||
<p>大小:<?= $item['filesize']; ?>M,创建时间:<?= date('Y-m-d',strtotime($item['ts_created'])); ?>。</p>
|
||||
<?php if($item['author']) :?>
|
||||
<p>数据贡献者:<?= $item['author']; ?></p>
|
||||
<?php endif;?>
|
||||
<p class="content"><?= $item['description']; ?></p>
|
||||
<p>
|
||||
操作:
|
||||
<a href="/admin/data/visual/uuid/<?php echo $item['uuid'];?>">编辑可视化要素</a>
|
||||
</p>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php echo $this->paginator; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$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('<a href="/admin/down">申请管理</a>');
|
||||
|
@ -10,53 +9,60 @@
|
|||
$this->breadcrumb()->setSeparator(' > ');
|
||||
$this->headScript()->appendFile('/js/prototype.js');
|
||||
?>
|
||||
<div class="row-fluid">
|
||||
<div class="span2">
|
||||
<?= $this->partial('down/left.phtml'); ?>
|
||||
</div>
|
||||
<div class="span10">
|
||||
|
||||
<div id="leftPanel">
|
||||
<?= $this->partial('down/left.phtml'); ?>
|
||||
</div>
|
||||
<div id="rightPanel">
|
||||
<?php if ($this->msg or $this->messages) :?>
|
||||
<div id="message">
|
||||
<?php if ($this->msg) : ?>
|
||||
<h3><?php if(!empty($this->title)) echo $this->title;?>共 <?php echo $this->count;?> 数据下载记录</h3>
|
||||
<hr />
|
||||
|
||||
<?php if ($this->msg or $this->messages) :?>
|
||||
<div class="alert">
|
||||
<?php if ($this->msg) : ?>
|
||||
<p><?php echo $this->msg; ?></p>
|
||||
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
||||
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
||||
<p><?php echo $msg; ?></p>
|
||||
<?php endforeach;endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endforeach;endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="right_title"><?php if(!empty($this->title)) echo $this->title;?>共 <?php echo $this->count;?> 数据下载记录</div>
|
||||
|
||||
<div class="search">
|
||||
<form action="/admin/down/data/" method="get">
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<form action="/admin/down/data/" method="get" class="form-search">
|
||||
<div class="input-append">
|
||||
<input type="hidden" name="search" value='1' />
|
||||
<ul>
|
||||
<li><label>搜索关键字</label><input type="text" name="keyword" value="<?php echo $this->keyword; ?>" /></li>
|
||||
<li><input type="submit" class="searchbtn" value="搜索" /></li>
|
||||
</ul>
|
||||
<input type="text" name="keyword" value="<?php echo $this->keyword; ?>" class="span8 search-query"/>
|
||||
<button type="submit" class="btn">搜索</button>
|
||||
</div>
|
||||
</form>
|
||||
</div><!-- search DIV -->
|
||||
</div>
|
||||
</div><!-- search DIV -->
|
||||
|
||||
<table><thead>
|
||||
<tr>
|
||||
<td width='350'>数据</td>
|
||||
<td width='150'>下载次数</td>
|
||||
<td width='150'>操作</td>
|
||||
</tr></thead>
|
||||
<?php if (count($this->paginator)): ?>
|
||||
<?php $autoindex=0;?>
|
||||
<?php foreach ($this->paginator as $item): ?>
|
||||
<?php $autoindex++;?>
|
||||
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
||||
<td><a href="/data/<?php echo $item['uuid'];?>" target="_blank"><img src="/images/data.gif" /></a><a href="/admin/down/data/show/<?php echo $item['uuid'];?>"><?php echo $item['title'];?></a></td>
|
||||
<td><?php echo $item['num']; ?></td>
|
||||
<td>
|
||||
<a href='/admin/down/data/show/<?php echo $item['uuid'];?>'>详细</a>
|
||||
<a href="/admin/down/sendmail/uuid/<?php echo $item['uuid'];?>" title="向数据下载者发送通知邮件">邮件通知</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<td width='350'>数据</td>
|
||||
<td width='150'>下载次数</td>
|
||||
<td width='150'>操作</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<?php if (count($this->paginator)): ?>
|
||||
<?php $autoindex=0;?>
|
||||
<?php foreach ($this->paginator as $item): ?>
|
||||
<?php $autoindex++;?>
|
||||
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
||||
<td><a href="/data/<?php echo $item['uuid'];?>" target="_blank"><img src="/images/data.gif" /></a><a href="/admin/down/data/show/<?php echo $item['uuid'];?>"><?php echo $item['title'];?></a></td>
|
||||
<td><?php echo $item['num']; ?></td>
|
||||
<td>
|
||||
<a href='/admin/down/data/show/<?php echo $item['uuid'];?>'>详细</a>
|
||||
<a href="/admin/down/sendmail/uuid/<?php echo $item['uuid'];?>" title="向数据下载者发送通知邮件">邮件通知</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||
</div>
|
||||
</div>
|
|
@ -2,15 +2,16 @@
|
|||
$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('申请管理');
|
||||
$this->breadcrumb()->setSeparator(' > ');
|
||||
?>
|
||||
<div id="leftPanel">
|
||||
<?= $this->partial('down/left.phtml'); ?>
|
||||
</div>
|
||||
<div id="rightPanel">
|
||||
<div class="row-fluid">
|
||||
<div class="span2">
|
||||
<?= $this->partial('down/left.phtml'); ?>
|
||||
</div>
|
||||
<div class="span10">
|
||||
|
||||
</div>
|
||||
</div>
|
|
@ -1,8 +1,11 @@
|
|||
<ul class="nav nav-pills nav-stacked well">
|
||||
<span class="label"><h4>申请管理与记录</h4></span>
|
||||
<li><a href="/admin/down/offlineapp">离线数据申请管理</a></li>
|
||||
<li><a href="/admin/down/offline">离线数据服务记录</a></li>
|
||||
<li><a href="/admin/down/online">在线数据下载记录</a></li>
|
||||
<li><a href="/admin/down/user">用户下载记录</a></li>
|
||||
<li><a href="/admin/down/data">数据下载记录</a></li>
|
||||
</ul>
|
||||
<div class="well" style="padding:8px 0">
|
||||
<ul class="nav nav-list">
|
||||
<li class="nav-header"><h4>申请管理与记录</h4></li>
|
||||
<li class="divider"></li>
|
||||
<li><a href="/admin/down/offlineapp">离线数据申请管理</a></li>
|
||||
<li><a href="/admin/down/offline">离线数据服务记录</a></li>
|
||||
<li><a href="/admin/down/online">在线数据下载记录</a></li>
|
||||
<li><a href="/admin/down/user">用户下载记录</a></li>
|
||||
<li><a href="/admin/down/data">数据下载记录</a></li>
|
||||
</ul>
|
||||
</div>
|
|
@ -15,10 +15,14 @@ table thead tr th {background:#EBF2F6;color:#444;}
|
|||
.high{background:#444;color:#FFF;}
|
||||
</style>
|
||||
<div class="row-fluid">
|
||||
<div class="span3">
|
||||
<div class="span2">
|
||||
<?= $this->partial('down/left.phtml'); ?>
|
||||
</div>
|
||||
<div class="span9">
|
||||
<div class="span10">
|
||||
|
||||
<h3>离线数据服务记录</h3>
|
||||
<hr />
|
||||
|
||||
<?php if ($this->msg or $this->messages) :?>
|
||||
<div id="message">
|
||||
<?php if ($this->msg) : ?>
|
||||
|
@ -28,9 +32,6 @@ table thead tr th {background:#EBF2F6;color:#444;}
|
|||
<?php endforeach;endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<h4>离线数据服务记录</h4>
|
||||
|
||||
<div class="pull-left">
|
||||
<a href="/admin/down/offline/add/1" class="btn btn-info">添加新的离线服务记录</a>
|
||||
<a href="/admin/down/offline/down/1" class="btn btn-info">下载所有离线服务记录</a>
|
||||
|
|
|
@ -11,10 +11,13 @@
|
|||
$this->breadcrumb()->setSeparator(' > ');
|
||||
?>
|
||||
<div class="row-fluid">
|
||||
<div class="span3">
|
||||
<div class="span2">
|
||||
<?= $this->partial('down/left.phtml'); ?>
|
||||
</div>
|
||||
<div class="span9">
|
||||
<div class="span10">
|
||||
<h3>离线数据申请管理</h3>
|
||||
<hr />
|
||||
|
||||
<?php if ($this->msg or $this->messages) :?>
|
||||
<div id="message">
|
||||
<?php if ($this->msg) : ?>
|
||||
|
@ -25,8 +28,6 @@
|
|||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<h4>离线数据申请管理</h4>
|
||||
|
||||
<div style="overflow:hidden">
|
||||
<div class="pull-left">
|
||||
<a href="/admin/down/offlineapp/status/4" class="btn btn-info">已收到的申请</a>
|
||||
|
|
|
@ -2,69 +2,71 @@
|
|||
$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('<a href="/admin/down">申请管理</a>');
|
||||
$this->breadcrumb('在线数据下载记录</a>');
|
||||
$this->breadcrumb()->setSeparator(' > ');
|
||||
?>
|
||||
<div id="leftPanel">
|
||||
<?= $this->partial('down/left.phtml'); ?>
|
||||
</div>
|
||||
<?php if ($this->msg or $this->messages) :?>
|
||||
<div id="message">
|
||||
<?php if ($this->msg) : ?>
|
||||
<div class="row-fluid">
|
||||
<div class="span2">
|
||||
<?= $this->partial('down/left.phtml'); ?>
|
||||
</div>
|
||||
|
||||
<div class="span10">
|
||||
|
||||
<h3><?php if(!empty($this->title)) echo $this->title;?>共有 <?php echo $this->count;?> 条在线下载记录</h3>
|
||||
<hr />
|
||||
|
||||
<?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): ?>
|
||||
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
||||
<p><?php echo $msg; ?></p>
|
||||
<?php endforeach;endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endforeach;endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<div id="rightPanel">
|
||||
|
||||
<div class="right_title"><?php if(!empty($this->title)) echo $this->title;?>共有 <?php echo $this->count;?> 条在线下载记录</div>
|
||||
|
||||
<div class="search">
|
||||
<div class="search">
|
||||
<form action="/admin/down/search/" method="get">
|
||||
<div class="input-append">
|
||||
<input type="hidden" name="search" value='1' />
|
||||
<ul>
|
||||
<li><label>搜索关键字</label><input type="text" name="keyword" value="<?php echo $this->keyword; ?>" /></li>
|
||||
<li><input type="submit" class="searchbtn" value="搜索" /></li>
|
||||
</ul>
|
||||
<input type="text" name="keyword" value="<?php echo $this->keyword; ?>" />
|
||||
<button class="btn" type="submit">搜索</button>
|
||||
</div>
|
||||
</form>
|
||||
</div><!-- search DIV -->
|
||||
</div><!-- search DIV -->
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<td width='100'>姓名</td>
|
||||
<td width='150'>单位</td>
|
||||
<td width='350'>数据</td>
|
||||
<td width='300'>用途</td>
|
||||
<td width='120'>下载时间</td>
|
||||
<td width='100'>操作</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<?php if (count($this->paginator)): ?>
|
||||
<?php $autoindex=0;?>
|
||||
<?php foreach ($this->paginator as $item): ?>
|
||||
<?php $autoindex++;?>
|
||||
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
||||
<td><a href="/admin/user/show/id/<?php echo $item['userid'];?>"><img src="/images/user.gif" /></a><a href="/admin/down/user/show/<?php echo $item['userid'];?>"><?= $item['username']?></a> </td>
|
||||
<td><?= $item['unit']?></td>
|
||||
<td><a href="/data/<?php echo $item['uuid'];?>" target="_blank"><img src="/images/data.gif" /></a><a href="/admin/down/data/show/<?php echo $item['uuid'];?>"><?php echo $item['title'];?></a></td>
|
||||
<td><textarea readonly="readonly" style="width:300px;height:100px;border:none;font-size:12px;<?php if($autoindex%2 == 0) echo 'background:#CCCCCC;'; else echo 'background:#FFF;'; ?>"><?php echo $item['project']; ?></textarea></td>
|
||||
<td><?php echo date('Y-m-d H:i:s', strtotime($item['ts_created'])); ?></td>
|
||||
<td>
|
||||
<a href='/admin/down/online/show/<?php echo $item['id'];?>'>详细</a>
|
||||
<a href='/admin/down/online/delete/<?= $item['id'];?>/' onclick="return confirm('确定将此记录删除?')">删除</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<td width='100'>姓名</td>
|
||||
<td width='150'>单位</td>
|
||||
<td width='350'>数据</td>
|
||||
<td width='300'>用途</td>
|
||||
<td width='120'>下载时间</td>
|
||||
<td width='100'>操作</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<?php if (count($this->paginator)): ?>
|
||||
<?php $autoindex=0;?>
|
||||
<?php foreach ($this->paginator as $item): ?>
|
||||
<?php $autoindex++;?>
|
||||
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
||||
<td><a href="/admin/user/show/id/<?php echo $item['userid'];?>"><img src="/images/user.gif" /></a><a href="/admin/down/user/show/<?php echo $item['userid'];?>"><?= $item['username']?></a> </td>
|
||||
<td><?= $item['unit']?></td>
|
||||
<td><a href="/data/<?php echo $item['uuid'];?>" target="_blank"><img src="/images/data.gif" /></a><a href="/admin/down/data/show/<?php echo $item['uuid'];?>"><?php echo $item['title'];?></a></td>
|
||||
<td><textarea readonly="readonly" style="width:300px;height:100px;border:none;font-size:12px;<?php if($autoindex%2 == 0) echo 'background:#CCCCCC;'; else echo 'background:#FFF;'; ?>"><?php echo $item['project']; ?></textarea></td>
|
||||
<td><?php echo date('Y-m-d H:i:s', strtotime($item['ts_created'])); ?></td>
|
||||
<td>
|
||||
<a href='/admin/down/online/show/<?php echo $item['id'];?>'>详细</a>
|
||||
<a href='/admin/down/online/delete/<?= $item['id'];?>/' onclick="return confirm('确定将此记录删除?')">删除</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||
</div>
|
||||
</div>
|
|
@ -2,7 +2,6 @@
|
|||
$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('<a href="/admin/down">申请管理</a>');
|
||||
|
@ -10,53 +9,59 @@
|
|||
$this->breadcrumb()->setSeparator(' > ');
|
||||
$this->headScript()->appendFile('/js/prototype.js');
|
||||
?>
|
||||
<div id="leftPanel">
|
||||
<?= $this->partial('down/left.phtml'); ?>
|
||||
</div>
|
||||
<div id="rightPanel">
|
||||
<?php if ($this->msg or $this->messages) :?>
|
||||
<div id="message">
|
||||
<?php if ($this->msg) : ?>
|
||||
<div class="row-fluid">
|
||||
<div class="span2">
|
||||
<?= $this->partial('down/left.phtml'); ?>
|
||||
</div>
|
||||
<div class="span10">
|
||||
|
||||
<h3><?php if(!empty($this->title)) echo $this->title;?>共 <?php echo $this->count;?> 数据下载记录</h3>
|
||||
<hr />
|
||||
|
||||
<?php if ($this->msg or $this->messages) :?>
|
||||
<div class="alert">
|
||||
<?php if ($this->msg) : ?>
|
||||
<p><?php echo $this->msg; ?></p>
|
||||
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
||||
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
||||
<p><?php echo $msg; ?></p>
|
||||
<?php endforeach;endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endforeach;endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="right_title"><?php if(!empty($this->title)) echo $this->title;?>共 <?php echo $this->count;?> 数据下载记录</div>
|
||||
|
||||
<div class="search">
|
||||
<form action="/admin/down/user/" method="get">
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<form action="/admin/down/user/" method="get" class="form-search">
|
||||
<div class="input-append">
|
||||
<input type="hidden" name="search" value='1' />
|
||||
<ul>
|
||||
<li><label>搜索关键字</label><input type="text" name="keyword" value="<?php echo $this->keyword; ?>" /></li>
|
||||
<li><input type="submit" class="searchbtn" value="搜索" /></li>
|
||||
</ul>
|
||||
<input type="text" name="keyword" value="<?php echo $this->keyword; ?>" class="span8 search-query"/>
|
||||
<button type="submit" class="btn">搜索</button>
|
||||
</div>
|
||||
</form>
|
||||
</div><!-- search DIV -->
|
||||
</div>
|
||||
</div><!-- search DIV -->
|
||||
|
||||
<table><thead>
|
||||
<tr>
|
||||
<td width='150'>姓名</td>
|
||||
<td width='350'>单位</td>
|
||||
<td width='150'>下载次数</td>
|
||||
<td width='150'>操作</td>
|
||||
</tr></thead>
|
||||
<?php if (count($this->paginator)): ?>
|
||||
<?php $autoindex=0;?>
|
||||
<?php foreach ($this->paginator as $item): ?>
|
||||
<?php $autoindex++;?>
|
||||
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
||||
<td><a href="/admin/user/show/id/<?php echo $item['uid'];?>"><img src="/images/user.gif" /></a> <a href="/admin/down/user/show/<?php echo $item['uid'];?>"><?= $item['realname']?></a> </td>
|
||||
<td><?php echo $item['unit']; ?></td>
|
||||
<td><?php echo $item['num']; ?></td>
|
||||
<td>
|
||||
<a href='/admin/down/user/show/<?php echo $item['uid'];?>'>详细</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||
<table class="table table-hover"><thead>
|
||||
<tr>
|
||||
<td width='150'>姓名</td>
|
||||
<td width='350'>单位</td>
|
||||
<td width='150'>下载次数</td>
|
||||
<td width='150'>操作</td>
|
||||
</tr></thead>
|
||||
<?php if (count($this->paginator)): ?>
|
||||
<?php $autoindex=0;?>
|
||||
<?php foreach ($this->paginator as $item): ?>
|
||||
<?php $autoindex++;?>
|
||||
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
||||
<td><a href="/admin/user/show/id/<?php echo $item['uid'];?>"><img src="/images/user.gif" /></a> <a href="/admin/down/user/show/<?php echo $item['uid'];?>"><?= $item['realname']?></a> </td>
|
||||
<td><?php echo $item['unit']; ?></td>
|
||||
<td><?php echo $item['num']; ?></td>
|
||||
<td>
|
||||
<a href='/admin/down/user/show/<?php echo $item['uid'];?>'>详细</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||
</div>
|
||||
</div>
|
|
@ -2,7 +2,6 @@
|
|||
$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');
|
||||
|
@ -10,13 +9,25 @@
|
|||
$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('news/left.phtml'); ?>
|
||||
<?= $this->partial('stat/left.phtml'); ?>
|
||||
<div class="row-fluid">
|
||||
<div class="span2">
|
||||
<?= $this->partial('data/left.phtml'); ?>
|
||||
</div>
|
||||
<div class="span2">
|
||||
<?= $this->partial('down/left.phtml'); ?>
|
||||
</div>
|
||||
<div class="span2">
|
||||
<?= $this->partial('user/left.phtml'); ?>
|
||||
</div>
|
||||
<div class="span2">
|
||||
<?= $this->partial('review/left.phtml'); ?>
|
||||
</div>
|
||||
<div class="span2">
|
||||
<?= $this->partial('news/left.phtml'); ?>
|
||||
</div>
|
||||
<div class="span2">
|
||||
<?= $this->partial('stat/left.phtml'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<!--
|
||||
<script>
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
$this->headTitle('后台管理');
|
||||
$this->headTitle()->setSeparator(' - ');
|
||||
$this->headScript()->appendFile('/js/jquery-1.7.min.js');
|
||||
$this->headLink()->appendStylesheet('/css/admin.css');
|
||||
$this->breadcrumb('<a href="/">首页</a>');
|
||||
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
||||
$this->breadcrumb('<a href="/admin/news">新闻中心</a>');
|
||||
|
@ -12,27 +11,20 @@
|
|||
.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; ?>
|
||||
<div class="row-fluid">
|
||||
<div class="span2">
|
||||
<?= $this->partial('news/left.phtml'); ?>
|
||||
</div>
|
||||
<div class="span10">
|
||||
|
||||
<h3>统计</h3>
|
||||
<hr/>
|
||||
<ul>
|
||||
<ul class="unstyled">
|
||||
<li>共 <?php echo $this->totle['c'];?> 条档案</li>
|
||||
<li>栏目 <?php echo $this->typec['c'];?> 个</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$('.title').bind('click', function() {
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<ul class="nav nav-pills nav-stacked well">
|
||||
<span class="label"><h4>新闻中心</h4></span>
|
||||
<li><a href="/admin/news">新闻中心首页</a></li>
|
||||
<li><a href="/admin/news/newslist">新闻管理</a></li>
|
||||
<li><a href="/admin/news/newsadd">新闻发布</a></li>
|
||||
</ul>
|
||||
<div class="well" style="padding:8px 0">
|
||||
<ul class="nav nav-list">
|
||||
<li class="nav-header"><h4>新闻中心</h4></li>
|
||||
<li class="divider"></li>
|
||||
<li><a href="/admin/news">新闻中心首页</a></li>
|
||||
<li><a href="/admin/news/newslist">新闻管理</a></li>
|
||||
<li><a href="/admin/news/newsadd">新闻发布</a></li>
|
||||
</ul>
|
||||
</div>
|
|
@ -2,7 +2,6 @@
|
|||
$this->headTitle($this->config->title->site);
|
||||
$this->headTitle('后台管理');
|
||||
$this->headTitle()->setSeparator(' - ');
|
||||
$this->headLink()->appendStylesheet('/css/admin.css');
|
||||
$this->headScript()->appendFile('/js/jquery.colorbox-min.js');
|
||||
$this->headLink()->appendStylesheet('/css/author.css');
|
||||
$this->headLink()->appendStylesheet('/css/colorbox.css');
|
||||
|
@ -18,21 +17,29 @@
|
|||
<script>
|
||||
$('#divFooter').css('position','absolute');
|
||||
</script>
|
||||
<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) : ?>
|
||||
<div class="row-fluid">
|
||||
<div class="span2">
|
||||
<?= $this->partial('news/left.phtml'); ?>
|
||||
</div>
|
||||
|
||||
<div class="span10">
|
||||
|
||||
<h3>新闻管理</h3>
|
||||
<hr />
|
||||
|
||||
<?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): ?>
|
||||
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
||||
<p><?php echo $msg; ?></p>
|
||||
<?php endforeach;endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div>
|
||||
<select id="navigation">
|
||||
<?php endforeach;endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div>
|
||||
|
||||
<select id="navigation">
|
||||
<option>按栏目查看</option>
|
||||
<?php
|
||||
if(count($this->types))
|
||||
|
@ -49,11 +56,11 @@ $('#divFooter').css('position','absolute');
|
|||
}
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
|
||||
<a href="/admin/news/newslist">所有新闻列表</a>
|
||||
</div>
|
||||
<table id="report" class="stylized full">
|
||||
</select>
|
||||
|
||||
<a href="/admin/news/newslist">所有新闻列表</a>
|
||||
</div>
|
||||
<table id="report" class="table table-bordered table-striped table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="50%">新闻标题</th>
|
||||
|
@ -116,6 +123,7 @@ $('#divFooter').css('position','absolute');
|
|||
</table>
|
||||
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$('.title').bind('click', function() {
|
||||
|
|
|
@ -2,28 +2,29 @@
|
|||
$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('元数据评审');
|
||||
$this->breadcrumb()->setSeparator(' > ');
|
||||
?>
|
||||
<div id="leftPanel">
|
||||
<?= $this->partial('review/left.phtml'); ?>
|
||||
</div>
|
||||
<div id="rightPanel">
|
||||
<?php if ($this->msg or $this->messages) :?>
|
||||
<div id="message">
|
||||
<?php if ($this->msg) : ?>
|
||||
<div class="row-fluid">
|
||||
<div class="span2">
|
||||
<?= $this->partial('review/left.phtml'); ?>
|
||||
</div>
|
||||
<div class="span10">
|
||||
<?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): ?>
|
||||
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
||||
<p><?php echo $msg; ?></p>
|
||||
<?php endforeach;endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endforeach;endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
最近十条元数据
|
||||
<table><thead>
|
||||
<h3>最近十条元数据</h3>
|
||||
<hr />
|
||||
<table class="table table-bordered"><thead>
|
||||
<tr>
|
||||
<td width='500'>元数据标题</td>
|
||||
<td width='150'>管理员</td>
|
||||
|
@ -42,8 +43,9 @@
|
|||
<?php endif; ?>
|
||||
</table>
|
||||
<br />
|
||||
我管理的最近十条元数据
|
||||
<table><thead>
|
||||
<h3>我管理的最近十条元数据</h3>
|
||||
<hr />
|
||||
<table class="table table-bordered"><thead>
|
||||
<tr>
|
||||
<td width='500'>元数据标题</td>
|
||||
<td width='150'>状态</td>
|
||||
|
@ -59,4 +61,5 @@
|
|||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
|
@ -1,5 +1,7 @@
|
|||
<ul class="nav nav-pills nav-stacked well">
|
||||
<span class="label"><h4>元数据评审</h4></span>
|
||||
<div class="well" style="padding:8px 0">
|
||||
<ul class="nav nav-list">
|
||||
<li class="nav-header"><h4>元数据评审</h4></li>
|
||||
<li class="divider"></li>
|
||||
<li id="Nav-review-draft"><a href="/admin/review/draft">投稿元数据</a></li>
|
||||
<li id="Nav-review-editor"><a href="/admin/review/editor">分配责任编辑</a></li>
|
||||
<li id="Nav-review-accept"><a href="/admin/review/accept">待审元数据</a></li>
|
||||
|
@ -9,4 +11,5 @@
|
|||
<li id="Nav-review-experts"><a href="/admin/review/experts">专家库</a></li>
|
||||
<li id="Nav-review-canceled"><a href="/admin/review/canceled">已取消评审的元数据</a></li>
|
||||
<li id="Nav-review-comments"><a href="/admin/review/comments">元数据评审管理</a></li>
|
||||
</ul>
|
||||
</ul>
|
||||
</div>
|
|
@ -2,20 +2,23 @@
|
|||
$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');
|
||||
?>
|
||||
<div id="leftPanel">
|
||||
<?= $this->partial('stat/left.phtml'); ?>
|
||||
</div>
|
||||
<div id="rightPanel">
|
||||
<div class="tables">
|
||||
<div class="stitle">概况</div>
|
||||
<table>
|
||||
<div class="row-fluid">
|
||||
<div class="span2">
|
||||
<?= $this->partial('stat/left.phtml'); ?>
|
||||
</div>
|
||||
<div class="span10">
|
||||
<div class="row-fluid">
|
||||
<div class="span6">
|
||||
<h3>概况</h3>
|
||||
<hr />
|
||||
|
||||
<table class="table table-bordered">
|
||||
<tr>
|
||||
<td>用户总数:</td>
|
||||
<td><?php echo $this->stat['alluser']; ?>人</td>
|
||||
|
@ -51,9 +54,10 @@
|
|||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tables">
|
||||
<div class="stitle">数据下载量概况</div>
|
||||
<table>
|
||||
<div class="span6">
|
||||
<h3>数据下载量概况</h3>
|
||||
<hr />
|
||||
<table class="table table-bordered">
|
||||
<thead>
|
||||
<tr><td width="200"></td><td width="100">单位:GB</td></tr>
|
||||
</thead>
|
||||
|
@ -73,4 +77,5 @@
|
|||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
<ul class="nav nav-pills nav-stacked well">
|
||||
<span class="label"><h4>信息统计</h4></span>
|
||||
<li><a href="/admin/stat/">统计概况</a></li>
|
||||
<li><a href="/admin/stat/unit">分单位统计</a></li>
|
||||
<li><a href="/admin/stat/month">分月统计</a></li>
|
||||
<li><a href="/admin/stat/user">按用户统计</a></li>
|
||||
</ul>
|
||||
<div class="well" style="padding:8px 0">
|
||||
<ul class="nav nav-list">
|
||||
<li class="nav-header"><h4>信息统计</h4></li>
|
||||
<li class="divider"></li>
|
||||
<li><a href="/admin/stat/">统计概况</a></li>
|
||||
<li><a href="/admin/stat/unit">分单位统计</a></li>
|
||||
<li><a href="/admin/stat/month">分月统计</a></li>
|
||||
<li><a href="/admin/stat/user">按用户统计</a></li>
|
||||
</ul>
|
||||
</div>
|
|
@ -2,45 +2,47 @@
|
|||
$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('<a href="/admin/user">用户管理</a>');
|
||||
$this->breadcrumb()->setSeparator(' > ');
|
||||
?>
|
||||
<div id="leftPanel">
|
||||
<?= $this->partial('user/left.phtml'); ?>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<div class="span2">
|
||||
<?= $this->partial('user/left.phtml'); ?>
|
||||
</div>
|
||||
|
||||
<div id="rightPanel">
|
||||
<div class="title">管理员列表</div>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<td width='150'>用户名</td>
|
||||
<td width='250'>电子邮箱</td>
|
||||
<td width='100'>用户类型</td>
|
||||
<td width='150'>真实姓名</td>
|
||||
<td width='150'>电话</td>
|
||||
<td width='150'>操作</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<?php if (count($this->paginator)): ?>
|
||||
<?php $autoindex=0;?>
|
||||
<?php foreach ($this->paginator as $item): ?>
|
||||
<?php $autoindex++;?>
|
||||
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
||||
<td><?= $item['username']?></td>
|
||||
<td><?= $item['email']; ?></td>
|
||||
<td><?= $item['usertype']; ?></td>
|
||||
<td><?= $item['realname']; ?></td>
|
||||
<td><?= $item['phone']; ?></td>
|
||||
<td>
|
||||
<a href='/admin/user/show/id/<?= $item['id'];?>'>查看详细</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||
<div class="span10">
|
||||
<h3>管理员列表</h3>
|
||||
<hr />
|
||||
<table class="table table-bordered table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<td width='150'>用户名</td>
|
||||
<td width='250'>电子邮箱</td>
|
||||
<td width='100'>用户类型</td>
|
||||
<td width='150'>真实姓名</td>
|
||||
<td width='150'>电话</td>
|
||||
<td width='150'>操作</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<?php if (count($this->paginator)): ?>
|
||||
<?php $autoindex=0;?>
|
||||
<?php foreach ($this->paginator as $item): ?>
|
||||
<?php $autoindex++;?>
|
||||
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
||||
<td><?= $item['username']?></td>
|
||||
<td><?= $item['email']; ?></td>
|
||||
<td><?= $item['usertype']; ?></td>
|
||||
<td><?= $item['realname']; ?></td>
|
||||
<td><?= $item['phone']; ?></td>
|
||||
<td>
|
||||
<a href='/admin/user/show/id/<?= $item['id'];?>'>查看详细</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||
</div>
|
||||
</div>
|
|
@ -7,11 +7,11 @@
|
|||
$this->breadcrumb()->setSeparator(' > ');
|
||||
?>
|
||||
<div class="row-fluid">
|
||||
<div class="span3">
|
||||
<div class="span2">
|
||||
<?= $this->partial('user/left.phtml'); ?>
|
||||
</div>
|
||||
|
||||
<div class="span9">
|
||||
<div class="span10">
|
||||
<h3>用户总数: <?php echo $this->su['total'];?>,其中管理员: <?php echo $this->suadmin['total'];?></h3>
|
||||
<hr />
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<ul class="nav nav-pills nav-stacked well">
|
||||
<span class="label"><h4>用户管理</h4></span>
|
||||
<div class="well" style="padding:8px 0">
|
||||
<ul class="nav nav-list">
|
||||
<li class="nav-header"><h4>用户管理</h4></li>
|
||||
<li class="divider"></li>
|
||||
<li><a href="/admin/user/">用户管理首页</a></li>
|
||||
<li><a href="/admin/user/adminlist">管理员列表</a></li>
|
||||
<li><a href="/admin/user/list">查看所有账户</a></li>
|
||||
</ul>
|
||||
</ul>
|
||||
</div>
|
|
@ -8,11 +8,11 @@
|
|||
$this->breadcrumb()->setSeparator(' > ');
|
||||
?>
|
||||
<div class="row-fluid">
|
||||
<div class="span3">
|
||||
<div class="span2">
|
||||
<?= $this->partial('user/left.phtml'); ?>
|
||||
</div>
|
||||
|
||||
<div class="span9">
|
||||
<div class="span10">
|
||||
<h3>用户列表</h3>
|
||||
<hr />
|
||||
<?php if ($this->msg or $this->messages) :?>
|
||||
|
|
Loading…
Reference in New Issue