|
楼主 |
发表于 2015-9-28 20:18:32
|
显示全部楼层
再附上 此时下载的 backupsettings.conf
0 ~1 t* M- k6 P7 ?) d' ]8 y( X! T1 h) C
$ a5 s% k$ G! A
<html>
+ z( x* f9 H8 I, o <head>0 r" Q: c+ G: Z8 x; p* _
<meta http-equiv='Content-Type' content='text/html; charset=gb2312'>
. Z' O( u. `! \$ F<meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>
9 `, Y! N* M2 y* [$ l <script language="javascript">
$ v. k1 ?" R, k& a) v<!-- hide, p, y/ q9 ]8 ~, I% q, t! k
function frmLoad() {3 H* ]" @; n' u5 o9 l; M
// var options;
1 P! H- [8 Y" Y var ipaddr = '192.168.1.1';$ N% a# R7 G. n
if('' == ipaddr)
6 X8 k1 z8 V+ u9 b1 U9 m' s ipaddr = '192.168.1.1';7 T* ?; g+ z+ F, R, l7 ^+ A
var logoutErrorCode = '3';
7 H+ k% W& E2 L2 b5 r; \% M var reLoginIdel = '2';
2 P5 c1 g6 B4 {- Y T var reLoginNoUserInUse = '3';8 H" k, k6 V) _. I% _, p( m; X
var reLoginInvalidCookie= '5';
1 D1 G) [; j7 S& x3 @/ b var accountInfoChange = '6';
7 H+ e! E4 x+ X B5 o var reLoginOther = '4';. M7 B$ Y2 U* v- a2 ?9 X
var reLoginNok = '1';$ F+ Q% R9 L2 y |4 ~' B3 `
var reLoginDenied = '7';; Q: D- Q M& _; J$ @
c) m5 h* }0 w1 b, _, A if(logoutErrorCode == reLoginNok){
( }" o( F3 g# [ alert('系统出现故障,请重新登录!');
4 A! H, ~6 O. M, \ }
$ a# o7 {# t2 r7 j' c/* else if(logoutErrorCode == reLoginInvalidCookie){
5 [/ O/ m0 Z0 G5 E! f" [8 \( n/ B alert('无效的会话ID!');( O; p6 D7 m; ~4 j. U! w, @" L
}
; Z# y; l, T6 K* f' L3 D. g */
4 X! t+ E3 N2 c else if(logoutErrorCode == reLoginIdel){4 z. l& `% _$ e, B" N( S H& |% C) l
alert('未操作时间超过5分钟,请重新登录!');' A3 Q x# z \
}else if(logoutErrorCode == reLoginOther){# T! g4 }: {( i0 o6 s3 M _
alert('其它原因,请重新登录!');
3 @/ a A, K3 X: @, c& n }else if(logoutErrorCode == accountInfoChange){
. h9 x# d! m9 ^, y alert('用户信息已更改,请重新登录!');
( e( |& O: S& O! c }
8 E9 ^9 G. }; k7 o; G/* else if(logoutErrorCode == reLoginNoUserInUse){+ c" T( a c. n" o6 P, x
alert('用户已注销,请重新登录!');
6 g, J, J0 w" w! |7 g8 j% J }3 N6 J. }! y/ l5 Z- {6 C |3 L, X
*/ else if(logoutErrorCode == reLoginDenied){
9 y4 c6 J" \# w! Z8 C$ X& i alert('当前登录用户无权限访问此页面,请重新登录!');8 N2 D8 B# Q. H. d. Z+ b/ B
}6 }$ e. f' a$ w. D1 O& d
// options = 'menubar=no,resizable=no,scrollbars=no,titlebar=yes,toolbar=no,width=800,height=600';' n0 n8 Q$ s% [$ K) v- R
6 l3 L6 l& d) B& J* G) f/ b* i$ r$ ^ window.parent.location.href="http://"+ipaddr+"/login.html"; " C2 u( p1 w4 I. }
5 t+ @( @! h' _& X
}
l G" `$ q4 M/ v a
: Y) W* i) V7 x& e// done hiding -->
4 q# S6 S P2 u3 c, g8 n</script>
/ _7 D+ k9 o+ [9 I </head>
( q* ?& H' I1 d9 l2 W" D9 Y7 l; i <body onLoad='frmLoad()'># E2 z& Y& y% {* {; L' K/ I
</body>6 Z* Q0 O8 u( V7 R0 g1 m u1 ~# p
</html>$ j1 M. |, I3 P5 M; \+ f# E- }5 ^
' f. s7 M+ @8 U/ n9 L2 V4 W; s |
|