checkDB.jsp
24.8 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
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ include file="/updateclient/systeminfo/init_wev8.jsp"%>
<%@ taglib uri="/WEB-INF/weaver.tld" prefix="wea"%>
<%@ page import="com.weaver.general.GCONSTUClient"%>
<%@ page import="weaver.system.SysUpgradeCominfo"%>
<%@ page import="weaver.formmode.service.CommonConstant"%>
<%@ page import="java.util.regex.*"%>
<%@ page import="weaver.system.SystemUpgradeUtil" %>
<%@ page import="weaver.file.FileBackup" %>
<%@ page import="java.lang.reflect.Constructor" %>
<%@ page import="weaver.system.ThreadWork" %>
<%@ page import="weaver.system.ThreadWorkTimer" %>
<jsp:useBean id="ConfigInfo" class="com.weaver.function.ConfigInfo" scope="page"/>
<html>
<%
if(!ConfigInfo.isResin()){
response.sendRedirect("/updateclient/message.jsp?errortype=5");
return;
}
boolean ismainnode = true;
String hostaddr = "";
String mainControlIp ="";
try{
InetAddress ia = InetAddress.getLocalHost();
hostaddr = ia.getHostAddress();
}catch(Exception e){
}
BaseBean basebean = new BaseBean();
mainControlIp = basebean.getPropValue(GCONST.getConfigFile() , "MainControlIP");
if((!"".equals(mainControlIp)&&hostaddr.equals(mainControlIp))||"".equals(mainControlIp)){
} else {
ismainnode = false;
}
if(!ismainnode) {
response.sendRedirect("/updateclient/message.jsp?errortype=4");
return;
}
String tmp_ecologydburl = "";
RecordSet rs = new RecordSet();
String ecologydburl = SysUpgradeCominfo.ecologydburl;
Map urlandname = SystemUpgradeUtil.getdbnameAndUser(ecologydburl, new RecordSet().getOrgindbtype(), SysUpgradeCominfo.ecologydbuser);
//if(!isdm) {
/*if(rs.getDBType().toLowerCase().equals("oracle"))
tmp_ecologydburl="当前系统的数据库地址:"+Util.null2String(urlandname.get("dburl"))+","+Util.null2String(urlandname.get("dbname")).replace("用户名",",用户名")+",请确认是否正确";
else*/
tmp_ecologydburl="当前系统的数据库地址:"+Util.null2String(urlandname.get("dburl"))+Util.null2String(urlandname.get("dbname"))+",请确认是否正确";
%>
<%
//系统升级页面 子节点未升级跳转到子节点升级页面
rs.execute("select ipaddress,t2.id as tid,t2.packagename as packagename,t1.type as type from clustersetting t1 left join clusterupgradelog t2 on t1.id=t2.settingid where ((t1.ismainnode='0' and t1.type='ecology') or (t1.type='emessage') or (t1.type='emobile')) and t2.status='0' order by t1.type");
if(rs.next()){
%>
<script type="text/javascript">
$("document").ready(function(){
if(parent.parent.window.document.getElementById("num_10860")) {//E8主题
$(parent.parent.window.document.getElementById("num_10860")).closest(".nameDiv").click();
} else {//E9主题
$(parent.parent.window.document).find(".ant-menu-item-selected").next().click();
}
});
</script>
<%
} %>
<%
String fileBakPath="";
String filepath="";
String filesystembackuptime="";
RecordSet rs1=new RecordSet();
rs1.execute("select filesystem,filesystembackup,filesystembackuptime from systemset");
if(rs1.next()) {
filepath = Util.null2String(rs1.getString("filesystem"));
fileBakPath = Util.null2String(rs1.getString("filesystembackup"));
filesystembackuptime = Util.null2String(rs1.getString("filesystembackuptime"));
}
if("0".equals(filesystembackuptime)){
filesystembackuptime="";
}
if( filepath.equals("") ){
filepath = GCONST.getSysFilePath() ;
}
if(!"".equals(filesystembackuptime)){
if( fileBakPath.equals("") ){
fileBakPath = GCONST.getSysFileBackupPath() ;
}
}
String isnoneedbakupset=Util.null2String(basebean.getPropValue("upgradesetting","isnoneedbakupset"));//是否不需要备份周期
/**
* 计算需要备份文件的大小
*/
if("".equals(filesystembackuptime)) {
}else{
try{
long backuptime=Util.getIntValue(filesystembackuptime);
if(backuptime>(60*24)){
new BaseBean().writeLog("备份时间大于24小时"+backuptime);
rs1.execute("update SystemSet set filesystembackuptime='"+(60*24)+"' ");
filesystembackuptime=60*24+"";
FileBackup fileBackup=new FileBackup();
Class class1=Class.forName("weaver.system.ThreadWorkTimer");
if(class1!=null){
Constructor c = class1.getConstructor(long.class,ThreadWork.class);
if(c!=null){
ThreadWorkTimer threadWork=(ThreadWorkTimer)c.newInstance(24*60*60,fileBackup);
if(threadWork!=null){
threadWork.start();
}
}
}
}
}catch (Exception e){
e.printStackTrace();
}
}
//new BaseBean().writeLog("已经备份的:"+bakSpaceSize+"-----------------需要备份的---"+needBakFileSize);
%>
<head>
<title> E-cology升级程序</title>
<LINK href="/css/Weaver_wev8.css" type=text/css rel=STYLESHEET>
<link rel="stylesheet" href="/js/jquery-clockpicker/assets/css/bootstrap.min_wev8.css">
<script src="/js/jquery-clockpicker/assets/js/bootstrap.min_wev8.js"></script>
<script type="text/javascript">
var timeseconds=10;
$(document).ready(function(){
upgradenext();
getbakspaceInfo();
});
/**
* 空间大小
*/
function getbakspaceInfo(){
jQuery.ajax({
type:"POST",
url:'/updateclient/checkDBOperation.jsp',
dataType:"json",
data:{
operationtype:'getbakspaceInfo',
},
success:function(data){
$("#bakSpaceSize").text(data.bakSpaceSize+"M");
$("#needBakFileSize").text(data.needBakFileSize+"M");
}
})
}
function upgradenext(){
timeseconds--;
if(timeseconds==0){
$("#nextbutton").css({"background": "#30b5ff"});
$("#nextbutton").attr("disabled",false);
$('#nextbutton').val("<%=SystemEnv.getHtmlLabelName(1402 ,user.getLanguage()) %>");
}else{
$("#nextbutton").css({"border": "0px"});
$("#nextbutton").css({"background": "#d9d9d9"});
$("#nextbutton").attr("disabled",true);
$('#nextbutton').val("<%=SystemEnv.getHtmlLabelName(1402 ,user.getLanguage()) %>("+timeseconds+"S)");;
setTimeout ('upgradenext()',1000);
}
}
function next() {
var flag=true;
var message="请检查:</br>"
$("input[name='confirmbtn']").each(function(){
if($(this).is(':checked')){
}else{
var text=$(this).parent().parent().text();
message=message+text+"</br>";
flag=false;
}
});
if(flag){
$("#myModal2").modal('show');
}else{
$("#showmessage").html(message);
$("#myModal4").modal('show');
//top.Dialog.alert(message);
return;
}
}
function donext1(){
<%
if(filesystembackuptime.equals("")){
%>
$("#myModal2").modal('hide');
$("#myModal3").modal('show');
<%
}else{
%>
$("#myModal2").modal('hide');
next1();
<%}%>
}
function donext2(){
var str = jQuery("#filesystembackuptime").val();
var filebakpath=jQuery("#filebakpath").val();
if(str=="" ||str=="0"){
<% if(isnoneedbakupset.equals("1")){%>
if(confirm('文件备份周期未选择,确定继续吗?')){
$("#myModal3").modal('hide');
next1();
}
<%}else{%>
alert("文件备份周期未选择");
<%}%>
}else{
if(confirm('将更新文件备份周期和目录,可在后端系统设置页面进行修改!')){
jQuery.ajax({
type:"POST",
url:'/updateclient/checkDBOperation.jsp',
dataType:"json",
data:{
filesystembackuptime:str,
operationtype:'upgradeendecomfirmsave',
filebakpath:filebakpath
},
success:function(data){
if(data.status=="1"){
top.Dialog.alert(data.message);
}else{
$("#myModal3").modal('hide');
next1();
}
}
})
}
}
}
function next1() {
$("#myModal2").modal('hide');
$("#myModal3").modal('hide');
// if(confirm('确认Ecology应用和数据库已备份,进入下一步!')){
// window.location.href = "/updateclient/selectZip.jsp";
// }
window.top.Dialog.confirm("确认Ecology应用和数据库已备份,进入下一步!",function(){
window.location.href = "/updateclient/selectZip.jsp";
});
}
function closeloginpanel() {
//$("#myModal").modal('hide');
}
function checkall(){
if(form1_login.toolcode.value == "") {
return;
}
$("document").ready(function(){
$.ajax({
url:'/checkProcess.do',
dataType:'json',
type:'post',
data:{
"toolCode":form1_login.toolcode.value,
"needCodeCheck":"1"
},
success:function(data){
var checkCode = data.checkCode;
if("1" == checkCode){
$("#myModal").modal('hide');
} else if("0" == checkCode){
$("#msg_show").html("验证码错误!");
} else if("2" == checkCode) {
$("#loginconfirm").attr("disabled", true);
$("#msg_show").html("错误次数太多,验证功能被锁定,请联系管理员解锁!");
}
}
});
});
}
function modify(){
modify_login.toolcode_init.value = "";
modify_login.toolcode_mod1.value = "";
modify_login.toolcode_mod2.value = ""
$("#myModal").modal('hide');
$("#modifyModal").modal();
}
function checkModify(){
if(modify_login.toolcode_init.value == "" || modify_login.toolcode_mod1.value == "" || modify_login.toolcode_mod2.value == "") {
$("#mod_msg_show").html("输入的信息不完整!");
return;
}
if(modify_login.toolcode_mod1.value === modify_login.toolcode_mod2.value) {
modifyOperation(modify_login.toolcode_init.value, modify_login.toolcode_mod1.value, modify_login.toolcode_mod2.value);
} else{
$("#mod_msg_show").html("新验证码输入内容不一致!");
return;
}
}
function modifyOperation(toolCodeInit,toolCode1,toolCode2) {
$.ajax({
url:'/checkProcess.do',
dataType:'json',
type:'post',
data:{
"toolCodeInit":toolCodeInit,
"toolCode1":toolCode1,
"toolCode2":toolCode2,
"modifyCode":"1"
},
success:function(data){
var modifyCodeRes = data.modifyCodeRes;
if("success" == modifyCodeRes){
$("#modifyModal").modal('hide');
$("#myModal").modal();
} else if("oldCodeErr" == modifyCodeRes){
$("#mod_msg_show").html("旧验证码输入有误!");
} else if("codeErr" == modifyCodeRes){
$("#mod_confirm").attr("disabled", true);
$("#mod_msg_show").html("错误次数太多,验证功能被锁定,请联系管理员解锁!");
}else {
$("#mod_msg_show").html("验证码更改失败!");
}
}
});
}
function closemodifypanel(){
$("#modifyModal").modal('hide');
$("#myModal").modal();
}
</script>
</head>
<%
String titlename ="";
%>
<%@ include file="/systeminfo/TopTitle_wev8.jsp" %>
<%@ include file="/systeminfo/RightClickMenuConent_wev8.jsp" %>
<jsp:include page="/updateclient/systeminfo/commonTabHead.jsp?step=0">
<jsp:param name="mouldID" value="upgrade" />
<jsp:param name="navName" value="备份数据库" />
</jsp:include>
<table id="topTitle" cellpadding="0" cellspacing="0">
<tr>
<td></td>
<td class="rightSearchSpan" style="text-align:right; width:500px!important">
<input type="button" id="nextbutton" value="<%=SystemEnv.getHtmlLabelName(1402 ,user.getLanguage()) %>" class="e8_btn_top" onclick="next()"/>
</td>
</tr>
</table>
<%
RCMenu += "{"+SystemEnv.getHtmlLabelName(1402,user.getLanguage())+",javascript:next(),_self} " ;
RCMenuHeight += RCMenuHeightStep ;
%>
<%@ include file="/systeminfo/RightClickMenu_wev8.jsp" %>
<body style="height:100%;width:100%;">
<div style="width:24%;height:100%;float:left;background:#fcfcfc;">
<jsp:include page="step.jsp"></jsp:include>
</div>
<div style="width:75%;height:100%;float:right">
<input id="process" type="hidden"></input>
<div style="height:380px;">
<div style="height:370px;width:100%;float:right;margin-top:10px;">
<div style="height:100%;width:100%;margin-left:-10px;">
<div style="margin-top:10px;text-align: center;" >
<img src="/images/ecology8/noright_wev8.png" width="162px" height="162px"/>
</div>
<div style="margin-top:10px;height:auto;text-align: center;line-height:30px;font-size: 18px;margin-bottom: 20px" >
<div style="width:700px;text-align:left;margin-left: 25%">
<span><input type="checkbox"name="confirmbtn"/>1.<%=SystemEnv.getHtmlLabelName(514606,user.getLanguage())%></span><br/>
<span><input type="checkbox" name="confirmbtn"/>2.<%=tmp_ecologydburl %></span><br/>
<span><input type="checkbox" name="confirmbtn"/>3.<%=SystemEnv.getHtmlLabelName(514602,user.getLanguage())%></span><br>
<span><input type="checkbox" name="confirmbtn"/>4.<%=SystemEnv.getHtmlLabelName(514603,user.getLanguage())%></span><br/>
<span><input type="checkbox" name="confirmbtn"/>5.<%=SystemEnv.getHtmlLabelName(514604,user.getLanguage())%></span><br/>
</div>
</div>
<div style="margin-top:0px;margin-left:20px;height:20px;text-align: left;line-height:20px;font-size: 15px;color: red;" >
<%--<div style="color:red">*<%=tmp_ecologydburl %>(<%=SystemEnv.getHtmlLabelName(502177,user.getLanguage())%>).<br><%=SystemEnv.getHtmlLabelName(502178,user.getLanguage())%></div>--%>
<p>*<%=SystemEnv.getHtmlLabelName(502180,user.getLanguage())%>
<br>
*<%=SystemEnv.getHtmlLabelName(502179,user.getLanguage())%><br>
*<%=SystemEnv.getHtmlLabelName(502181,user.getLanguage())%><br>
</p>
<div style="color:red;font-size:18px"><%=SystemEnv.getHtmlLabelName(513764,user.getLanguage())%></div>
</div>
</div>
</div>
</div>
</div>
<!-- 模态框(Modal) -->
<center>
<form method="post" action="" class="form-horizontal" role="form" id="form1_login" name="form1_login">
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static" style="overflow-y: hidden">
<div class="modal-dialog" style="width: 600px;">
<div class="modal-content">
<div class="modal-header text-left">
验证码校验
</div>
<div class="modal-body">
<div class="operationmsg" style="height:32px!important;font-size: 12px;color:#FF9200;width:400px;margin-top:0px!important;margin-bottom:20px!important;">
<img src="/wui/theme/ecologyBasic/skins/default/rightbox/userlog_warning_wev8.gif" style="width:20px;vertical-align:middle;line-height:30px!important;"></img>
<span style="color:#FF9200;line-height:30px!important;vertical-align:middle;" id="msg_show">请输入验证码(验证码初始值为1,请尽快更改验证码)</span><br>
</div>
<div class="form-group">
<label class="col-xs-offset-1 col-xs-2 control-label" for="toolcode">验证码</label>
<div class="col-xs-7"><input class="form-control" name="toolcode" id="toolcode" type="password" style="width:100%;" onkeydown="if(event.keyCode == 13){checkall();}"></div>
</div>
<div class="form-group">
<label class="col-xs-offset-1 col-xs-2 control-label" for="toolcode"></label>
<div class="col-xs-7"><span style="float: right;cursor:pointer;"><a href="javascript:modify()">更改验证码</a></span></div>
</div>
</div>
<div class="modal-footer">
<button type="button" id="loginconfirm" class="btn btn-primary" style="background-color:#428bca!important;border-color:#428bca!important;background:none;text-align:center;height:30px" onclick="checkall()">确 定</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
</form>
</center>
<!-- 模态框(Modal) -->
<center>
<form method="post" action="" class="form-horizontal" role="form" id="modify_login" name="modify_login">
<div class="modal fade" id="modifyModal" tabindex="-1" role="dialog" aria-labelledby="modifyModalLabel" aria-hidden="true" data-backdrop="static" style="overflow-y: hidden">
<div class="modal-dialog" style="width: 600px;">
<div class="modal-content">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true" onclick="closemodifypanel()">
×
</button>
<div class="modal-header text-left">
更改验证码
</div>
<div class="modal-body">
<div class="operationmsg" style="height:32px!important;font-size: 12px;color:#FF9200;width:400px;margin-top:0px!important;margin-bottom:20px!important;">
<img src="/wui/theme/ecologyBasic/skins/default/rightbox/userlog_warning_wev8.gif" style="width:20px;vertical-align:middle;line-height:30px!important;"></img>
<span style="color:#FF9200;line-height:30px!important;vertical-align:middle;" id="mod_msg_show">默认验证码为1,请尽快修改</span><br>
</div>
<div class="form-group">
<label class="col-xs-offset-1 col-xs-2 control-label" for="toolcode_init">旧验证码</label>
<div class="col-xs-7"><input class="form-control" name="toolcode_init" id="toolcode_init" type="password" style="width:100%;"></div>
</div>
<div class="form-group">
<label class="col-xs-offset-1 col-xs-2 control-label" for="toolcode_mod1">新验证码</label>
<div class="col-xs-7"><input class="form-control" name="toolcode_mod1" id="toolcode_mod1" type="password" style="width:100%;"></div>
</div>
<div class="form-group">
<label class="col-xs-offset-1 col-xs-2 control-label" for="toolcode_mod2">确认验证码</label>
<div class="col-xs-7"><input class="form-control" name="toolcode_mod2" id="toolcode_mod2" type="password" style="width:100%;"></div>
</div>
</div>
<div class="modal-footer">
<button type="button" id="mod_confirm" class="btn btn-primary" style="background-color:#428bca!important;border-color:#428bca!important;background:none;text-align:center;height:30px" onclick="checkModify()">确 定</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
</form>
</center>
<div id="myModal2" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"
aria-hidden="true">×
</button>
<h4 class="modal-title" id="myModalLabel">
<%=SystemEnv.getHtmlLabelName(514613,user.getLanguage())%>
</h4>
</div>
<div class="modal-body">
<div style="height:100px">
<span class="msgnote1" style="float:left;">1.<%=SystemEnv.getHtmlLabelName(514606,user.getLanguage())%></span><br>
<span class="msgnote1" style="float:left;">2.<%=tmp_ecologydburl %></span>
<span class="msgnote1" style="float:left;">3.<%=SystemEnv.getHtmlLabelName(514602,user.getLanguage())%></span><br>
<span class="msgnote1" style="float:left;">4.<%=SystemEnv.getHtmlLabelName(514603,user.getLanguage())%></span>
<span class="msgnote1" style="float:left;">5.<%=SystemEnv.getHtmlLabelName(514604,user.getLanguage())%></span>
</div>
</div>
<div class="modal-footer">
<button type="button" onclick="donext1()" class="btn btn-primary" style="background-color:#428bca!important;border-color:#428bca!important;background:none;text-align:center;height:30px">
<%=SystemEnv.getHtmlLabelName(16631,user.getLanguage())%>
</button>
<button type="button" class="btn btn-default" style="background-color:#428bca!important;border-color:#428bca!important;background:none;text-align:center;height:30px"
data-dismiss="modal"><%=SystemEnv.getHtmlLabelName(128845,user.getLanguage())%>
</button>
</div>
</div>
</div>
</div>
<div id="myModal3" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel3" aria-hidden="true" >
<div class="modal-dialog" style="width: 700px;">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"
aria-hidden="true">×
</button>
<h5 class="modal-title" id="myModalLabel3">
<%=SystemEnv.getHtmlLabelName(514608,user.getLanguage())%> <%--文件备份设置--%>
</h5>
</div>
<div class="modal-body">
<div style="height: 150px;">
<div style="height:90px">
<table width="100%" height="90px" style="border-collapse:separate; border-spacing:1px;font-size: 12px;">
<tr>
<td style=" width: 100px;color: #333;"><%=SystemEnv.getHtmlLabelName(15046,user.getLanguage())%></td>
<td><%=filepath%></td>
</tr>
<tr>
<td style="width: 100px;color: #333;"><%=SystemEnv.getHtmlLabelName(15047,user.getLanguage())%></td>
<td><input type="text" id="filebakpath" name="filebakpath" style="width: 300px;height: 22px;" value="<%=fileBakPath%>" /></td>
</tr>
<tr>
<td style="width: 100px;color: #333;"><%=SystemEnv.getHtmlLabelName(15048,user.getLanguage())%></td>
<td>
<%
if(filesystembackuptime.equals("")){
%><select name="filesystembackuptime" id="filesystembackuptime" value="<%=filesystembackuptime%>" style="width: 100px;border-radius: 4px;box-shadow: inset 0 1px 1px rgba(0,0,0,.075);">
<option value=""></option>
<%for(int i=1;i<=24;i++){%>
<option value="<%=i%>"><%=i+SystemEnv.getHtmlLabelName(391,user.getLanguage())%></option>
<%}%>
</select>
<%--<span style="color:red;font-size: 10px">(<%=SystemEnv.getHtmlLabelName(514607,user.getLanguage())%>)</span>--%>
<%
}else{%>
<%=filesystembackuptime%>分钟
<%}%>
</td>
</td>
</tr>
</table>
</div>
<div style="margin-top: -15px;;color: red">
<%--<%=SystemEnv.getHtmlLabelName(514609,user.getLanguage())+bakSpaceSize%>M;<%=SystemEnv.getHtmlLabelName(514610,user.getLanguage())%> :<%=needBakFileSize%>M;<%=SystemEnv.getHtmlLabelName(514611,user.getLanguage())%></p>--%>
<br>信息:
<p> 1.已备份文件:<span id="bakSpaceSize">计算中</span>;自动备份所需的空间:<span id="needBakFileSize">计算中</span>;请确认文件备份目录空间大于自动备份目录空间的1.5倍。<br/>
2.强烈建议设置“文件备份周期”开启自动备份功能,防止文件数据丢失,也可以在“后端应用中心-系统设置页面”修改配置。</p>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" onclick="donext2()" class="btn btn-primary" style="background-color:#428bca!important;border-color:#428bca!important;background:none;text-align:center;height:30px">
<%=SystemEnv.getHtmlLabelName(16631,user.getLanguage())%>
</button>
<button type="button" class="btn btn-default" style="background-color:#428bca!important;border-color:#428bca!important;background:none;text-align:center;height:30px"
data-dismiss="modal"><%=SystemEnv.getHtmlLabelName(128845,user.getLanguage())%>
</button>
</div>
</div>
</div>
</div>
<div id="myModal4" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel3" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"
aria-hidden="true">×
</button>
<h4 class="modal-title" id="myModalLabel4">
<%=SystemEnv.getHtmlLabelName(514612,user.getLanguage())%>
</h4>
</div>
<div class="modal-body">
<div style="height:100px" id="showmessage">
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" style="background-color:#428bca!important;border-color:#428bca!important;background:none;text-align:center;height:30px"
data-dismiss="modal"><%=SystemEnv.getHtmlLabelName(826,user.getLanguage())%>
</button>
</div>
</div>
</div>
</div>
</body>
</html>