2017-02-03 12:32:57 +08:00
|
|
|
<include file="Public/header" title="添加文章" report_status="open" report_color="#6164C1;"/>
|
|
|
|
|
<div class="main-content">
|
2015-07-28 15:15:57 +08:00
|
|
|
<form method="post" action="{:U('post/add')}">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="post-title">漏洞名称</label>
|
|
|
|
|
<input type="text" name="title" class="form-control" id="post-title" placeholder="输入文章标题">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<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>
|
|
|
|
|
</foreach>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="post-content">报告内容</label>
|
|
|
|
|
<script id="post-content" name="content" type="text/plain"></script>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label>处理结果</label>
|
|
|
|
|
<label class="radio-inline">
|
|
|
|
|
<input type="radio" name="type" id="type" value="1" checked="checked">审核中
|
|
|
|
|
</label>
|
|
|
|
|
<label class="radio-inline">
|
|
|
|
|
<input type="radio" name="type" id="type" value="2">已忽略
|
|
|
|
|
</label>
|
|
|
|
|
<label class="radio-inline">
|
|
|
|
|
<input type="radio" name="type" id="type" value="3">已确认
|
|
|
|
|
</label>
|
|
|
|
|
<label class="radio-inline">
|
|
|
|
|
<input type="radio" name="type" id="type" value="4">已修复
|
|
|
|
|
</label>
|
|
|
|
|
</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: [
|
2016-01-24 11:54:16 +08:00
|
|
|
['source', 'undo', 'redo','bold', 'italic', 'underline','fontborder', 'strikethrough', '|','simpleupload', 'insertimage','attachment','emotion','link','unlink', '|', 'removeformat', 'formatmatch', 'autotypeset', 'blockquote','searchreplace', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc'],
|
2015-07-28 15:15:57 +08:00
|
|
|
['inserttable','insertrow', 'insertcol','mergeright', 'mergedown','deleterow', 'deletecol','splittorows','splittocols', 'splittocells','deletecaption','inserttitle', 'mergecells', 'deletetable','insertparagraphbeforetable', 'paragraph','fontsize','fontfamily']
|
|
|
|
|
],
|
|
|
|
|
initialFrameHeight:500,
|
|
|
|
|
zIndex:100
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<include file="Public/footer" />
|