SRCMS V2.0.1开发版
修复 荣誉榜排行顺序问题 修复 站点名称和简介无法配置的问题 修复 荣誉榜团队无法编辑的问题 删除 Ueditor存在漏洞的截屏插件
This commit is contained in:
21
Application/Admin/Controller/StatisticController.class.php
Normal file
21
Application/Admin/Controller/StatisticController.class.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
namespace Admin\Controller;
|
||||
use Admin\Controller;
|
||||
/**
|
||||
* @Author: Zhou Yuyang <1009465756@qq.com> 10:28 2017/02/02
|
||||
* @Copyright 2015-2020 SISMO
|
||||
* @Project homepage https://github.com/CNSISMO
|
||||
* @Version 2.0
|
||||
*/
|
||||
|
||||
|
||||
class StatisticController extends BaseController
|
||||
{
|
||||
/**
|
||||
* 漏洞报告列表
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
$this -> display();
|
||||
}
|
||||
}
|
||||
@@ -34,8 +34,8 @@
|
||||
<input type="text" name="name" class="form-control" placeholder="输入贡献者名称">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="aa">贡献者团队</label>
|
||||
<input type="text" name="team" class="form-control" placeholder="输入贡献者团队">
|
||||
<label for="aa">贡献团队</label>
|
||||
<input type="text" name="team" class="form-control" placeholder="输入贡献团队名称">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="bb">图片地址(图片大小建议设置为 80*80)</label>
|
||||
|
||||
@@ -14,6 +14,10 @@
|
||||
<div class="form-group">
|
||||
<label for="aa">贡献者名称</label>
|
||||
<input type="text" name="name" class="form-control" value="{$model.name}" placeholder="输入贡献者名称">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="aa">贡献团队名称</label>
|
||||
<input type="text" name="name" class="form-control" value="{$model.team}" placeholder="输入贡献团队名称">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="bb">图片地址(图片大小建议设置为 80*80)</label>
|
||||
|
||||
65
Application/Admin/View/Statistic/index.html
Normal file
65
Application/Admin/View/Statistic/index.html
Normal file
@@ -0,0 +1,65 @@
|
||||
<include file="Public/header" title="公告管理 - 企业安全应急响应与缺陷管理中心" page_status="open" page_color="#6164C1;"/>
|
||||
|
||||
<div class="main-content">
|
||||
<div class="page-title">
|
||||
<div class="title">Flot</div>
|
||||
<div class="sub-title">Flot chart plugin</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="card bg-white">
|
||||
<div class="card-header">
|
||||
Line series
|
||||
</div>
|
||||
<div class="card-block text-center">
|
||||
<div class="chart line" style="height: 320px; padding: 0px; position: relative;"><canvas class="flot-base" width="993" height="320" style="direction: ltr; position: absolute; left: 0px; top: 0px; width: 993px; height: 320px;"></canvas><div class="flot-text" style="position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; font-size: smaller; color: rgb(84, 84, 84);"><div class="flot-x-axis flot-x1-axis xAxis x1Axis" style="position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; display: block;"><div class="flot-tick-label tickLabel" style="position: absolute; max-width: 112px; top: 301px; left: 19px; text-align: center;">0.0</div><div class="flot-tick-label tickLabel" style="position: absolute; max-width: 112px; top: 301px; left: 138px; text-align: center;">1.0</div><div class="flot-tick-label tickLabel" style="position: absolute; max-width: 112px; top: 301px; left: 258px; text-align: center;">2.0</div><div class="flot-tick-label tickLabel" style="position: absolute; max-width: 112px; top: 301px; left: 377px; text-align: center;">3.0</div><div class="flot-tick-label tickLabel" style="position: absolute; max-width: 112px; top: 301px; left: 497px; text-align: center;">4.0</div><div class="flot-tick-label tickLabel" style="position: absolute; max-width: 112px; top: 301px; left: 617px; text-align: center;">5.0</div><div class="flot-tick-label tickLabel" style="position: absolute; max-width: 112px; top: 301px; left: 736px; text-align: center;">6.0</div><div class="flot-tick-label tickLabel" style="position: absolute; max-width: 112px; top: 301px; left: 856px; text-align: center;">7.0</div><div class="flot-tick-label tickLabel" style="position: absolute; max-width: 112px; top: 301px; left: 976px; text-align: center;">8.0</div></div><div class="flot-y-axis flot-y1-axis yAxis y1Axis" style="position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; display: block;"><div class="flot-tick-label tickLabel" style="position: absolute; top: 287px; left: 15px; text-align: right;">0</div><div class="flot-tick-label tickLabel" style="position: absolute; top: 239px; left: 8px; text-align: right;">20</div><div class="flot-tick-label tickLabel" style="position: absolute; top: 191px; left: 8px; text-align: right;">40</div><div class="flot-tick-label tickLabel" style="position: absolute; top: 144px; left: 8px; text-align: right;">60</div><div class="flot-tick-label tickLabel" style="position: absolute; top: 96px; left: 8px; text-align: right;">80</div><div class="flot-tick-label tickLabel" style="position: absolute; top: 48px; left: 1px; text-align: right;">100</div><div class="flot-tick-label tickLabel" style="position: absolute; top: 0px; left: 1px; text-align: right;">120</div></div></div><canvas class="flot-overlay" width="993" height="320" style="direction: ltr; position: absolute; left: 0px; top: 0px; width: 993px; height: 320px;"></canvas></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="card bg-white">
|
||||
<div class="card-header">
|
||||
Grouped bar series
|
||||
</div>
|
||||
<div class="card-block text-center">
|
||||
<div class="chart bar" style="height: 320px; padding: 0px; position: relative;"><canvas class="flot-base" width="470" height="320" style="direction: ltr; position: absolute; left: 0px; top: 0px; width: 470px; height: 320px;"></canvas><div class="flot-text" style="position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; font-size: smaller; color: rgb(84, 84, 84);"><div class="flot-x-axis flot-x1-axis xAxis x1Axis" style="position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; display: block;"><div class="flot-tick-label tickLabel" style="position: absolute; max-width: 68px; top: 302px; left: 31px; text-align: center;">Feb</div><div class="flot-tick-label tickLabel" style="position: absolute; max-width: 68px; top: 302px; left: 117px; text-align: center;">Mar</div><div class="flot-tick-label tickLabel" style="position: absolute; max-width: 68px; top: 302px; left: 213px; text-align: center;">Apr</div><div class="flot-tick-label tickLabel" style="position: absolute; max-width: 68px; top: 302px; left: 303px; text-align: center;">May</div><div class="flot-tick-label tickLabel" style="position: absolute; max-width: 68px; top: 302px; left: 398px; text-align: center;">Jun</div></div><div class="flot-y-axis flot-y1-axis yAxis y1Axis" style="position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; display: block;"><div class="flot-tick-label tickLabel" style="position: absolute; top: 285px; left: 14px; text-align: right;">0</div><div class="flot-tick-label tickLabel" style="position: absolute; top: 228px; left: 7px; text-align: right;">20</div><div class="flot-tick-label tickLabel" style="position: absolute; top: 171px; left: 7px; text-align: right;">40</div><div class="flot-tick-label tickLabel" style="position: absolute; top: 114px; left: 7px; text-align: right;">60</div><div class="flot-tick-label tickLabel" style="position: absolute; top: 57px; left: 7px; text-align: right;">80</div><div class="flot-tick-label tickLabel" style="position: absolute; top: 0px; left: 0px; text-align: right;">100</div></div></div><canvas class="flot-overlay" width="470" height="320" style="direction: ltr; position: absolute; left: 0px; top: 0px; width: 470px; height: 320px;"></canvas></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="card bg-white">
|
||||
<div class="card-header">
|
||||
Pie series
|
||||
</div>
|
||||
<div class="card-block text-center">
|
||||
<div class="chart pie" style="height: 320px; padding: 0px; position: relative;"><canvas class="flot-base" width="470" height="320" style="direction: ltr; position: absolute; left: 0px; top: 0px; width: 470px; height: 320px;"></canvas><canvas class="flot-overlay" width="470" height="320" style="direction: ltr; position: absolute; left: 0px; top: 0px; width: 470px; height: 320px;"></canvas><div class="legend"><div style="position: absolute; width: 60px; height: 90px; top: 5px; right: 5px; background-color: rgb(255, 255, 255); opacity: 0.85;"> </div><table style="position:absolute;top:5px;right:5px;;font-size:smaller;color:#545454"><tbody><tr><td class="legendColorBox"><div style="border:1px solid #ccc;padding:1px"><div style="width:4px;height:0;border:5px solid rgb(221, 103, 119);overflow:hidden"></div></div></td><td class="legendLabel">IE</td></tr><tr><td class="legendColorBox"><div style="border:1px solid #ccc;padding:1px"><div style="width:4px;height:0;border:5px solid rgb(110, 199, 230);overflow:hidden"></div></div></td><td class="legendLabel">Safari</td></tr><tr><td class="legendColorBox"><div style="border:1px solid #ccc;padding:1px"><div style="width:4px;height:0;border:5px solid rgb(242, 183, 118);overflow:hidden"></div></div></td><td class="legendLabel">Chrome</td></tr><tr><td class="legendColorBox"><div style="border:1px solid #ccc;padding:1px"><div style="width:4px;height:0;border:5px solid rgb(245, 245, 245);overflow:hidden"></div></div></td><td class="legendLabel">Opera</td></tr><tr><td class="legendColorBox"><div style="border:1px solid #ccc;padding:1px"><div style="width:4px;height:0;border:5px solid rgb(68, 66, 91);overflow:hidden"></div></div></td><td class="legendLabel">Firefox</td></tr></tbody></table></div></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-12">
|
||||
<div class="card bg-white">
|
||||
<div class="card-header">
|
||||
Realtime series
|
||||
</div>
|
||||
<div class="card-block text-center">
|
||||
<div class="chart realtime" style="height: 320px; padding: 0px; position: relative;"><canvas class="flot-base" width="993" height="320" style="direction: ltr; position: absolute; left: 0px; top: 0px; width: 993px; height: 320px;"></canvas><div class="flot-text" style="position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; font-size: smaller; color: rgb(84, 84, 84);"><div class="flot-x-axis flot-x1-axis xAxis x1Axis" style="position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; display: block;"><div class="flot-tick-label tickLabel" style="position: absolute; max-width: 144px; top: 302px; left: 23px; text-align: center;">0</div><div class="flot-tick-label tickLabel" style="position: absolute; max-width: 144px; top: 302px; left: 179px; text-align: center;">50</div><div class="flot-tick-label tickLabel" style="position: absolute; max-width: 144px; top: 302px; left: 335px; text-align: center;">100</div><div class="flot-tick-label tickLabel" style="position: absolute; max-width: 144px; top: 302px; left: 495px; text-align: center;">150</div><div class="flot-tick-label tickLabel" style="position: absolute; max-width: 144px; top: 302px; left: 655px; text-align: center;">200</div><div class="flot-tick-label tickLabel" style="position: absolute; max-width: 144px; top: 302px; left: 815px; text-align: center;">250</div></div><div class="flot-y-axis flot-y1-axis yAxis y1Axis" style="position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; display: block;"><div class="flot-tick-label tickLabel" style="position: absolute; top: 288px; left: 14px; text-align: right;">0</div><div class="flot-tick-label tickLabel" style="position: absolute; top: 230px; left: 7px; text-align: right;">20</div><div class="flot-tick-label tickLabel" style="position: absolute; top: 173px; left: 7px; text-align: right;">40</div><div class="flot-tick-label tickLabel" style="position: absolute; top: 115px; left: 7px; text-align: right;">60</div><div class="flot-tick-label tickLabel" style="position: absolute; top: 58px; left: 7px; text-align: right;">80</div><div class="flot-tick-label tickLabel" style="position: absolute; top: 0px; left: 0px; text-align: right;">100</div></div></div><canvas class="flot-overlay" width="993" height="320" style="direction: ltr; position: absolute; left: 0px; top: 0px; width: 993px; height: 320px;"></canvas></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
(function($){var data=[],totalPoints=300,updateInterval=300,previousPoint=null,plot;var browserData=[{label:'IE',data:15,color:$.staticApp.danger},{label:'Safari',data:14,color:$.staticApp.info},{label:'Chrome',data:34,color:$.staticApp.warning},{label:'Opera',data:13,color:$.staticApp.bodyBg},{label:'Firefox',data:24,color:$.staticApp.dark}];var getRandomArbitrary=function(){return Math.round(Math.random()*100);};var visits=[[0,getRandomArbitrary()],[1,getRandomArbitrary()],[2,getRandomArbitrary()],[3,getRandomArbitrary()],[4,getRandomArbitrary()],[5,getRandomArbitrary()],[6,getRandomArbitrary()],[7,getRandomArbitrary()],[8,getRandomArbitrary()]];var visitors=[[0,getRandomArbitrary()],[1,getRandomArbitrary()],[2,getRandomArbitrary()],[3,getRandomArbitrary()],[4,getRandomArbitrary()],[5,getRandomArbitrary()],[6,getRandomArbitrary()],[7,getRandomArbitrary()],[8,getRandomArbitrary()]];var plotdata=[{data:visits,color:$.staticApp.primary},{data:visitors,color:$.staticApp.info}];var barData=[{data:[[1391761856000,80],[1394181056000,40],[1396859456000,20],[1399451456000,20],[1402129856000,50]],bars:{show:true,barWidth:7*24*60*60*1000,fill:true,lineWidth:0,order:1,fillColor:$.staticApp.info}},{data:[[1391761856000,50],[1394181056000,30],[1396859456000,10],[1399451456000,70],[1402129856000,30]],bars:{show:true,barWidth:7*24*60*60*1000,fill:true,lineWidth:0,order:2,fillColor:$.staticApp.danger}},{data:[[1391761856000,30],[1394181056000,60],[1396859456000,40],[1399451456000,40],[1402129856000,40]],bars:{show:true,barWidth:7*24*60*60*1000,fill:true,lineWidth:0,order:3,fillColor:$.staticApp.success}}];function getRandomData(){if(data.length>0){data=data.slice(1);}
|
||||
while(data.length<totalPoints){var prev=data.length>0?data[data.length- 1]:50,y=prev+ Math.random()*10- 5;if(y<0){y=0;}else if(y>100){y=100;}
|
||||
data.push(y);}
|
||||
var res=[];for(var i=0;i<data.length;++i){res.push([i,data[i]]);}
|
||||
return res;}
|
||||
function showTooltip(x,y,contents){$('<div id=\'tooltip\'>'+ contents+'</div>').css({top:y- 10,left:x+ 20}).appendTo('body').fadeIn(200);}
|
||||
function update(){plot.setData([getRandomData()]);plot.draw();setTimeout(update,updateInterval);}
|
||||
$.plot($('.pie'),browserData,{series:{pie:{show:true,innerRadius:0.5,stroke:{width:0},label:{show:false,}}},legend:{show:true},});$.plot($('.bar'),barData,{grid:{hoverable:false,clickable:false,labelMargin:8,color:$.staticApp.border,borderWidth:0,},xaxis:{mode:'time',timeformat:'%b',tickSize:[1,'month'],monthNames:['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],tickLength:0,axisLabel:'Month',axisLabelUseCanvas:true,axisLabelFontSizePixels:12,axisLabelFontFamily:'Roboto',axisLabelPadding:5}});plot=$.plot('.realtime',[getRandomData()],{colors:[$.staticApp.dark],lines:{lineWidth:1,},grid:{color:$.staticApp.border,borderWidth:0,hoverable:true},yaxis:{min:0,max:100}});$('.line').length&&$.plot($('.line'),plotdata,{series:{lines:{show:true,lineWidth:0,},splines:{show:true,tension:0.5,lineWidth:1,fill:0.2,},shadowSize:0},grid:{color:$.staticApp.border,borderWidth:1,hoverable:true,},});$('.chart, .chart-sm').bind('plothover',function(event,pos,item){if(item){if(previousPoint!==item.dataIndex){previousPoint=item.dataIndex;$('#tooltip').remove();var x=item.datapoint[0],y=item.datapoint[1];showTooltip(item.pageX,item.pageY,y+' at '+ x);}}else{$('#tooltip').remove();previousPoint=null;}});update();})(jQuery);
|
||||
</script>
|
||||
|
||||
<include file="Public/footer" />
|
||||
19
Application/Admin/View/Wiki/index.html
Normal file
19
Application/Admin/View/Wiki/index.html
Normal file
@@ -0,0 +1,19 @@
|
||||
<include file="Public/header" title="安全维基 - 企业安全应急响应与缺陷管理中心" />
|
||||
<div class="main-content no-padding">
|
||||
<div class="page-height row-equal align-middle text-center">
|
||||
<div class="column">
|
||||
<img src="__PUBLIC__/wiki.png"></img>
|
||||
<div class="m-b h4" style="font-family:微软雅黑;">企业安全维基</div>
|
||||
<form action="{:U('post/index')}" method="post">
|
||||
<div class="form-group input-group col-md-6 text-center">
|
||||
<input type="text" class="form-control" name="key" placeholder="搜索安全维基..">
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-default" type="button"><i class="fa fa-search"></i></button>
|
||||
</span>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<include file="Public/footer" />
|
||||
@@ -9,12 +9,4 @@ return array(
|
||||
//'DB_PREFIX' => 'wx_', // 数据库表前缀
|
||||
'DB_FIELDS_CACHE' => true, // 启用字段缓存
|
||||
'DB_CHARSET' => 'utf8', // 数据库编码默认采用utf8
|
||||
'DB_CONFIG1' => array(
|
||||
'db_type' => 'mysql',
|
||||
'db_user' => 'root',
|
||||
'db_pwd' => 'root',
|
||||
'db_host' => 'localhost',
|
||||
'db_port' => '3306',
|
||||
'db_name' => 'srflow'
|
||||
),
|
||||
);
|
||||
@@ -18,9 +18,9 @@ class BlogController extends Controller{
|
||||
$model = M('blog');
|
||||
$tmodel= M('setting');
|
||||
$pages = $model->limit(15)->select();
|
||||
$title = $tmodel->where('id=1')->select();
|
||||
$this->assign('title', $title);
|
||||
$settings = $tmodel -> where('id=1') -> select();
|
||||
$this->assign('model', $pages);
|
||||
$this->assign('settings', $settings);
|
||||
$this->display();
|
||||
}
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@ class GiftController extends Controller{
|
||||
public function index(){
|
||||
$gift = M('links')->select();
|
||||
$tmodel= M('setting');
|
||||
$title = $tmodel->where('id=1')->select();
|
||||
$this->assign('title', $title);
|
||||
$settings = $tmodel -> where('id=1') -> select();
|
||||
$this->assign('settings', $settings);
|
||||
$this->assign('gift',$gift);
|
||||
$this->display();
|
||||
}
|
||||
|
||||
@@ -18,7 +18,10 @@ class HallController extends Controller{
|
||||
{
|
||||
$xuhao = 1;
|
||||
$model = M('member');
|
||||
$user = $model->order('jifen ASC')->where('jifen>0')->select();
|
||||
$tmodel= M('setting');
|
||||
$settings = $tmodel -> where('id=1') -> select();
|
||||
$user = $model->order('jifen DESC')->where('jifen>0')->select();
|
||||
$this->assign('settings', $settings);
|
||||
$this ->assign('xuhao',$xuhao);
|
||||
$this->assign('user',$user);
|
||||
$this->display();
|
||||
|
||||
@@ -21,9 +21,11 @@ class IndexController extends Controller{
|
||||
$title = $tmodel->where('id=1')->select();
|
||||
$hall = $model->order('id DESC')->select();
|
||||
$advisories = $amodel -> select();
|
||||
$settings = $tmodel -> where('id=1') -> select();
|
||||
$this->assign('model', $hall);
|
||||
$this->assign('title', $title);
|
||||
$this->assign('advisories', $advisories);
|
||||
$this->assign('settings', $settings);
|
||||
$this->display();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,8 +19,8 @@ class PageController extends Controller{
|
||||
$model = M('page');
|
||||
$tmodel= M('setting');
|
||||
$pages = $model->limit(15)->select();
|
||||
$title = $tmodel->where('id=1')->select();
|
||||
$this->assign('title', $title);
|
||||
$settings = $tmodel -> where('id=1') -> select();
|
||||
$this->assign('settings', $settings);
|
||||
$this->assign('model', $pages);
|
||||
$this->display();
|
||||
}
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<title>研究博客 - Google Inc.安全应急响应中心</title>
|
||||
<meta name="keywords" content="Google Inc.安全应急响应中心" />
|
||||
<meta name="description" content="Google Inc.安全应急响应中心">
|
||||
<title>研究博客 - <foreach name="settings" item="s"> {$s.key2} </foreach>安全应急响应中心</title>
|
||||
<meta name="keywords" content="<foreach name='settings' item='s'> {$s.key2} </foreach>安全应急响应中心" />
|
||||
<meta name="description" content="<foreach name='settings' item='s'> {$s.key2} </foreach>安全应急响应中心">
|
||||
<meta name="author" content="srcms.xyz">
|
||||
|
||||
<!-- Vendor Styles -->
|
||||
@@ -43,7 +43,7 @@
|
||||
<span class="yahei icon-bar"></span>
|
||||
<span class="yaheiicon-bar"></span>
|
||||
</button>
|
||||
<a class="yahei navbar-brand" href="{:U('index/index')}"><strong>Google Inc.</strong>
|
||||
<a class="yahei navbar-brand" href="{:U('index/index')}"><strong><foreach name="settings" item="s"> {$s.key2} </foreach></strong>
|
||||
<span class="yahei" style=" font-size: 12px;padding: 2px 6px;border: 1px solid;border-radius: 4px;vertical-align: 4px; ">安全应急响应中心</span>
|
||||
</a>
|
||||
</div>
|
||||
@@ -62,7 +62,7 @@
|
||||
<!-- End Nav -->
|
||||
</header>
|
||||
<!--========== PROMO BLOCK ==========-->
|
||||
<div class="js__parallax-window" style="background-image:url('__PUBLIC__/Index/img/1920x1080/06.jpg');">
|
||||
<div class="js__parallax-window" style="background-image:url('__PUBLIC__/Index/img/1920x1080/01.jpg');">
|
||||
<div class="container g-padding-y-55--xs">
|
||||
<div class="g-padding-y-50--xs">
|
||||
<p class="g-font-size-26--xs g-font-size-40--md g-margin-b-0--xs g-color--white">研究博客</p>
|
||||
@@ -119,7 +119,7 @@
|
||||
</div>
|
||||
<div class="col-md-4 col-md-offset-2 col-sm-5 col-sm-offset-1 s-footer__logo g-padding-y-50--xs g-padding-y-0--md">
|
||||
<!--<h3 class="g-font-size-18--xs g-color--white">Google Inc.</h3>-->
|
||||
<p class="g-color--white-opacity">Google Inc. 是一家位于美国的跨国科技企业,业务包括Google搜索、Google Chrome、Andriod等。Google非常重视安全生态的建设,希望通过建立安全应急响应中心邀请安全专家完善生态。</p>
|
||||
<p class="g-color--white-opacity"><foreach name="settings" item="s"> {$s.key3} </foreach></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -135,7 +135,7 @@
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-xs-6 g-text-right--xs">
|
||||
<p class="g-font-size-14--xs g-margin-b-0--xs g-color--white-opacity-light">© Google 2017-2018 Powered by: SRCMS</p>
|
||||
<p class="g-font-size-14--xs g-margin-b-0--xs g-color--white-opacity-light"><foreach name="settings" item="s"> {$s.key6} </foreach></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<title>{$model.title} - Google Inc.安全应急响应中心</title>
|
||||
<meta name="keywords" content="Google Inc.安全应急响应中心" />
|
||||
<meta name="description" content="Google Inc.安全应急响应中心">
|
||||
<title>{$model.title} - <foreach name="settings" item="s"> {$s.key2} </foreach>安全应急响应中心</title>
|
||||
<meta name="keywords" content="<foreach name='settings' item='s'> {$s.key2} </foreach>安全应急响应中心" />
|
||||
<meta name="description" content="<foreach name='settings' item='s'> {$s.key2} </foreach>安全应急响应中心">
|
||||
<meta name="author" content="srcms.xyz">
|
||||
|
||||
<!-- Vendor Styles -->
|
||||
@@ -43,7 +43,7 @@
|
||||
<span class="yahei icon-bar"></span>
|
||||
<span class="yaheiicon-bar"></span>
|
||||
</button>
|
||||
<a class="yahei navbar-brand" href="{:U('index/index')}"><strong>Google Inc.</strong>
|
||||
<a class="yahei navbar-brand" href="{:U('index/index')}"><strong><foreach name="settings" item="s"> {$s.key2} </foreach></strong>
|
||||
<span class="yahei" style=" font-size: 12px;padding: 2px 6px;border: 1px solid;border-radius: 4px;vertical-align: 4px; ">安全应急响应中心</span>
|
||||
</a>
|
||||
</div>
|
||||
@@ -118,7 +118,7 @@
|
||||
</div>
|
||||
<div class="col-md-4 col-md-offset-2 col-sm-5 col-sm-offset-1 s-footer__logo g-padding-y-50--xs g-padding-y-0--md">
|
||||
<!--<h3 class="g-font-size-18--xs g-color--white">Google Inc.</h3>-->
|
||||
<p class="g-color--white-opacity">Google Inc. 是一家位于美国的跨国科技企业,业务包括Google搜索、Google Chrome、Andriod等。Google非常重视安全生态的建设,希望通过建立安全应急响应中心邀请安全专家完善生态。</p>
|
||||
<p class="g-color--white-opacity"><foreach name="settings" item="s"> {$s.key3} </foreach></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -134,7 +134,7 @@
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-xs-6 g-text-right--xs">
|
||||
<p class="g-font-size-14--xs g-margin-b-0--xs g-color--white-opacity-light">© Google 2017-2018 Powered by: SRCMS</p>
|
||||
<p class="g-font-size-14--xs g-margin-b-0--xs g-color--white-opacity-light"><foreach name="settings" item="s"> {$s.key6} </foreach></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<title>礼品中心 - Google Inc.安全应急响应中心</title>
|
||||
<meta name="keywords" content="Google Inc.安全应急响应中心" />
|
||||
<meta name="description" content="Google Inc.安全应急响应中心">
|
||||
<title>礼品中心 - <foreach name="settings" item="s"> {$s.key2} </foreach>安全应急响应中心</title>
|
||||
<meta name="keywords" content="<foreach name='settings' item='s'> {$s.key2} </foreach>安全应急响应中心" />
|
||||
<meta name="description" content="<foreach name='settings' item='s'> {$s.key2} </foreach>安全应急响应中心">
|
||||
<meta name="author" content="srcms.xyz">
|
||||
|
||||
<!-- Web Fonts -->
|
||||
@@ -46,7 +46,7 @@
|
||||
<span class="yahei icon-bar"></span>
|
||||
<span class="yaheiicon-bar"></span>
|
||||
</button>
|
||||
<a class="yahei navbar-brand" href="{:U('index/index')}"><strong>Google Inc.</strong>
|
||||
<a class="yahei navbar-brand" href="{:U('index/index')}"><strong><foreach name="settings" item="s"> {$s.key2} </foreach></strong>
|
||||
<span class="yahei" style=" font-size: 12px;padding: 2px 6px;border: 1px solid;border-radius: 4px;vertical-align: 4px; ">安全应急响应中心</span>
|
||||
</a>
|
||||
</div>
|
||||
@@ -158,7 +158,7 @@
|
||||
</div>
|
||||
<div class="col-md-4 col-md-offset-2 col-sm-5 col-sm-offset-1 s-footer__logo g-padding-y-50--xs g-padding-y-0--md">
|
||||
<!--<h3 class="g-font-size-18--xs g-color--white">Google Inc.</h3>-->
|
||||
<p class="g-color--white-opacity">Google Inc. 是一家位于美国的跨国科技企业,业务包括Google搜索、Google Chrome、Andriod等。Google非常重视安全生态的建设,希望通过建立安全应急响应中心邀请安全专家完善生态。</p>
|
||||
<p class="g-color--white-opacity"><foreach name="settings" item="s"> {$s.key3} </foreach></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -174,7 +174,7 @@
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-xs-6 g-text-right--xs">
|
||||
<p class="g-font-size-14--xs g-margin-b-0--xs g-color--white-opacity-light">© Google 2017-2018 Powered by: SRCMS</p>
|
||||
<p class="g-font-size-14--xs g-margin-b-0--xs g-color--white-opacity-light"><foreach name="settings" item="s"> {$s.key6} </foreach></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<title>贡献榜 - Google Inc.安全应急响应中心</title>
|
||||
<meta name="keywords" content="Google Inc.安全应急响应中心" />
|
||||
<meta name="description" content="Google Inc.安全应急响应中心">
|
||||
<title>贡献榜 - <foreach name="settings" item="s"> {$s.key2} </foreach>安全应急响应中心</title>
|
||||
<meta name="keywords" content="<foreach name='settings' item='s'> {$s.key2} </foreach>安全应急响应中心" />
|
||||
<meta name="description" content="<foreach name='settings' item='s'> {$s.key2} </foreach>安全应急响应中心">
|
||||
<meta name="author" content="srcms.xyz">
|
||||
|
||||
<!-- Vendor Styles -->
|
||||
@@ -88,7 +88,7 @@
|
||||
<span class="yahei icon-bar"></span>
|
||||
<span class="yaheiicon-bar"></span>
|
||||
</button>
|
||||
<a class="yahei navbar-brand" href="{:U('index/index')}"><strong>Google Inc.</strong>
|
||||
<a class="yahei navbar-brand" href="{:U('index/index')}"><strong><foreach name="settings" item="s"> {$s.key2} </foreach></strong>
|
||||
<span class="yahei" style=" font-size: 12px;padding: 2px 6px;border: 1px solid;border-radius: 4px;vertical-align: 4px; ">安全应急响应中心</span>
|
||||
</a>
|
||||
</div>
|
||||
@@ -181,7 +181,7 @@
|
||||
</div>
|
||||
<div class="col-md-4 col-md-offset-2 col-sm-5 col-sm-offset-1 s-footer__logo g-padding-y-50--xs g-padding-y-0--md">
|
||||
<!--<h3 class="g-font-size-18--xs g-color--white">Google Inc.</h3>-->
|
||||
<p class="g-color--white-opacity">Google Inc. 是一家位于美国的跨国科技企业,业务包括Google搜索、Google Chrome、Andriod等。Google非常重视安全生态的建设,希望通过建立安全应急响应中心邀请安全专家完善生态。</p>
|
||||
<p class="g-color--white-opacity"><foreach name="settings" item="s"> {$s.key3} </foreach></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -197,7 +197,7 @@
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-xs-6 g-text-right--xs">
|
||||
<p class="g-font-size-14--xs g-margin-b-0--xs g-color--white-opacity-light">© Google 2017-2018 Powered by: SRCMS</p>
|
||||
<p class="g-font-size-14--xs g-margin-b-0--xs g-color--white-opacity-light"><foreach name="settings" item="s"> {$s.key6} </foreach></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<title>个人主页 - Google Inc.安全应急响应中心</title>
|
||||
<title>个人主页 - <foreach name="settings" item="s"> {$s.key2} </foreach>安全应急响应中心</title>
|
||||
<meta name="keywords" content="Google Inc.安全应急响应中心" />
|
||||
<meta name="description" content="Google Inc.安全应急响应中心">
|
||||
<meta name="author" content="srcms.xyz">
|
||||
@@ -45,7 +45,7 @@
|
||||
<span class="yahei icon-bar"></span>
|
||||
<span class="yaheiicon-bar"></span>
|
||||
</button>
|
||||
<a class="yahei navbar-brand" href="{:U('index/index')}"><strong>Google Inc.</strong>
|
||||
<a class="yahei navbar-brand" href="{:U('index/index')}"><strong><foreach name="settings" item="s"> {$s.key2} </foreach></strong>
|
||||
<span class="yahei" style=" font-size: 12px;padding: 2px 6px;border: 1px solid;border-radius: 4px;vertical-align: 4px; ">安全应急响应中心</span>
|
||||
</a>
|
||||
</div>
|
||||
@@ -166,7 +166,7 @@
|
||||
</div>
|
||||
<div class="col-md-4 col-md-offset-2 col-sm-5 col-sm-offset-1 s-footer__logo g-padding-y-50--xs g-padding-y-0--md">
|
||||
<!--<h3 class="g-font-size-18--xs g-color--white">Google Inc.</h3>-->
|
||||
<p class="g-color--white-opacity">Google Inc. 是一家位于美国的跨国科技企业,业务包括Google搜索、Google Chrome、Andriod等。Google非常重视安全生态的建设,希望通过建立安全应急响应中心邀请安全专家完善生态。</p>
|
||||
<p class="g-color--white-opacity"><foreach name="settings" item="s"> {$s.key3} </foreach></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -182,7 +182,7 @@
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-xs-6 g-text-right--xs">
|
||||
<p class="g-font-size-14--xs g-margin-b-0--xs g-color--white-opacity-light">© Google 2017-2018 Powered by: SRCMS</p>
|
||||
<p class="g-font-size-14--xs g-margin-b-0--xs g-color--white-opacity-light"><foreach name="settings" item="s"> {$s.key6} </foreach></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<title>Google Inc.安全应急响应中心</title>
|
||||
<title><foreach name="settings" item="s"> {$s.key2} </foreach>安全应急响应中心</title>
|
||||
<meta name="keywords" content="Google Inc.安全应急响应中心" />
|
||||
<meta name="description" content="Google Inc.安全应急响应中心">
|
||||
<meta name="author" content="srcms.xyz">
|
||||
@@ -47,7 +47,7 @@
|
||||
<span class="yahei icon-bar"></span>
|
||||
<span class="yaheiicon-bar"></span>
|
||||
</button>
|
||||
<a class="yahei navbar-brand" href="{:U('index/index')}"><strong>Google Inc.</strong>
|
||||
<a class="yahei navbar-brand" href="{:U('index/index')}"><strong><foreach name="settings" item="s"> {$s.key2} </foreach></strong>
|
||||
<span class="yahei" style=" font-size: 12px;padding: 2px 6px;border: 1px solid;border-radius: 4px;vertical-align: 4px; ">安全应急响应中心</span>
|
||||
</a>
|
||||
</div>
|
||||
@@ -76,7 +76,7 @@
|
||||
<div class="row">
|
||||
<div class="col-md-7">
|
||||
<div class="g-margin-b-50--xs">
|
||||
<h1 class="g-font-size-32--xs g-font-size-45--sm g-font-size-60--md g-color--white" style="font-family:微软雅黑;">Google INC.<br/>安全应急响应中心</h1>
|
||||
<h1 class="g-font-size-32--xs g-font-size-45--sm g-font-size-60--md g-color--white" style="font-family:微软雅黑;"><foreach name="settings" item="s"> {$s.key2} </foreach><br/>安全应急响应中心</h1>
|
||||
<p class="g-font-size-18--xs g-font-size-22--sm g-color--white-opacity">诚邀广大安全专家共建安全生态</p>
|
||||
</div>
|
||||
<a href="__ROOT__/user.php" class="text-uppercase s-btn s-btn--md s-btn--white-brd g-radius--50 g-padding-x-50--xs">提交漏洞</a>
|
||||
@@ -90,7 +90,7 @@
|
||||
<div class="row">
|
||||
<div class="col-md-7 col-md-offset-5">
|
||||
<div class="g-margin-b-50--xs">
|
||||
<h2 class="g-font-size-32--xs g-font-size-45--sm g-font-size-60--md g-color--white" style="font-family:微软雅黑;">Google INC.<br/>安全应急响应中心</h2>
|
||||
<h2 class="g-font-size-32--xs g-font-size-45--sm g-font-size-60--md g-color--white" style="font-family:微软雅黑;"><foreach name="settings" item="s"> {$s.key2} </foreach><br/>安全应急响应中心</h2>
|
||||
<p class="g-font-size-18--xs g-font-size-22--sm g-color--white-opacity">诚邀广大安全专家共建安全生态</p>
|
||||
</div>
|
||||
<a href="__ROOT__/user.php" class="text-uppercase s-btn s-btn--md s-btn--white-brd g-radius--50 g-padding-x-50--xs">提交情报</a>
|
||||
@@ -289,7 +289,7 @@
|
||||
</div>
|
||||
<div class="col-md-4 col-md-offset-2 col-sm-5 col-sm-offset-1 s-footer__logo g-padding-y-50--xs g-padding-y-0--md">
|
||||
<!--<h3 class="g-font-size-18--xs g-color--white">Google Inc.</h3>-->
|
||||
<p class="g-color--white-opacity">Google Inc. 是一家位于美国的跨国科技企业,业务包括Google搜索、Google Chrome、Andriod等。Google非常重视安全生态的建设,希望通过建立安全应急响应中心邀请安全专家完善生态。</p>
|
||||
<p class="g-color--white-opacity"><foreach name="settings" item="s"> {$s.key3} </foreach></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -305,7 +305,7 @@
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-xs-6 g-text-right--xs">
|
||||
<p class="g-font-size-14--xs g-margin-b-0--xs g-color--white-opacity-light">© Google 2017-2018 Powered by: SRCMS</p>
|
||||
<p class="g-font-size-14--xs g-margin-b-0--xs g-color--white-opacity-light"><foreach name="settings" item="s"> {$s.key6} </foreach></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<title>安全公告 - Google Inc.安全应急响应中心</title>
|
||||
<title>安全公告 - <foreach name="settings" item="s"> {$s.key2} </foreach>安全应急响应中心</title>
|
||||
<meta name="keywords" content="Google Inc.安全应急响应中心" />
|
||||
<meta name="description" content="Google Inc.安全应急响应中心">
|
||||
<meta name="author" content="srcms.xyz">
|
||||
@@ -43,7 +43,7 @@
|
||||
<span class="yahei icon-bar"></span>
|
||||
<span class="yaheiicon-bar"></span>
|
||||
</button>
|
||||
<a class="yahei navbar-brand" href="{:U('index/index')}"><strong>Google Inc.</strong>
|
||||
<a class="yahei navbar-brand" href="{:U('index/index')}"><strong><foreach name="settings" item="s"> {$s.key2} </foreach></strong>
|
||||
<span class="yahei" style=" font-size: 12px;padding: 2px 6px;border: 1px solid;border-radius: 4px;vertical-align: 4px; ">安全应急响应中心</span>
|
||||
</a>
|
||||
</div>
|
||||
@@ -119,7 +119,7 @@
|
||||
</div>
|
||||
<div class="col-md-4 col-md-offset-2 col-sm-5 col-sm-offset-1 s-footer__logo g-padding-y-50--xs g-padding-y-0--md">
|
||||
<!--<h3 class="g-font-size-18--xs g-color--white">Google Inc.</h3>-->
|
||||
<p class="g-color--white-opacity">Google Inc. 是一家位于美国的跨国科技企业,业务包括Google搜索、Google Chrome、Andriod等。Google非常重视安全生态的建设,希望通过建立安全应急响应中心邀请安全专家完善生态。</p>
|
||||
<p class="g-color--white-opacity"><foreach name="settings" item="s"> {$s.key3} </foreach></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -135,7 +135,7 @@
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-xs-6 g-text-right--xs">
|
||||
<p class="g-font-size-14--xs g-margin-b-0--xs g-color--white-opacity-light">© Google 2017-2018 Powered by: SRCMS</p>
|
||||
<p class="g-font-size-14--xs g-margin-b-0--xs g-color--white-opacity-light"><foreach name="settings" item="s"> {$s.key6} </foreach></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<title>{$model.title} - Google Inc.安全应急响应中心</title>
|
||||
<title>{$model.title} - <foreach name="settings" item="s"> {$s.key2} </foreach>安全应急响应中心</title>
|
||||
<meta name="keywords" content="Google Inc.安全应急响应中心" />
|
||||
<meta name="description" content="Google Inc.安全应急响应中心">
|
||||
<meta name="author" content="srcms.xyz">
|
||||
@@ -43,7 +43,7 @@
|
||||
<span class="yahei icon-bar"></span>
|
||||
<span class="yaheiicon-bar"></span>
|
||||
</button>
|
||||
<a class="yahei navbar-brand" href="{:U('index/index')}"><strong>Google Inc.</strong>
|
||||
<a class="yahei navbar-brand" href="{:U('index/index')}"><strong><foreach name="settings" item="s"> {$s.key2} </foreach></strong>
|
||||
<span class="yahei" style=" font-size: 12px;padding: 2px 6px;border: 1px solid;border-radius: 4px;vertical-align: 4px; ">安全应急响应中心</span>
|
||||
</a>
|
||||
</div>
|
||||
@@ -118,7 +118,7 @@
|
||||
</div>
|
||||
<div class="col-md-4 col-md-offset-2 col-sm-5 col-sm-offset-1 s-footer__logo g-padding-y-50--xs g-padding-y-0--md">
|
||||
<!--<h3 class="g-font-size-18--xs g-color--white">Google Inc.</h3>-->
|
||||
<p class="g-color--white-opacity">Google Inc. 是一家位于美国的跨国科技企业,业务包括Google搜索、Google Chrome、Andriod等。Google非常重视安全生态的建设,希望通过建立安全应急响应中心邀请安全专家完善生态。</p>
|
||||
<p class="g-color--white-opacity"><foreach name="settings" item="s"> {$s.key3} </foreach></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -134,7 +134,7 @@
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-xs-6 g-text-right--xs">
|
||||
<p class="g-font-size-14--xs g-margin-b-0--xs g-color--white-opacity-light">© Google 2017-2018 Powered by: SRCMS</p>
|
||||
<p class="g-font-size-14--xs g-margin-b-0--xs g-color--white-opacity-light"><foreach name="settings" item="s"> {$s.key6} </foreach></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -49,7 +49,7 @@ class PostController extends BaseController
|
||||
if (IS_POST) {
|
||||
//如果用户提交数据
|
||||
$model = D("Post");
|
||||
$model->time = time();
|
||||
$model->create_time = time();
|
||||
$data = I();
|
||||
if (!$model->field('title,user_id,cate_id,content')->create()) {
|
||||
// 如果创建失败 表示验证没有通过 输出错误提示信息
|
||||
|
||||
314
DB/srcms.sql
314
DB/srcms.sql
@@ -1,23 +1,23 @@
|
||||
-- phpMyAdmin SQL Dump
|
||||
-- version phpStudy 2014
|
||||
-- version 4.4.11
|
||||
-- http://www.phpmyadmin.net
|
||||
--
|
||||
-- 主机: localhost
|
||||
-- 生成日期: 2017 <20><>?02 <20><>?04 <20><>?14:35
|
||||
-- 服务器版本: 5.5.40
|
||||
-- PHP 版本: 5.5.17
|
||||
-- Host: localhost
|
||||
-- Generation Time: 2017-05-31 22:47:33
|
||||
-- 服务器版本: 5.5.40
|
||||
-- PHP Version: 5.5.17
|
||||
|
||||
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
|
||||
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
||||
SET time_zone = "+00:00";
|
||||
|
||||
|
||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||||
/*!40101 SET NAMES utf8 */;
|
||||
/*!40101 SET NAMES utf8mb4 */;
|
||||
|
||||
--
|
||||
-- 数据库: `srcms`
|
||||
-- Database: `srcms`
|
||||
--
|
||||
|
||||
-- --------------------------------------------------------
|
||||
@@ -27,13 +27,12 @@ SET time_zone = "+00:00";
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `blog` (
|
||||
`id` int(10) NOT NULL AUTO_INCREMENT COMMENT '博客ID',
|
||||
`title` varchar(100) NOT NULL COMMENT '博客标题',
|
||||
`name` varchar(100) NOT NULL COMMENT '博客分类',
|
||||
`id` int(10) NOT NULL COMMENT '博客ID',
|
||||
`title` varchar(100) NOT NULL DEFAULT '暂无' COMMENT '博客标题',
|
||||
`name` varchar(100) NOT NULL DEFAULT '默认分类' COMMENT '博客分类',
|
||||
`content` text NOT NULL COMMENT '博客内容',
|
||||
`update_time` varchar(255) NOT NULL COMMENT '创建时间',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
|
||||
`update_time` varchar(255) NOT NULL COMMENT '创建时间'
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- 转存表中的数据 `blog`
|
||||
@@ -49,14 +48,13 @@ INSERT INTO `blog` (`id`, `title`, `name`, `content`, `update_time`) VALUES
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `category` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`id` int(11) NOT NULL,
|
||||
`pid` int(11) DEFAULT NULL COMMENT '父分类ID',
|
||||
`name` varchar(20) DEFAULT NULL COMMENT '分类别名',
|
||||
`title` varchar(100) DEFAULT NULL COMMENT '分类标题',
|
||||
`keywords` varchar(255) DEFAULT NULL COMMENT '分类关键词',
|
||||
`description` varchar(255) DEFAULT NULL COMMENT '分类描述',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=16 ;
|
||||
`description` varchar(255) DEFAULT NULL COMMENT '分类描述'
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- 转存表中的数据 `category`
|
||||
@@ -86,13 +84,12 @@ INSERT INTO `category` (`id`, `pid`, `name`, `title`, `keywords`, `description`)
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `comment` (
|
||||
`id` int(255) NOT NULL AUTO_INCREMENT COMMENT '评论编号',
|
||||
`id` int(255) NOT NULL COMMENT '评论编号',
|
||||
`user_id` varchar(255) NOT NULL COMMENT '评论用户',
|
||||
`post_id` int(255) NOT NULL COMMENT '评论报告',
|
||||
`content` varchar(255) NOT NULL COMMENT '评论内容',
|
||||
`update_time` varchar(255) NOT NULL COMMENT '评论时间',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='报告评论' AUTO_INCREMENT=2 ;
|
||||
`update_time` varchar(255) NOT NULL COMMENT '评论时间'
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='报告评论';
|
||||
|
||||
--
|
||||
-- 转存表中的数据 `comment`
|
||||
@@ -112,8 +109,7 @@ CREATE TABLE IF NOT EXISTS `hall` (
|
||||
`name` varchar(255) NOT NULL COMMENT '名人堂昵称',
|
||||
`team` varchar(255) NOT NULL DEFAULT 'Unknown' COMMENT '团队名称',
|
||||
`url` varchar(100) NOT NULL COMMENT '名人堂头像URL',
|
||||
`des` varchar(100) NOT NULL COMMENT '名人堂介绍',
|
||||
PRIMARY KEY (`id`)
|
||||
`des` varchar(100) NOT NULL COMMENT '名人堂介绍'
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='名人堂';
|
||||
|
||||
--
|
||||
@@ -138,8 +134,7 @@ CREATE TABLE IF NOT EXISTS `info` (
|
||||
`location` varchar(50) NOT NULL,
|
||||
`tel` varchar(11) NOT NULL,
|
||||
`zipcode` varchar(6) NOT NULL,
|
||||
`alipay` varchar(20) NOT NULL,
|
||||
PRIMARY KEY (`user_id`)
|
||||
`alipay` varchar(20) NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
@@ -156,13 +151,12 @@ INSERT INTO `info` (`user_id`, `username`, `realname`, `location`, `tel`, `zipco
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `links` (
|
||||
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '奖品ID',
|
||||
`id` int(11) unsigned NOT NULL COMMENT '奖品ID',
|
||||
`title` varchar(100) NOT NULL COMMENT '奖品名称',
|
||||
`url` varchar(100) NOT NULL COMMENT '奖品图片',
|
||||
`price` varchar(255) NOT NULL COMMENT '奖品价格',
|
||||
`sort` varchar(255) NOT NULL DEFAULT 'graphic' COMMENT '奖品类型',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=8 ;
|
||||
`sort` varchar(255) NOT NULL DEFAULT 'graphic' COMMENT '奖品类型'
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- 转存表中的数据 `links`
|
||||
@@ -184,23 +178,22 @@ INSERT INTO `links` (`id`, `title`, `url`, `price`, `sort`) VALUES
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `manager` (
|
||||
`id` int(2) NOT NULL AUTO_INCREMENT,
|
||||
`id` int(2) NOT NULL,
|
||||
`username` varchar(20) NOT NULL,
|
||||
`email` varchar(100) NOT NULL,
|
||||
`password` varchar(32) NOT NULL,
|
||||
`token` varchar(255) NOT NULL COMMENT 'token',
|
||||
`login_ip` varchar(20) NOT NULL,
|
||||
`create_at` varchar(11) NOT NULL,
|
||||
`update_at` varchar(11) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
|
||||
`email` varchar(100) NOT NULL DEFAULT '暂无',
|
||||
`password` varchar(32) NOT NULL DEFAULT '暂无',
|
||||
`token` varchar(255) NOT NULL DEFAULT '暂无' COMMENT 'token',
|
||||
`login_ip` varchar(20) NOT NULL DEFAULT '暂无',
|
||||
`create_at` varchar(11) NOT NULL DEFAULT '暂无',
|
||||
`update_at` varchar(11) NOT NULL DEFAULT '暂无'
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- 转存表中的数据 `manager`
|
||||
--
|
||||
|
||||
INSERT INTO `manager` (`id`, `username`, `email`, `password`, `token`, `login_ip`, `create_at`, `update_at`) VALUES
|
||||
(1, 'admin', '1009465756@qq.com', '21232f297a57a5a743894a0e4a801fc3', '52eddf7a5b1f0aee17bbec4e3dda5958', '0.0.0.0', '1453778451', '1486188871');
|
||||
(1, 'admin', '1009465756@qq.com', '21232f297a57a5a743894a0e4a801fc3', '214b679679a56701df24aeaabb2c952b', '0.0.0.0', '1453778451', '1496241923');
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
@@ -209,16 +202,16 @@ INSERT INTO `manager` (`id`, `username`, `email`, `password`, `token`, `login_ip
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `member` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '用户ID',
|
||||
`pid` varchar(255) NOT NULL COMMENT '个人资料ID',
|
||||
`username` varchar(20) DEFAULT NULL COMMENT '用户昵称',
|
||||
`id` int(11) NOT NULL COMMENT '用户ID',
|
||||
`pid` varchar(255) NOT NULL DEFAULT '0' COMMENT '个人资料ID',
|
||||
`username` varchar(20) DEFAULT '路人甲' COMMENT '用户昵称',
|
||||
`realname` varchar(100) NOT NULL DEFAULT '暂无' COMMENT '真实姓名',
|
||||
`team` varchar(255) NOT NULL DEFAULT '暂无' COMMENT '团队名称',
|
||||
`email` varchar(100) DEFAULT NULL COMMENT '用户邮箱',
|
||||
`salt` varchar(9) NOT NULL COMMENT '加密salt',
|
||||
`email` varchar(100) DEFAULT '暂无' COMMENT '用户邮箱',
|
||||
`salt` varchar(9) NOT NULL DEFAULT '暂无' COMMENT '加密salt',
|
||||
`password` varchar(32) DEFAULT NULL COMMENT '用户密码',
|
||||
`token` varchar(255) NOT NULL DEFAULT '0' COMMENT '防护token',
|
||||
`avatar` varchar(255) DEFAULT NULL COMMENT '用户头像',
|
||||
`avatar` varchar(255) DEFAULT '暂无' COMMENT '用户头像',
|
||||
`address` varchar(255) NOT NULL DEFAULT '暂无' COMMENT '用户住址',
|
||||
`description` varchar(255) NOT NULL DEFAULT '暂无' COMMENT '个人简介',
|
||||
`bankcode` varchar(255) NOT NULL DEFAULT '暂无' COMMENT '银行账号',
|
||||
@@ -230,22 +223,12 @@ CREATE TABLE IF NOT EXISTS `member` (
|
||||
`qqnumber` varchar(255) NOT NULL DEFAULT '0' COMMENT 'QQ号',
|
||||
`create_at` varchar(11) DEFAULT '0' COMMENT '创建时间',
|
||||
`update_at` varchar(11) DEFAULT '0' COMMENT '更新时间',
|
||||
`login_ip` varchar(20) DEFAULT NULL COMMENT '登录IP',
|
||||
`login_ip` varchar(20) DEFAULT '0' COMMENT '登录IP',
|
||||
`status` tinyint(1) DEFAULT '1' COMMENT '0:禁止登陆 1:正常',
|
||||
`type` tinyint(1) DEFAULT '1' COMMENT '1:前台用户 2:管理员 ',
|
||||
`jifen` int(10) NOT NULL DEFAULT '0' COMMENT '用户积分',
|
||||
`jinbi` varchar(255) NOT NULL DEFAULT '0' COMMENT '安全币',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `username` (`username`) USING BTREE,
|
||||
KEY `password` (`password`) USING BTREE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
|
||||
|
||||
--
|
||||
-- 转存表中的数据 `member`
|
||||
--
|
||||
|
||||
INSERT INTO `member` (`id`, `pid`, `username`, `realname`, `team`, `email`, `salt`, `password`, `token`, `avatar`, `address`, `description`, `bankcode`, `idcode`, `zipcode`, `alipay`, `tel`, `website`, `qqnumber`, `create_at`, `update_at`, `login_ip`, `status`, `type`, `jifen`, `jinbi`) VALUES
|
||||
(1, '07754918066538062635831023008085', 'user', 'aaaaa', '暂无', '2@qq.com', '2hRpA6V3', 'e25dbd55b6be9cddfc963c5c30f6c662', 'ed2091693b99e6feaf977a980fa8b92f', NULL, 'aaa', 'aaa', '', '', 'aaa', '', 'aaa', 'aaa', 'aa', '1485868122', '1486183509', '0.0.0.0', 1, 1, 200, '1200');
|
||||
`jinbi` varchar(255) NOT NULL DEFAULT '0' COMMENT '安全币'
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
@@ -254,14 +237,13 @@ INSERT INTO `member` (`id`, `pid`, `username`, `realname`, `team`, `email`, `sal
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `notes` (
|
||||
`id` int(100) NOT NULL AUTO_INCREMENT COMMENT '特殊页面ID',
|
||||
`id` int(100) NOT NULL COMMENT '特殊页面ID',
|
||||
`title` varchar(255) NOT NULL COMMENT '特殊页面标题',
|
||||
`content` varchar(255) NOT NULL COMMENT '特殊页面内容',
|
||||
`author` varchar(255) NOT NULL COMMENT '页面作者',
|
||||
`time` varchar(255) NOT NULL COMMENT '页面创建时间',
|
||||
`name` varchar(255) NOT NULL COMMENT '页面别名',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='特殊页面' AUTO_INCREMENT=1 ;
|
||||
`name` varchar(255) NOT NULL COMMENT '页面别名'
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='特殊页面';
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
@@ -270,7 +252,7 @@ CREATE TABLE IF NOT EXISTS `notes` (
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `order` (
|
||||
`id` int(10) NOT NULL AUTO_INCREMENT COMMENT '订单编号',
|
||||
`id` int(10) NOT NULL COMMENT '订单编号',
|
||||
`userid` varchar(255) NOT NULL COMMENT '用户ID',
|
||||
`username` varchar(50) NOT NULL COMMENT '兑换用户',
|
||||
`realname` varchar(50) NOT NULL COMMENT '真实姓名',
|
||||
@@ -281,9 +263,8 @@ CREATE TABLE IF NOT EXISTS `order` (
|
||||
`gid` varchar(100) NOT NULL COMMENT '礼品名称',
|
||||
`price` varchar(255) NOT NULL DEFAULT '0' COMMENT '订单金额',
|
||||
`update_time` varchar(255) NOT NULL COMMENT '订单时间',
|
||||
`finish` int(2) NOT NULL COMMENT '1. 完成 2.未完成',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
|
||||
`finish` int(2) NOT NULL COMMENT '1. 完成 2.未完成'
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- 转存表中的数据 `order`
|
||||
@@ -299,14 +280,13 @@ INSERT INTO `order` (`id`, `userid`, `username`, `realname`, `zipcode`, `address
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `page` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '公告ID',
|
||||
`id` int(11) NOT NULL COMMENT '公告ID',
|
||||
`title` varchar(100) NOT NULL COMMENT '公告标题',
|
||||
`name` varchar(100) NOT NULL COMMENT '公告名称',
|
||||
`author` varchar(100) NOT NULL COMMENT '公告作者',
|
||||
`content` text NOT NULL COMMENT '公告内容',
|
||||
`update_time` varchar(255) NOT NULL COMMENT '发布日期',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
|
||||
`update_time` varchar(255) NOT NULL COMMENT '发布日期'
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- 转存表中的数据 `page`
|
||||
@@ -323,7 +303,7 @@ INSERT INTO `page` (`id`, `title`, `name`, `author`, `content`, `update_time`) V
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `post` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`id` int(11) NOT NULL,
|
||||
`session` varchar(255) NOT NULL,
|
||||
`title` varchar(255) DEFAULT NULL,
|
||||
`content` text,
|
||||
@@ -335,11 +315,8 @@ CREATE TABLE IF NOT EXISTS `post` (
|
||||
`rank` tinyint(1) NOT NULL DEFAULT '1' COMMENT '漏洞等级',
|
||||
`bounty` varchar(255) NOT NULL DEFAULT '0' COMMENT '漏洞报告奖励',
|
||||
`type` tinyint(1) DEFAULT '1' COMMENT '1:审核中,2:已忽略,3:已确认,4:已修复',
|
||||
`visible` int(2) NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `cate_id` (`cate_id`),
|
||||
KEY `user_id` (`user_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
|
||||
`visible` int(2) NOT NULL DEFAULT '0'
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- 转存表中的数据 `post`
|
||||
@@ -355,16 +332,15 @@ INSERT INTO `post` (`id`, `session`, `title`, `content`, `advise`, `time`, `day`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `record` (
|
||||
`id` int(100) NOT NULL AUTO_INCREMENT COMMENT '操作ID',
|
||||
`id` int(100) NOT NULL COMMENT '操作ID',
|
||||
`type` int(10) NOT NULL COMMENT '操作类型',
|
||||
`name` varchar(255) NOT NULL COMMENT '操作名称',
|
||||
`content` varchar(255) NOT NULL COMMENT '操作内容',
|
||||
`time` varchar(255) NOT NULL COMMENT '操作时间',
|
||||
`user` varchar(255) NOT NULL COMMENT '变动用户',
|
||||
`userid` int(10) NOT NULL DEFAULT '0' COMMENT '变动用户ID',
|
||||
`operator` varchar(255) NOT NULL DEFAULT '暂无' COMMENT '操作人',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='操作记录' AUTO_INCREMENT=4 ;
|
||||
`operator` varchar(255) NOT NULL DEFAULT '暂无' COMMENT '操作人'
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='操作记录';
|
||||
|
||||
--
|
||||
-- 转存表中的数据 `record`
|
||||
@@ -382,17 +358,15 @@ INSERT INTO `record` (`id`, `type`, `name`, `content`, `time`, `user`, `userid`,
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `setting` (
|
||||
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '配置编号',
|
||||
`id` int(11) unsigned NOT NULL COMMENT '配置编号',
|
||||
`value` varchar(255) NOT NULL COMMENT '配置内容',
|
||||
`key1` varchar(255) NOT NULL COMMENT '配置数据',
|
||||
`key2` varchar(255) NOT NULL COMMENT '配置数据',
|
||||
`key3` varchar(255) NOT NULL COMMENT '配置数据',
|
||||
`key4` varchar(255) NOT NULL COMMENT '配置数据',
|
||||
`key5` varchar(255) NOT NULL COMMENT '配置数据',
|
||||
`key6` varchar(255) NOT NULL COMMENT '配置数据',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `key` (`key2`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
|
||||
`key6` varchar(255) NOT NULL COMMENT '配置数据'
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- 转存表中的数据 `setting`
|
||||
@@ -401,31 +375,163 @@ CREATE TABLE IF NOT EXISTS `setting` (
|
||||
INSERT INTO `setting` (`id`, `value`, `key1`, `key2`, `key3`, `key4`, `key5`, `key6`) VALUES
|
||||
(1, 'basic', '1009465756', 'Google Inc.', 'Google Inc. 是一家位于美国的跨国科技企业,业务包括Google搜索、Google Chrome、Andriod等。Google非常重视安全生态的建设,希望通过建立安全应急响应中心邀请安全专家完善生态。', '<script>百度统计</script>', '1009465756', '© Google 2017-2018 Powered by: SRCMS');
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `wflow`
|
||||
-- Indexes for dumped tables
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `wflow` (
|
||||
`id` int(255) NOT NULL AUTO_INCREMENT,
|
||||
`session` varchar(255) CHARACTER SET gbk NOT NULL,
|
||||
`type` varchar(255) CHARACTER SET gbk NOT NULL,
|
||||
`content` varchar(255) CHARACTER SET gbk NOT NULL,
|
||||
`time` varchar(255) CHARACTER SET gbk NOT NULL,
|
||||
`rank` int(11) NOT NULL,
|
||||
`userid` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `id` (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
|
||||
--
|
||||
-- Indexes for table `blog`
|
||||
--
|
||||
ALTER TABLE `blog`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- 转存表中的数据 `wflow`
|
||||
-- Indexes for table `category`
|
||||
--
|
||||
ALTER TABLE `category`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `comment`
|
||||
--
|
||||
ALTER TABLE `comment`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `hall`
|
||||
--
|
||||
ALTER TABLE `hall`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `info`
|
||||
--
|
||||
ALTER TABLE `info`
|
||||
ADD PRIMARY KEY (`user_id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `links`
|
||||
--
|
||||
ALTER TABLE `links`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `manager`
|
||||
--
|
||||
ALTER TABLE `manager`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `member`
|
||||
--
|
||||
ALTER TABLE `member`
|
||||
ADD PRIMARY KEY (`id`),
|
||||
ADD KEY `username` (`username`) USING BTREE,
|
||||
ADD KEY `password` (`password`) USING BTREE;
|
||||
|
||||
--
|
||||
-- Indexes for table `notes`
|
||||
--
|
||||
ALTER TABLE `notes`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `order`
|
||||
--
|
||||
ALTER TABLE `order`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `page`
|
||||
--
|
||||
ALTER TABLE `page`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `post`
|
||||
--
|
||||
ALTER TABLE `post`
|
||||
ADD PRIMARY KEY (`id`),
|
||||
ADD KEY `cate_id` (`cate_id`),
|
||||
ADD KEY `user_id` (`user_id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `record`
|
||||
--
|
||||
ALTER TABLE `record`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `setting`
|
||||
--
|
||||
ALTER TABLE `setting`
|
||||
ADD PRIMARY KEY (`id`),
|
||||
ADD KEY `key` (`key2`);
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT for dumped tables
|
||||
--
|
||||
|
||||
INSERT INTO `wflow` (`id`, `session`, `type`, `content`, `time`, `rank`, `userid`) VALUES
|
||||
(1, '07508969891827228279', '1', '<p>已经处理!请重新查看</p>', '2016-12-30 17:45:25', 0, 'Lua');
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT for table `blog`
|
||||
--
|
||||
ALTER TABLE `blog`
|
||||
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT COMMENT '博客ID',AUTO_INCREMENT=2;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `category`
|
||||
--
|
||||
ALTER TABLE `category`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=16;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `comment`
|
||||
--
|
||||
ALTER TABLE `comment`
|
||||
MODIFY `id` int(255) NOT NULL AUTO_INCREMENT COMMENT '评论编号',AUTO_INCREMENT=2;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `links`
|
||||
--
|
||||
ALTER TABLE `links`
|
||||
MODIFY `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '奖品ID',AUTO_INCREMENT=8;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `manager`
|
||||
--
|
||||
ALTER TABLE `manager`
|
||||
MODIFY `id` int(2) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `member`
|
||||
--
|
||||
ALTER TABLE `member`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '用户ID';
|
||||
--
|
||||
-- AUTO_INCREMENT for table `notes`
|
||||
--
|
||||
ALTER TABLE `notes`
|
||||
MODIFY `id` int(100) NOT NULL AUTO_INCREMENT COMMENT '特殊页面ID';
|
||||
--
|
||||
-- AUTO_INCREMENT for table `order`
|
||||
--
|
||||
ALTER TABLE `order`
|
||||
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT COMMENT '订单编号',AUTO_INCREMENT=2;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `page`
|
||||
--
|
||||
ALTER TABLE `page`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '公告ID',AUTO_INCREMENT=3;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `post`
|
||||
--
|
||||
ALTER TABLE `post`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `record`
|
||||
--
|
||||
ALTER TABLE `record`
|
||||
MODIFY `id` int(100) NOT NULL AUTO_INCREMENT COMMENT '操作ID',AUTO_INCREMENT=4;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `setting`
|
||||
--
|
||||
ALTER TABLE `setting`
|
||||
MODIFY `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '配置编号',AUTO_INCREMENT=2;
|
||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||
|
||||
43
README.md
43
README.md
@@ -1,36 +1,43 @@
|
||||
# 欢迎使用SRCMS V2社区开发版 
|
||||
# 欢迎使用SRCMS V2.0.1社区开发版 
|
||||
|
||||
**SRCMS** 是一款安全应急响应与缺陷管理软件,致力于为大、中、小企业和组织提供“最敏捷、安全和美观的安全应急响应中心的建站解决方案,帮助企业建立属于自己的安全应急响应中心和体系”。有了SRCMS,您就可以像使用Discuz!搭建论坛一样容易,为您的企业建立安全应急响应中心平台。
|
||||
|
||||
> * **项目维护:** Martin Zhou
|
||||
> * **官网:**http://www.srcms.xyz
|
||||
> * **最后更新日期:**2016-12-24
|
||||
> * **演示站点:**http://www.srcms.xyz/demo/index.php
|
||||
> * **项目维护**: Martin Zhou
|
||||
> * **官网**:http://www.srcms.xyz
|
||||
> * **最后更新日期**:2017-05-31
|
||||
> * **演示站点**:http://www.srcms.xyz/demo/index.php
|
||||
|
||||
|
||||
##授权说明
|
||||
**任何人在未取得SRCMS开发者正式书面授权的情况下,不得将SRCMS项目源代码或二次开发过的源代码用作商业出售用途,否则将保留追究其法律责任的权利。 **
|
||||
## 授权说明
|
||||
1. 任何人在未取得SRCMS开发者正式书面授权的情况下,不得将SRCMS项目源代码或二次开发过的源代码用作商业出售用途,否则将保留追究其法律责任的权利。
|
||||
2. 使用SRCMS搭建站点或二次开发时,请您在网页底部加注Powered By SRCMS的相关字样。如有特殊需求,请您及时与我们联系获取首选。
|
||||
|
||||
##免责说明
|
||||
|
||||
## 免责说明
|
||||
SRCMS仅为建站软件,任何使用本建站程序搭建的网站其运营的内容所产生的法律纠纷与本项目以及本人无关。
|
||||
|
||||
## SRCMS V2企业版
|
||||
目前开源的SRCMS V2社区开发版仅包含核心功能,如您需要体验更为完善的全功能企业版(含数据中心和缺陷管理、漏洞维基等高级模块),可通过以下地址申请购买(售价:RMB 6,000 /套):
|
||||
https://wj.qq.com/s/1063767/129c
|
||||
|
||||
##运行配置说明
|
||||
* 第一步:下载SRCMS官方提供的一键安装脚本[运行环境+程序代码] (https://github.com/CNSISMO/SRCMS-Auto-Install)
|
||||
* 第二步:脚本运行后程序和环境便已经释放完毕,直接访问对应链接,登录后台完成站点的配置
|
||||
## 运行配置说明
|
||||
* 第一步:在本页面下载SRCMS源代码
|
||||
* 第二步:将SRCMS释放至网站根目录,并在\Application\Common\Conf\db.php中编辑与数据库相关的配置
|
||||
* 第三步:进入\Application\User\Controller\PostController.class.php,第63行修改报告提交提示邮箱信息。
|
||||
* 至此所有初始配置已经全部完成
|
||||
|
||||
##版本更新日志
|
||||
## 版本更新日志
|
||||
|
||||
#####2017-02-03(建议等级:推荐更新)
|
||||
##### 2017-05-31(建议等级:重要)
|
||||
* **修复** 荣誉榜排行顺序问题
|
||||
* **修复** 站点名称和简介无法配置的问题
|
||||
* **修复** 荣誉榜团队无法编辑的问题
|
||||
* **删除** Ueditor存在漏洞的截屏插件
|
||||
|
||||
##### 2017-02-03(建议等级:推荐更新)
|
||||
* **新增** SRCMS V2开发版
|
||||
|
||||
##BUG提交说明
|
||||
## BUG提交说明
|
||||
如果您在使用本框架或是二次开发中发现任何SRCMS的问题,欢迎迎通过Github的issue功能将问题反馈,Issue功能能够很好的帮助我们定位和跟踪问题的修复情况。
|
||||
|
||||
##致谢
|
||||
## 致谢
|
||||
在开发过程中,SRCMS得益于广大开源项目和开发者们的帮助和支持,在此向下面的开发者们致谢:
|
||||
* [ThinkPHP](http://www.thinkphp.cn/)
|
||||
* mramydnei
|
||||
|
||||
@@ -1369,7 +1369,7 @@ h1{ font-size: 32px; line-height: 48px; }
|
||||
<p>版本:v2.0.0-alpha.1. Code licensed MIT</a>.</p>
|
||||
</div>
|
||||
<div style="float:right">
|
||||
<img src="http://115.159.58.203/logo.png" style="float:right;"></img>
|
||||
<img src="././././logo.png" style="float:right;"></img>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
Reference in New Issue
Block a user