SRCMS·轻响应V1.9正式版

修复 管理后台管理用户搜索失效的问题
修复 前端页面CSS样式远程资源失效问题
修复 用户积分兑换逻辑问题(Issued By 藏形匿影)
修复 后台积分扣除导致排行榜错乱的问题
改动 改动了涉及用户积分相关的数据表结构
新增 后台报告审核筛选功能
新增 前台用户个人中心订单查看功能
This commit is contained in:
Martin Zhou
2016-12-26 21:11:19 +08:00
parent df21198abc
commit d14b358b31
928 changed files with 245281 additions and 105 deletions

View File

@@ -1,5 +1,16 @@
<extend name="Public:common" />
<block name="main">
<script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.all.js"></script>
<script type="text/javascript">
var ue = UE.getEditor('post-content',{
toolbars: [
['source', '|','simpleupload','emotion','link','unlink', '|', 'selectall', 'cleardoc'],
],
initialFrameHeight:500,
zIndex:100
});
</script>
<div class="gallery">
<div class="col-md-offset-2">
<h2><strong>提交漏洞</strong></h2>
@@ -12,7 +23,7 @@
<input type="text" name="title" class="form-control" id="post-title" placeholder="输入文章标题">
</div>
<div class="form-group">
<label for="post-cate">漏洞</label>
<label for="post-cate">漏洞类</label>
<select name="cate_id" id="post-cate" class="form-control">
<foreach name="category" item="v">
<option value="{$v.id}">{$v.html} {$v.title}</option>
@@ -23,24 +34,7 @@
<label for="post-content">漏洞内容</label>
<script id="post-content" name="content" type="text/plain"></script>
</div>
<!--<div class="form-group">
<input type="hidden" name="type" id="type" value="1" checked="checked">
</div>-->
<button type="submit" class="btn btn-default">提交</button>
</form>
</div>
<!-- 配置文件 -->
<script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.config.js"></script>
<!-- 编辑器源码文件 -->
<script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.all.js"></script>
<!-- 实例化编辑器 -->
<script type="text/javascript">
var ue = UE.getEditor('post-content',{
toolbars: [
['source', '|','simpleupload','emotion','link','unlink', '|', 'selectall', 'cleardoc'],
],
initialFrameHeight:500,
zIndex:100
});
</script>
</block>

View File

@@ -10,12 +10,12 @@
<table class="table table-hover table-striped" style="width:80%" >
<thead>
<tr>
<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>
<tbody>

View File

@@ -8,10 +8,14 @@
<br/>
<h4><strong>{$model.title}</strong></h4>
<div class="row">
<p><span>#{$model.id}</span><span> / </span><span>@{$model.time|date="Y-m-d H:i:s",###}</span><span> / </span><span><if condition="$model.type eq 1"><span class="label label-info">审核中</span>
<p><span>#{$model.id}</span><span> / </span><span>@{$model.time|date="Y-m-d H:i:s",###}</span><span> / </span><span>报告状态:</span><if condition="$model.type eq 1"><span class="label label-info">审核中</span>
<elseif condition="$model.type eq 2" /><span class="label label-default">已忽略</span>
<elseif condition="$model.type eq 3" /><span class="label label-warning">已确认</span>
<elseif condition="$model.type eq 4" /><span class="label label-success">已修复</span>
</if> / <span>漏洞危害:</span><if condition="$model.rank eq 1"><span class="label label-info">无影响</span>
<elseif condition="$model.rank eq 2" /><span class="label label-default">低危</span>
<elseif condition="$model.rank eq 3" /><span class="label label-warning">中危</span>
<elseif condition="$model.rank eq 4" /><span class="label label-success">高危</span>
</if></p>
</div>
<div class="row">