forked from TideSec/WDScanner
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustomer.html
More file actions
230 lines (211 loc) · 7.34 KB
/
customer.html
File metadata and controls
230 lines (211 loc) · 7.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="title" content="">
<meta name="description" content="">
<meta name="keywords" content="">
<title>客户管理 - <?php echo soft_name?></title>
<!-- Le styles -->
<link href="css/bootstrap-combined.min.css" rel="stylesheet">
<link href="css/layoutit.css" rel="stylesheet">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<![endif]-->
<!-- Fav and touch icons -->
<link rel="shortcut icon" href="img/favicon.png">
<script type="text/javascript" src="js/jquery-2.0.0.min.js"></script>
<!--[if lt IE 9]>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<![endif]-->
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/jquery-ui.js"></script>
<script type="text/javascript" src="js/jquery.ui.touch-punch.min.js"></script>
<script type="text/javascript" src="js/jquery.htmlClean.js"></script>
<script type="text/javascript" src="js/scripts.js"></script>
<script type="text/javascript" src="js/action.js"></script>
</head>
<div class="container-fluid">
<div class="row-fluid">
<div class="span12">
<div class="navbar navbar-inverse">
<div class="navbar-inner">
<div class="container-fluid">
<a class="btn btn-navbar" data-target=".navbar-responsive-collapse" data-toggle="collapse"></a> <a class="brand" href="?m=index"><?php echo soft_name?></a>
<div class="nav-collapse collapse navbar-responsive-collapse">
<ul class="nav">
<li>
<a href="?m=manager">管理中心</a>
</li>
<li class="active">
<a href="?m=customer">客户管理</a>
</li>
<li>
<a href="?m=scan">扫描管理</a>
</li>
<li>
<a href="?m=info">信息搜集</a>
</li>
<li>
<a href="?m=spider">站点爬虫</a>
</li>
<!--
<li>
<a href="?m=pro">专项检测</a>
</li>
-->
<li>
<a href="?m=point">节点管理</a>
</li>
<li>
<a href="?m=set">系统管理</a>
</li>
<li>
<a href="?m=proxy">代理地址池</a>
</li>
</ul>
<ul class="nav pull-right">
<li class="active">
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><?php echo $_SESSION['username'];?></a>
<ul class="dropdown-menu">
<!--
<li>
<a href="#">下拉导航1</a>
</li>
-->
<li>
<a id="modal-978241" href="#cpasswd-<?php echo $_SESSION['username']?>" data-toggle="modal">修改密码</a>
</li>
<li>
<a href="?m=logout">退出</a>
</li>
<!--
<li class="divider">
</li>
<li>
<a href="#">链接3</a>
</li>
-->
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="tabbable" id="tabs-25550">
<ul class="nav nav-tabs">
<li class="active">
<a href="#panel-941070" data-toggle="tab">客户列表</a>
</li>
<li>
<a href="#panel-910581" data-toggle="tab">客户录入</a>
</li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="panel-941070">
<!--
<button class="btn btn-primary" type="button">启动定时任务</button> <button class="btn btn-primary" type="button">手动刷新</button>
-->
<table class="table" style="font-size:14px;">
<thead>
<tr>
<th style="text-align:center">
ID
</th>
<th style="text-align:center">
客户名称
</th>
<th style="text-align:center">
网站数量
</th>
<th style="text-align:center">
联系人
</th>
<th style="text-align:center">
手机
</th>
<th style="text-align:center">
邮箱
</th>
<th style="text-align:center">
服务期限
</th>
<th style="text-align:center">
服务类型
</th>
<th style="text-align:center">
扫描周期
</th>
<th style="text-align:center">
备注
</th>
<th style="text-align:center">
操作
</th>
</tr>
</thead>
<tbody>
<?php echo $html_str;?>
</tbody>
</table>
</div>
<div class="tab-pane" id="panel-910581">
<form action="?m=customer&c=new" method="POST">
<fieldset>
<label>客户名称</label><input type="text" name="name"/>
<label>联系人</label><input type="text" name="contact"/>
<label>手机</label><input type="text" name="phone"/>
<label>邮箱</label><input type="text" name="email"/>
<label>通讯地址</label><input type="text" name="address"/>
<label>服务期限</label><input type="date" value="2017.01.20" style="width:80px" name="date1"/> 至 <input type="date" value="2018.01.20" style="width:80px" name="date2"/>
<label>服务类型</label>
<select name="type">
<option value="1">定期扫描+漏洞预警+敏感字检测</option>
<option value ="2">漏洞预警+敏感字检测</option>
<option value ="3">漏洞预警+定期扫描</option>
<option value="4">漏洞预警</option>
</select>
<label>扫描周期</label>
<select name="delay">
<option value="4">仅一次</option>
<option value="1">每月一次</option>
<option value ="2">每季度一次</option>
<option value ="3">每半年一次</option>
</select>
<!--<label class="checkbox"><input type="checkbox" name="auth" /> 定期扫描 </label>-->
<label>备注</label><textarea rows="2" cols="200" style="width:500px" name="remark"></textarea>
<br>
<button type="submit" class="btn">保存</button>
<button type="submit" class="btn">取消</button>
</fieldset>
</form>
</div>
<?php echo customer_display();?>
<div id="cpasswd-<?php echo $_SESSION['username']?>" class="modal hide fade" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" >
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="myModalLabel">
<?php echo $_SESSION['username']?>的密码修改
</h3>
</div>
<div class="modal-body">
<fieldset>
<label>旧 密 码</label><input type="text" value="" name="oldpasswd" id="oldpasswd"/>
<label>新 密 码</label><input type="text" value="" name="newpasswd" id="newpasswd"/>
<label>重新输入</label><input type="text" value="" name="repasswd" id="repasswd"/>
</fieldset>
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true">关闭</button> <button class="btn btn-primary" onclick="cpasswd()">保存设置</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</html>