修改三江源子平台后台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');
|
$uuid = $this->_getParam('uuid');
|
||||||
$submit = $this->_getParam('submit');
|
$submit = $this->_getParam('submit');
|
||||||
|
$visual = new Visual\Visual;
|
||||||
|
|
||||||
if(!empty($uuid))
|
if(!empty($uuid))
|
||||||
{
|
{
|
||||||
$visual = new Visual\Visual;
|
|
||||||
|
|
||||||
$this->_helper->viewRenderer('visual-add');
|
$this->_helper->viewRenderer('visual-add');
|
||||||
$this->view->data = ['uuid' => $uuid];
|
$this->view->data = ['uuid' => $uuid];
|
||||||
|
|
||||||
|
@ -2689,6 +2688,9 @@ class Admin_DataController extends Zend_Controller_Action
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
view::addPaginator($visual->getVisualMetadata(),$this,10);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,11 +1,14 @@
|
||||||
<ul class="nav nav-pills nav-stacked well">
|
<div class="well" style="padding:8px 0">
|
||||||
<span class="label"><h4>数据管理</h4></span>
|
<ul class="nav nav-list">
|
||||||
<li><a href="/admin/data/md">元数据管理</a></li>
|
<li class="nav-header"><h4>数据管理</h4></li>
|
||||||
<li><a href="/admin/data/newdata">新建元数据</a></li>
|
<li class="divider"></li>
|
||||||
<li><a href="/admin/data/author">数据作者管理</a></li>
|
<li><a href="/admin/data/md">元数据管理</a></li>
|
||||||
<li><a href="/admin/data/version">数据版本管理</a></li>
|
<li><a href="/admin/data/newdata">新建元数据</a></li>
|
||||||
<li><a href="/admin/data/comment">数据反馈管理</a></li>
|
<li><a href="/admin/data/author">数据作者管理</a></li>
|
||||||
<li><a href="/admin/data/attachments">数据附件管理</a></li>
|
<li><a href="/admin/data/version">数据版本管理</a></li>
|
||||||
<li><a href="/admin/data/fund">支持项目</a></li>
|
<li><a href="/admin/data/comment">数据反馈管理</a></li>
|
||||||
<li><a href="/admin/data/visual">可视化数据</a></li>
|
<li><a href="/admin/data/attachments">数据附件管理</a></li>
|
||||||
</ul>
|
<li><a href="/admin/data/fund">支持项目</a></li>
|
||||||
|
<li><a href="/admin/data/visual">可视化数据</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
|
@ -1,85 +1,92 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle('后台管理');
|
$this->headTitle('后台管理');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/admin.css');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
||||||
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
$this->breadcrumb('<a href="/admin/data">数据管理</a>');
|
||||||
$this->breadcrumb('<a href="/admin/data">数据管理</a>');
|
$this->breadcrumb('元数据管理</a>');
|
||||||
$this->breadcrumb('元数据管理</a>');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->theme->AppendPlus($this,'colorbox');
|
||||||
$this->theme->AppendPlus($this,'colorbox');
|
?>
|
||||||
?>
|
<div class="row-fluid">
|
||||||
<div id="leftPanel">
|
<div class="span2">
|
||||||
<?= $this->partial('data/left.phtml'); ?>
|
<?= $this->partial('data/left.phtml'); ?>
|
||||||
</div>
|
</div>
|
||||||
<div id="rightPanel">
|
<div class="span10">
|
||||||
<?php if ($this->msg or $this->messages) :?>
|
|
||||||
<div id="message">
|
<h3>元数据管理</h3>
|
||||||
<?php if ($this->msg) : ?>
|
<hr />
|
||||||
<p><?php echo $this->msg; ?></p>
|
|
||||||
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
<?php if ($this->msg or $this->messages) :?>
|
||||||
<p><?php echo $msg; ?></p>
|
<div id="message">
|
||||||
<?php endforeach;endif; ?>
|
<?php if ($this->msg) : ?>
|
||||||
</div>
|
<p><?php echo $this->msg; ?></p>
|
||||||
<?php endif; ?>
|
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
||||||
|
<p><?php echo $msg; ?></p>
|
||||||
<div class="right_title">元数据管理</div>
|
<?php endforeach;endif; ?>
|
||||||
|
</div>
|
||||||
<div class="search">
|
<?php endif; ?>
|
||||||
<form action="" method="get">
|
|
||||||
<div class="input-prepend">
|
<div class="search" style="overflow:hidden;">
|
||||||
<input type="hidden" name="search" value='1' />
|
<div class="span6">
|
||||||
<input class="span2 search-query" type="text" name="keyword" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字"/>
|
<form action="" method="get" class="form-search">
|
||||||
<input type="submit" class="btn" value="搜索" />
|
<div class="input-append">
|
||||||
</div>
|
<input type="hidden" name="search" value='1' />
|
||||||
</form>
|
<input class="span12" type="text" name="keyword" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字"/>
|
||||||
</div><!-- search DIV -->
|
<button type="submit" class="btn">搜索</button>
|
||||||
|
</div>
|
||||||
<a href="/admin/data/md/down/1">下载全部xml元数据</a>
|
</form>
|
||||||
<?php if (count($this->paginator)): ?>
|
</div>
|
||||||
<div class="datalist">
|
<div class="span6 text-right">
|
||||||
<ul>
|
<a href="/admin/data/md/down/1">下载全部xml元数据</a>
|
||||||
<?php foreach ($this->paginator as $item): ?>
|
</div>
|
||||||
<li class="well well-small">
|
</div><!-- search DIV -->
|
||||||
<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 (count($this->paginator)): ?>
|
||||||
<p>
|
<div class="datalist">
|
||||||
操作:
|
<ul class="unstyled">
|
||||||
<a href="/service/geonetwork?url=metadata.edit?id=<?= $item['gid']; ?>" target="_blank">编辑</a> |
|
<?php foreach ($this->paginator as $item): ?>
|
||||||
<a href="/admin/data/md/delete/<?= $item['uuid']; ?>">删除</a> |
|
<li class="well well-small">
|
||||||
<a href="/admin/data/md/att/1/uuid/<?php echo $item['uuid'];?>">附件管理</a> |
|
<h4><a href="/data/<?= $item['uuid']; ?>" class="title"><?= $item['title']; ?></a></h4>
|
||||||
<a href="/admin/data/comment/uuid/<?php echo $item['uuid'];?>">反馈管理</a> |
|
<p>大小:<?= $item['filesize']; ?>M,创建时间:<?= date('Y-m-d',strtotime($item['ts_created'])); ?>,查看:<?= $item['viewed']; ?>次。</p>
|
||||||
<a href="/admin/data/author/uuid/<?php echo $item['uuid'];?>">作者管理</a> |
|
<?php if($item['author']) :?>
|
||||||
<a href="/admin/data/version/uuid/<?php echo $item['uuid'];?>">版本管理</a> |
|
<p>数据贡献者:<?= $item['author']; ?></p>
|
||||||
<?php if (@!is_numeric($item['mdstatus'])) : ?>
|
<?php endif;?>
|
||||||
<a href="/admin/review/addon/uuid/<?php echo $item['uuid'];?>">放入元数据评审</a> |
|
<p class="content"><?= $item['description']; ?></p>
|
||||||
<?php endif; ?>
|
<p>
|
||||||
<?php if(!empty($item['datasetid'])):?>
|
操作:
|
||||||
<a href="/admin/data/dataset/ac/getdataset/uuid/<?php echo $item['uuid'];?>" class="iframe">数据路径</a> |
|
<a href="/service/geonetwork?url=metadata.edit?id=<?= $item['gid']; ?>" target="_blank">编辑</a> |
|
||||||
<a href="/admin/data/dataset/ac/import/uuid/<?php echo $item['uuid'];?>" class="iframe">重新导入数据目录</a> |
|
<a href="/admin/data/md/delete/<?= $item['uuid']; ?>">删除</a> |
|
||||||
<?php else: ?>
|
<a href="/admin/data/md/att/1/uuid/<?php echo $item['uuid'];?>">附件管理</a> |
|
||||||
<a href="/admin/data/dataset/ac/getdataset/uuid/<?php echo $item['uuid'];?>" class="iframe">设置数据路径</a> |
|
<a href="/admin/data/comment/uuid/<?php echo $item['uuid'];?>">反馈管理</a> |
|
||||||
<?php endif;?>
|
<a href="/admin/data/author/uuid/<?php echo $item['uuid'];?>">作者管理</a> |
|
||||||
<a href="/admin/down/sendmail/uuid/<?php echo $item['uuid'];?>" title="向数据下载者发送通知邮件">邮件通知</a> |
|
<a href="/admin/data/version/uuid/<?php echo $item['uuid'];?>">版本管理</a> |
|
||||||
<a href="/admin/data/fund/uuid/<?php echo $item['uuid'];?>">支持项目</a> |
|
<?php if (@!is_numeric($item['mdstatus'])) : ?>
|
||||||
<a href="/admin/data/visual/uuid/<?php echo $item['uuid'];?>">数据可视化</a>
|
<a href="/admin/review/addon/uuid/<?php echo $item['uuid'];?>">放入元数据评审</a> |
|
||||||
</p>
|
<?php endif; ?>
|
||||||
<?php if($item['author']) :?>
|
<?php if(!empty($item['datasetid'])):?>
|
||||||
<p>数据贡献者:<?= $item['author']; ?></p>
|
<a href="/admin/data/dataset/ac/getdataset/uuid/<?php echo $item['uuid'];?>" class="iframe">数据路径</a> |
|
||||||
<?php endif;?>
|
<a href="/admin/data/dataset/ac/import/uuid/<?php echo $item['uuid'];?>" class="iframe">重新导入数据目录</a> |
|
||||||
<p class="content"><?= $item['description']; ?></p>
|
<?php else: ?>
|
||||||
</li>
|
<a href="/admin/data/dataset/ac/getdataset/uuid/<?php echo $item['uuid'];?>" class="iframe">设置数据路径</a> |
|
||||||
<?php endforeach; ?>
|
<?php endif;?>
|
||||||
</ul>
|
<a href="/admin/down/sendmail/uuid/<?php echo $item['uuid'];?>" title="向数据下载者发送通知邮件">邮件通知</a> |
|
||||||
</div>
|
<a href="/admin/data/fund/uuid/<?php echo $item['uuid'];?>">支持项目</a> |
|
||||||
<?php endif; ?>
|
<a href="/admin/data/visual/uuid/<?php echo $item['uuid'];?>">数据可视化</a>
|
||||||
<?php echo $this->paginator; ?>
|
</p>
|
||||||
</div>
|
</li>
|
||||||
<script>
|
<?php endforeach; ?>
|
||||||
$(".iframe").colorbox({iframe:true, width:"50%", height:"50%"});
|
</ul>
|
||||||
$(".inline").colorbox({inline:true, width:"50%"});
|
</div>
|
||||||
function Alert(html){
|
<?php endif; ?>
|
||||||
$.colorbox({'innerWidth':'50%','html':'<h4 style="font-size:16px;font-weight:bold;">'+html+'</h4>'});
|
<?php echo $this->paginator; ?>
|
||||||
}
|
</div>
|
||||||
|
</div>
|
||||||
|
<script>
|
||||||
|
$(".iframe").colorbox({iframe:true, width:"50%", height:"50%"});
|
||||||
|
$(".inline").colorbox({inline:true, width:"50%"});
|
||||||
|
function Alert(html){
|
||||||
|
$.colorbox({'innerWidth':'50%','html':'<h4 style="font-size:16px;font-weight:bold;">'+html+'</h4>'});
|
||||||
|
}
|
||||||
</script>
|
</script>
|
|
@ -1,20 +1,39 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle('后台管理');
|
$this->headTitle('后台管理');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/admin.css');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
||||||
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
$this->breadcrumb('<a href="/admin/data">数据管理</a>');
|
||||||
$this->breadcrumb('<a href="/admin/data">数据管理</a>');
|
$this->breadcrumb('同步GEONETWORK元数据</a>');
|
||||||
$this->breadcrumb('同步GEONETWORK元数据</a>');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
?>
|
||||||
?>
|
<div class="row-fluid">
|
||||||
<div class="row">
|
<div class="span2">
|
||||||
<div class="span3">
|
<?= $this->partial('data/left.phtml'); ?>
|
||||||
<?= $this->partial('data/left.phtml'); ?>
|
</div>
|
||||||
</div>
|
|
||||||
|
<div class="span10">
|
||||||
<div class="span9">
|
<?php if (count($this->paginator)): ?>
|
||||||
|
<div class="datalist">
|
||||||
</div>
|
<ul class="unstyled">
|
||||||
</div>
|
<?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>
|
||||||
|
|
|
@ -1,62 +1,68 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle('后台管理');
|
$this->headTitle('后台管理');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/admin.css');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/admin">后台管理首页</a>');
|
||||||
$this->breadcrumb('<a href="/admin">后台管理首页</a>');
|
$this->breadcrumb('<a href="/admin/down">申请管理</a>');
|
||||||
$this->breadcrumb('<a href="/admin/down">申请管理</a>');
|
$this->breadcrumb('在线下载记录');
|
||||||
$this->breadcrumb('在线下载记录');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->headScript()->appendFile('/js/prototype.js');
|
||||||
$this->headScript()->appendFile('/js/prototype.js');
|
?>
|
||||||
?>
|
<div class="row-fluid">
|
||||||
|
<div class="span2">
|
||||||
<div id="leftPanel">
|
<?= $this->partial('down/left.phtml'); ?>
|
||||||
<?= $this->partial('down/left.phtml'); ?>
|
</div>
|
||||||
</div>
|
<div class="span10">
|
||||||
<div id="rightPanel">
|
|
||||||
<?php if ($this->msg or $this->messages) :?>
|
<h3><?php if(!empty($this->title)) echo $this->title;?>共 <?php echo $this->count;?> 数据下载记录</h3>
|
||||||
<div id="message">
|
<hr />
|
||||||
<?php if ($this->msg) : ?>
|
|
||||||
<p><?php echo $this->msg; ?></p>
|
<?php if ($this->msg or $this->messages) :?>
|
||||||
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
<div class="alert">
|
||||||
<p><?php echo $msg; ?></p>
|
<?php if ($this->msg) : ?>
|
||||||
<?php endforeach;endif; ?>
|
<p><?php echo $this->msg; ?></p>
|
||||||
</div>
|
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
||||||
<?php endif; ?>
|
<p><?php echo $msg; ?></p>
|
||||||
|
<?php endforeach;endif; ?>
|
||||||
<div class="right_title"><?php if(!empty($this->title)) echo $this->title;?>共 <?php echo $this->count;?> 数据下载记录</div>
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
<div class="search">
|
|
||||||
<form action="/admin/down/data/" method="get">
|
<div class="row-fluid">
|
||||||
<input type="hidden" name="search" value='1' />
|
<div class="span12">
|
||||||
<ul>
|
<form action="/admin/down/data/" method="get" class="form-search">
|
||||||
<li><label>搜索关键字</label><input type="text" name="keyword" value="<?php echo $this->keyword; ?>" /></li>
|
<div class="input-append">
|
||||||
<li><input type="submit" class="searchbtn" value="搜索" /></li>
|
<input type="hidden" name="search" value='1' />
|
||||||
</ul>
|
<input type="text" name="keyword" value="<?php echo $this->keyword; ?>" class="span8 search-query"/>
|
||||||
</form>
|
<button type="submit" class="btn">搜索</button>
|
||||||
</div><!-- search DIV -->
|
</div>
|
||||||
|
</form>
|
||||||
<table><thead>
|
</div>
|
||||||
<tr>
|
</div><!-- search DIV -->
|
||||||
<td width='350'>数据</td>
|
|
||||||
<td width='150'>下载次数</td>
|
<table class="table table-hover">
|
||||||
<td width='150'>操作</td>
|
<thead>
|
||||||
</tr></thead>
|
<tr>
|
||||||
<?php if (count($this->paginator)): ?>
|
<td width='350'>数据</td>
|
||||||
<?php $autoindex=0;?>
|
<td width='150'>下载次数</td>
|
||||||
<?php foreach ($this->paginator as $item): ?>
|
<td width='150'>操作</td>
|
||||||
<?php $autoindex++;?>
|
</tr>
|
||||||
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
</thead>
|
||||||
<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>
|
<?php if (count($this->paginator)): ?>
|
||||||
<td><?php echo $item['num']; ?></td>
|
<?php $autoindex=0;?>
|
||||||
<td>
|
<?php foreach ($this->paginator as $item): ?>
|
||||||
<a href='/admin/down/data/show/<?php echo $item['uuid'];?>'>详细</a>
|
<?php $autoindex++;?>
|
||||||
<a href="/admin/down/sendmail/uuid/<?php echo $item['uuid'];?>" title="向数据下载者发送通知邮件">邮件通知</a>
|
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
||||||
</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>
|
||||||
</tr>
|
<td><?php echo $item['num']; ?></td>
|
||||||
<?php endforeach; ?>
|
<td>
|
||||||
<?php endif; ?>
|
<a href='/admin/down/data/show/<?php echo $item['uuid'];?>'>详细</a>
|
||||||
</table>
|
<a href="/admin/down/sendmail/uuid/<?php echo $item['uuid'];?>" title="向数据下载者发送通知邮件">邮件通知</a>
|
||||||
<div class="pagenavi"><?= $this->paginator; ?></div>
|
</td>
|
||||||
|
</tr>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
<?php endif; ?>
|
||||||
|
</table>
|
||||||
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
|
@ -2,15 +2,16 @@
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle('后台管理');
|
$this->headTitle('后台管理');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/admin.css');
|
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
||||||
$this->breadcrumb('申请管理');
|
$this->breadcrumb('申请管理');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
?>
|
?>
|
||||||
<div id="leftPanel">
|
<div class="row-fluid">
|
||||||
<?= $this->partial('down/left.phtml'); ?>
|
<div class="span2">
|
||||||
</div>
|
<?= $this->partial('down/left.phtml'); ?>
|
||||||
<div id="rightPanel">
|
</div>
|
||||||
|
<div class="span10">
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
|
@ -1,8 +1,11 @@
|
||||||
<ul class="nav nav-pills nav-stacked well">
|
<div class="well" style="padding:8px 0">
|
||||||
<span class="label"><h4>申请管理与记录</h4></span>
|
<ul class="nav nav-list">
|
||||||
<li><a href="/admin/down/offlineapp">离线数据申请管理</a></li>
|
<li class="nav-header"><h4>申请管理与记录</h4></li>
|
||||||
<li><a href="/admin/down/offline">离线数据服务记录</a></li>
|
<li class="divider"></li>
|
||||||
<li><a href="/admin/down/online">在线数据下载记录</a></li>
|
<li><a href="/admin/down/offlineapp">离线数据申请管理</a></li>
|
||||||
<li><a href="/admin/down/user">用户下载记录</a></li>
|
<li><a href="/admin/down/offline">离线数据服务记录</a></li>
|
||||||
<li><a href="/admin/down/data">数据下载记录</a></li>
|
<li><a href="/admin/down/online">在线数据下载记录</a></li>
|
||||||
</ul>
|
<li><a href="/admin/down/user">用户下载记录</a></li>
|
||||||
|
<li><a href="/admin/down/data">数据下载记录</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
|
@ -1,193 +1,194 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle('后台管理');
|
$this->headTitle('后台管理');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
||||||
$this->breadcrumb('<a href="/admin/down">申请管理</a>');
|
$this->breadcrumb('<a href="/admin/down">申请管理</a>');
|
||||||
$this->Theme->AppendPlus($this,'colorbox');
|
$this->Theme->AppendPlus($this,'colorbox');
|
||||||
$this->Theme->AppendPlus($this,'uploadify');
|
$this->Theme->AppendPlus($this,'uploadify');
|
||||||
$this->breadcrumb('离线数据申请管理</a>');
|
$this->breadcrumb('离线数据申请管理</a>');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
?>
|
?>
|
||||||
<style>
|
<style>
|
||||||
table thead tr th {background:#EBF2F6;color:#444;}
|
table thead tr th {background:#EBF2F6;color:#444;}
|
||||||
.high{background:#444;color:#FFF;}
|
.high{background:#444;color:#FFF;}
|
||||||
</style>
|
</style>
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<div class="span3">
|
<div class="span2">
|
||||||
<?= $this->partial('down/left.phtml'); ?>
|
<?= $this->partial('down/left.phtml'); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="span9">
|
<div class="span10">
|
||||||
<?php if ($this->msg or $this->messages) :?>
|
|
||||||
<div id="message">
|
<h3>离线数据服务记录</h3>
|
||||||
<?php if ($this->msg) : ?>
|
<hr />
|
||||||
<p><?php echo $this->msg; ?></p>
|
|
||||||
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
<?php if ($this->msg or $this->messages) :?>
|
||||||
<p><?php echo $msg; ?></p>
|
<div id="message">
|
||||||
<?php endforeach;endif; ?>
|
<?php if ($this->msg) : ?>
|
||||||
</div>
|
<p><?php echo $this->msg; ?></p>
|
||||||
<?php endif; ?>
|
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
||||||
|
<p><?php echo $msg; ?></p>
|
||||||
<h4>离线数据服务记录</h4>
|
<?php endforeach;endif; ?>
|
||||||
|
</div>
|
||||||
<div class="pull-left">
|
<?php endif; ?>
|
||||||
<a href="/admin/down/offline/add/1" class="btn btn-info">添加新的离线服务记录</a>
|
<div class="pull-left">
|
||||||
<a href="/admin/down/offline/down/1" class="btn btn-info">下载所有离线服务记录</a>
|
<a href="/admin/down/offline/add/1" class="btn btn-info">添加新的离线服务记录</a>
|
||||||
<a href="/admin/down/offline/emaillist/1" class="btn btn-info">下载服务用户邮箱列表</a>
|
<a href="/admin/down/offline/down/1" class="btn btn-info">下载所有离线服务记录</a>
|
||||||
</div>
|
<a href="/admin/down/offline/emaillist/1" class="btn btn-info">下载服务用户邮箱列表</a>
|
||||||
<div class="input-append pull-right">
|
</div>
|
||||||
<form id="datasearch" class="search_form" action="">
|
<div class="input-append pull-right">
|
||||||
<input type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" />
|
<form id="datasearch" class="search_form" action="">
|
||||||
<input type="hidden" name="order" value="<?php if(!empty($this->search_order)) echo $this->search_order; ?>" />
|
<input type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" />
|
||||||
<input type="hidden" name="sort" value="<?php if(!empty($this->search_sort)) echo $this->search_sort; ?>" />
|
<input type="hidden" name="order" value="<?php if(!empty($this->search_order)) echo $this->search_order; ?>" />
|
||||||
<button type="submit" class="btn" id="search_btn">搜索</button>
|
<input type="hidden" name="sort" value="<?php if(!empty($this->search_sort)) echo $this->search_sort; ?>" />
|
||||||
</form>
|
<button type="submit" class="btn" id="search_btn">搜索</button>
|
||||||
</div>
|
</form>
|
||||||
<?php if (count($this->paginator)): ?>
|
</div>
|
||||||
<table class="table table-bordered table-hover">
|
<?php if (count($this->paginator)): ?>
|
||||||
<thead>
|
<table class="table table-bordered table-hover">
|
||||||
<tr>
|
<thead>
|
||||||
<th width="52">姓名</th>
|
<tr>
|
||||||
<th>单位</th>
|
<th width="52">姓名</th>
|
||||||
<th>地址</th>
|
<th>单位</th>
|
||||||
<th>邮编</th>
|
<th>地址</th>
|
||||||
<th>用途</th>
|
<th>邮编</th>
|
||||||
<th>数据清单</th>
|
<th>用途</th>
|
||||||
<th>申请时间</th>
|
<th>数据清单</th>
|
||||||
<th>操作</th>
|
<th>申请时间</th>
|
||||||
</tr></thead>
|
<th>操作</th>
|
||||||
<tbody>
|
</tr></thead>
|
||||||
<?php $autoindex=0;?>
|
<tbody>
|
||||||
<?php foreach ($this->paginator as $item): ?>
|
<?php $autoindex=0;?>
|
||||||
<?php $autoindex++;?>
|
<?php foreach ($this->paginator as $item): ?>
|
||||||
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
<?php $autoindex++;?>
|
||||||
<td><a href="/admin/down/user/show/<?php echo $item['userid'];?>"><?= $item['username']?></a></td>
|
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
||||||
<td><?= $item['unit']; ?></td>
|
<td><a href="/admin/down/user/show/<?php echo $item['userid'];?>"><?= $item['username']?></a></td>
|
||||||
<td><?= $item['address']; ?></td>
|
<td><?= $item['unit']; ?></td>
|
||||||
<td><?= $item['postcode']; ?></td>
|
<td><?= $item['address']; ?></td>
|
||||||
<td><textarea readonly="readonly" style="width:280px;height:100px;border:none;font-size:12px;"><?= $item['project'].'['.$item['project_title'].' | '.$item['project_type'].' | '.$item['project_id'].']'; ?></textarea></td>
|
<td><?= $item['postcode']; ?></td>
|
||||||
<td><textarea readonly="readonly" style="width:280px;height:100px;border:none;font-size:12px;"><?= $item['datalist']; ?></textarea></td>
|
<td><textarea readonly="readonly" style="width:280px;height:100px;border:none;font-size:12px;"><?= $item['project'].'['.$item['project_title'].' | '.$item['project_type'].' | '.$item['project_id'].']'; ?></textarea></td>
|
||||||
<td><?= date('Y-m-d',strtotime($item['ts_created'])); ?></td>
|
<td><textarea readonly="readonly" style="width:280px;height:100px;border:none;font-size:12px;"><?= $item['datalist']; ?></textarea></td>
|
||||||
<td>
|
<td><?= date('Y-m-d',strtotime($item['ts_created'])); ?></td>
|
||||||
<a href="/admin/down/offline/edit/<?= $item['id']; ?><?php if(empty($this->page)) "" ; else echo "/page/".$this->page; ?>">编辑</a> |
|
<td>
|
||||||
<a href="/admin/down/offline/delete/<?= $item['id']; ?>" title="该操作将删除此记录并且删除与此记录有关的申请记录!请谨慎操作" onclick="return confirm('请仅删除测试用途的离线服务记录!')">删除</a> |
|
<a href="/admin/down/offline/edit/<?= $item['id']; ?><?php if(empty($this->page)) "" ; else echo "/page/".$this->page; ?>">编辑</a> |
|
||||||
<a href="/admin/down/offlineapp/view/<?= $item['id']; ?>">PDF</a> |
|
<a href="/admin/down/offline/delete/<?= $item['id']; ?>" title="该操作将删除此记录并且删除与此记录有关的申请记录!请谨慎操作" onclick="return confirm('请仅删除测试用途的离线服务记录!')">删除</a> |
|
||||||
<a href="/admin/down/offline/show/<?= $item['id']; ?>">详细</a> |
|
<a href="/admin/down/offlineapp/view/<?= $item['id']; ?>">PDF</a> |
|
||||||
<a href="javascript:action('finish',<?= $item['id']; ?>);" onclick="return confirm('确定确定重新通过该申请?')">重新通过</a> |
|
<a href="/admin/down/offline/show/<?= $item['id']; ?>">详细</a> |
|
||||||
<a href="javascript:void(0);" onclick="upload.showUploadForm(<?= $item['id'] ?>);">上传签字申请表</a>
|
<a href="javascript:action('finish',<?= $item['id']; ?>);" onclick="return confirm('确定确定重新通过该申请?')">重新通过</a> |
|
||||||
<?php if(!empty($item['applicationform'])) { ?>
|
<a href="javascript:void(0);" onclick="upload.showUploadForm(<?= $item['id'] ?>);">上传签字申请表</a>
|
||||||
| <a href="/admin/down/applicationform/ac/view/?link=<?= urlencode($item['applicationform'])?>">查看签字申请表</a>
|
<?php if(!empty($item['applicationform'])) { ?>
|
||||||
<?php }?>
|
| <a href="/admin/down/applicationform/ac/view/?link=<?= urlencode($item['applicationform'])?>">查看签字申请表</a>
|
||||||
</td>
|
<?php }?>
|
||||||
</tr>
|
</td>
|
||||||
<?php endforeach; ?>
|
</tr>
|
||||||
</tbody></table>
|
<?php endforeach; ?>
|
||||||
<?php endif; ?>
|
</tbody></table>
|
||||||
<div class="pagenavi"><?= $this->paginator; ?></div>
|
<?php endif; ?>
|
||||||
</div>
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||||
</div><!-- row -->
|
</div>
|
||||||
<div id="upload-form" class="modal hide fade" tabindex="-1" aria-hidden="true">
|
</div><!-- row -->
|
||||||
<div class="modal-header">
|
<div id="upload-form" class="modal hide fade" tabindex="-1" aria-hidden="true">
|
||||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
<div class="modal-header">
|
||||||
<h3 id="myModalLabel">申请表上传</h3>
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
</div>
|
<h3 id="myModalLabel">申请表上传</h3>
|
||||||
<div class="modal-body">
|
</div>
|
||||||
<form id="application-form">
|
<div class="modal-body">
|
||||||
<div id="fsUploadProgress">允许上传30M以内的 PDF 文件</div>
|
<form id="application-form">
|
||||||
<input type="file" name="Filedata" id="file_upload" />
|
<div id="fsUploadProgress">允许上传30M以内的 PDF 文件</div>
|
||||||
</form>
|
<input type="file" name="Filedata" id="file_upload" />
|
||||||
</div>
|
</form>
|
||||||
<div class="modal-footer">
|
</div>
|
||||||
<button class="btn" data-dismiss="modal" aria-hidden="true">取消上传</button>
|
<div class="modal-footer">
|
||||||
<button class="btn btn-primary">上传完成</button>
|
<button class="btn" data-dismiss="modal" aria-hidden="true">取消上传</button>
|
||||||
</div>
|
<button class="btn btn-primary">上传完成</button>
|
||||||
</div>
|
</div>
|
||||||
<script>
|
</div>
|
||||||
//var param = {};
|
<script>
|
||||||
//var upload_count = 0;
|
//var param = {};
|
||||||
var uploader;
|
//var upload_count = 0;
|
||||||
var param;
|
var uploader;
|
||||||
$(function() {
|
var param;
|
||||||
$('#file_upload').uploadify({
|
$(function() {
|
||||||
'swf' : '/js/lib/uploadify/uploadify.swf',
|
$('#file_upload').uploadify({
|
||||||
'uploader' : '/admin/down/uploadapplicationform',
|
'swf' : '/js/lib/uploadify/uploadify.swf',
|
||||||
'multi' : false,
|
'uploader' : '/admin/down/uploadapplicationform',
|
||||||
'auto' : true,
|
'multi' : false,
|
||||||
'fileTypeExts' : '*.pdf; *.jpg',
|
'auto' : true,
|
||||||
'onUploadSuccess' : function(file, data, response) {
|
'fileTypeExts' : '*.pdf; *.jpg',
|
||||||
upload.onsuccess(file, data, response);
|
'onUploadSuccess' : function(file, data, response) {
|
||||||
},
|
upload.onsuccess(file, data, response);
|
||||||
'onUploadStart' : function(file) {
|
},
|
||||||
$('#file_upload').uploadify('settings','formData',param);
|
'onUploadStart' : function(file) {
|
||||||
}
|
$('#file_upload').uploadify('settings','formData',param);
|
||||||
});
|
}
|
||||||
});
|
});
|
||||||
|
});
|
||||||
var upload = {
|
|
||||||
onsuccess : function(file, data, response){
|
var upload = {
|
||||||
_data = $.parseJSON(data);
|
onsuccess : function(file, data, response){
|
||||||
if(!$.isEmptyObject(_data.error))
|
_data = $.parseJSON(data);
|
||||||
{
|
if(!$.isEmptyObject(_data.error))
|
||||||
alert(_data.error);
|
{
|
||||||
}else{
|
alert(_data.error);
|
||||||
$('#upload-form').modal('hide');
|
}else{
|
||||||
window.location = window.location;
|
$('#upload-form').modal('hide');
|
||||||
}
|
window.location = window.location;
|
||||||
},
|
}
|
||||||
showUploadForm : function(id){
|
},
|
||||||
$('#upload-form').modal('show');
|
showUploadForm : function(id){
|
||||||
param = {
|
$('#upload-form').modal('show');
|
||||||
"PHPSESSID" : "<?php echo session_id(); ?>",
|
param = {
|
||||||
'orderid' : id
|
"PHPSESSID" : "<?php echo session_id(); ?>",
|
||||||
};
|
'orderid' : id
|
||||||
}
|
};
|
||||||
};
|
}
|
||||||
</script>
|
};
|
||||||
<script>
|
</script>
|
||||||
function action(name,id){
|
<script>
|
||||||
var url;
|
function action(name,id){
|
||||||
if(name == "start")
|
var url;
|
||||||
{url = '/admin/down/offlineapp/start/'+id;}
|
if(name == "start")
|
||||||
if(name == "finish")
|
{url = '/admin/down/offlineapp/start/'+id;}
|
||||||
{url = '/admin/down/offlineapp/finish/'+id;}
|
if(name == "finish")
|
||||||
if(name == "deleted")
|
{url = '/admin/down/offlineapp/finish/'+id;}
|
||||||
{url = '/admin/down/offlineapp/cancel/'+id;}
|
if(name == "deleted")
|
||||||
if(name == "deny")
|
{url = '/admin/down/offlineapp/cancel/'+id;}
|
||||||
{url = '/admin/down/offlineapp/deny/'+id;}
|
if(name == "deny")
|
||||||
if(name == "reset")
|
{url = '/admin/down/offlineapp/deny/'+id;}
|
||||||
{url = '/admin/down/offlineapp/reset/'+id;}
|
if(name == "reset")
|
||||||
$.ajax({
|
{url = '/admin/down/offlineapp/reset/'+id;}
|
||||||
'type':"POST",
|
$.ajax({
|
||||||
'url':url,
|
'type':"POST",
|
||||||
'data':'',
|
'url':url,
|
||||||
'success':OnDataLoad,
|
'data':'',
|
||||||
'timeout': 30000,
|
'success':OnDataLoad,
|
||||||
'error': AjaxError
|
'timeout': 30000,
|
||||||
});
|
'error': AjaxError
|
||||||
}
|
});
|
||||||
function OnDataLoad(data){
|
}
|
||||||
if (typeof(data)=='object')
|
function OnDataLoad(data){
|
||||||
{
|
if (typeof(data)=='object')
|
||||||
if(typeof(data.error)!='undefined')
|
{
|
||||||
{Alert(data.error);return false;}
|
if(typeof(data.error)!='undefined')
|
||||||
if(typeof(data.msg)!='undefined')
|
{Alert(data.error);return false;}
|
||||||
{Alert(data.msg);}
|
if(typeof(data.msg)!='undefined')
|
||||||
if(typeof(data.started)!='undefined')
|
{Alert(data.msg);}
|
||||||
{$('#start_'+data.started).remove();}
|
if(typeof(data.started)!='undefined')
|
||||||
if(typeof(data.finish) != 'undefined')
|
{$('#start_'+data.started).remove();}
|
||||||
{$('#list_'+data.finish).fadeOut();}
|
if(typeof(data.finish) != 'undefined')
|
||||||
}
|
{$('#list_'+data.finish).fadeOut();}
|
||||||
else{
|
}
|
||||||
Alert('出现错误,请稍后再试');
|
else{
|
||||||
}
|
Alert('出现错误,请稍后再试');
|
||||||
}
|
}
|
||||||
function AjaxError(){
|
}
|
||||||
$.colorbox({'innerWidth':'50%','html':'<img src="/images/alert_big_error.png" /><h4>处理中出现错误,请刷新页面后重试</h4>'});
|
function AjaxError(){
|
||||||
}
|
$.colorbox({'innerWidth':'50%','html':'<img src="/images/alert_big_error.png" /><h4>处理中出现错误,请刷新页面后重试</h4>'});
|
||||||
$(".iframe").colorbox({iframe:true, width:"80%", height:"80%"});
|
}
|
||||||
$(".inline").colorbox({inline:true, width:"50%"});
|
$(".iframe").colorbox({iframe:true, width:"80%", height:"80%"});
|
||||||
function Alert(html){
|
$(".inline").colorbox({inline:true, width:"50%"});
|
||||||
$.colorbox({'innerWidth':'50%','html':'<h4 style="font-size:16px;font-weight:bold;">'+html+'</h4>'});
|
function Alert(html){
|
||||||
}
|
$.colorbox({'innerWidth':'50%','html':'<h4 style="font-size:16px;font-weight:bold;">'+html+'</h4>'});
|
||||||
</script>
|
}
|
||||||
|
</script>
|
||||||
|
|
|
@ -1,199 +1,200 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle('后台管理');
|
$this->headTitle('后台管理');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
||||||
$this->breadcrumb('<a href="/admin/down">申请管理</a>');
|
$this->breadcrumb('<a href="/admin/down">申请管理</a>');
|
||||||
$this->Theme->AppendPlus($this,'colorbox');
|
$this->Theme->AppendPlus($this,'colorbox');
|
||||||
$this->Theme->AppendPlus($this,'uploadify');
|
$this->Theme->AppendPlus($this,'uploadify');
|
||||||
$this->breadcrumb('离线数据申请管理</a>');
|
$this->breadcrumb('离线数据申请管理</a>');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
?>
|
?>
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<div class="span3">
|
<div class="span2">
|
||||||
<?= $this->partial('down/left.phtml'); ?>
|
<?= $this->partial('down/left.phtml'); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="span9">
|
<div class="span10">
|
||||||
<?php if ($this->msg or $this->messages) :?>
|
<h3>离线数据申请管理</h3>
|
||||||
<div id="message">
|
<hr />
|
||||||
<?php if ($this->msg) : ?>
|
|
||||||
<p><?php echo $this->msg; ?></p>
|
<?php if ($this->msg or $this->messages) :?>
|
||||||
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
<div id="message">
|
||||||
<p><?php echo $msg; ?></p>
|
<?php if ($this->msg) : ?>
|
||||||
<?php endforeach;endif; ?>
|
<p><?php echo $this->msg; ?></p>
|
||||||
</div>
|
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
||||||
<?php endif; ?>
|
<p><?php echo $msg; ?></p>
|
||||||
|
<?php endforeach;endif; ?>
|
||||||
<h4>离线数据申请管理</h4>
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
<div style="overflow:hidden">
|
|
||||||
<div class="pull-left">
|
<div style="overflow:hidden">
|
||||||
<a href="/admin/down/offlineapp/status/4" class="btn btn-info">已收到的申请</a>
|
<div class="pull-left">
|
||||||
<a href="/admin/down/offlineapp/status/-1" class="btn btn-info">已拒绝的申请</a>
|
<a href="/admin/down/offlineapp/status/4" class="btn btn-info">已收到的申请</a>
|
||||||
<a href="/admin/down/offlineapp/ac/pending" class="btn btn-info">待处理的申请</a>
|
<a href="/admin/down/offlineapp/status/-1" class="btn btn-info">已拒绝的申请</a>
|
||||||
<a href="/admin/down/offline" class="btn btn-info">已通过的申请(离线服务记录)</a>
|
<a href="/admin/down/offlineapp/ac/pending" class="btn btn-info">待处理的申请</a>
|
||||||
</div>
|
<a href="/admin/down/offline" class="btn btn-info">已通过的申请(离线服务记录)</a>
|
||||||
|
</div>
|
||||||
<div class="input-append pull-right">
|
|
||||||
<form id="datasearch" class="search_form" action="">
|
<div class="input-append pull-right">
|
||||||
<input type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" />
|
<form id="datasearch" class="search_form" action="">
|
||||||
<input type="hidden" name="order" value="<?php if(!empty($this->search_order)) echo $this->search_order; ?>" />
|
<input type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" />
|
||||||
<input type="hidden" name="sort" value="<?php if(!empty($this->search_sort)) echo $this->search_sort; ?>" />
|
<input type="hidden" name="order" value="<?php if(!empty($this->search_order)) echo $this->search_order; ?>" />
|
||||||
<button type="submit" class="btn" id="search_btn">搜索</button>
|
<input type="hidden" name="sort" value="<?php if(!empty($this->search_sort)) echo $this->search_sort; ?>" />
|
||||||
</form>
|
<button type="submit" class="btn" id="search_btn">搜索</button>
|
||||||
</div>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div id="datalist" style="overflow:hidden">
|
|
||||||
<?php
|
<div id="datalist" style="overflow:hidden">
|
||||||
if (count($this->paginator)):
|
<?php
|
||||||
echo '<ul class="unstyled">';
|
if (count($this->paginator)):
|
||||||
$autoindex=0;
|
echo '<ul class="unstyled">';
|
||||||
foreach ($this->paginator as $item):
|
$autoindex=0;
|
||||||
$autoindex++;?>
|
foreach ($this->paginator as $item):
|
||||||
<li id="list_<?php echo $item['id'];?>" class="well well-small">
|
$autoindex++;?>
|
||||||
<p>
|
<li id="list_<?php echo $item['id'];?>" class="well well-small">
|
||||||
<?= $autoindex ?>.
|
<p>
|
||||||
<a href="mailto:<?= $item['email']; ?>?subject=答复数据申请问题"><?= $item['username']; ?></a> |
|
<?= $autoindex ?>.
|
||||||
申请时间:<?= date('Y-m-d',strtotime($item['ts_created'])); ?>
|
<a href="mailto:<?= $item['email']; ?>?subject=答复数据申请问题"><?= $item['username']; ?></a> |
|
||||||
<?php if(!empty($item['ts_received'])) echo " | 收到时间:".date('Y-m-d',strtotime($item['ts_received']));?>
|
申请时间:<?= date('Y-m-d',strtotime($item['ts_created'])); ?>
|
||||||
</p>
|
<?php if(!empty($item['ts_received'])) echo " | 收到时间:".date('Y-m-d',strtotime($item['ts_received']));?>
|
||||||
<p>
|
</p>
|
||||||
单位:<?= $item['unit']; ?> |
|
<p>
|
||||||
地址:<?= $item['address']; ?> |
|
单位:<?= $item['unit']; ?> |
|
||||||
邮编:<?= $item['postcode']; ?>
|
地址:<?= $item['address']; ?> |
|
||||||
</p>
|
邮编:<?= $item['postcode']; ?>
|
||||||
<p>
|
</p>
|
||||||
用途:
|
<p>
|
||||||
<p style="width:95%;margin:0px auto;"><q><cite><?= $item['project'].'['.$item['project_title'].' | '.$item['project_type'].' | '.$item['project_id'].']'; ?></cite></q></p>
|
用途:
|
||||||
</p>
|
<p style="width:95%;margin:0px auto;"><q><cite><?= $item['project'].'['.$item['project_title'].' | '.$item['project_type'].' | '.$item['project_id'].']'; ?></cite></q></p>
|
||||||
<p>
|
</p>
|
||||||
数据清单:<?= $item['datalist']; ?>
|
<p>
|
||||||
</p>
|
数据清单:<?= $item['datalist']; ?>
|
||||||
<p>
|
</p>
|
||||||
<a href="/admin/down/offlineapp/view/<?= $item['id']; ?>">原始申请表</a> |
|
<p>
|
||||||
<?php if ($item['datastatus']==3) : ?>
|
<a href="/admin/down/offlineapp/view/<?= $item['id']; ?>">原始申请表</a> |
|
||||||
<span id="start_<?= $item['id']; ?>"><a href="javascript:action('start',<?= $item['id']; ?>);" onclick="return confirm('确定收到该申请?')">收到</a></span> |
|
<?php if ($item['datastatus']==3) : ?>
|
||||||
<?php endif; ?>
|
<span id="start_<?= $item['id']; ?>"><a href="javascript:action('start',<?= $item['id']; ?>);" onclick="return confirm('确定收到该申请?')">收到</a></span> |
|
||||||
<a href="javascript:action('finish',<?= $item['id']; ?>);" onclick="return confirm('确定确定通过该申请?')">通过</a> |
|
<?php endif; ?>
|
||||||
<a href="javascript:action('deleted',<?= $item['id']; ?>);" onclick="return confirm('确定将此记录删除?')">删除</a> |
|
<a href="javascript:action('finish',<?= $item['id']; ?>);" onclick="return confirm('确定确定通过该申请?')">通过</a> |
|
||||||
<a href="javascript:action('deny',<?= $item['id']; ?>);" onclick="return confirm('确定拒绝该申请?')">拒绝</a> |
|
<a href="javascript:action('deleted',<?= $item['id']; ?>);" onclick="return confirm('确定将此记录删除?')">删除</a> |
|
||||||
<a href="javascript:action('reset',<?= $item['id']; ?>);" onclick="return confirm('是否重置该申请?')">重置</a> |
|
<a href="javascript:action('deny',<?= $item['id']; ?>);" onclick="return confirm('确定拒绝该申请?')">拒绝</a> |
|
||||||
<a href="javascript:void(0);" onclick="upload.showUploadForm(<?= $item['id'] ?>);">上传签字申请表</a>
|
<a href="javascript:action('reset',<?= $item['id']; ?>);" onclick="return confirm('是否重置该申请?')">重置</a> |
|
||||||
<?php if(!empty($item['applicationform'])) { ?>
|
<a href="javascript:void(0);" onclick="upload.showUploadForm(<?= $item['id'] ?>);">上传签字申请表</a>
|
||||||
| <a href="/admin/down/applicationform/ac/view/?link=<?= urlencode($item['applicationform'])?>">查看签字申请表</a>
|
<?php if(!empty($item['applicationform'])) { ?>
|
||||||
| <a href="/admin/down/offlineapps/ac/resetappform/?offlineappid=<?= $item['id'] ?>" onclick="return confirm('是否重置该申请表?')">重置申请表</a>
|
| <a href="/admin/down/applicationform/ac/view/?link=<?= urlencode($item['applicationform'])?>">查看签字申请表</a>
|
||||||
<?php }?>
|
| <a href="/admin/down/offlineapps/ac/resetappform/?offlineappid=<?= $item['id'] ?>" onclick="return confirm('是否重置该申请表?')">重置申请表</a>
|
||||||
</p>
|
<?php }?>
|
||||||
</li>
|
</p>
|
||||||
<?php endforeach;
|
</li>
|
||||||
echo "</ul>";
|
<?php endforeach;
|
||||||
endif; ?>
|
echo "</ul>";
|
||||||
<div class="pagenavi"><?= $this->paginator; ?></div>
|
endif; ?>
|
||||||
</div>
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="upload-form" class="modal hide fade" tabindex="-1" aria-hidden="true">
|
</div>
|
||||||
<div class="modal-header">
|
<div id="upload-form" class="modal hide fade" tabindex="-1" aria-hidden="true">
|
||||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
<div class="modal-header">
|
||||||
<h3 id="myModalLabel">申请表上传</h3>
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
</div>
|
<h3 id="myModalLabel">申请表上传</h3>
|
||||||
<div class="modal-body">
|
</div>
|
||||||
<form id="application-form">
|
<div class="modal-body">
|
||||||
<div id="fsUploadProgress">允许上传30M以内的 PDF 文件</div>
|
<form id="application-form">
|
||||||
<input type="file" name="Filedata" id="file_upload" />
|
<div id="fsUploadProgress">允许上传30M以内的 PDF 文件</div>
|
||||||
</form>
|
<input type="file" name="Filedata" id="file_upload" />
|
||||||
</div>
|
</form>
|
||||||
<div class="modal-footer">
|
</div>
|
||||||
<button class="btn" data-dismiss="modal" aria-hidden="true">取消上传</button>
|
<div class="modal-footer">
|
||||||
<button class="btn btn-primary">上传完成</button>
|
<button class="btn" data-dismiss="modal" aria-hidden="true">取消上传</button>
|
||||||
</div>
|
<button class="btn btn-primary">上传完成</button>
|
||||||
</div>
|
</div>
|
||||||
<script>
|
</div>
|
||||||
//var param = {};
|
<script>
|
||||||
//var upload_count = 0;
|
//var param = {};
|
||||||
var uploader;
|
//var upload_count = 0;
|
||||||
var param;
|
var uploader;
|
||||||
$(function() {
|
var param;
|
||||||
$('#file_upload').uploadify({
|
$(function() {
|
||||||
'swf' : '/js/lib/uploadify/uploadify.swf',
|
$('#file_upload').uploadify({
|
||||||
'uploader' : '/admin/down/uploadapplicationform',
|
'swf' : '/js/lib/uploadify/uploadify.swf',
|
||||||
'multi' : false,
|
'uploader' : '/admin/down/uploadapplicationform',
|
||||||
'auto' : true,
|
'multi' : false,
|
||||||
'fileTypeExts' : '*.pdf; *.jpg',
|
'auto' : true,
|
||||||
'onUploadSuccess' : function(file, data, response) {
|
'fileTypeExts' : '*.pdf; *.jpg',
|
||||||
upload.onsuccess(file, data, response);
|
'onUploadSuccess' : function(file, data, response) {
|
||||||
},
|
upload.onsuccess(file, data, response);
|
||||||
'onUploadStart' : function(file) {
|
},
|
||||||
$('#file_upload').uploadify('settings','formData',param);
|
'onUploadStart' : function(file) {
|
||||||
}
|
$('#file_upload').uploadify('settings','formData',param);
|
||||||
});
|
}
|
||||||
});
|
});
|
||||||
|
});
|
||||||
var upload = {
|
|
||||||
onsuccess : function(file, data, response){
|
var upload = {
|
||||||
_data = $.parseJSON(data);
|
onsuccess : function(file, data, response){
|
||||||
if(!$.isEmptyObject(_data.error))
|
_data = $.parseJSON(data);
|
||||||
{
|
if(!$.isEmptyObject(_data.error))
|
||||||
alert(_data.error);
|
{
|
||||||
}else{
|
alert(_data.error);
|
||||||
$('#upload-form').modal('hide');
|
}else{
|
||||||
window.location = window.location;
|
$('#upload-form').modal('hide');
|
||||||
}
|
window.location = window.location;
|
||||||
},
|
}
|
||||||
showUploadForm : function(id){
|
},
|
||||||
$('#upload-form').modal('show');
|
showUploadForm : function(id){
|
||||||
param = {
|
$('#upload-form').modal('show');
|
||||||
"PHPSESSID" : "<?php echo session_id(); ?>",
|
param = {
|
||||||
'orderid' : id
|
"PHPSESSID" : "<?php echo session_id(); ?>",
|
||||||
};
|
'orderid' : id
|
||||||
}
|
};
|
||||||
};
|
}
|
||||||
|
};
|
||||||
function action(name,id){
|
|
||||||
var url;
|
function action(name,id){
|
||||||
if(name == "start")
|
var url;
|
||||||
{url = '/admin/down/offlineapp/start/'+id;}
|
if(name == "start")
|
||||||
if(name == "finish")
|
{url = '/admin/down/offlineapp/start/'+id;}
|
||||||
{url = '/admin/down/offlineapp/finish/'+id;}
|
if(name == "finish")
|
||||||
if(name == "deleted")
|
{url = '/admin/down/offlineapp/finish/'+id;}
|
||||||
{url = '/admin/down/offlineapp/cancel/'+id;}
|
if(name == "deleted")
|
||||||
if(name == "deny")
|
{url = '/admin/down/offlineapp/cancel/'+id;}
|
||||||
{url = '/admin/down/offlineapp/deny/'+id;}
|
if(name == "deny")
|
||||||
if(name == "reset")
|
{url = '/admin/down/offlineapp/deny/'+id;}
|
||||||
{url = '/admin/down/offlineapp/reset/'+id;}
|
if(name == "reset")
|
||||||
$.ajax({
|
{url = '/admin/down/offlineapp/reset/'+id;}
|
||||||
'type':"POST",
|
$.ajax({
|
||||||
'url':url,
|
'type':"POST",
|
||||||
'data':'',
|
'url':url,
|
||||||
'success':OnDataLoad,
|
'data':'',
|
||||||
'timeout': 30000,
|
'success':OnDataLoad,
|
||||||
'error': AjaxError
|
'timeout': 30000,
|
||||||
});
|
'error': AjaxError
|
||||||
}
|
});
|
||||||
function OnDataLoad(data){
|
}
|
||||||
if (typeof(data)=='object')
|
function OnDataLoad(data){
|
||||||
{
|
if (typeof(data)=='object')
|
||||||
if(typeof(data.error)!='undefined')
|
{
|
||||||
{Alert(data.error);return false;}
|
if(typeof(data.error)!='undefined')
|
||||||
if(typeof(data.msg)!='undefined')
|
{Alert(data.error);return false;}
|
||||||
{Alert(data.msg);}
|
if(typeof(data.msg)!='undefined')
|
||||||
if(typeof(data.started)!='undefined')
|
{Alert(data.msg);}
|
||||||
{$('#start_'+data.started).remove();}
|
if(typeof(data.started)!='undefined')
|
||||||
if(typeof(data.finish) != 'undefined')
|
{$('#start_'+data.started).remove();}
|
||||||
{$('#list_'+data.finish).fadeOut();}
|
if(typeof(data.finish) != 'undefined')
|
||||||
}
|
{$('#list_'+data.finish).fadeOut();}
|
||||||
else{
|
}
|
||||||
Alert('出现错误,请稍后再试');
|
else{
|
||||||
}
|
Alert('出现错误,请稍后再试');
|
||||||
}
|
}
|
||||||
function AjaxError(){
|
}
|
||||||
$.colorbox({'innerWidth':'50%','html':'<img src="/images/alert_big_error.png" /><h4>处理中出现错误,请刷新页面后重试</h4>'});
|
function AjaxError(){
|
||||||
}
|
$.colorbox({'innerWidth':'50%','html':'<img src="/images/alert_big_error.png" /><h4>处理中出现错误,请刷新页面后重试</h4>'});
|
||||||
$(".iframe").colorbox({iframe:true, width:"80%", height:"80%"});
|
}
|
||||||
$(".inline").colorbox({inline:true, width:"50%"});
|
$(".iframe").colorbox({iframe:true, width:"80%", height:"80%"});
|
||||||
function Alert(html){
|
$(".inline").colorbox({inline:true, width:"50%"});
|
||||||
$.colorbox({'innerWidth':'50%','html':'<h4 style="font-size:16px;font-weight:bold;">'+html+'</h4>'});
|
function Alert(html){
|
||||||
}
|
$.colorbox({'innerWidth':'50%','html':'<h4 style="font-size:16px;font-weight:bold;">'+html+'</h4>'});
|
||||||
</script>
|
}
|
||||||
|
</script>
|
||||||
|
|
|
@ -2,69 +2,71 @@
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle('后台管理');
|
$this->headTitle('后台管理');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/admin.css');
|
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
||||||
$this->breadcrumb('<a href="/admin/down">申请管理</a>');
|
$this->breadcrumb('<a href="/admin/down">申请管理</a>');
|
||||||
$this->breadcrumb('在线数据下载记录</a>');
|
$this->breadcrumb('在线数据下载记录</a>');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
?>
|
?>
|
||||||
<div id="leftPanel">
|
<div class="row-fluid">
|
||||||
<?= $this->partial('down/left.phtml'); ?>
|
<div class="span2">
|
||||||
</div>
|
<?= $this->partial('down/left.phtml'); ?>
|
||||||
<?php if ($this->msg or $this->messages) :?>
|
</div>
|
||||||
<div id="message">
|
|
||||||
<?php if ($this->msg) : ?>
|
<div class="span10">
|
||||||
<p><?php echo $this->msg; ?></p>
|
|
||||||
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
<h3><?php if(!empty($this->title)) echo $this->title;?>共有 <?php echo $this->count;?> 条在线下载记录</h3>
|
||||||
<p><?php echo $msg; ?></p>
|
<hr />
|
||||||
<?php endforeach;endif; ?>
|
|
||||||
</div>
|
<?php if ($this->msg or $this->messages) :?>
|
||||||
<?php endif; ?>
|
<div id="message">
|
||||||
|
<?php if ($this->msg) : ?>
|
||||||
|
<p><?php echo $this->msg; ?></p>
|
||||||
<div id="rightPanel">
|
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
||||||
|
<p><?php echo $msg; ?></p>
|
||||||
<div class="right_title"><?php if(!empty($this->title)) echo $this->title;?>共有 <?php echo $this->count;?> 条在线下载记录</div>
|
<?php endforeach;endif; ?>
|
||||||
|
</div>
|
||||||
<div class="search">
|
<?php endif; ?>
|
||||||
<form action="/admin/down/search/" method="get">
|
|
||||||
<input type="hidden" name="search" value='1' />
|
<div class="search">
|
||||||
<ul>
|
<form action="/admin/down/search/" method="get">
|
||||||
<li><label>搜索关键字</label><input type="text" name="keyword" value="<?php echo $this->keyword; ?>" /></li>
|
<div class="input-append">
|
||||||
<li><input type="submit" class="searchbtn" value="搜索" /></li>
|
<input type="hidden" name="search" value='1' />
|
||||||
</ul>
|
<input type="text" name="keyword" value="<?php echo $this->keyword; ?>" />
|
||||||
</form>
|
<button class="btn" type="submit">搜索</button>
|
||||||
</div><!-- search DIV -->
|
</div>
|
||||||
|
</form>
|
||||||
<table>
|
</div><!-- search DIV -->
|
||||||
<thead>
|
|
||||||
<tr>
|
<table class="table table-hover">
|
||||||
<td width='100'>姓名</td>
|
<thead>
|
||||||
<td width='150'>单位</td>
|
<tr>
|
||||||
<td width='350'>数据</td>
|
<td width='100'>姓名</td>
|
||||||
<td width='300'>用途</td>
|
<td width='150'>单位</td>
|
||||||
<td width='120'>下载时间</td>
|
<td width='350'>数据</td>
|
||||||
<td width='100'>操作</td>
|
<td width='300'>用途</td>
|
||||||
</tr>
|
<td width='120'>下载时间</td>
|
||||||
</thead>
|
<td width='100'>操作</td>
|
||||||
<?php if (count($this->paginator)): ?>
|
</tr>
|
||||||
<?php $autoindex=0;?>
|
</thead>
|
||||||
<?php foreach ($this->paginator as $item): ?>
|
<?php if (count($this->paginator)): ?>
|
||||||
<?php $autoindex++;?>
|
<?php $autoindex=0;?>
|
||||||
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
<?php foreach ($this->paginator as $item): ?>
|
||||||
<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>
|
<?php $autoindex++;?>
|
||||||
<td><?= $item['unit']?></td>
|
<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><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><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><?= $item['unit']?></td>
|
||||||
<td><?php echo date('Y-m-d H:i:s', strtotime($item['ts_created'])); ?></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>
|
<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>
|
||||||
<a href='/admin/down/online/show/<?php echo $item['id'];?>'>详细</a>
|
<td><?php echo date('Y-m-d H:i:s', strtotime($item['ts_created'])); ?></td>
|
||||||
<a href='/admin/down/online/delete/<?= $item['id'];?>/' onclick="return confirm('确定将此记录删除?')">删除</a>
|
<td>
|
||||||
</td>
|
<a href='/admin/down/online/show/<?php echo $item['id'];?>'>详细</a>
|
||||||
</tr>
|
<a href='/admin/down/online/delete/<?= $item['id'];?>/' onclick="return confirm('确定将此记录删除?')">删除</a>
|
||||||
<?php endforeach; ?>
|
</td>
|
||||||
<?php endif; ?>
|
</tr>
|
||||||
</table>
|
<?php endforeach; ?>
|
||||||
<div class="pagenavi"><?= $this->paginator; ?></div>
|
<?php endif; ?>
|
||||||
|
</table>
|
||||||
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
|
@ -2,7 +2,6 @@
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle('后台管理');
|
$this->headTitle('后台管理');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/admin.css');
|
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/admin">后台管理首页</a>');
|
$this->breadcrumb('<a href="/admin">后台管理首页</a>');
|
||||||
$this->breadcrumb('<a href="/admin/down">申请管理</a>');
|
$this->breadcrumb('<a href="/admin/down">申请管理</a>');
|
||||||
|
@ -10,53 +9,59 @@
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
$this->headScript()->appendFile('/js/prototype.js');
|
$this->headScript()->appendFile('/js/prototype.js');
|
||||||
?>
|
?>
|
||||||
<div id="leftPanel">
|
<div class="row-fluid">
|
||||||
<?= $this->partial('down/left.phtml'); ?>
|
<div class="span2">
|
||||||
</div>
|
<?= $this->partial('down/left.phtml'); ?>
|
||||||
<div id="rightPanel">
|
</div>
|
||||||
<?php if ($this->msg or $this->messages) :?>
|
<div class="span10">
|
||||||
<div id="message">
|
|
||||||
<?php if ($this->msg) : ?>
|
<h3><?php if(!empty($this->title)) echo $this->title;?>共 <?php echo $this->count;?> 数据下载记录</h3>
|
||||||
<p><?php echo $this->msg; ?></p>
|
<hr />
|
||||||
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
|
||||||
<p><?php echo $msg; ?></p>
|
<?php if ($this->msg or $this->messages) :?>
|
||||||
<?php endforeach;endif; ?>
|
<div class="alert">
|
||||||
</div>
|
<?php if ($this->msg) : ?>
|
||||||
<?php endif; ?>
|
<p><?php echo $this->msg; ?></p>
|
||||||
|
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
||||||
<div class="right_title"><?php if(!empty($this->title)) echo $this->title;?>共 <?php echo $this->count;?> 数据下载记录</div>
|
<p><?php echo $msg; ?></p>
|
||||||
|
<?php endforeach;endif; ?>
|
||||||
<div class="search">
|
</div>
|
||||||
<form action="/admin/down/user/" method="get">
|
<?php endif; ?>
|
||||||
<input type="hidden" name="search" value='1' />
|
|
||||||
<ul>
|
<div class="row-fluid">
|
||||||
<li><label>搜索关键字</label><input type="text" name="keyword" value="<?php echo $this->keyword; ?>" /></li>
|
<div class="span12">
|
||||||
<li><input type="submit" class="searchbtn" value="搜索" /></li>
|
<form action="/admin/down/user/" method="get" class="form-search">
|
||||||
</ul>
|
<div class="input-append">
|
||||||
</form>
|
<input type="hidden" name="search" value='1' />
|
||||||
</div><!-- search DIV -->
|
<input type="text" name="keyword" value="<?php echo $this->keyword; ?>" class="span8 search-query"/>
|
||||||
|
<button type="submit" class="btn">搜索</button>
|
||||||
<table><thead>
|
</div>
|
||||||
<tr>
|
</form>
|
||||||
<td width='150'>姓名</td>
|
</div>
|
||||||
<td width='350'>单位</td>
|
</div><!-- search DIV -->
|
||||||
<td width='150'>下载次数</td>
|
|
||||||
<td width='150'>操作</td>
|
<table class="table table-hover"><thead>
|
||||||
</tr></thead>
|
<tr>
|
||||||
<?php if (count($this->paginator)): ?>
|
<td width='150'>姓名</td>
|
||||||
<?php $autoindex=0;?>
|
<td width='350'>单位</td>
|
||||||
<?php foreach ($this->paginator as $item): ?>
|
<td width='150'>下载次数</td>
|
||||||
<?php $autoindex++;?>
|
<td width='150'>操作</td>
|
||||||
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
</tr></thead>
|
||||||
<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>
|
<?php if (count($this->paginator)): ?>
|
||||||
<td><?php echo $item['unit']; ?></td>
|
<?php $autoindex=0;?>
|
||||||
<td><?php echo $item['num']; ?></td>
|
<?php foreach ($this->paginator as $item): ?>
|
||||||
<td>
|
<?php $autoindex++;?>
|
||||||
<a href='/admin/down/user/show/<?php echo $item['uid'];?>'>详细</a>
|
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
||||||
</td>
|
<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>
|
||||||
</tr>
|
<td><?php echo $item['unit']; ?></td>
|
||||||
<?php endforeach; ?>
|
<td><?php echo $item['num']; ?></td>
|
||||||
<?php endif; ?>
|
<td>
|
||||||
</table>
|
<a href='/admin/down/user/show/<?php echo $item['uid'];?>'>详细</a>
|
||||||
<div class="pagenavi"><?= $this->paginator; ?></div>
|
</td>
|
||||||
|
</tr>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
<?php endif; ?>
|
||||||
|
</table>
|
||||||
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
|
@ -1,28 +1,39 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle('后台管理');
|
$this->headTitle('后台管理');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/admin.css');
|
$this->headLink()->appendStylesheet('/static/css/jquery.jgrowl.css');
|
||||||
$this->headLink()->appendStylesheet('/static/css/jquery.jgrowl.css');
|
$this->headScript()->appendFile('/js/jquery-1.7.min.js');
|
||||||
$this->headScript()->appendFile('/js/jquery-1.7.min.js');
|
$this->headScript()->appendFile('/static/js/jquery.jgrowl_minimized.js');
|
||||||
$this->headScript()->appendFile('/static/js/jquery.jgrowl_minimized.js');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('后台管理首页');
|
||||||
$this->breadcrumb('后台管理首页');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
?>
|
||||||
?>
|
<div class="row-fluid">
|
||||||
<div id="OneColumn">
|
<div class="span2">
|
||||||
<?= $this->partial('data/left.phtml'); ?>
|
<?= $this->partial('data/left.phtml'); ?>
|
||||||
<?= $this->partial('down/left.phtml'); ?>
|
</div>
|
||||||
<?= $this->partial('user/left.phtml'); ?>
|
<div class="span2">
|
||||||
<?= $this->partial('review/left.phtml'); ?>
|
<?= $this->partial('down/left.phtml'); ?>
|
||||||
<?= $this->partial('news/left.phtml'); ?>
|
</div>
|
||||||
<?= $this->partial('stat/left.phtml'); ?>
|
<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>
|
</div>
|
||||||
<!--
|
<!--
|
||||||
<script>
|
<script>
|
||||||
$.getJSON("/admin/sys/getmsg", function(data) {
|
$.getJSON("/admin/sys/getmsg", function(data) {
|
||||||
var msg = data.count;
|
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 });}
|
if(msg>0){$.jGrowl('<a href="/admin/sys/message/" style="color:#FFF;text-decoration:underline;font-weight:bold;">有'+data.count+'条新消息</a>', { sticky: true });}
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
-->
|
-->
|
|
@ -1,49 +1,41 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle('后台管理');
|
$this->headTitle('后台管理');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headScript()->appendFile('/js/jquery-1.7.min.js');
|
$this->headScript()->appendFile('/js/jquery-1.7.min.js');
|
||||||
$this->headLink()->appendStylesheet('/css/admin.css');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
||||||
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
$this->breadcrumb('<a href="/admin/news">新闻中心</a>');
|
||||||
$this->breadcrumb('<a href="/admin/news">新闻中心</a>');
|
?>
|
||||||
?>
|
<style>
|
||||||
<style>
|
.listingDetails{position:absolute;width:650px; z-index:999;}
|
||||||
.listingDetails{position:absolute;width:650px; z-index:999;}
|
.pad{position:absolute;background:#FFF;border:2px solid #444;border-radius:5px;padding:5px;display:none;}
|
||||||
.pad{position:absolute;background:#FFF;border:2px solid #444;border-radius:5px;padding:5px;display:none;}
|
</style>
|
||||||
</style>
|
<div class="row-fluid">
|
||||||
<div id="leftPanel">
|
<div class="span2">
|
||||||
<?= $this->partial('news/left.phtml'); ?>
|
<?= $this->partial('news/left.phtml'); ?>
|
||||||
</div>
|
</div>
|
||||||
<div id="rightPanel">
|
<div class="span10">
|
||||||
<?php if ($this->msg or $this->messages) :?>
|
|
||||||
<div id="message">
|
<h3>统计</h3>
|
||||||
<?php if ($this->msg) : ?>
|
<hr/>
|
||||||
<p><?php echo $this->msg; ?></p>
|
<ul class="unstyled">
|
||||||
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
<li>共 <?php echo $this->totle['c'];?> 条档案</li>
|
||||||
<p><?php echo $msg; ?></p>
|
<li>栏目 <?php echo $this->typec['c'];?> 个</li>
|
||||||
<?php endforeach;endif; ?>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
</div>
|
||||||
|
<script type="text/javascript">
|
||||||
<h3>统计</h3>
|
$(document).ready(function(){
|
||||||
<hr/>
|
$('.title').bind('click', function() {
|
||||||
<ul>
|
$('.pad').css('display','none');
|
||||||
<li>共 <?php echo $this->totle['c'];?> 条档案</li>
|
$(this).next('.listingDetails').children('.pad').show();
|
||||||
<li>栏目 <?php echo $this->typec['c'];?> 个</li>
|
});
|
||||||
</ul>
|
$('.closepad').bind('click', function() {
|
||||||
</div>
|
$('.pad').css('display','none');
|
||||||
<script type="text/javascript">
|
});
|
||||||
$(document).ready(function(){
|
});
|
||||||
$('.title').bind('click', function() {
|
function showpad(id){
|
||||||
$('.pad').css('display','none');
|
$('#titlebtn'+id).click();
|
||||||
$(this).next('.listingDetails').children('.pad').show();
|
}
|
||||||
});
|
|
||||||
$('.closepad').bind('click', function() {
|
|
||||||
$('.pad').css('display','none');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
function showpad(id){
|
|
||||||
$('#titlebtn'+id).click();
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
|
@ -1,6 +1,9 @@
|
||||||
<ul class="nav nav-pills nav-stacked well">
|
<div class="well" style="padding:8px 0">
|
||||||
<span class="label"><h4>新闻中心</h4></span>
|
<ul class="nav nav-list">
|
||||||
<li><a href="/admin/news">新闻中心首页</a></li>
|
<li class="nav-header"><h4>新闻中心</h4></li>
|
||||||
<li><a href="/admin/news/newslist">新闻管理</a></li>
|
<li class="divider"></li>
|
||||||
<li><a href="/admin/news/newsadd">新闻发布</a></li>
|
<li><a href="/admin/news">新闻中心首页</a></li>
|
||||||
</ul>
|
<li><a href="/admin/news/newslist">新闻管理</a></li>
|
||||||
|
<li><a href="/admin/news/newsadd">新闻发布</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
|
@ -1,132 +1,140 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle('后台管理');
|
$this->headTitle('后台管理');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/admin.css');
|
$this->headScript()->appendFile('/js/jquery.colorbox-min.js');
|
||||||
$this->headScript()->appendFile('/js/jquery.colorbox-min.js');
|
$this->headLink()->appendStylesheet('/css/author.css');
|
||||||
$this->headLink()->appendStylesheet('/css/author.css');
|
$this->headLink()->appendStylesheet('/css/colorbox.css');
|
||||||
$this->headLink()->appendStylesheet('/css/colorbox.css');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
||||||
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
$this->breadcrumb('<a href="/admin/news">新闻中心</a>');
|
||||||
$this->breadcrumb('<a href="/admin/news">新闻中心</a>');
|
$this->breadcrumb('新闻列表');
|
||||||
$this->breadcrumb('新闻列表');
|
?>
|
||||||
?>
|
<style>
|
||||||
<style>
|
.listingDetails{position:absolute;width:650px;}
|
||||||
.listingDetails{position:absolute;width:650px;}
|
.pad{position:absolute;background:#FFF;border:2px solid #444;border-radius:5px;padding:5px;display:none;z-index:9999;}
|
||||||
.pad{position:absolute;background:#FFF;border:2px solid #444;border-radius:5px;padding:5px;display:none;z-index:9999;}
|
</style>
|
||||||
</style>
|
<script>
|
||||||
<script>
|
$('#divFooter').css('position','absolute');
|
||||||
$('#divFooter').css('position','absolute');
|
</script>
|
||||||
</script>
|
<div class="row-fluid">
|
||||||
<div id="leftPanel">
|
<div class="span2">
|
||||||
<?= $this->partial('news/left.phtml'); ?>
|
<?= $this->partial('news/left.phtml'); ?>
|
||||||
</div>
|
</div>
|
||||||
<div id="rightPanel">
|
|
||||||
<?php if ($this->msg or $this->messages) :?>
|
<div class="span10">
|
||||||
<div id="message">
|
|
||||||
<?php if ($this->msg) : ?>
|
<h3>新闻管理</h3>
|
||||||
<p><?php echo $this->msg; ?></p>
|
<hr />
|
||||||
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
|
||||||
<p><?php echo $msg; ?></p>
|
<?php if ($this->msg or $this->messages) :?>
|
||||||
<?php endforeach;endif; ?>
|
<div id="message">
|
||||||
</div>
|
<?php if ($this->msg) : ?>
|
||||||
<?php endif; ?>
|
<p><?php echo $this->msg; ?></p>
|
||||||
<div>
|
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
||||||
<select id="navigation">
|
<p><?php echo $msg; ?></p>
|
||||||
<option>按栏目查看</option>
|
<?php endforeach;endif; ?>
|
||||||
<?php
|
</div>
|
||||||
if(count($this->types))
|
<?php endif; ?>
|
||||||
{
|
|
||||||
foreach($this->types as $v)
|
<div>
|
||||||
{
|
|
||||||
if(!empty($v[$this->deepField])) {$haed = str_repeat('-',$v[$this->deepField]);}
|
<select id="navigation">
|
||||||
if($this->type == $v['id'])
|
<option>按栏目查看</option>
|
||||||
echo '<option value="/admin/news/newslist/type/'.$v['id'].'" selected="selected">'
|
<?php
|
||||||
.$haed
|
if(count($this->types))
|
||||||
.$v['title'].'</option>';
|
{
|
||||||
else
|
foreach($this->types as $v)
|
||||||
echo '<option value="/admin/news/newslist/type/'.$v['id'].'">'.$haed.$v['title'].'</option>';
|
{
|
||||||
}
|
if(!empty($v[$this->deepField])) {$haed = str_repeat('-',$v[$this->deepField]);}
|
||||||
}
|
if($this->type == $v['id'])
|
||||||
?>
|
echo '<option value="/admin/news/newslist/type/'.$v['id'].'" selected="selected">'
|
||||||
</select>
|
.$haed
|
||||||
|
.$v['title'].'</option>';
|
||||||
<a href="/admin/news/newslist">所有新闻列表</a>
|
else
|
||||||
</div>
|
echo '<option value="/admin/news/newslist/type/'.$v['id'].'">'.$haed.$v['title'].'</option>';
|
||||||
<table id="report" class="stylized full">
|
}
|
||||||
<thead>
|
}
|
||||||
<tr>
|
?>
|
||||||
<th width="50%">新闻标题</th>
|
</select>
|
||||||
<th width="15%">栏目</th>
|
|
||||||
<th width="15%">状态</th>
|
<a href="/admin/news/newslist">所有新闻列表</a>
|
||||||
<th width="20%">新闻管理</th>
|
</div>
|
||||||
</tr>
|
<table id="report" class="table table-bordered table-striped table-hover">
|
||||||
</thead>
|
<thead>
|
||||||
<tbody>
|
<tr>
|
||||||
<?php
|
<th width="50%">新闻标题</th>
|
||||||
if(count($this->paginator))
|
<th width="15%">栏目</th>
|
||||||
{
|
<th width="15%">状态</th>
|
||||||
$list = "";
|
<th width="20%">新闻管理</th>
|
||||||
foreach ($this->paginator as $v)
|
</tr>
|
||||||
{
|
</thead>
|
||||||
$list .= '
|
<tbody>
|
||||||
<tr>
|
<?php
|
||||||
<td>
|
if(count($this->paginator))
|
||||||
'.$v['title'].'
|
{
|
||||||
</td>
|
$list = "";
|
||||||
<td>
|
foreach ($this->paginator as $v)
|
||||||
<a href="'.$v['type_url'].'"><b>'.$v['type_title'].'</b></a>
|
{
|
||||||
</td>
|
$list .= '
|
||||||
<td>';
|
<tr>
|
||||||
if($v['ts_published']<time() and $v['is_pub']>0)
|
<td>
|
||||||
{
|
'.$v['title'].'
|
||||||
$list.="已发布";
|
</td>
|
||||||
}
|
<td>
|
||||||
if($v['ts_published']>time() and $v['is_pub']>0)
|
<a href="'.$v['type_url'].'"><b>'.$v['type_title'].'</b></a>
|
||||||
{
|
</td>
|
||||||
$list.= date('Y-m-d H:i',$v['ts_published']) . '发布';
|
<td>';
|
||||||
}
|
if($v['ts_published']<time() and $v['is_pub']>0)
|
||||||
if($v['is_pub']==0)
|
{
|
||||||
{
|
$list.="已发布";
|
||||||
$list.="草稿";
|
}
|
||||||
}
|
if($v['ts_published']>time() and $v['is_pub']>0)
|
||||||
if($v['is_pub']<0)
|
{
|
||||||
{
|
$list.= date('Y-m-d H:i',$v['ts_published']) . '发布';
|
||||||
$list.="未发布";
|
}
|
||||||
}
|
if($v['is_pub']==0)
|
||||||
$list .= '</td>
|
{
|
||||||
<td>
|
$list.="草稿";
|
||||||
<a href="'.$v['url'].'">浏览</a>
|
}
|
||||||
<a href="/admin/news/newsedit/id/'.$v['id'].'"><b>编辑</b></a>
|
if($v['is_pub']<0)
|
||||||
<a href="/admin/news/delete/id/'.$v['id'].'" onclick="return confirm(\'是否确定删除该文章\')">删除</a></td>
|
{
|
||||||
</tr>
|
$list.="未发布";
|
||||||
';
|
}
|
||||||
}
|
$list .= '</td>
|
||||||
echo $list;
|
<td>
|
||||||
}
|
<a href="'.$v['url'].'">浏览</a>
|
||||||
else
|
<a href="/admin/news/newsedit/id/'.$v['id'].'"><b>编辑</b></a>
|
||||||
{
|
<a href="/admin/news/delete/id/'.$v['id'].'" onclick="return confirm(\'是否确定删除该文章\')">删除</a></td>
|
||||||
echo '
|
</tr>
|
||||||
<tr><td>暂无数据</td><td></td></tr>
|
';
|
||||||
';
|
}
|
||||||
}
|
echo $list;
|
||||||
?>
|
}
|
||||||
|
else
|
||||||
</tbody>
|
{
|
||||||
</table>
|
echo '
|
||||||
<div class="pagenavi"><?= $this->paginator; ?></div>
|
<tr><td>暂无数据</td><td></td></tr>
|
||||||
</div>
|
';
|
||||||
<script type="text/javascript">
|
}
|
||||||
$(document).ready(function(){
|
?>
|
||||||
$('.title').bind('click', function() {
|
|
||||||
$.colorbox({'innerWidth':'50%','html':$(this).next('.listingDetails').children('.pad').html()});
|
</tbody>
|
||||||
});
|
</table>
|
||||||
$("#navigation").change(function()
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||||
{
|
</div>
|
||||||
window.location.href = $(this).val();
|
</div>
|
||||||
});
|
<script type="text/javascript">
|
||||||
});
|
$(document).ready(function(){
|
||||||
function showpad(id){
|
$('.title').bind('click', function() {
|
||||||
$('#titlebtn'+id).click();
|
$.colorbox({'innerWidth':'50%','html':$(this).next('.listingDetails').children('.pad').html()});
|
||||||
}
|
});
|
||||||
|
$("#navigation").change(function()
|
||||||
|
{
|
||||||
|
window.location.href = $(this).val();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
function showpad(id){
|
||||||
|
$('#titlebtn'+id).click();
|
||||||
|
}
|
||||||
</script>
|
</script>
|
|
@ -1,62 +1,65 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle('后台管理');
|
$this->headTitle('后台管理');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/admin.css');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
||||||
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
$this->breadcrumb('元数据评审');
|
||||||
$this->breadcrumb('元数据评审');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
?>
|
||||||
?>
|
<div class="row-fluid">
|
||||||
<div id="leftPanel">
|
<div class="span2">
|
||||||
<?= $this->partial('review/left.phtml'); ?>
|
<?= $this->partial('review/left.phtml'); ?>
|
||||||
</div>
|
</div>
|
||||||
<div id="rightPanel">
|
<div class="span10">
|
||||||
<?php if ($this->msg or $this->messages) :?>
|
<?php if ($this->msg or $this->messages) :?>
|
||||||
<div id="message">
|
<div id="message">
|
||||||
<?php if ($this->msg) : ?>
|
<?php if ($this->msg) : ?>
|
||||||
<p><?php echo $this->msg; ?></p>
|
<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>
|
<p><?php echo $msg; ?></p>
|
||||||
<?php endforeach;endif; ?>
|
<?php endforeach;endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
最近十条元数据
|
<h3>最近十条元数据</h3>
|
||||||
<table><thead>
|
<hr />
|
||||||
<tr>
|
<table class="table table-bordered"><thead>
|
||||||
<td width='500'>元数据标题</td>
|
<tr>
|
||||||
<td width='150'>管理员</td>
|
<td width='500'>元数据标题</td>
|
||||||
<td width='150'>状态</td>
|
<td width='150'>管理员</td>
|
||||||
</tr></thead>
|
<td width='150'>状态</td>
|
||||||
<?php if (count($this->queue)): ?>
|
</tr></thead>
|
||||||
<?php $autoindex=0;?>
|
<?php if (count($this->queue)): ?>
|
||||||
<?php foreach ($this->queue as $item): ?>
|
<?php $autoindex=0;?>
|
||||||
<?php $autoindex++;?>
|
<?php foreach ($this->queue as $item): ?>
|
||||||
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
<?php $autoindex++;?>
|
||||||
<td><?= $item['title']?></td>
|
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
||||||
<td><?php echo $item['realname'].'['.$item['username'].']';?></td>
|
<td><?= $item['title']?></td>
|
||||||
<td><?php echo $item['status'];?></td>
|
<td><?php echo $item['realname'].'['.$item['username'].']';?></td>
|
||||||
</tr>
|
<td><?php echo $item['status'];?></td>
|
||||||
<?php endforeach; ?>
|
</tr>
|
||||||
<?php endif; ?>
|
<?php endforeach; ?>
|
||||||
</table>
|
<?php endif; ?>
|
||||||
<br />
|
</table>
|
||||||
我管理的最近十条元数据
|
<br />
|
||||||
<table><thead>
|
<h3>我管理的最近十条元数据</h3>
|
||||||
<tr>
|
<hr />
|
||||||
<td width='500'>元数据标题</td>
|
<table class="table table-bordered"><thead>
|
||||||
<td width='150'>状态</td>
|
<tr>
|
||||||
</tr></thead>
|
<td width='500'>元数据标题</td>
|
||||||
<?php if (count($this->queue)): ?>
|
<td width='150'>状态</td>
|
||||||
<?php $autoindex=0;?>
|
</tr></thead>
|
||||||
<?php foreach ($this->queue as $item): ?>
|
<?php if (count($this->queue)): ?>
|
||||||
<?php $autoindex++;?>
|
<?php $autoindex=0;?>
|
||||||
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
<?php foreach ($this->queue as $item): ?>
|
||||||
<td><?= $item['title']?></td>
|
<?php $autoindex++;?>
|
||||||
<td><?php echo $item['status'];?></td>
|
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
||||||
</tr>
|
<td><?= $item['title']?></td>
|
||||||
<?php endforeach; ?>
|
<td><?php echo $item['status'];?></td>
|
||||||
<?php endif; ?>
|
</tr>
|
||||||
</table>
|
<?php endforeach; ?>
|
||||||
|
<?php endif; ?>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
|
@ -1,12 +1,15 @@
|
||||||
<ul class="nav nav-pills nav-stacked well">
|
<div class="well" style="padding:8px 0">
|
||||||
<span class="label"><h4>元数据评审</h4></span>
|
<ul class="nav nav-list">
|
||||||
<li id="Nav-review-draft"><a href="/admin/review/draft">投稿元数据</a></li>
|
<li class="nav-header"><h4>元数据评审</h4></li>
|
||||||
<li id="Nav-review-editor"><a href="/admin/review/editor">分配责任编辑</a></li>
|
<li class="divider"></li>
|
||||||
<li id="Nav-review-accept"><a href="/admin/review/accept">待审元数据</a></li>
|
<li id="Nav-review-draft"><a href="/admin/review/draft">投稿元数据</a></li>
|
||||||
<!-- <li id="Nav-review-inreview"><a href="/admin/review/inreview">在审元数据</a></li> -->
|
<li id="Nav-review-editor"><a href="/admin/review/editor">分配责任编辑</a></li>
|
||||||
<li id="Nav-review-myreview"><a href="/admin/review/myreview">我负责的元数据</a></li>
|
<li id="Nav-review-accept"><a href="/admin/review/accept">待审元数据</a></li>
|
||||||
<li id="Nav-review-reviewed"><a href="/admin/review/reviewed">通过评审的元数据</a></li>
|
<!-- <li id="Nav-review-inreview"><a href="/admin/review/inreview">在审元数据</a></li> -->
|
||||||
<li id="Nav-review-experts"><a href="/admin/review/experts">专家库</a></li>
|
<li id="Nav-review-myreview"><a href="/admin/review/myreview">我负责的元数据</a></li>
|
||||||
<li id="Nav-review-canceled"><a href="/admin/review/canceled">已取消评审的元数据</a></li>
|
<li id="Nav-review-reviewed"><a href="/admin/review/reviewed">通过评审的元数据</a></li>
|
||||||
<li id="Nav-review-comments"><a href="/admin/review/comments">元数据评审管理</a></li>
|
<li id="Nav-review-experts"><a href="/admin/review/experts">专家库</a></li>
|
||||||
</ul>
|
<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>
|
||||||
|
</div>
|
|
@ -1,76 +1,81 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle('后台管理');
|
$this->headTitle('后台管理');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/admin.css');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
||||||
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->headScript()->appendFile('/js/jquery-1.6.4.min.js');
|
||||||
$this->headScript()->appendFile('/js/jquery-1.6.4.min.js');
|
$this->headScript()->appendFile('/js/jquery.masonry.min.js');
|
||||||
$this->headScript()->appendFile('/js/jquery.masonry.min.js');
|
?>
|
||||||
?>
|
<div class="row-fluid">
|
||||||
<div id="leftPanel">
|
<div class="span2">
|
||||||
<?= $this->partial('stat/left.phtml'); ?>
|
<?= $this->partial('stat/left.phtml'); ?>
|
||||||
</div>
|
|
||||||
<div id="rightPanel">
|
|
||||||
<div class="tables">
|
|
||||||
<div class="stitle">概况</div>
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<td>用户总数:</td>
|
|
||||||
<td><?php echo $this->stat['alluser']; ?>人</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>元数据条数:</td>
|
|
||||||
<td><?php echo $this->stat['alldata']; ?>条</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>在线数据下载数:</td>
|
|
||||||
<td><?php echo $this->stat['onlinedown']; ?>条</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>离线数据下载数:</td>
|
|
||||||
<td><?php echo $this->stat['offlinedown']; ?>条</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>已通过的离线申请:</td>
|
|
||||||
<td><?php echo $this->stat['offlinepass']; ?>次</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>未完成的离线申请:</td>
|
|
||||||
<td><?php echo $this->stat['offlineunfinished']; ?>次</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>被拒绝的离线数据:</td>
|
|
||||||
<td><?php echo $this->stat['offlinedenied']; ?>条</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>有记录的在线下载数:</td>
|
|
||||||
<td><?php echo $this->stat['onlineapp']; ?>次</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="span10">
|
||||||
<div class="tables">
|
<div class="row-fluid">
|
||||||
<div class="stitle">数据下载量概况</div>
|
<div class="span6">
|
||||||
<table>
|
<h3>概况</h3>
|
||||||
<thead>
|
<hr />
|
||||||
<tr><td width="200"></td><td width="100">单位:GB</td></tr>
|
|
||||||
</thead>
|
<table class="table table-bordered">
|
||||||
<tr>
|
<tr>
|
||||||
<td>总下载数据量</td>
|
<td>用户总数:</td>
|
||||||
<td><?php echo round($this->allsize['num'],2);?></td>
|
<td><?php echo $this->stat['alluser']; ?>人</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>离线下载数据量</td>
|
<td>元数据条数:</td>
|
||||||
<td><?php echo round($this->offlinesize['num'],2);?></td>
|
<td><?php echo $this->stat['alldata']; ?>条</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>在线下载数据量</td>
|
<td>在线数据下载数:</td>
|
||||||
<td><?php echo round($this->onlinesize['num'],2);?></td>
|
<td><?php echo $this->stat['onlinedown']; ?>条</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
</table>
|
<td>离线数据下载数:</td>
|
||||||
|
<td><?php echo $this->stat['offlinedown']; ?>条</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>已通过的离线申请:</td>
|
||||||
|
<td><?php echo $this->stat['offlinepass']; ?>次</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>未完成的离线申请:</td>
|
||||||
|
<td><?php echo $this->stat['offlineunfinished']; ?>次</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>被拒绝的离线数据:</td>
|
||||||
|
<td><?php echo $this->stat['offlinedenied']; ?>条</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>有记录的在线下载数:</td>
|
||||||
|
<td><?php echo $this->stat['onlineapp']; ?>次</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="span6">
|
||||||
|
<h3>数据下载量概况</h3>
|
||||||
|
<hr />
|
||||||
|
<table class="table table-bordered">
|
||||||
|
<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>
|
||||||
|
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
<ul class="nav nav-pills nav-stacked well">
|
<div class="well" style="padding:8px 0">
|
||||||
<span class="label"><h4>信息统计</h4></span>
|
<ul class="nav nav-list">
|
||||||
<li><a href="/admin/stat/">统计概况</a></li>
|
<li class="nav-header"><h4>信息统计</h4></li>
|
||||||
<li><a href="/admin/stat/unit">分单位统计</a></li>
|
<li class="divider"></li>
|
||||||
<li><a href="/admin/stat/month">分月统计</a></li>
|
<li><a href="/admin/stat/">统计概况</a></li>
|
||||||
<li><a href="/admin/stat/user">按用户统计</a></li>
|
<li><a href="/admin/stat/unit">分单位统计</a></li>
|
||||||
</ul>
|
<li><a href="/admin/stat/month">分月统计</a></li>
|
||||||
|
<li><a href="/admin/stat/user">按用户统计</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
|
@ -1,46 +1,48 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle('后台管理');
|
$this->headTitle('后台管理');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/admin.css');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/admin/">后台首页</a>');
|
||||||
$this->breadcrumb('<a href="/admin/">后台首页</a>');
|
$this->breadcrumb('<a href="/admin/user">用户管理</a>');
|
||||||
$this->breadcrumb('<a href="/admin/user">用户管理</a>');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
?>
|
||||||
?>
|
<div class="row-fluid">
|
||||||
<div id="leftPanel">
|
<div class="span2">
|
||||||
<?= $this->partial('user/left.phtml'); ?>
|
<?= $this->partial('user/left.phtml'); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="rightPanel">
|
<div class="span10">
|
||||||
<div class="title">管理员列表</div>
|
<h3>管理员列表</h3>
|
||||||
<table>
|
<hr />
|
||||||
<thead>
|
<table class="table table-bordered table-hover">
|
||||||
<tr>
|
<thead>
|
||||||
<td width='150'>用户名</td>
|
<tr>
|
||||||
<td width='250'>电子邮箱</td>
|
<td width='150'>用户名</td>
|
||||||
<td width='100'>用户类型</td>
|
<td width='250'>电子邮箱</td>
|
||||||
<td width='150'>真实姓名</td>
|
<td width='100'>用户类型</td>
|
||||||
<td width='150'>电话</td>
|
<td width='150'>真实姓名</td>
|
||||||
<td width='150'>操作</td>
|
<td width='150'>电话</td>
|
||||||
</tr>
|
<td width='150'>操作</td>
|
||||||
</thead>
|
</tr>
|
||||||
<?php if (count($this->paginator)): ?>
|
</thead>
|
||||||
<?php $autoindex=0;?>
|
<?php if (count($this->paginator)): ?>
|
||||||
<?php foreach ($this->paginator as $item): ?>
|
<?php $autoindex=0;?>
|
||||||
<?php $autoindex++;?>
|
<?php foreach ($this->paginator as $item): ?>
|
||||||
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
<?php $autoindex++;?>
|
||||||
<td><?= $item['username']?></td>
|
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
||||||
<td><?= $item['email']; ?></td>
|
<td><?= $item['username']?></td>
|
||||||
<td><?= $item['usertype']; ?></td>
|
<td><?= $item['email']; ?></td>
|
||||||
<td><?= $item['realname']; ?></td>
|
<td><?= $item['usertype']; ?></td>
|
||||||
<td><?= $item['phone']; ?></td>
|
<td><?= $item['realname']; ?></td>
|
||||||
<td>
|
<td><?= $item['phone']; ?></td>
|
||||||
<a href='/admin/user/show/id/<?= $item['id'];?>'>查看详细</a>
|
<td>
|
||||||
</td>
|
<a href='/admin/user/show/id/<?= $item['id'];?>'>查看详细</a>
|
||||||
</tr>
|
</td>
|
||||||
<?php endforeach; ?>
|
</tr>
|
||||||
<?php endif; ?>
|
<?php endforeach; ?>
|
||||||
</table>
|
<?php endif; ?>
|
||||||
<div class="pagenavi"><?= $this->paginator; ?></div>
|
</table>
|
||||||
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
|
@ -1,43 +1,43 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle('后台管理');
|
$this->headTitle('后台管理');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('后台管理首页');
|
$this->breadcrumb('后台管理首页');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
?>
|
?>
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<div class="span3">
|
<div class="span2">
|
||||||
<?= $this->partial('user/left.phtml'); ?>
|
<?= $this->partial('user/left.phtml'); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="span9">
|
<div class="span10">
|
||||||
<h3>用户总数: <?php echo $this->su['total'];?>,其中管理员: <?php echo $this->suadmin['total'];?></h3>
|
<h3>用户总数: <?php echo $this->su['total'];?>,其中管理员: <?php echo $this->suadmin['total'];?></h3>
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
<form action="/admin/user/search/" method="get">
|
<form action="/admin/user/search/" method="get">
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label" for="inputName">姓名/用户名</label>
|
<label class="control-label" for="inputName">姓名/用户名</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<input type="text" id="inputName" placeholder="Name or Username" name="realname" class="input-xxlarge">
|
<input type="text" id="inputName" placeholder="Name or Username" name="realname" class="input-xxlarge">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label" for="inputUnit">单位</label>
|
<label class="control-label" for="inputUnit">单位</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<input type="text" id="inputUnit" placeholder="Unit" name="unit" class="input-xxlarge">
|
<input type="text" id="inputUnit" placeholder="Unit" name="unit" class="input-xxlarge">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label" for="inputProject">项目</label>
|
<label class="control-label" for="inputProject">项目</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<input type="text" id="inputProject" placeholder="Project" name="project" class="input-xxlarge">
|
<input type="text" id="inputProject" placeholder="Project" name="project" class="input-xxlarge">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<input type="hidden" name="search" value="1" />
|
<input type="hidden" name="search" value="1" />
|
||||||
<button type="submit" class="btn">搜索</button>
|
<button type="submit" class="btn">搜索</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
|
@ -1,6 +1,9 @@
|
||||||
<ul class="nav nav-pills nav-stacked well">
|
<div class="well" style="padding:8px 0">
|
||||||
<span class="label"><h4>用户管理</h4></span>
|
<ul class="nav nav-list">
|
||||||
<li><a href="/admin/user/">用户管理首页</a></li>
|
<li class="nav-header"><h4>用户管理</h4></li>
|
||||||
<li><a href="/admin/user/adminlist">管理员列表</a></li>
|
<li class="divider"></li>
|
||||||
<li><a href="/admin/user/list">查看所有账户</a></li>
|
<li><a href="/admin/user/">用户管理首页</a></li>
|
||||||
</ul>
|
<li><a href="/admin/user/adminlist">管理员列表</a></li>
|
||||||
|
<li><a href="/admin/user/list">查看所有账户</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
|
@ -1,72 +1,72 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle('后台管理');
|
$this->headTitle('后台管理');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/admin/">后台首页</a>');
|
$this->breadcrumb('<a href="/admin/">后台首页</a>');
|
||||||
$this->breadcrumb('<a href="/admin/user">用户管理</a>');
|
$this->breadcrumb('<a href="/admin/user">用户管理</a>');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
?>
|
?>
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<div class="span3">
|
<div class="span2">
|
||||||
<?= $this->partial('user/left.phtml'); ?>
|
<?= $this->partial('user/left.phtml'); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="span9">
|
<div class="span10">
|
||||||
<h3>用户列表</h3>
|
<h3>用户列表</h3>
|
||||||
<hr />
|
<hr />
|
||||||
<?php if ($this->msg or $this->messages) :?>
|
<?php if ($this->msg or $this->messages) :?>
|
||||||
<div class="alert alert-success">
|
<div class="alert alert-success">
|
||||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||||
<?php if ($this->msg) : ?>
|
<?php if ($this->msg) : ?>
|
||||||
<?php echo $this->msg; ?>
|
<?php echo $this->msg; ?>
|
||||||
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
||||||
<?php echo $msg; ?>
|
<?php echo $msg; ?>
|
||||||
<?php endforeach;endif; ?>
|
<?php endforeach;endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<div class="search form-inline">
|
<div class="search form-inline">
|
||||||
<form action="/admin/user/search/" method="get">
|
<form action="/admin/user/search/" method="get">
|
||||||
<input type="hidden" name="search" value='1' />
|
<input type="hidden" name="search" value='1' />
|
||||||
|
|
||||||
<label>姓名</label><input type="text" name="realname" value="<?php echo $this->realname; ?>" />
|
<label>姓名</label><input type="text" name="realname" value="<?php echo $this->realname; ?>" />
|
||||||
<label>单位</label><input type="text" name="unit" value="<?php echo $this->unit; ?>" />
|
<label>单位</label><input type="text" name="unit" value="<?php echo $this->unit; ?>" />
|
||||||
<label>项目</label><input type="text" name="project" value="<?php echo $this->project; ?>" />
|
<label>项目</label><input type="text" name="project" value="<?php echo $this->project; ?>" />
|
||||||
<button type="submit" value="搜索" class="btn btn-success">搜索</button>
|
<button type="submit" value="搜索" class="btn btn-success">搜索</button>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
</div><!-- search DIV -->
|
</div><!-- search DIV -->
|
||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
<table class="table table-hover">
|
<table class="table table-hover">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td width='150'>用户名</td>
|
<td width='150'>用户名</td>
|
||||||
<td width='250'>电子邮箱</td>
|
<td width='250'>电子邮箱</td>
|
||||||
<td width='100'>用户组</td>
|
<td width='100'>用户组</td>
|
||||||
<td width='200'>单位</td>
|
<td width='200'>单位</td>
|
||||||
<td width='100'>真实姓名</td>
|
<td width='100'>真实姓名</td>
|
||||||
<td width='150'>操作</td>
|
<td width='150'>操作</td>
|
||||||
</tr>
|
</tr>
|
||||||
</thead><!-- table's head -->
|
</thead><!-- table's head -->
|
||||||
<?php if (count($this->paginator)): ?>
|
<?php if (count($this->paginator)): ?>
|
||||||
<?php $autoindex=0;?>
|
<?php $autoindex=0;?>
|
||||||
<?php foreach ($this->paginator as $item): ?>
|
<?php foreach ($this->paginator as $item): ?>
|
||||||
<?php $autoindex++;?>
|
<?php $autoindex++;?>
|
||||||
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
||||||
<td><?= $item['username']?></td>
|
<td><?= $item['username']?></td>
|
||||||
<td><?= $item['email']; ?></td>
|
<td><?= $item['email']; ?></td>
|
||||||
<td><?= $item['usertype']; ?></td>
|
<td><?= $item['usertype']; ?></td>
|
||||||
<td><?= $item['unit']; ?></td>
|
<td><?= $item['unit']; ?></td>
|
||||||
<td><?= $item['realname']; ?></td>
|
<td><?= $item['realname']; ?></td>
|
||||||
<td>
|
<td>
|
||||||
<a href='/admin/user/show/id/<?= $item['id'];?>'>查看详细</a>
|
<a href='/admin/user/show/id/<?= $item['id'];?>'>查看详细</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</table>
|
</table>
|
||||||
<div class="pagenavi"><?= $this->paginator; ?></div>
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||||
</div><!-- span9 -->
|
</div><!-- span9 -->
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue