宽带技术网

 找回密码
 注册

扫一扫,访问微社区

QQ登录

只需一步,快速开始

查看: 423|回复: 3

中兴F450A 曲线开启Telent思路,求坛友相助

[复制链接]
发表于 2018-12-6 19:02:03 | 显示全部楼层 |阅读模式
本帖最后由 zoujie8503 于 2018-12-6 19:04 编辑 6 }# _( J" l% B7 S) g# c

- w* M) [3 f/ `1 D3 C/ y- q目前只有默认地区telnet是可以使用的,已知唯一方式就是通过TTL实现,但是hidden_version_switch这个gch文件还是可以正常访问的 求有能力的朋友修改GCH文件开启Telnet  避免拆机  如果有朋友提供帮助,后面将发贴 介绍详细步骤 造福大家

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2018-12-7 10:46:12 | 显示全部楼层
<%
" C, b: e/ }  vIMPORT FILE "pageinfo_func.gch";( [0 _. {3 z0 e$ ~
var webtitle = getDevModeName();
: s# f$ \" [% ^9 bvar head      = "<!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD XHTML 1.0 Transitional\/\/EN\"";. ^: U/ \3 w' ^/ I2 j1 K; }0 P
var head1     = "\"http:\/\/www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">";
* k- M* U; ~: @. f2 G- A0 Q/ y$ H- zvar head_html = "<html xmlns=\"http:\/\/www.w3.org/1999/xhtml\">";
& U1 c! w8 _) C=head + head1;2 B7 K: x! d& u
=head_html;- c* @- A6 {# @5 X6 Q& x: H. C* D
%>3 l9 |5 N% V% ?6 |7 L. Q' R# x
<head>
% b1 a( u5 P& N<META HTTP-EQUIV="pragma" CONTENT="no-cache">
7 M$ c8 g, v* i<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">3 S6 b+ I/ N$ @% ~; `
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />- E& @9 c3 J9 s4 w6 j
<title><%=webtitle;%></title>
9 d2 G1 m7 [0 {. _* z0 q<style type="text/css" media="all">4 W% u0 p1 S4 l- ?2 U4 ^
.login {" T& ?6 L+ N/ ]9 Q
margin-top:7px;
4 L" K3 d; T3 j0 Pmargin-left:195px;
# i0 \' ]1 i. }+ A! N1 l$ Z# jwidth: 70px;
4 n- T7 k# H% N% o5 Nheight:20px;
$ x6 k! t: t' f3 O+ o7 {! c& R}
* i$ u5 Z- |, ?, M9 C) A.content {
* w  Z$ m6 f3 a7 W4 t) Gfont-size: 12px
9 P& e; G4 b7 D) c}
1 p) H7 m+ `( `3 Ghtml, body {. M9 D1 b8 h* `* Q, o! L( F
height: 100%;3 W* e6 c3 e& e7 w$ `
font-size: 12px;8 @5 y0 I: \( m* E
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
" R# c% J) B% F- S: c}1 }5 A( e+ t% f( D2 ?
.content {
3 F+ u+ x6 `- R/ Lfont-size: 12px;
+ n. ^, Q' T, [font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
1 B% {* P: [$ a0 J3 o% B% ]}; \7 A+ d. R" X" l  ~. Z
* {
- A8 G. Y/ N; x& P9 [: z7 c6 Q/ Zmargin: 0 0 0 0;6 t8 x7 N/ _$ b# Y9 {
padding: 0;
; r9 y* H0 z5 r! r  E1 t}
$ g; M5 c- @& z#container {7 [3 ~% G) O7 [
margin: 0 auto;
; E- @! M4 @! H# `* x# Q9 wwidth: 800px;
. t$ x% ?5 v( |7 {/ V' s4 H1 O0 ptext-align: left;# u; R* d9 A: W4 k- U6 K- y
position: relative;
0 w" Y& t5 d( theight: auto !important;" O1 p7 L$ d+ e1 F
height: 100%;
! _. l+ z7 z9 R- \( p& q7 t0 X7 p}
6 a. x( {/ G8 G# k2 a. s#head {$ `- G$ k  q( b" ^4 F7 ^- a. E. ^+ W
width:800px;
* C/ {+ F) f1 v6 o" htext-align: right;
. J5 \4 ^# R5 r. i" xfont-size: 20px+ ~6 O; k; T$ n
}
# W0 J# i- _5 `' z6 v#banner {( u% p# ?6 f' l( r7 G) m% _
width:800px;& ~2 |' l+ Q) ]; q2 v# M
height:67px;
& R+ |9 B2 d* U  z8 X: U3 C}  A, E2 o7 V+ p1 ^: o; e- s. F
#content {* X2 k' s  X' T) c: |
width:800px;9 x0 s! q  f2 e' H6 i, k
padding-bottom:20px;" w5 b# ]; c3 w) \
min-height: 270px;$ `! n0 B! z( ]
height: auto !important;- J4 \$ d+ c- B, ^! G9 M
height: 50%;8 b* Z: v% E4 Y
border-left:1px solid #f7f7f7;# W" U/ _5 ~5 O6 D
border-right:1px solid #f7f7f7;* @" w4 `$ N3 _' P! w
}
& [' N; f& R% a/ [6 C- C#content:after {
$ `7 o8 h6 K; e% v/ i/ x% S$ s6 Zclear: both;
* r6 R( D: ^+ @4 g/ z' mdisplay: block;
. ]" J2 B" G; I- M2 f  B1 f8 Rfont: 1px/0px serif;' B( _% A$ |4 W. N$ l: o
content: ".";
) V5 f) S7 b' O5 c% [$ Aheight: 0;4 ~+ r$ M, |% c, T3 E
visibility: hidden;6 ], `4 m1 P5 }
}
- T8 A. d2 R! `* b3 j4 X* ]) F# Z#content li {2 `' I, ?  x+ g/ _# q* l
list-style:none;
9 s; `$ F9 \  P: Udisplay:block;. i  M9 Q( z3 G( t- T
}
# _0 Y% ]; }3 w8 ^/ @2 Q#bottom {' O4 O6 ^2 H/ Q2 }! A
width: 800px;
: R4 z% f! N3 P) r$ g! eheight: 28px;# \& B9 f( W& t4 ^
border-left:1px solid #f7f7f7;' w0 b7 d. ^5 l: i: v
border-right:1px solid #f7f7f7;) e: m0 E% G8 s: \: ]
}
* R% e' V4 V+ p1 z! i! E5 R! j# W#bottom li {
" ^6 n# n5 ^: E" hlist-style:none;! e% ]) T& v- [& `1 \; [
float:left;$ a0 P3 j3 X: D4 }7 i
height: 28px;
. t0 m- ~0 y8 Q5 h- f% T- E}4 X4 Z, g3 W, ]
#bottom a {
2 g0 g6 I& h: o; m) z; i$ A2 d) Hdisplay:block;
0 o5 f( Y3 X, ~height:28px;
4 O( j, z9 {$ M) W/ p2 u; a+ g}
6 ^: F. y/ {8 Y# c#bottom a.b1 {
, K  D( _, b0 i9 y5 Z9 wposition:absolute;
- s5 {; |. V6 ]2 ]- a( |, Hleft:1px;
& D* W+ ~1 G' |6 A* Uwidth:156px;. W- i. e8 W/ Z
}# p# h3 g" I: \4 R5 R
#bottom a.b2 {
; K9 Y; C( {# A) a6 P8 j- M0 ]width:54px;% _- B* {% S; P, x
margin-right:2px;
  V. _. o: `! u" Z# }position:absolute;
* `, T# B) H- z( i2 yleft:157px;
. j0 A: E% m! Q: g9 ~}% l2 t( J5 D3 M) T# p6 R5 ^
#bottom a.b2 ul {; S# |- u) n$ e  t$ |
text-align:right;
% C' d/ I! D% Bpadding-top:5px;
5 C3 p4 e6 }2 ?# o: ?' p0 P& b}
5 L# V% u1 E0 S& B- r: m2 f, o#bottom a.b3 {
  z- L7 }6 @  R4 Fwidth:564px;
' y! |0 [1 [# |: \1 }3 L! [height:28px;
% t$ P& O) u; s2 j7 q1 Z: F: dposition:absolute;+ w* r5 {! Z0 `, ~2 V
left:211px;
5 D% P1 \4 g$ I7 o. tbackground-color:#f7f7f7;; W- ?5 J0 Q1 T
margin-right:2px;
. u) n/ s9 {& G* j$ N  mtext-align:right;" ?+ u' ?: l4 f+ x" t; G; e$ {
}8 d$ M: v& d2 A# W) _) E1 i
.copyright {height:16px;width:800px; padding-top:10px; border-left:1px solid #B1B1B1; border-right:1px solid #f7f7f7; text-align:center;}
% d, n& M$ s9 l5 B) j.bottom_line {background-color:#3F6D8F;height:8px; width:800px;}5 N. p; V& R4 Q8 y6 r) q) y  m
.submit {padding-top:2px;}1 ?: q# L$ z% ^
#bottomx {
4 ~  k- p  S! Y3 a9 Z$ j! r9 j/ O2 ^width: 100%;
, ^8 n6 S6 E5 k- {. l. e6 y! kposition: absolute;+ F+ ~/ X; e0 {6 m3 ]% p( |7 T3 v
bottom: 0 !important;
/ [7 c% Q2 g6 q( b4 }bottom: -1px;9 }1 p2 B7 @5 Q
height: 1px;' ?- R4 _3 o2 D+ G* W; t8 R* a
}
3 M) v* |( N+ Z! O0 p4 K.login_bg { width:800px;height:389px;background-color:#f7f7f7; }
% ^8 c5 t3 J; g9 W: c: p( |.login_li_0 { width:100px;height:17px;float:left;text-align:right;padding-top:3px; margin-left:15px;}& I1 _  }' ~! |, J( m* U& ?; J
.login_li_3 { width:78px;height:20px;float:left; }
- }0 [* l: \2 O: ]7 Q9 n5 D( z* B.login_li_9 { width:110px;height:17px;float:left;text-align:right; margin-left:5px;}! q' M! g5 b3 x! E
.login_li_8 { width:220px;height:20px;float:left;padding-left:4px;margin-left:4px; }% E. I7 ^6 F/ ]0 l% p) |
.login_li_7 { width:280px;height:17px;float:left;text-align:left;padding-top:3px;margin-left:8px}
4 R2 |& Q$ g& [) k0 D% [8 U.login_frame { width:435px;height:160px;position:absolute;top:155px;left:182px; }% Z4 @$ {- @# s' u
.login_ul_1 { width:435px;height:20px;padding-top:10px;padding-bottom:10px;list-style:none; }$ P7 ?% P( G+ L6 u: g1 X2 Q
.login_content { width:435px;height:120px;background-color:#EEEEEE;list-style:none;border:1px solid #3F6D8F; }
, N& N( ^& e7 `7 }) G8 @.type{ position:absolute;top:32px;left:580px;font:20px Arial,sans-serif;color:#000000;z-index:999; }4 j' x! j# m. M: L# S
.text{ width:143px;height:15px;float:left;padding-left:4px;margin-left:1px; }# K3 a0 U6 ]5 A$ D  B
.white {% A1 _& _( \* c
background-color:#FFFFFF;
2 t0 ]  j" Q  W0 G8 h, A7 @. x+ C, htext-align:center;
8 t  T# ~: C2 z0 p7 \0 dheight:25px;6 }4 d1 a: P: v3 R* Y
}, [5 u2 D  e+ }. W3 p6 l
</style>
& k6 j  ]3 M- y/ j8 F/ I% N<script language="javascript">
/ b& B4 X2 I! |/ o! m- }+ E+ Y" {# {* I: U. k% q
function getObj(id)8 I) i& s% f! b- R1 ~5 |! n
{" r/ D( b, l7 S; i- P
return(document.getElementById(id));$ z# f/ |) H5 B" r
}: q( ?  _# T9 v
, ~% Z8 Z! v1 J
function jslSetValue(src, dst)
6 [6 v- U; j* W. T; w{0 A' q$ X" p/ k* l% B- A
var ss = document.getElementById(dst).value;9 T- a7 m7 b$ w7 J2 C  `8 z$ D* D
document.getElementById(src).value= ss;
. r3 ~6 \) ^1 i$ s- I: m}
) q3 p6 }1 _+ Q+ M6 @( G+ b; J, m
1 @% N3 q& {8 b9 yfunction setValue(id,value)" M! ]4 p0 d% b# r
{
8 c5 ~! o3 J+ C" Xdocument.getElementById(id).value = value;3 b; {2 c2 B  N7 `9 P# p. d
}
# B* b$ L: L. r, r6 c& p& z3 d! \! I8 ~& F5 d# ~$ h
function Transfer_meaning(id,value)
" x' Q9 l6 Y" `( s+ u{$ K# \$ }# n+ c
document.getElementById(id).value=value;
: k& |; g  p3 l* G8 g}
) ?0 U# w( ?  {1 jfunction getValue(id)
( M( b2 p0 c- P3 p; H{
5 k) a. w. g* J7 t- freturn(document.getElementById(id).value);
; G5 Q# ]; e1 V}
  K7 t% U& O5 P+ \0 e0 }9 {) `' o$ e) w$ k
function jslDisable(id)8 C( W* H" X: D: O7 _
{
) _+ j8 b# t8 t  [3 s; `; ovar i;- a, }" j0 ?& m. F3 ~
var num=jslDisable.arguments.length;4 K) D0 _4 D* p) F9 N0 `8 f9 O& M
if(num==0) return;
% Y$ f& ?) q$ A* V3 C, _9 Ufor(i=0;i < num; i++)
; }  M7 t3 c% y) e6 N* o{) i0 Q* c* Z( C& R1 q# D: k" J) ]
document.getElementById(arguments[i]).disabled=true;6 o0 U3 [0 b* ]9 Y, I
}9 B- v  v. z4 _2 _1 ?
}
& c, U$ u; @6 H5 ofunction pageSetValue()
, j! j& L" S+ E9 d{4 W. D/ Z4 F: l
jslSetValue("CountryCode","Frm_DefConfFileCapabilitySet");
5 L% B: D' o7 m/ p* w7 ?}( E! `$ _) A* u1 m
function pageCheckValue()
3 e- m  O- f3 W- g/ V9 o; D) I8 t  ]{- Z; B: F- V0 A* i
var type = getValue("Frm_DefConfFileCapabilitySet");. e& M( q/ k/ E% l2 T
if(type == -1)4 f+ m4 X; \6 |3 q- _  B, g8 z1 Z+ G
{. b# |8 T% ~+ ]1 X' u4 f
return false;* b. w3 p5 i; [" q0 [9 h& t( K
}
' h0 p9 x/ A; u8 h* p0 ]2 Mreturn true;7 u) v! g7 i. u3 H8 v. d! k) s
}
9 D7 s5 A/ X. f' a( H7 Ofunction pageSubmit()% J/ L3 U- o3 U$ p# X! b% ?
{9 q' a! Z9 T" T* H! ?, K
if(pageCheckValue() == true)/ d2 \2 _# v" f4 y6 g! n
{2 h3 x7 J) m" W3 B  e
jslDisable("Btn_Submit");
7 N( q$ `2 e  u  z1 Z% P; M+ zpageSetValue();
1 i: q2 _, Q3 b6 X# x) [) f( r# I2 R  ksetValue("IF_ACTION","apply");
! _) T: }; z/ h& U$ p3 ~  @jslSetValue("userPass","Frm_Pass");
- C" b1 d( ?) b$ Q9 l/ z6 Y9 HgetObj("fSubmit").submit();1 @( d$ q" l- J9 G! a# h
}( @+ W- U' n# Y1 F
else
5 a1 P1 P$ ?9 D0 ^# r{1 G; {' N& h+ \) M- O* \
jslDisable("Btn_Submit");7 P2 {6 B2 _6 B
getObj("fSubmit").submit();$ M( U  }2 z: ~; h, J
}
1 B- ^. K" g5 B. l8 N+ X* E}
/ ?- m" ]+ N% |2 F' O. c7 Afunction pageLoad(); M& e7 ?: b, H: I
{
' s; s/ `* ?$ V4 Rvar errstr = getValue("IF_ERRORSTR");
. _' u0 E% Y! @4 T5 g; z7 a2 o: g9 Mif( errstr != "SUCC")/ f3 W: f/ u$ g3 x' N
{
( X6 q5 F2 Z! r5 g" T5 l$ Cif( errstr == "&?cmret_261;")
9 R9 C6 U1 ], a9 Z{8 N, n; }8 h* J, Q
errstr = "&?cmret_2611;";
3 ~2 R+ \0 d) G" w" c  Lalert(errstr);# M* W' K: u5 E( z. Q& y: Z
}
% S$ N- E1 r+ D4 A$ \# R' A# \1 i/ ^8 eelse if (errstr == "ErrPass")
# p7 b. E& q9 L9 C8 v$ E5 i# @% C  c& Y{9 M! e  t# E8 d. t0 \, w( k( R
alert("密码不正确!");  B7 [7 G: I. a; s
}( n; \- A! `8 d( ]% s
}& F( {4 S  U6 |
}7 H6 i- Q$ h# L+ [  p. x
</script>
7 S% f- Q. e& q; F* N! q  [$ g<%# n$ C/ m4 d0 X+ R( A
IMPORT FILE "common_gch.gch";
  C3 s5 u% [4 R- qvar FP_ERRORSTR     = "SUCC";& J/ Q/ w/ R- ^9 g2 J$ q
var FP_PARANUM      = 2;4 T9 W* I2 c! g
var FP_HANDLE;" R2 f$ q* \& Y8 _
var FP_INSTNUM = 1;2 U6 e' V* e+ T7 k
var FP_IDENTITY = "";
# P/ @) M9 \( a" nvar FP_OBJNAME = "OBJ_PON_VERSION_SWITCH_ID";2 y' W' Z+ y9 B( |' R& `* Q# U
var PARA[2] =& ]: b+ V# H+ |/ o' j& W( V- r
{0 t/ ]  v8 ~/ R% Z
"CountryCode",
4 @. I: A6 u9 E6 V: f6 O* A$ U  q"DefConfFileCapabilitySet"' G$ L& s8 ~! T4 Q* y9 ]1 J
};
9 p. U! R% f/ B& Q# u  Q% k* C" U6 ?$ A' ~
create_form_start("fSubmit", "'/hidden_version_switch.gch'");
7 c  u0 T7 Q( }0 Q' z/ _createBasicHidden();  V2 b) e9 S5 |! \( k8 T
create_hidden_newpara(PARA, FP_PARANUM);4 |" @4 C) J  G0 @
create_hidden_sep("userPass","");
2 |; E# i, a7 X" G  ]0 |& W# ]5 {* F5 y; S
var CountryCode = request("CountryCode");
* h8 x7 x6 Y- r4 ^8 @  K% ?var FP_ACTION = request("IF_ACTION");7 S& M* V, Z7 t( J& b" _( b
var userPass = request("userPass");
$ t( i  J+ W: W/ u* v& W+ P% b8 ]function checkUser(password)
% C$ @  N& Z" Y) I3 K9 \{
4 N$ [' S% B5 _+ _7 `' \var FP_RESULT, FP_HANDLE;
# J+ j' M9 P" ?; @5 H' wFP_HANDLE = create_paralist();
4 H5 ~5 H) b: |# U8 qset_para(FP_HANDLE, "Type",        1);  J  d/ q( I* Z9 r6 Z# |
set_para(FP_HANDLE, "Enable",      1);+ _5 n$ M& ]% }  \" M$ Y+ K: m
set_para(FP_HANDLE, "Password", password);9 h+ B: Y  X& I6 c$ e
set_para(FP_HANDLE, "Right",       1);
- t2 d( ^) \1 \3 {2 }: TFP_RESULT = login(FP_HANDLE, "OBJ_LOGIN_ID");! j6 j/ R- s2 [
return  FP_RESULT;6 Y& o, \. D; f8 h
}
4 |5 X9 h: I! s3 c9 i0 P, o7 X2 Oif(FP_ACTION == "apply")
. k9 m! Y5 B  }0 A. R{; i# }' r0 B' p& X7 y
if(checkUser(userPass) == 0)
. ?6 W: n# ~0 i$ b% y7 F{7 ~+ H% p! ~( u1 u  I- ]5 C
FP_HANDLE = create_paralist();4 m7 O/ o. D6 r
for(var i=0; i< FP_PARANUM; i++)7 X# P: T& u$ q3 H4 G
{
/ q6 _2 R0 T0 |3 ~setpara(FP_HANDLE, PARA[i]);
. u2 }# U; d2 ~7 s2 B}- |# Y) u7 `$ I# H! `; r1 V
FP_IDENTITY = set_inst(FP_HANDLE, FP_OBJNAME, FP_IDENTITY);
# P$ H* u  ]7 T# i) ]6 w4 ^' Nif(CountryCode == 2)  y. {$ e2 ]# s6 y6 `: u( j) K
{
2 M. P$ T2 R+ F% }$ q' gvar LANG_HANDLE = create_paralist();% G( [1 Y9 Q; Q; f
set_para(LANG_HANDLE, "Language", "English");
2 ?3 h( x- G$ T" I0 Tset_inst(LANG_HANDLE, "OBJ_USERIF_ID", "");
0 m" b5 W, T  F% u}
+ V9 W/ V% D1 `+ g: {! @7 }. k}! N: d; g- J4 S
else
" Y4 A/ \) r. D0 w4 W$ r{: Y6 k0 }* Y+ O
FP_ERRORSTR = "Error";) t, q' l1 l( q( n8 A4 m- ^2 k2 v
set_hidden("IF_ERRORSTR", "ErrPass");
8 R0 u% m3 B" y}" z, X9 b6 l0 H$ ^
}
! o7 m' x7 [! hFP_HANDLE = create_paralist();
/ P) Z: d' A# L, l+ M  m/ C2 g5 a5 L5 K8 `; B
get_inst(FP_HANDLE, FP_OBJNAME, FP_IDENTITY);
* e/ w  Y# X: C/ ^3 o7 G9 A  D" Ocreate_hidden_para(FP_HANDLE, PARA, FP_PARANUM);  T: ^/ @- E  g! h( I
var CurrentVersion = get_para(FP_HANDLE,"CountryCode");( v$ b; G* U) I- a, L
var SupportVersion = get_para(FP_HANDLE,"DefConfFileCapabilitySet");
+ ~+ Y0 L7 N9 v# z: k! D7 e5 a$ d  y7 {' d2 c. C1 ]
destroy_paralist(FP_HANDLE);9 ^3 h/ S. W" b' B
getDisplayInstError(FP_ERRORSTR);& j; g% J3 T3 O) {# g  b8 L  K

+ d; k- N& `2 Hcreate_form_end();
' E! C! O% j9 w" w/ J. w%>
) b& X6 }% l2 s</head>, Z6 a$ E/ V, n' L; ^% v% {
<body>
2 H! D( k& A6 A" e6 E<div id="container"  style="background-color:#FFFFFF;">
% O6 o2 }/ f0 m" d5 Q: U- H<div id="head">, B7 M7 u5 z6 v# A
<div class="type"><font id=""><%=webtitle;%></font></div>
8 y) K: L8 z6 A  ^1 \, D6 f<div id="banner" style="background-image:url(img/banner.gif); background-repeat:no-repeat"></div>
4 O) J6 B& V( F' q! c</div># S% v- O8 I5 g! h/ A
<div class="login_bg">! n! F+ E; ^% e& S6 @- I
<!--内容开始-->
6 D* p# ]5 F0 w' p9 \' B<div class="login_frame">
% E6 [9 C: Q. d3 n# D<div class="content login_content" >
" |9 I4 K, p) d5 E5 r; A: Q<ul class="login_blank"></ul>
% `1 {5 x. F4 L" M- A+ U; Z<ul class="login_ul_1">
; ]* C+ C" t7 R! Y- s+ m- k. I<li class="login_li_9">Current Version:</li>
! ]) E$ Y1 H$ a" t<%# ]' ]- c% ]! z1 C' q0 H" z3 ?7 x
var CurrentVersionText = "Unknown Version";
% V5 s# d! P! B- i* A* t) mswitch (CurrentVersion)
; N9 Y9 V4 @8 o! F{
; U) T, \/ w9 ^. i) a  m% R  scase "0":7 n0 y4 u9 ]' H4 b  \, B' e
CurrentVersionText = "Default Version";# |; ?/ [+ }+ ~& `% F( P: i, E
break;
7 W$ h5 b, Q" o8 A1 pcase "1":5 j  L. i7 N+ d+ c4 ]
CurrentVersionText = "Russia Version";! ?6 M# Q: w# F7 Z9 M0 T( H3 _) ^4 u
break;
7 J1 Y7 R4 d" ^* ]! }case "2":4 Z1 r; i+ T4 `: f' u/ T
CurrentVersionText = "Lithuania Version";2 p: n6 e" U7 q% Y" U$ b. e
break;7 s( O" L7 `% A* a/ t8 O$ t
case "3":8 }! S+ Q& o- N2 z
CurrentVersionText = "Roumania Version";
4 n- k$ [6 k+ |, k0 k; ~break;3 H1 d, o( M7 f
case "4":# ]4 J- y8 {& `
CurrentVersionText = "Singapore Version";3 @& Q$ n9 ]1 U4 h7 j' U$ m% T1 @
break;
6 w( a' a$ X5 q' F) ~9 Z7 [/ |case "5":
; b, a/ i; {1 p+ N6 @8 rCurrentVersionText = "Italy Version";
' j2 K' x6 @: M" ?+ ?) {/ C7 pbreak;; o5 L& ~6 P/ _- {: `% y
case "6":
! i' ]( M# c2 K' _" @CurrentVersionText = "United Arab Emirates Version";
- i2 P9 j4 Y6 Dbreak;; l+ |  z' O4 }4 G$ P0 B
case "7":
- \8 c* M' X3 l. o! v8 k0 sCurrentVersionText = "England Version";
- }. S! M0 [) l* ]: sbreak;  s* S/ w8 _/ H
case "8":
; I, M9 n0 O  i4 M' u$ HCurrentVersionText = "Libya Version";! D& x, [2 N9 I1 e( l
break;
* {3 {0 ?; W  x; _. W% Ncase "9":
) S' r' ~0 f' m( L5 iCurrentVersionText = "Germany Version";
( t2 Z4 v8 V2 L; ]6 {break;
* e, b% K7 D: ^' e& H6 [case "10":6 T: C9 h- R# W# {8 P; k
CurrentVersionText = "Brazil Version";1 t& V- v! f9 d# w) o
break;
* e: N% a. G& l6 V4 d8 zcase "11":
7 @! j# D% `" C+ cCurrentVersionText = "Telefonica Version";
1 @2 S' O& Z4 N4 \break;, M  b0 S/ ^7 e, \8 k3 }. K6 l: H
case "12":4 {/ ?+ u) a. J* t
CurrentVersionText = "PuertoRico Version";4 Y. K! O# w9 O7 z2 u9 k
break;+ O! K5 E9 L0 |
case "200":
* ]3 p& T% b/ J- kCurrentVersionText = "JiangSu Version";# L" a1 q9 ]% W1 a, [3 _
break;- }; z" j1 C6 F5 J- i3 ?% H  l) E% p; I
case "201":4 m( r' f, i( k* ~2 W# V. S. O
CurrentVersionText = "XinJiang Version";
6 U% S- O( a: l' A8 ?break;
7 P$ D5 h8 [2 ^9 m$ _; V5 }case "202":6 z; v9 \4 a: q
CurrentVersionText = "HaiNan Version";
0 A4 m" H" B. e9 I, L4 L' x% Cbreak;; b+ `0 T( C9 ?7 _9 z
case "203":7 X6 J0 E: |8 `; z5 c
CurrentVersionText = "Tianjin Version";, E% a2 m6 A& ]  g6 p7 h' |% H
break;8 X& e- q8 `. l1 |
case "204":
" G. x9 _; X5 Z2 ~CurrentVersionText = "AnHui Version";/ c, F' e7 f$ ?/ z4 s0 p
break;
7 R$ _% M: g) R6 N! Tcase "205":
8 w- e. e0 k$ `4 j; E' }CurrentVersionText = "ShangHai Version";
' i' @8 f* |0 \4 o3 Wbreak;
1 d3 a& X6 E% W; N$ U+ M% ycase "206":' h$ H/ D: k) B# v
CurrentVersionText = "ChongQing Version";
9 j7 l/ ~( c1 _break;$ S3 ~. t* i9 M
case "207":
% V1 `2 F1 I3 sCurrentVersionText = "Beijing Version";
7 M" ^$ B4 ]* G# j4 Q8 P5 s  B, Dbreak;. N4 @% b7 G3 o( x8 v
case "208":% A) U; ?/ k6 i! S, y
CurrentVersionText = "SiChuan Version";
" L  D+ b% ?- C+ |2 Fbreak;+ E  J2 {: o2 z: a9 |! {9 d2 ^2 k( p
case "209":
% I8 e9 Z3 v1 P. ^CurrentVersionText = "ShanDong Version";
) Y3 ?- t8 L: D# u( m# tbreak;
. W3 T2 P6 y2 v% W* ~0 j# wcase "210":
* j' B* @; O% YCurrentVersionText = "GuangDong Version";
' e2 L9 K; U3 Bbreak;5 A! ]) A& O+ _: r4 R! U. G
case "211":
& ^" P0 i: Y% W2 `CurrentVersionText = "HuBei Version";; w  _8 v- _% }. ^
break;, u' _/ \9 H' B/ S1 l
case "212":
) Y" V* `) F7 PCurrentVersionText = "FuJian Version";
% j) p6 ?( F) {0 M8 e' C7 ^2 Jbreak;
2 V1 m* e4 ]2 B5 f0 Vcase "213":! Y5 `+ p8 j. \# S5 t) f, H) t
CurrentVersionText = "SuZhou Version";
7 s! D7 E7 ]8 v8 d( V# Fbreak;+ i( @. z0 e8 r! t9 m+ o% R7 o) B
case "214":
4 b2 e% R+ r( l$ P+ c. aCurrentVersionText = "ZheJiang Version";
9 A7 s  U  @- G/ ibreak;
+ M, a8 ^& |" V5 l+ v# W5 }( W/ bcase "215":+ P2 }3 a1 L; F8 g( X  K6 M7 Z. x
CurrentVersionText = "ShanXi Version";6 v; h4 j/ i& o7 r! Q% f
break;
3 x  C3 X' _/ {) E. t; n9 i  icase "216":
7 e7 f; ~1 `/ ^9 ?- Q8 R) M/ kCurrentVersionText = "HuNan Version";
% S+ w$ x" j9 F! {4 E3 \break;8 V4 g3 Y& ]) _8 ^) ^. O
case "217":' b- B! ]- U# X5 c2 D% f* u0 ^9 m1 o
CurrentVersionText = "YunNan Version";
9 j  K' X8 X/ E$ X7 U7 T! _, Ibreak;
5 H% }) E+ Y' z  e( i4 W/ B9 mcase "218":9 j" y8 Y. f1 E' O
CurrentVersionText = "XiZang Version";! G+ i2 c4 T. T: @
break;9 e$ ]7 b) |& J% g
case "219":# z# @! R' D! \, D& I
CurrentVersionText = "HeiLongjiang Version";
& W. {$ |( W- X( t+ o0 [+ b& Dbreak;
7 v& P, ^. ]& z7 hcase "220":. W/ t9 Z+ T. Q; _4 u' W4 p8 b
CurrentVersionText = "GuiZhou Version";* ~: ~0 j6 N* I$ V/ z: X
break;4 l+ X( v) O4 Q: _; c( f
case "221":
; h6 y; b# @- R( I3 R! RCurrentVersionText = "ShanXi2 Version";
% O) Q$ K+ U+ w, }7 k0 s- m- N# Q8 ybreak;
" s! A; }2 z! \4 G8 `1 ]case "222":
$ c4 x2 w, n' d* eCurrentVersionText = "Hebei Version";9 w/ P- z0 p. i1 X  X7 c
break;
- C6 R2 u$ e9 W7 xcase "223":
- J* {( i! K  r0 iCurrentVersionText = "NingXia Version";
$ X2 y. u/ B# |& A2 V- obreak;
  }9 N! l+ p: U. N5 j1 rcase "224":
) X2 q5 J! ~. E: h$ C6 T8 A0 }CurrentVersionText = "GuangXi Version";9 T& I* x$ I1 |& ?0 q" [# j
break;
5 k% y  h" h: |/ G6 s. lcase "225":% S0 n/ @7 Q. J' r5 M! m! @
CurrentVersionText = "JiangXi Version";
. T0 k" i! q3 R, Jbreak;
' J+ i2 f* E* f$ @. Ycase "226":" A7 p8 Q& l0 n/ @% K  t  M; `' a
CurrentVersionText = "GanSu Version";
" q' y9 r' |! @1 dbreak;
4 o. [0 z( k4 X  k/ J  f5 f) |case "227":/ L6 T% }5 V) r& f% [
CurrentVersionText = "QingHai Version";
4 `: x5 j! U' q# N, abreak;  s- p+ G. P+ i! A; f" |) r7 @# h* i
case "228":
% ~  @" V( I1 [+ k) s+ S. ICurrentVersionText = "XiAn-XianYang Version";) e8 k0 Q: R( P, e
break;
0 Q1 \8 i1 ^' d9 t+ a3 tcase "229":+ m; f! p: s# Q$ K
CurrentVersionText = "LiaoNing Version";
( R' a" N9 R6 h$ O3 p, A% {4 P. bbreak;
7 M, |- h$ e& g' {case "230":
9 h  W0 a  ?" Y% S5 G. v3 a$ PCurrentVersionText = "Jilin Version";
/ v( D1 p2 Q$ t: L( W/ x) t( Wbreak;; n( V' Z" g8 Q
case "231":6 Z3 Z5 k' A8 d( G+ w% i$ P
CurrentVersionText = "Neimenggu Version";
  q, X/ e, O. [! [$ W0 R/ Zbreak;7 N4 A* |+ o9 u2 V  w( d
case "232":5 q9 m: T/ f) |7 A
CurrentVersionText = "Henan Version";# Z# t6 n# s! A8 m( W2 R
break;
+ ^# _7 W, m) n) s! Odefault:
, X5 |( A5 Q/ n, Tbreak;
' Q8 K) e) o4 e8 t* k2 M" i}. ?. h  I9 n4 P$ E
%>
' p1 i1 O8 C! I+ |# Z<li class="login_li_7"><%=CurrentVersionText;%></li>* u) j9 l0 P9 H. Y8 Z
</ul>( J4 L) I+ g. n- {& X( J4 K' a
<ul class="login_blank"></ul>; a- R4 ~: J4 C5 f0 Q
<ul class="login_ul_1">, T! ^/ c! l* N5 z; b
<li class="login_li_9">Version Type:</li>% k3 W* B2 A; r+ n0 Z  C
<li class="login_li_8">4 P0 ]% ?' B/ e( X% g) \% p
<select id="Frm_DefConfFileCapabilitySet" name="Frm_DefConfFileCapabilitySet" size="1" class="list_7"">
) H0 B7 \. z) G  d$ h/ D6 W<option value="-1"></option>' ]$ y3 v3 N! k; y8 K
<script language="javascript">
6 B& _  u$ k6 K9 t2 t- @var SupportVersionSet = "";
1 V! X$ l& g& k, W+ A2 TSupportVersionSet = "<%=SupportVersion;%>";6 n+ u$ r( _7 A4 }+ m3 \
var arraySupportVersion = new Array();# ~' G! F% M6 a; V
arraySupportVersion = SupportVersionSet.split(",");
! T3 D2 g! m# y7 N# Y/ _if(SupportVersionSet == "" || SupportVersionSet == null)8 n4 D" y- T5 d% K2 S. s% }
{
! X" q, R: w6 A4 ?. q//如果支持的配置文件能力集为空,则不做处理
; }* D1 w: @2 ]8 Y$ O! I: s% t}2 J9 N' T; ?0 L- a  v( j5 }+ i9 v  ^
else8 q: K- l* F$ P/ e" f
{0 {* \1 Z4 [' p& T
var SupportVersionValue = "";
5 W* {6 p3 q& t2 X# x( Pvar SupportVersionText  = "";
  E7 q0 U- j! V7 z  Y$ xvar DefConfFileCapabilitySetObj = getObj("Frm_DefConfFileCapabilitySet");" O1 E" G$ O7 L) y/ d0 D
for( var j=0 ; j< arraySupportVersion.length ; j++)# I" v% ^, J" c  |9 J
{- Q% ~; Q, f/ q& e# C* }# q: L
if(arraySupportVersion[j] == "" || arraySupportVersion[j] == null)- M( A' }  {: U0 \/ j) |9 u2 p. z* d. a9 }
{
7 P% e6 `3 e- V; m9 U' K( rbreak;8 u: q/ c% p; f: X0 ~7 Q% a
}' A) ]) h3 @3 V# z3 [% H
SupportVersionValue = arraySupportVersion[j];
9 x: v' E4 i9 P" |switch(SupportVersionValue)
2 _  g0 ]( A# v  M{, M, h% K8 \5 @+ X6 r0 L
case "0":& b* B! W) E% k9 \% j+ f4 a, F; ?
SupportVersionText = "Default Version";2 h0 Y8 S4 n& Q) H% q) i
break;
, y$ i7 M/ d+ ncase "1":* r$ D% V5 M% l& n9 L, ^7 d3 P
SupportVersionText = "Russia Version";
' r( B+ L9 q$ K! a, B" L8 ?; xbreak;7 t+ A% \: C: r
case "2":) n+ \3 \3 `! W6 H
SupportVersionText = "Lithuania Version";
# a; {. O& {0 _& z( p) B5 bbreak;! E1 }7 R) V2 v9 @$ B& \
case "3":
2 K6 C1 m  Q5 T) ^; u% MSupportVersionText = "Roumania Version";9 l  M! Z( g1 A: M
break;, z9 {' d( D, h5 M& F+ H0 I2 ^
case "4":
0 h. [. R2 X; x# s+ k& k* {SupportVersionText = "Singapore Version";$ J& x5 l" m( v7 a
break;/ C8 P  |" n" D! P9 B( O' V. x
case "5":
0 X& _6 `8 i6 y# m5 @6 XSupportVersionText = "Italy Version";
, l. R/ E0 R1 E3 k2 Tbreak;
% ~$ k! d3 p+ _5 ?case "6":- ~% p/ b- W' r1 Q
SupportVersionText = "United Arab Emirates Version";* `8 n% {' p% U! W  u" u5 G
break;
! N  k+ ]7 b9 `) Y% acase "7":9 j1 E# J0 g+ a: c3 j
SupportVersionText = "England Version";+ T- _) l  y9 K" A4 [
break;
. l% w. u$ N4 j$ }8 l) C5 W1 mcase "8":
" V( N' @3 X& _SupportVersionText = "Libya Version";! h" q. c  C4 K+ X  e$ E
break;' p# j: \; h$ M1 F" s
case "9":
  Z6 ]3 L' _. b) ISupportVersionText = "Germany Version";
( u) `% K/ x1 d1 obreak;% Q' ^% g. }9 m0 Z
case "10":
* T' {& l  N* `7 }& h2 m  P) k# _SupportVersionText = "Brazil Version";
4 u$ w% n9 U/ E9 }8 Rbreak;) H, ?# E3 z% N0 e
case "11":
2 s/ \" T) m1 R- u5 b8 xSupportVersionText = "Telefonica Version";: q9 @" V! a6 K6 @2 J4 M/ O: T
break;, g' \! o5 n( Y0 X
case "12":; |' Y& `7 f  p' A: ^
SupportVersionText = "PuertoRico Version";6 e& P$ f/ X& w; d9 A
break;: @# L) Z& @# L
case "200":. Z: X6 R  C7 K9 l, }( Y. V6 G- V
SupportVersionText = "JiangSu Version";
3 w$ ^3 ]- s% R0 Y+ l2 f% Cbreak;
  e9 k4 F; `6 i: x  ]case "201":
' p" G8 z( H, P  J( x& }9 V: JSupportVersionText = "XinJiang Version";" G4 }# L0 L. T& x$ _
break;! \2 d3 U' D- y3 U0 y$ I: ^) I
case "202":
# \$ l9 H  v# }' q6 J' sSupportVersionText = "HaiNan Version";9 X7 {! s9 S2 L+ a* Z
break;
4 K4 Z( w$ O* p' r3 J1 a) Hcase "203":7 }9 f  X% G* f- `; j! j
SupportVersionText = "Tianjin Version";5 y0 E& z/ A4 [9 }0 u
break;
  E3 `& u% t" t, r9 f2 A, Y% icase "205":
& O* W! \# d0 D& k' jSupportVersionText = "ShangHai Version";& M; d  [& `) M- R' ]4 H! D
break;
6 S2 I5 G% s. h; |7 f( H7 |2 W# ?case "204":
4 [  i3 Q5 n( w" Q& q% ?) V" {SupportVersionText = "AnHui Version";/ V2 N) d2 {, I3 C$ R; Y# g
break;
: t3 R7 v6 \3 pcase "206":
% b& y. X" R' n& W/ iSupportVersionText = "ChongQing Version";  `" e: }( l  @' k' M4 u$ b
break;
+ i' V+ m* T* P9 d1 L* Z* jcase "207":
/ \  l8 V( t/ b( j/ p6 fSupportVersionText = "Beijing Version";
- z9 A1 u8 [) ybreak;" j6 w8 G( G$ u
case "208":
& B  b" f$ @0 [4 l& k2 NSupportVersionText = "SiChuan Version";: ^  E$ c& c/ _5 l+ V1 r5 A- n& i
break;
% l# l& ~2 Y, x: P' Tcase "209":
- l$ e- o- _* p7 g1 H7 tSupportVersionText = "ShanDong Version";
. l0 ?% r. q! ]* V0 _break;
4 S2 x6 N* T) F& Jcase "210":
* ^* x1 p* x+ T- v( o) b; t" FSupportVersionText = "GuangDong Version";
3 ?9 f8 Y: B% e/ \# ?# M9 ]break;: {! ]% @: ~" x3 I4 I) k
case "211":% X2 Y/ {6 n; d9 g7 i1 C
SupportVersionText = "HuBei Version";
6 Q* z8 `2 [5 ], l0 f% h3 |7 G6 gbreak;
/ |* I( s0 n9 ^5 Ccase "212":
& u) M! j& V+ K: G( x3 T/ TSupportVersionText = "FuJian Version";- t( l; p5 F8 K/ d
break;$ R- i: ~5 A; d! X
case "213":
% Y( K/ c  X" z9 e% q: ySupportVersionText = "SuZhou Version";
/ h9 o# d2 K7 M' Q* |! o: Xbreak;
% z  z& {! ]: k1 _case "214":
5 `. M: f) y$ V) zSupportVersionText = "ZheJiang Version";
1 d7 S# D9 D  ?8 j. Jbreak;
: `  @" o( l% D- {2 T1 icase "215":, U8 |" D1 h+ A# l3 P& d) A
SupportVersionText = "ShanXi Version";
. A6 F% u2 Q& ~+ S0 l/ ubreak;" s; F" s2 |4 u- H7 u
case "216":
3 u, i' i0 o8 j* s, DSupportVersionText = "HuNan Version";
  u3 q5 \- C: M7 Z' L! ~break;
8 V6 }# ]* _. E4 |4 G: gcase "217":) K9 n* q7 a# Z0 W
SupportVersionText = "YunNan Version";
4 c+ z/ e. n2 Ibreak;
* j8 [0 o" Y" `7 `1 z% rcase "218":( N$ H! J7 K0 I0 U* T# E& U2 Y
SupportVersionText = "XiZang Version";
/ |# S& ~+ p, Z2 |( b* ]break;
! C. U2 M. L% V' Z6 Vcase "219":1 }/ e7 M& U- e7 m3 \, b
SupportVersionText = "HeiLongjiang Version";
: `. v3 k& m4 I6 W" lbreak;
' x5 S/ i% c" ncase "220":
5 b5 W* M. M$ L5 s! }SupportVersionText = "GuiZhou Version";# F, n! ^* }% A7 u, {& V
break;
' h7 Q& B: i8 s" Dcase "221":
+ P3 w* K1 V2 Q% L2 D! dSupportVersionText = "ShanXi2 Version";1 x( C5 ^, J0 N" e6 w
break;
! `/ g5 K0 ^0 E7 B- Ncase "222":
, K% l: B2 A6 [2 ^SupportVersionText = "Hebei Version";
* e- B8 ~4 \4 R8 H* Hbreak;$ ^! J1 X# C) T8 t
case "223":
& p5 S: O/ Y" M7 ^$ I  Y1 HSupportVersionText = "NingXia Version";
0 N) c& g) S- y8 Vbreak;
2 R2 }7 `4 n9 {0 Ucase "224":6 O: Y/ |$ P9 m! C9 k  s
SupportVersionText = "GuangXi Version";
$ C: |1 N' y2 p& V* [% jbreak;
+ T  n/ I7 t" F; p5 Q2 ]+ I- Gcase "225":
! z3 n6 K6 L% CSupportVersionText = "JiangXi Version";+ |  w* l7 e2 k% w. J  \
break;
/ }3 V' J3 _. ]  wcase "226":  h/ N' f1 v/ `! B7 E. I8 G
SupportVersionText = "GanSu Version";
3 q, g( P( L! b+ M* l0 C" `( ybreak;  z. E) @) X: `9 k4 }" U9 @5 e  u
case "227":
# B& B  ]5 s% M3 I* |SupportVersionText = "QingHai Version";8 R2 [, T1 m, A
break;, |( l# K4 s( |5 J& q
case "228":
4 |7 K! g: H- r/ I# \* U, l# LSupportVersionText = "XiAn-XianYang Version";$ u6 g( \. }+ T" i
break;7 j5 ^% W8 ]2 F+ U  D; f# M* V
case "229":
3 I) m. ^7 N2 {& n( R; t( l. OSupportVersionText = "LiaoNing Version";" F% b7 d7 F: l2 j$ V
break;0 m- V- T: J- u' U; d1 U6 i- e
case "230":; t5 J1 Z5 T! b% u: W* ^5 W. \
SupportVersionText = "Jilin Version";) g, r( e. X$ `: a- K: P
break;9 y3 A2 m6 E) Y3 E
case "231":$ L, e8 L8 Q  `+ m
SupportVersionText = "Neimenggu Version";2 t  A+ N0 |. o* m) k/ n/ W
break;
  L- V  v! u( o. B. Ccase "232":* E+ b. n/ N4 M8 B" l8 P+ W) f
SupportVersionText = "Henan Version";
0 l" q, `: @$ ?5 Cbreak;7 C! M1 [. Q& k, F; `& s! ^
default:* h' H" d# P: j
SupportVersionText = "Version_"+SupportVersionValue;6 @; m" `% H0 x/ E
break;
8 }  Y) [3 M6 H" S" s" I}+ ^" j' a+ V. }6 B/ d
DefConfFileCapabilitySetObj.options[j+1] = new Option(SupportVersionText,SupportVersionText);
' E& s- ?& }9 n' {' zDefConfFileCapabilitySetObj.options[j+1].value = SupportVersionValue;
# x! ^" }2 {+ ^* {% i- B}! j$ p+ j3 t; w2 C. l& v8 s. b+ J
}
! U. X* G/ f" N  a& ~/ N</script>9 c" i2 K2 I6 O6 z2 G9 k
</select>
! X+ |: A6 g  h( u' N</li>, O) V( _7 v. X* F. A' C+ P
</ul>5 h$ E& A& E* K! C/ i9 V
<ul class="login_ul_1">9 [& ?+ J+ s, D9 W9 n
<li class="login_li_9">Admin Password:</li>
6 A' g* l- u  B, n0 [/ M4 b; |<li class="login_li_8">- \3 P9 R7 V; j0 r+ \
<input name='Frm_Pass' type='password' id='Frm_Pass' class='text' value='' />' I. q4 n4 _  z( b, N- j
</li>
5 U, k' L- _6 `% w1 e* {+ c<li class="login_li_3">
9 u2 w- p+ o& q, Z! x<input name='Submit' type='button' id='Btn_Submit' onclick=pageSubmit()  class='button' value='Submit' />0 O4 m( h5 }4 j8 ~9 U! m: H1 l
</li>
! g, T" D/ U8 D& a- N0 F( b</ul>
4 p0 j2 O- q4 V4 K$ O4 Y; h( }8 q</div>
& Z$ s0 z. J3 |& U# W4 C</div>
+ m! {3 l7 z4 P' g8 j* `4 k<!--内容结束-->% k% b7 M9 F/ p, H9 ?
</form>; F: n  ]8 c" h/ z8 R# R6 N
</div>
+ c5 `5 ]9 `0 ~8 ~7 n. |7 \+ w$ n<!--bottom部分开始-->. J4 n2 s: I- p  t3 y/ H
<div class="content" style="text-align:center;"> Copyright &copy; 2011 ZTE Corporation. All rights reserved.</div>
! r! o# d: u3 r, d" k" |) A! g<div class="bottom_line"></div>
9 d) e/ ^3 D: y$ q- T<div id="bottomx"></div>0 z+ B/ B  n7 H
<!--bottom部分结束-->
( Z+ `. B5 ]2 I& Y  g( V7 u</div>" w- r( {, h1 u! h1 k5 A  |
</body>- O" I6 h+ w% p* Z' O  l
<script language="javascript">: k; K' n+ U5 ^' E( g7 ~! t
<%# R5 o9 }1 Q1 W7 T0 F9 U
IMPORT FILE "auth/api.gch";/ y/ a  U& i4 R! @% q# L; a: H9 A
var session_token = get_csrf_session_token();
4 D7 R& Y  ?. ]0 {4 Y. q: }6 csession_set("_SESSION_TOKEN", session_token);" Y# L) k  m/ ?0 s0 I
setenv("_SESSION_TOKEN", session_token);
$ p3 m% \) O! R1 i' B) O! |%>! K8 l* [4 r; ^9 f. r# {
function addToken2AllForms(), V/ z' m. e! C" y7 |; {
{4 C1 }+ G- [3 X# E
function doAddLogic()0 W, j4 B# @. \- c" |, {& {
{
9 \6 J1 h( s/ T! rvar session_token = "<%=encodeJS(session_token);%>";* B9 D7 m9 k# S- G7 u5 F( b: `
var forms = document.getElementsByTagName("form");
- b6 w6 D2 k- |6 l) d  vfor ( var i=0; i<forms.length; i++ )
5 d' O- y- h' H{
0 E& m  M. `/ r3 Q# hvar tempform = forms[i];
: k; e& V- G4 evar sEnctype = tempform.getAttribute("enctype");
2 L9 u; ?! }4 {* y9 oif ( sEnctype != null &&5 `; p% x. h1 j3 j/ o
"multipart/form-data" == sEnctype.toLowerCase() ). ^( q, S4 S; _
{( ~5 M& N& C0 v( j
continue;/ d. B; }% K& H6 O& M
}' I" u9 W* w/ a- E) T' [
var tokenInput = document.createElement("input");  V' n# s( V2 ~1 f* Q3 T
tokenInput.setAttribute("id", "_SESSION_TOKEN");/ R8 V0 {( ^7 \  J, e! [; T/ [
tokenInput.setAttribute("name", "_SESSION_TOKEN");7 S  S) s, ?  |1 T! Z' I  b2 T) v
tokenInput.setAttribute("type", "hidden");8 k$ e8 k; F6 a- K  P
tokenInput.setAttribute("value", session_token);
7 s: l& Z3 K' K* O7 R  n% Ktempform.appendChild(tokenInput);
- V1 ~' J& M) p}
8 r- b7 x6 ~+ p/ D}$ O; M% V" a: u' M) h3 s
if( window.onload == null ). }0 V( t. c' a. \2 q* H+ J
{) G& W3 k! ~) q8 e6 L  ?  t
window.onload=function(){
- `' _) B# Q3 }; W' jdoAddLogic();1 _( \/ L3 l; o; V  u! T8 F0 i, B) {
}
# |" P- g/ ]5 K% H! v& V}
+ S6 ]" s* A: d9 u9 }9 Relse& y& j5 [' o7 w* B3 Q8 h+ g
{
! q' o/ C+ }  x. n/ fvar tempfunction = window.onload;# G! w! ~' e% f2 Q7 `9 m5 H/ D
window.onload=function(){
# l  z& \. L' b& G5 R+ j6 wtempfunction();& Z. ^6 Z# o* @+ H# [
doAddLogic();
  ]% C' F1 t/ F, v5 v}
$ F! {4 K5 T+ ~}& e$ S9 `7 ~* O  o* }: H
}. p3 G2 `. v6 Y( O7 `  c
addToken2AllForms();! [  I0 Z6 p; n, a& {5 y
pageLoad();# E; [' o) p" S/ Y
</script>
  @/ [8 N- s( y( g! A# o! H</html>

点评

谢谢回复 不过回复内容跟文件内的一字不差没用  详情 回复 发表于 2018-12-7 11:53
 楼主| 发表于 2018-12-7 11:53:42 | 显示全部楼层
futurejl 发表于 2018-12-7 10:46
; |* j0 R/ H4 |/ {5 g* G8 s.login {
4 d; A& @) \6 t7 zmargin-top:7px;
. W0 L0 H2 C$ o5 C' `" ~margin-left:195px;
* o1 |0 s& Q# b0 `) R1 B
谢谢回复 不过回复内容跟文件内的一字不差没用
发表于 2019-2-3 22:36:07 | 显示全部楼层
小白  看不懂
5 o, j' w) |# ~3 L- L; l3 m
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|小黑屋|手机版|Archiver|宽带技术网 ( 粤ICP备15054574号 )

粤公网安备 44152102000001号

GMT+8, 2019-2-17 18:15 , Processed in 2.402122 second(s), 29 queries , MemCache On.

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表