宽带技术网

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 147|回复: 2

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

[复制链接]
发表于 7 天前 | 显示全部楼层 |阅读模式
本帖最后由 zoujie8503 于 2018-12-6 19:04 编辑
6 A% ?5 W- F; O9 S
5 H( q( b; ~9 ]8 S4 O6 w# p目前只有默认地区telnet是可以使用的,已知唯一方式就是通过TTL实现,但是hidden_version_switch这个gch文件还是可以正常访问的 求有能力的朋友修改GCH文件开启Telnet  避免拆机  如果有朋友提供帮助,后面将发贴 介绍详细步骤 造福大家

本帖子中包含更多资源

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

x
发表于 6 天前 | 显示全部楼层
<%& Y, W) F5 E# a% O
IMPORT FILE "pageinfo_func.gch";! y7 o) L( C$ ~
var webtitle = getDevModeName();
6 K8 H7 v0 W" I" U0 o& @' S' yvar head      = "<!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD XHTML 1.0 Transitional\/\/EN\"";
% w) |+ v) r- C4 Avar head1     = "\"http:\/\/www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">";# P7 x( F) I, x( c* m
var head_html = "<html xmlns=\"http:\/\/www.w3.org/1999/xhtml\">";) }  W4 `* j9 u; R
=head + head1;) y" ]9 u! n3 `$ U
=head_html;' n6 s! p2 r  k5 R) M
%>
, g, V  r3 G$ q/ X<head>
1 n+ E' J% K! _! @8 F: E  H8 S<META HTTP-EQUIV="pragma" CONTENT="no-cache">
) A0 Y) }# H9 U) q6 P! n<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">% Z2 Y3 f8 t) @0 s/ n. \
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
1 x2 `# G" F9 h% W: I( w4 }8 `<title><%=webtitle;%></title>
6 [! `0 l' Q2 _) d/ k2 H# J<style type="text/css" media="all">
/ f5 H' Z& }; ]+ C; U6 g0 c.login {3 e- A& c! v& t( G
margin-top:7px;
) w: @- y1 N8 F7 Cmargin-left:195px;' L8 l' L* l4 d0 a( g, O  o
width: 70px;8 m6 N1 D4 |/ q2 x# v
height:20px;
3 h, |  @; d3 x4 h+ @}) g4 Q$ X2 L2 `* I8 X
.content {9 z0 v8 o4 [0 y
font-size: 12px( [; p7 z  B  V7 _* U, L  ~
}: T/ S0 G# i/ P, b
html, body {
6 t1 P% ^5 b2 N9 v, x, p* Theight: 100%;4 |( J$ a3 ~+ r- \
font-size: 12px;
6 `/ X; a1 @1 a, X% }" Q, Zfont-family: Verdana, Geneva, Arial, Helvetica, sans-serif;9 C' a& `% ^0 W; C
}
; ^$ Z' f5 ]# _2 ~* j* B.content {- a5 v' g# z6 [0 {; A) a
font-size: 12px;. q) c& M. p2 L# B( H+ C. i' M5 t
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;& {) J% Y0 @% H. W3 o
}
, j- M8 G* J% I; R; [: a* {
. [& d! ^, W9 Y5 R% ]2 |, Hmargin: 0 0 0 0;
4 n( D2 x. ^) p# apadding: 0;/ c# A  ?; h3 a0 Y1 j
}
' E: f2 i+ B1 p9 B#container {/ s) j: K# S# m
margin: 0 auto;1 o' g! o; b* l5 p" P% g
width: 800px;/ l9 t+ W0 E2 [
text-align: left;; d, S5 M8 Y! e0 r
position: relative;
& T5 ?1 v4 C( ^4 o  K2 Yheight: auto !important;
  y" _, R) S2 ^height: 100%;& H" B9 I, v1 S9 V
}
& |- f& _+ j7 a/ S; l#head {, c  f: R! C) F- h/ O! Z
width:800px;
& P  B: ^1 b4 k  m5 {text-align: right;
0 y4 e" c& Y- {# @# Z. pfont-size: 20px+ w  c/ H5 K; k. W4 y# j! v
}+ p2 O0 m8 j& J/ ^( Y$ _
#banner {
0 E  q/ W# H! o, |- @% s# ?# vwidth:800px;
+ r; D% C) @6 d& c/ }# D( Z+ ^# L6 mheight:67px;
/ R$ e) Y$ s" ?1 t$ @0 \}
6 S& K7 A# T- c9 J7 A4 k#content {6 f8 R1 Q* o# O5 z8 w5 @2 Z- L
width:800px;- D4 Q1 u. ?- f1 n+ \9 f! X# \+ j
padding-bottom:20px;
7 a& R9 _( f$ `% k- _- c, Gmin-height: 270px;2 G# w$ R/ x) [7 ]
height: auto !important;2 I1 {- }( B- o9 a3 Y' ?' e- i1 |
height: 50%;4 I3 m6 a1 K6 Q% q
border-left:1px solid #f7f7f7;) a" K7 U+ u4 h6 s! X3 a( |
border-right:1px solid #f7f7f7;
* Y7 S( a* v, n# \7 K8 l}0 g* x8 o/ |" l' b0 `' H
#content:after {0 w+ q# L7 v, w% V' W7 o8 k2 z
clear: both;3 h, c9 z, i+ ^, T
display: block;7 \) L3 m2 s! }& h7 K( y, [7 f1 l! e
font: 1px/0px serif;0 Z6 F6 i3 h! k9 N+ C
content: ".";
% f) ]: ]) g& E/ W1 m5 @" ~- k# b' Theight: 0;
7 M) e* g$ U2 H6 F4 Vvisibility: hidden;
. l. n! D, t0 [. l7 M/ ^9 T# x. ?}& c2 R' q2 x! w3 }6 [; D
#content li {7 i9 `% F# ]7 Z* M7 W5 P1 Y
list-style:none;) B, U; T# s0 x
display:block;
* |5 ^  X% @# C9 G# p, F% H& r}- K. |) q: M. E! B" g
#bottom {
0 S' T5 A. t2 Z4 \+ h4 |+ Swidth: 800px;
& j; c' X9 ]  l5 S! E( sheight: 28px;
! r; P% \" [0 `) aborder-left:1px solid #f7f7f7;
* Q: ^, G( |' {- E+ v- D4 ~) V" mborder-right:1px solid #f7f7f7;
+ l+ ?" T9 w% Y}$ g7 v1 F% S+ M6 E6 b
#bottom li {2 D0 b2 I! W/ x$ ~
list-style:none;. g/ }! r+ h! c/ M$ P9 z' v* g
float:left;1 x7 j  o( W- g; r. D3 _
height: 28px;
1 m* A/ W: c% M0 ?( X}
1 s6 k8 B% n' k' Y#bottom a {
  h& H, B% o+ i' M: Tdisplay:block;
. F$ p& }( g4 _) k! Qheight:28px;
( J% M1 B1 Y7 D( [5 `7 [9 n: S}. H- J% \+ l6 w7 Q
#bottom a.b1 {
+ L5 N( p: Z- y) tposition:absolute;
3 k( v* G/ g: L  M, }+ x9 N& rleft:1px;8 R7 ?7 _# ?5 Z" B* M( J
width:156px;- u% D% ?6 L4 e0 l: y, @% q9 V
}# l2 ^, j6 ]' _4 R* X' g, U8 ^
#bottom a.b2 {
4 x$ U* P2 ^& |width:54px;1 o4 C1 m# {1 \2 u5 M7 p6 q8 h
margin-right:2px;% \1 _2 d5 S2 n8 E! |/ z
position:absolute;/ v5 W$ v7 x) v* q/ s* P6 m9 u
left:157px;0 L. D7 k& s0 `" T6 ^- w+ M
}: ]! \3 {6 [6 j) `" v+ v* }
#bottom a.b2 ul {  s3 g. R5 i7 Y2 U* m
text-align:right;3 L. T5 _( k7 d; q+ v6 r6 F
padding-top:5px;
7 p% g, H- X9 A% z7 [! t" M}3 F/ R" c3 i7 Z! W& T
#bottom a.b3 {
- w5 c0 E! s$ F& L6 g! Uwidth:564px;- P/ G+ Z+ F+ K
height:28px;
& Z: v9 |6 T- \( p8 S4 Tposition:absolute;% z" D( b  z5 `4 A. z
left:211px;
  v& y. U2 d6 d8 Sbackground-color:#f7f7f7;5 o$ Y! T- M6 D; I1 ?( Q
margin-right:2px;7 L3 |& E+ ^/ I
text-align:right;( v5 b! [0 D4 u' _
}
8 V3 X, e+ j8 C: B/ m( |.copyright {height:16px;width:800px; padding-top:10px; border-left:1px solid #B1B1B1; border-right:1px solid #f7f7f7; text-align:center;}% y/ U; }+ x  ]: Q8 F. {
.bottom_line {background-color:#3F6D8F;height:8px; width:800px;}: z# f  _) g2 f: y* O
.submit {padding-top:2px;}7 r& `6 s1 h, Z% X
#bottomx {
2 p. b1 x0 a: j: l  g5 s8 q6 bwidth: 100%;
- F0 o& Q4 I7 X" \position: absolute;0 P) Z# a/ G: a# `' n
bottom: 0 !important;
/ u$ W5 {  e1 f8 F9 abottom: -1px;! O+ U2 Z# {! I$ w2 P
height: 1px;. X# O& M1 Q  ~& O) F
}% W. v  j7 s# x3 }+ K( o
.login_bg { width:800px;height:389px;background-color:#f7f7f7; }& n- @- l; g) k9 ^! T' _3 m
.login_li_0 { width:100px;height:17px;float:left;text-align:right;padding-top:3px; margin-left:15px;}8 Q% C3 y. K: C" N! r
.login_li_3 { width:78px;height:20px;float:left; }7 g: g3 P; E3 ~7 t7 {* C$ f
.login_li_9 { width:110px;height:17px;float:left;text-align:right; margin-left:5px;}2 L& @4 L; N( s% s! {* Z5 n
.login_li_8 { width:220px;height:20px;float:left;padding-left:4px;margin-left:4px; }
/ d2 z8 ]7 H6 S.login_li_7 { width:280px;height:17px;float:left;text-align:left;padding-top:3px;margin-left:8px}
+ V3 a/ N7 m% E.login_frame { width:435px;height:160px;position:absolute;top:155px;left:182px; }
. N! V8 f' p8 N. I.login_ul_1 { width:435px;height:20px;padding-top:10px;padding-bottom:10px;list-style:none; }& g; C; l( S: g+ _; G
.login_content { width:435px;height:120px;background-color:#EEEEEE;list-style:none;border:1px solid #3F6D8F; }
' [8 d8 E% |& M9 F& m# `.type{ position:absolute;top:32px;left:580px;font:20px Arial,sans-serif;color:#000000;z-index:999; }$ G. e5 F2 R: L) n, I
.text{ width:143px;height:15px;float:left;padding-left:4px;margin-left:1px; }6 D, t2 m$ j4 @
.white {
( d7 g  u' l. T: [8 c9 n- jbackground-color:#FFFFFF;
+ h3 a5 u0 A/ H+ R% S7 s, l; H( jtext-align:center;
" w7 J$ p8 S, Y" |  K0 jheight:25px;/ g$ Q0 Y+ p9 D$ i, }; ^: _3 a  u4 \
}
% N& ~: y! H1 t6 w3 p0 ?! S$ L</style>
0 J5 {& |' h) F% o4 K2 R<script language="javascript">7 N  j8 \9 y- R5 r. }

: V" T) a9 v, W, q3 M+ I! X. sfunction getObj(id)
! v* r! `- s( J& q% ?' h3 x' c{
: ^: E# b" m6 x1 ]+ Preturn(document.getElementById(id));
! L% m5 R2 s. T. J, _}) v  \% E9 T, Y% N5 }. Q! l
6 |' }2 r; H5 w3 y: R
function jslSetValue(src, dst)/ t8 S1 f0 E& O7 D- j2 N
{0 a. Y2 }; Q  o
var ss = document.getElementById(dst).value;
/ m% E3 F0 C$ K5 odocument.getElementById(src).value= ss;/ h  U+ ^  s  i9 [  z; N
}, [! l: O+ ?+ s# C+ w1 x3 y; W

+ A; I; T' h% e: b9 A, ofunction setValue(id,value)+ f* I2 ^! ]* F1 t1 H
{
0 T, b& ?' b4 e/ d0 Kdocument.getElementById(id).value = value;
6 J! ~( X! J! h+ }}
1 Q2 a5 M1 N; R/ H& x* @2 r
% t. \* g; u9 z3 y! |+ Mfunction Transfer_meaning(id,value)' v9 y3 A! I* i4 W
{9 Y- B! H( P3 ]( w
document.getElementById(id).value=value;
* m9 s1 k) Q4 L- j. S5 P0 b}
* @1 A& F/ H) |+ h* i' C1 a$ W# Ufunction getValue(id)8 T: X* q, Q- n
{/ ?+ Z9 u- i: S: r
return(document.getElementById(id).value);
% }/ e' [7 s0 V+ @! H- F( v) a1 g}% g9 o( Q, a! P0 t% d9 K8 g" l. p

) i2 M% ~' _8 v) {& bfunction jslDisable(id)
; |5 u! |+ C* Z# I4 r{. `; e# r9 y: a! G. R9 G
var i;
/ y* ?, t$ J/ Lvar num=jslDisable.arguments.length;! b9 S; L! k7 a, a
if(num==0) return;' Z0 R# n; W4 _$ |% }2 Q
for(i=0;i < num; i++)
0 f9 j% c: }6 Q8 i$ p4 _{
; s0 ~) P' H# [document.getElementById(arguments[i]).disabled=true;1 h4 e  g3 z  g+ y' f( a5 u( J
}) Z* E3 u; w5 e& a
}
2 e+ D% Y# W6 |  o; u+ Lfunction pageSetValue()
/ n' l* W, Z" z" E{
9 h& t, k6 x$ ?1 gjslSetValue("CountryCode","Frm_DefConfFileCapabilitySet");1 a" R6 y% Q" V" A5 X4 D7 L
}
2 ~: o7 c8 D" V% J: H1 sfunction pageCheckValue()5 d/ d3 L8 w3 y# X8 F
{' \; I; ]3 r& F5 j0 B
var type = getValue("Frm_DefConfFileCapabilitySet");
" p8 J7 {1 I5 k0 l7 q7 B1 z5 oif(type == -1)/ ~# T; S! C& U8 L2 t( A/ {* H
{
1 n4 x  o; \2 S% p2 c" vreturn false;8 _- h0 Q: L7 P
}0 [/ |8 L6 b! i% H5 l3 b+ }
return true;5 I- H3 N7 h5 }7 U' s
}. T: U& H2 x; n/ t% N/ q: H
function pageSubmit()( X0 b" G3 x/ d5 M5 \1 }- I+ |1 I
{, i; T7 Q" ^. x
if(pageCheckValue() == true)
) P& A" p  M5 w! _( x3 v% R{
+ K" v! ?9 Y, D! a5 I: ujslDisable("Btn_Submit");9 l% U; f' F) C4 C* l4 ?$ A2 h5 E
pageSetValue();
' Z  t9 ~) C# S; DsetValue("IF_ACTION","apply");$ C  ?, d6 |. O' z0 J7 k2 Y
jslSetValue("userPass","Frm_Pass");9 L- s6 R6 Q  \  ~2 [
getObj("fSubmit").submit();/ Z' X! X( x2 S
}- G+ j/ m9 c/ p" d  c
else
7 ?6 X  @- ?1 A2 E; [& m{
/ T0 o& H% G" _+ K" D+ i0 U0 J3 {2 ^jslDisable("Btn_Submit");
0 R% H& k; S" @. r& P( [* F! ogetObj("fSubmit").submit();
5 B7 w& {6 i" U: P/ E) {}1 Q  `! s" }& H" ~  P' T- i
}
7 D; Z! h( ]; ofunction pageLoad()
7 [1 y. y$ V% t; w7 k$ |{
" @7 b$ q! H  X0 C/ z0 kvar errstr = getValue("IF_ERRORSTR");
. G( t5 ^, i' A6 n% Bif( errstr != "SUCC")8 Z# C9 @  z7 \. O9 T
{& R/ A  d, _+ }8 h
if( errstr == "&?cmret_261;")5 W* o+ }- |! W/ w6 u
{( I3 K! G6 K0 o% o9 N- f
errstr = "&?cmret_2611;";
' Z5 K6 W* X5 X. P. b7 Ealert(errstr);$ _7 A3 U# O( `
}
( G* Y+ g+ [- d2 D: K4 S& k9 y/ xelse if (errstr == "ErrPass"): {8 }1 ?9 {9 O# M+ Q: T  `
{
* i0 s; P! K* I# o" g1 ~3 E1 q: b; @* Kalert("密码不正确!");: s6 ^3 y0 |9 J3 @
}
. E* D: U. J" i( ?1 J! e- ]}
( D6 e' x/ q, d; m& E" A}
9 ^5 a0 ^9 S; H; `  B- m7 q</script>
: N; |2 q% T- W- @, v& {<%, O1 }0 m' d6 e
IMPORT FILE "common_gch.gch";
/ ]8 M2 J( r  i5 a! t" r# Hvar FP_ERRORSTR     = "SUCC";
! F4 o* Y% Y% dvar FP_PARANUM      = 2;" B2 P0 @6 R5 n! m- B* r( }
var FP_HANDLE;
; T6 H8 w1 j5 y( b2 Q3 j( w- tvar FP_INSTNUM = 1;: }9 E7 p: Z- S" n. N% B) n
var FP_IDENTITY = "";
0 W( o! {  U3 d( X# {* ]( Uvar FP_OBJNAME = "OBJ_PON_VERSION_SWITCH_ID";4 j$ Q3 l, u. d' u0 Y% Y3 ~2 M
var PARA[2] =6 l, ?6 l& @# j  b( r
{
6 Z3 @7 q. Y0 Q* N' h' Z" ?0 t# `"CountryCode",) f- o/ M7 h. {' S5 A& ]7 `
"DefConfFileCapabilitySet", M! Y0 E1 o/ ?/ U) _7 @& |
};
6 ~# t. L: q; d# {, Y
$ R# E0 O7 ]' E  r' Qcreate_form_start("fSubmit", "'/hidden_version_switch.gch'");6 L/ ?. A9 ]; E6 K4 r$ T8 x  [5 V
createBasicHidden();
: q# x$ [. r+ W: P( h# @6 [% @5 gcreate_hidden_newpara(PARA, FP_PARANUM);
( _, U" z, i3 M' E2 n6 l+ [create_hidden_sep("userPass","");0 f# ~& O/ l1 l. i; q, [0 @8 D% p% {  e

* M$ D6 g0 p+ h3 _+ j+ p  D0 L: s7 Wvar CountryCode = request("CountryCode");4 `: a2 S: `  }. B" Q+ E
var FP_ACTION = request("IF_ACTION");
  j& w* O" D' [3 @6 B( cvar userPass = request("userPass");
  z) ]+ |6 [+ V1 ]function checkUser(password)
$ X1 _# L) A+ K& Q8 J{$ c# Z* K/ i. u3 z, c/ y
var FP_RESULT, FP_HANDLE;
- L/ G0 M$ N  W9 Z# EFP_HANDLE = create_paralist();* N$ B+ G2 o5 W0 O) v
set_para(FP_HANDLE, "Type",        1);( {2 M9 v2 h. Y1 o# O
set_para(FP_HANDLE, "Enable",      1);( X& w* |$ U0 T& K/ w- D1 t% N
set_para(FP_HANDLE, "Password", password);! x. a: f7 Z$ P, i
set_para(FP_HANDLE, "Right",       1);
" [1 }2 y. k' A" s7 t% ]FP_RESULT = login(FP_HANDLE, "OBJ_LOGIN_ID");% [- Q0 [: l* M' h
return  FP_RESULT;
1 n/ l  ~1 |% o/ X}
: Q6 ?$ b% L1 \$ }' a2 gif(FP_ACTION == "apply")
) y# N1 @+ W" K2 T7 E{7 E# M; x& {5 K* z( i
if(checkUser(userPass) == 0)  U& |' a1 Q' H  s$ m/ C3 ]! y+ ~
{+ E; |( L4 J& x. N9 O& g
FP_HANDLE = create_paralist();: ~- ~3 q, l2 D4 A8 U
for(var i=0; i< FP_PARANUM; i++)6 P- j0 a! |$ h! k
{
; ?+ x( I5 Y0 Psetpara(FP_HANDLE, PARA[i]);
1 \' e+ `% |7 \; G  H}! N. w4 a( ]+ z- ?5 q8 q  j
FP_IDENTITY = set_inst(FP_HANDLE, FP_OBJNAME, FP_IDENTITY);+ ?- q, i: {2 T& D
if(CountryCode == 2), @! F/ v* l3 X# y
{& s" t/ z3 v' e9 X. K8 A" e0 ^
var LANG_HANDLE = create_paralist();
6 T! V! S3 y5 W8 u+ k. [: G) ]set_para(LANG_HANDLE, "Language", "English");
. [# C5 e1 A7 m' S  C. C/ cset_inst(LANG_HANDLE, "OBJ_USERIF_ID", "");
( G1 |: C* H# F  V' t}
, B4 C! S7 E& c" c, x1 R) y}5 T# a! K# _; G& H. t
else
, ]8 D2 a4 o$ T2 s) ?  ?) U  r; U{
7 M+ _, Q6 \' ?FP_ERRORSTR = "Error";+ _( a/ O8 @. W! R$ U9 U3 P
set_hidden("IF_ERRORSTR", "ErrPass");
7 ^) G" V7 p/ M) O( C, e; J* D4 b}
2 T9 [; q8 F& {5 B8 Q/ N' q% L}) L# e8 F/ r$ h( ~$ z
FP_HANDLE = create_paralist();1 w3 W$ h( p/ H' D* O# f5 e

5 N2 s6 c! n6 q7 ~7 t7 D* Qget_inst(FP_HANDLE, FP_OBJNAME, FP_IDENTITY);
4 ]+ O; G& T9 l1 d$ t, Pcreate_hidden_para(FP_HANDLE, PARA, FP_PARANUM);
, v% j2 X; [; y+ t* R( fvar CurrentVersion = get_para(FP_HANDLE,"CountryCode");' F0 z$ n) [4 N4 R5 z* ?" d
var SupportVersion = get_para(FP_HANDLE,"DefConfFileCapabilitySet");1 O; ]/ X+ F# B& I
9 M; f* F1 D4 Q0 H: J6 D
destroy_paralist(FP_HANDLE);
: R8 @1 C" Q4 S' _. L; _' V) HgetDisplayInstError(FP_ERRORSTR);+ `7 K; B2 {/ R  ~( Z
# v( u$ |! E( J* P: a: Q
create_form_end();! I3 B4 ]; w) H3 [" w; m# C8 \5 H
%>9 ]/ n4 p8 G4 @, Q: e$ m
</head>
5 u0 D, M# |/ D7 L  w0 X4 v<body>, r. _  C  i, T* R
<div id="container"  style="background-color:#FFFFFF;">/ K+ y$ d- T& v, p) f' H' x7 y5 D
<div id="head">: l! v9 d) z8 g: X- ~; X# d8 K; a
<div class="type"><font id=""><%=webtitle;%></font></div>% {  e+ ]) {: B! [9 V: y
<div id="banner" style="background-image:url(img/banner.gif); background-repeat:no-repeat"></div>
9 V$ }+ D9 s8 r) ^" k( y</div>
3 c9 X7 b1 Q6 B3 k* O" Q: s5 s<div class="login_bg">+ ^5 [* H. R8 O  A( m8 X
<!--内容开始-->
; R2 i+ W1 Q# f1 v) _<div class="login_frame">
; u5 e" b* H* _7 _+ S6 h9 z3 k: P<div class="content login_content" >
' b, G! T2 z( ?: {5 x- O' b- O8 b' `<ul class="login_blank"></ul>! g7 j- B& q' ^, Y7 `
<ul class="login_ul_1">
" A& w5 o3 k0 g+ C5 H; ~<li class="login_li_9">Current Version:</li>8 h" y' N! Y' ~9 y! O, u
<%
$ N. n  W7 W1 s' ~, u) ^1 t& ivar CurrentVersionText = "Unknown Version";
$ V# y: H( T6 S2 [/ R* S) Tswitch (CurrentVersion)
) F5 u7 [  c9 x6 j{
3 [, R. M2 |9 ?+ A( |: h6 acase "0":" ?' D% T. H- m. S) o
CurrentVersionText = "Default Version";
$ D3 @0 O2 ^4 Z! q9 tbreak;
" R2 \5 c  S# G1 ocase "1":+ O' u; ?  Q0 ]" a) m' }
CurrentVersionText = "Russia Version";* e* N2 H5 j. r- j8 `! j
break;8 K5 B* b  m- F* E, P/ B, |. |
case "2":
/ s$ A! Z0 i% s  Q' ^CurrentVersionText = "Lithuania Version";
+ Z9 w. t- T+ {* kbreak;
; t0 b* j/ T1 ~6 e7 Acase "3":
) s; s# l3 X6 ^0 I8 FCurrentVersionText = "Roumania Version";- c) W% H- h( q8 G
break;
5 i: n$ _8 D) f' v1 M5 w0 a4 ]case "4":2 [# @% ]' v6 Z
CurrentVersionText = "Singapore Version";
- l# N; L4 H% F  u# p0 }; vbreak;
' K% L( {# `3 Z* X. a3 Ncase "5":* H0 C. [  w) O6 n
CurrentVersionText = "Italy Version";- _4 k" A& |- N3 ^: q+ t5 T
break;
$ T: I! a8 I8 pcase "6":, w* ~5 V8 D- q. P& S- D
CurrentVersionText = "United Arab Emirates Version";* r. y/ z) I3 g- Z9 [
break;
9 m5 p/ p+ p6 y+ n! B* Rcase "7":
" o9 e2 T' l4 u- RCurrentVersionText = "England Version";( l' P6 {7 L+ y% V
break;3 x; Z4 s5 ?1 {
case "8":  u/ t; [3 s( S6 r7 c
CurrentVersionText = "Libya Version";+ [2 w2 C. D0 p
break;, x) z1 o* ?% ~0 J
case "9":5 e  e% m( \' J0 {# o9 s( q# ]! h
CurrentVersionText = "Germany Version";
% y( X" q9 ]/ A! M  V  mbreak;9 C0 f: X% `4 \  ?/ ^
case "10":3 F2 {9 d. |; `4 |, X3 o+ i
CurrentVersionText = "Brazil Version";
/ b- U. r6 {+ H. `! ~1 {break;$ M! ]4 J6 O( ^4 \! }
case "11":
& D9 h; r  Y5 R9 Y4 l% u3 yCurrentVersionText = "Telefonica Version";1 [, V  E! U: p8 D. j% _2 x
break;" H! T0 V& }4 T: `
case "12":
( o; L/ x' g- GCurrentVersionText = "PuertoRico Version";; s4 K# M1 c1 f5 C8 {% m  z
break;
0 h8 ~( j9 b$ S2 ]' K6 Pcase "200":1 w0 P, R. U$ Q/ X8 L
CurrentVersionText = "JiangSu Version";" h* m( p  g; G6 T0 j$ X
break;
# u3 l% s" @! U4 ncase "201":
, ^4 s6 L) E, S1 y( {  c' ZCurrentVersionText = "XinJiang Version";
; j9 |* m- `! f' U; P3 W% h% D( l: u9 x, Sbreak;
/ o3 U* N; h7 n2 w* fcase "202":& m3 b9 u! `- V6 b
CurrentVersionText = "HaiNan Version";
4 C4 i: E5 J$ d. ?6 Q- Ubreak;! h+ b. N( l, F, H, }
case "203":6 g! r9 z; n% ?1 n* l, P. k+ W9 F
CurrentVersionText = "Tianjin Version";
7 v7 j& n2 J% Bbreak;
& b- P4 Q1 C' ^- o) d( n6 U- ^, |0 Zcase "204":
/ U2 ?, t- j2 T, P0 G8 I; i$ |CurrentVersionText = "AnHui Version";
) C& S+ B  A# i  \0 h( G5 n. x7 Jbreak;) K- S, h' f( u, w6 u' k. f
case "205":% v2 d5 J" V- g- [
CurrentVersionText = "ShangHai Version";8 l8 ]+ x  [+ P+ P% T& R
break;$ v+ n$ U( `) ~; q  y! d
case "206":, I1 `$ ]7 m6 J& I
CurrentVersionText = "ChongQing Version";
# k6 S# B% B& d5 B; [) p8 Ubreak;4 v8 h; F: H: b  Z. A4 L% r: u
case "207":
# }1 U5 ~7 y* u0 I! y/ U0 `CurrentVersionText = "Beijing Version";
5 P) J5 [- I) ]. M, |% Pbreak;
+ H3 H+ [  I5 u% K/ Qcase "208":
% ^! ?1 x2 J$ i$ xCurrentVersionText = "SiChuan Version";" T& ?+ J/ i7 B3 \4 `9 V
break;, O/ {! u: j( @5 m- n! c( v
case "209":/ d3 ~+ H: g& f) Q9 L+ ]
CurrentVersionText = "ShanDong Version";% j% g* [7 f" a1 b0 b
break;
# ]' P9 Y; n# I# m. {" {case "210":) w2 b- t/ g" D# m& M
CurrentVersionText = "GuangDong Version";  e/ B& o& e; K2 }. D$ [  {
break;
4 E5 g) L% ~1 C; H; ~case "211":
  J9 k# n: f! h. S' c& GCurrentVersionText = "HuBei Version";
4 r# Z( r% X' P( ?* ?! Xbreak;
: @3 K( t4 O% c# ]5 d' ccase "212":
6 S- l2 x3 M) WCurrentVersionText = "FuJian Version";
- |% |! S- n1 l& V( Z6 xbreak;( q7 o3 _$ f" s: i8 E
case "213":
6 u. J( H$ o* b. [CurrentVersionText = "SuZhou Version";
9 a2 |) W/ H. k; R0 X6 lbreak;0 z4 [+ ?8 {7 v9 ]
case "214":; M$ U- r- F8 [2 B% i. S, Y* ~
CurrentVersionText = "ZheJiang Version";. b) F0 p' g8 f
break;
9 c5 l3 n6 S1 m8 i! Y1 Ecase "215":2 H' E0 F9 b' U/ N
CurrentVersionText = "ShanXi Version";! c& ]; n5 U1 x: b& |
break;
' z4 d( }+ B) a+ K' h) _case "216":
; f6 a0 m$ i2 D9 E  y3 d9 l! HCurrentVersionText = "HuNan Version";
/ m9 Y4 V$ x8 r; ^+ Y( X- sbreak;9 \! k4 P' G0 `" K3 w5 m  i* k' k
case "217":
# y' X  p* x. _; s7 RCurrentVersionText = "YunNan Version";" L4 k5 D, Q$ F
break;7 a& @+ |6 b. a0 n
case "218":
$ D7 F/ p1 a1 }$ e" H" \5 ?CurrentVersionText = "XiZang Version";, G6 |9 V4 D! G6 u2 N9 L* ]
break;7 r3 w) }8 X9 b! o3 B
case "219":& Y) X* l/ k- {+ b
CurrentVersionText = "HeiLongjiang Version";
1 C/ G2 Y5 F1 mbreak;
7 E' g8 A; t" @  }8 }  r/ Z' xcase "220":
' e" ^8 J4 M0 z- l" L4 w% P# J" OCurrentVersionText = "GuiZhou Version";
( j' M" e- @% C* v1 Y* ubreak;* B, ]% G% F$ q3 d# A0 q- {
case "221":% n! D: k6 d- u( j1 @0 _% l
CurrentVersionText = "ShanXi2 Version";
, T$ Y* }6 u3 ^6 i4 |. ?9 qbreak;
% B2 E6 y$ p1 G8 P3 K( H! w; r* ucase "222":2 f  H0 h( t/ \& A1 {
CurrentVersionText = "Hebei Version";4 N' j# r6 z, p
break;5 `& O1 y# D/ Z' c
case "223":
. B' R9 F' o% T" c  P4 X. BCurrentVersionText = "NingXia Version";
, j& D3 r! O% |7 |9 x$ N1 q! F+ s8 F3 wbreak;% B* y/ `& R4 ~) v7 c
case "224":7 `" j) T/ y7 o* {) M+ [
CurrentVersionText = "GuangXi Version";4 B$ z- @- o9 @! J6 q- i
break;9 f' j/ x1 g& P( [
case "225":9 |0 z' {) l+ y0 U+ b
CurrentVersionText = "JiangXi Version";
7 h. F. P+ L+ \$ O( d/ n% {break;
. k7 P6 H/ s; X! t8 wcase "226":( N2 Z$ F! u$ w' e
CurrentVersionText = "GanSu Version";# a& K$ R) O$ ^3 d7 B3 g
break;
! ^) }6 l8 k' ~& |, ?case "227":, E2 t8 ^4 ^0 I9 I8 e& a
CurrentVersionText = "QingHai Version";4 G0 l) {3 O) w8 P4 [$ Y
break;
; [8 k9 n, U/ Q, X! d$ ncase "228":
: ]5 u! v& y$ g/ C; K' ]7 j" dCurrentVersionText = "XiAn-XianYang Version";  c( f; K* o+ s* O% S' c, j# _
break;
+ O/ _/ ]; n) C% q$ Hcase "229":
, @0 K! f# I% o& `  [" V& }( [CurrentVersionText = "LiaoNing Version";3 l% ?  M+ U! R  j. j/ ~
break;
* _/ X& p$ I3 X3 Y2 [% lcase "230":, G& h% l0 ^7 N, Y3 s" U' F
CurrentVersionText = "Jilin Version";
3 I- X: j6 q4 M! Xbreak;4 u, a2 E+ U8 O: O
case "231":
! \! V6 V. c8 W" t+ B1 aCurrentVersionText = "Neimenggu Version";
# U3 `; I) }2 a( ]% |9 \break;
( b8 K' R) [2 D: s1 k' Xcase "232":
) d0 X/ J  ^6 s9 I2 u3 T7 xCurrentVersionText = "Henan Version";6 s0 V3 p' N" B8 j9 e5 e: b; W* F
break;' I0 \/ r4 q7 _" U0 j
default:/ s; B2 |) Q2 h8 w
break;8 l9 K0 r5 }7 p7 d
}8 t9 a  G1 X: L, ]- r' h5 E9 U8 d
%>
) o, B* Z) G0 a# D6 C7 D* W<li class="login_li_7"><%=CurrentVersionText;%></li>
9 ]9 q" X( r7 N7 ^* d</ul>. K" O) i* Y, x" c2 K/ E2 P; X
<ul class="login_blank"></ul>
& }. b+ ~5 [- v1 [<ul class="login_ul_1">
8 w- }) h; W- }' O( S. K5 J+ s9 i<li class="login_li_9">Version Type:</li>
+ Q9 P- I/ J+ ~; c<li class="login_li_8">' G8 J, @5 r2 i. V9 U  D
<select id="Frm_DefConfFileCapabilitySet" name="Frm_DefConfFileCapabilitySet" size="1" class="list_7"">! W1 D% a+ J1 J. a2 a; O3 b
<option value="-1"></option>
5 D  C9 o# ^% K$ V; ~<script language="javascript">' D9 v0 G( N# ~" [0 O6 N; t  e% a
var SupportVersionSet = "";7 D2 c! I' ~/ X8 y; |% t) a- _
SupportVersionSet = "<%=SupportVersion;%>";
4 v: N# {) C2 }7 z5 Ivar arraySupportVersion = new Array();
/ l! x9 G' o; v/ `& O. S% G4 yarraySupportVersion = SupportVersionSet.split(",");
. m% X( a" a/ x9 `" p: n; mif(SupportVersionSet == "" || SupportVersionSet == null)
4 d6 Y' y% y0 P9 n7 ?{0 n3 f" S4 j& G! x0 J
//如果支持的配置文件能力集为空,则不做处理0 }8 h! _2 T2 d) T$ z- C
}
+ _; W( w4 w, ~+ V$ Yelse
8 c* i3 q* [; e+ ?2 o0 A# w- [{1 _6 m. k' ?( ~; U0 K
var SupportVersionValue = "";$ B( i1 L- z3 z' p5 V! R% e
var SupportVersionText  = "";. r& r: x! O& S" p
var DefConfFileCapabilitySetObj = getObj("Frm_DefConfFileCapabilitySet");7 @' y/ v6 h1 ~, ^+ i8 L* n7 E
for( var j=0 ; j< arraySupportVersion.length ; j++)
$ {7 A- W9 |3 o8 z9 ?& R: L{1 {6 `0 m$ L" k  T  ~9 ~$ j
if(arraySupportVersion[j] == "" || arraySupportVersion[j] == null)
0 e  s% O' M! ~4 b" B{
% `+ e9 s5 c+ `+ |/ Qbreak;$ c+ M4 {4 ~; z( B. e+ S$ m
}
! x: U9 U! o$ `! f& ESupportVersionValue = arraySupportVersion[j];, [* E$ I; i- {+ e3 p  l: y. F
switch(SupportVersionValue)# l$ Y  E, |7 }4 f
{
2 i6 O  L% h0 \; h6 l$ icase "0":4 |: ?  V- X( {0 h3 u
SupportVersionText = "Default Version";3 c' S: `/ k1 ^7 f
break;  a# g1 C: S& d% A) {
case "1":
  d4 r; V& i, j( b0 e) YSupportVersionText = "Russia Version";* c+ c: \: T5 k" G2 y% J2 w
break;& q8 b3 {7 l: W+ ]$ _3 |
case "2":* i8 b+ X- `/ e" r$ `3 O9 e3 ^
SupportVersionText = "Lithuania Version";- w2 F3 y9 j& W) Q7 B
break;+ o' T3 [" M" M! A  p" s
case "3":
: y+ D/ v5 q" u# Y; z# J. jSupportVersionText = "Roumania Version";. r9 @6 c% b* `# ~
break;
7 A2 [$ \4 B9 s0 Y! X  s! }8 ]case "4":9 j4 A7 V" {/ a3 d; A( @
SupportVersionText = "Singapore Version";
  ]2 ~5 q  N0 w1 gbreak;8 R  s9 C3 D/ l
case "5":' @7 O2 c( X5 R! o& [5 f
SupportVersionText = "Italy Version";
1 v9 @8 D% X9 h8 g& lbreak;& f+ F/ G2 W/ Y
case "6":
7 y" k' F$ l" t. a2 ^SupportVersionText = "United Arab Emirates Version";
6 j- t7 F) j7 rbreak;0 R2 n8 c7 d% u
case "7":
# }3 o5 X" w. ~1 ~% DSupportVersionText = "England Version";5 a( E( L, ^: D7 m3 a
break;
" w7 O0 L) m8 y- d/ |( D) U0 scase "8":' ?5 J1 y7 U/ P; a
SupportVersionText = "Libya Version";
# O1 B! E; ^  w( O7 Ubreak;
$ y- j; E8 C( ucase "9":% N6 }; e$ Y+ R" c% _+ U$ a/ u
SupportVersionText = "Germany Version";' V9 m; t2 c" H; z& ~9 K! J! b
break;4 t  l9 I8 V7 f7 b
case "10":; b/ w' ]3 y% C9 b. A; N
SupportVersionText = "Brazil Version";, r8 Z) y8 _5 d3 y
break;- X9 n4 z1 r' e
case "11":6 r4 i- N2 f$ h: I4 e) G
SupportVersionText = "Telefonica Version";) v" j# e; h" ~) d. C" Q7 L1 Q2 C6 O
break;
, H& F3 |# ?# f/ b7 pcase "12":' l0 G, C5 O- \% r  X/ D6 r* C
SupportVersionText = "PuertoRico Version";
6 q, v+ \* s. N# d3 @break;  v  Y  c4 z; M
case "200":0 a4 \9 x2 F4 c! ]7 c! W5 a# L
SupportVersionText = "JiangSu Version";  ^9 L+ s/ ]2 g& e
break;
- U2 V. M' C" A% Zcase "201":" f) [% {) L6 F( q, A
SupportVersionText = "XinJiang Version";
# v/ J5 t8 c2 r1 p9 _/ A! nbreak;2 r8 K6 ?. Q. ~
case "202":
! ?+ @. [* D( E9 zSupportVersionText = "HaiNan Version";
# v' h9 e8 t% Q$ w+ \/ {" Fbreak;
$ d$ \& p  D5 {& k8 F1 T+ O5 wcase "203":
$ W) N9 Z5 a. _* USupportVersionText = "Tianjin Version";
1 o6 ?2 I( T4 Rbreak;
1 r/ B. O) d; h3 l% Dcase "205":
) D3 C* a! {* H' c8 t7 O! qSupportVersionText = "ShangHai Version";
& W" V2 G) Z9 K2 B6 l0 \) F+ ebreak;
% l% Q* l9 v: y7 scase "204":3 S8 w9 P8 q* y0 s' [2 U
SupportVersionText = "AnHui Version";
7 a8 |$ O2 c: j" abreak;8 T( j  p3 v6 C! Q  H. v
case "206":. R/ P. R: e5 u6 p1 G3 }
SupportVersionText = "ChongQing Version";
. c8 R% j' }0 }4 d* n+ lbreak;
6 x& y/ x" Z1 jcase "207":- O& N2 e: E. T/ b' l  E
SupportVersionText = "Beijing Version";
- M9 L: @( I8 B( u6 d4 B1 P0 Zbreak;
. t3 d) m% P; p" @& k5 Ucase "208":1 m$ G6 s" B  ?
SupportVersionText = "SiChuan Version";
0 E0 p- z  t- {7 T& e5 }break;1 K/ v  P- |6 E7 E% m
case "209":7 ]. x8 H' f1 Z" [9 E
SupportVersionText = "ShanDong Version";
$ p" H! ^, V, R3 i. Vbreak;
* ^0 H* w8 M& i5 R1 _  m/ |! A: Zcase "210":
( i3 F; ?; ]+ ?% L! h% vSupportVersionText = "GuangDong Version";3 l. @, {: S* J+ i4 c2 m7 q
break;
0 t% M3 U' a2 ]/ A$ ~case "211":; y6 N/ Z5 S" O0 F, z
SupportVersionText = "HuBei Version";
# N7 V- K4 k  [" Wbreak;
+ I& \5 F! W" H7 ^8 {& Ecase "212":
6 z8 h( f) G' P$ _9 g: I3 }SupportVersionText = "FuJian Version";4 Q$ \( X( [8 Q( i
break;0 U$ Z$ c8 a; r- X* Y3 u) |! s" v
case "213":
& h9 R$ X9 }  ~- y5 v8 LSupportVersionText = "SuZhou Version";; ~" s% }9 j2 X
break;
6 ?5 d. ?7 c# |5 U+ L8 lcase "214":
5 L. `2 O" E4 DSupportVersionText = "ZheJiang Version";
2 V: m9 E/ A7 U+ T& _break;
8 t. ]. d2 b4 `- O  A$ |& Lcase "215":' K' L- q  z8 Q. O, p
SupportVersionText = "ShanXi Version";
3 t2 ~! ]! T% V! d7 W% Dbreak;9 v5 C8 m% |. a% Q2 H
case "216":6 h* E# I! B9 H3 F: e
SupportVersionText = "HuNan Version";# P1 Q5 O( o- J9 E6 ]2 G$ a
break;$ x: w) J% `: m. j
case "217":0 E+ _( Q; ~  |7 _( t3 g
SupportVersionText = "YunNan Version";
9 P2 h8 C5 s- D/ `5 @; Bbreak;8 X8 Z8 }0 [. U4 j% c7 G
case "218":
, O% y* u9 X" Z8 K- @, eSupportVersionText = "XiZang Version";6 g( d+ k1 [- B$ w0 |- j! C' _2 u) t
break;7 f/ e2 {& ?% K7 w4 R" H+ N7 [  ~9 d
case "219":
2 u% c7 D5 S' ?5 n% }; YSupportVersionText = "HeiLongjiang Version";3 o+ y' Z# A, C. w( ?
break;3 A( Q( ]8 q4 V8 i
case "220":+ C6 j: U/ B+ G
SupportVersionText = "GuiZhou Version";; R% O7 t$ E. ~
break;4 E! S9 J" A! l( E& O- h
case "221":
7 {$ I* R2 B2 a. ?1 pSupportVersionText = "ShanXi2 Version";% x% n6 T, f" M6 i8 ?) i
break;
% \1 _/ l  Q. X# ecase "222":3 c3 e1 N# N% r8 w/ L( I$ I9 S0 D- H
SupportVersionText = "Hebei Version";
* l3 O. u2 k0 {break;
+ b, w* k; Z% f% O8 @& _case "223":8 \# Y0 m( ]6 o) C, _7 G
SupportVersionText = "NingXia Version";7 k" S8 f( h9 x9 _* ^! j
break;  ]/ \* x- x) x
case "224":  ^& t5 G" Z7 @6 A
SupportVersionText = "GuangXi Version";
8 K; y3 }- m* N- X+ J0 tbreak;
" B/ s& d( d' j! Tcase "225":; Y- U7 H/ D4 E+ g. `, o
SupportVersionText = "JiangXi Version";; H* J6 W) {) w/ J  |7 @
break;
% ~( Y0 M3 a8 rcase "226":
9 s1 |, o" L/ J7 ?SupportVersionText = "GanSu Version";7 X1 i9 _" M# V- `! n  K
break;
0 D" I! Z0 b2 V+ Mcase "227":
  a8 U& u* _- t2 v; ]SupportVersionText = "QingHai Version";
6 u6 `4 V4 K' x9 Q" Q% u! obreak;
3 Z" u( C, r- j7 J/ [7 F  |case "228":
/ Y  y7 {3 G- n- h/ u( G$ MSupportVersionText = "XiAn-XianYang Version";
$ P9 Z8 \+ i9 {% J) x+ rbreak;0 G: A  ]1 T4 \9 d  o. v0 W9 ?
case "229":
5 H: L2 H, f( d* e: O" @* f, [SupportVersionText = "LiaoNing Version";
2 Z3 M7 W) N: L8 ]0 W6 Qbreak;2 P3 ~/ n. m, }5 w7 ~% Z1 e
case "230":" I2 M" w) k% i' ~3 C$ {7 X4 G7 [
SupportVersionText = "Jilin Version";+ R/ t7 g/ Y- O. S) `7 V! q' D
break;# D5 j6 A7 w1 Z
case "231":, V0 Y$ U4 D0 D+ V; A/ @, j
SupportVersionText = "Neimenggu Version";
/ ^* ^/ `6 n* Pbreak;
$ S' P; M& y+ z8 Z3 [case "232":
4 U6 F/ r! A9 ]$ }! X) I7 PSupportVersionText = "Henan Version";
' }& ~$ W& P+ N* n$ V; [9 qbreak;5 H; s  Z$ `  I; \
default:% \6 ], C* S! I3 B( [$ a
SupportVersionText = "Version_"+SupportVersionValue;
' b: f. R& [+ c8 p) @break;/ f9 ?/ y. n; o! g3 r
}
3 t' L& w9 c1 p/ L( Q1 K2 x9 Q0 S# }DefConfFileCapabilitySetObj.options[j+1] = new Option(SupportVersionText,SupportVersionText);
% o8 E# S7 l: ^5 W1 x" @7 p! K* xDefConfFileCapabilitySetObj.options[j+1].value = SupportVersionValue;( C0 y# d: S9 d7 l( \
}
& v7 k. U3 W( R* D$ X0 ]* {: e4 j}* P/ A% d, _# B& \
</script>* f) A, i" b+ H( e. O
</select>4 P. o, E( ]- @! U
</li>
; b1 f! T9 e3 O/ Z" l# n+ p( A</ul>* k6 {0 C- B) p* \+ u+ W
<ul class="login_ul_1">- f- k" {# U0 t
<li class="login_li_9">Admin Password:</li>" N" i7 r: Y! {: T2 n, v$ b
<li class="login_li_8">* Y4 B0 n: v4 ]3 B( l. D
<input name='Frm_Pass' type='password' id='Frm_Pass' class='text' value='' />
/ o- U$ X* o& X5 N: O/ e" i+ L</li>0 h+ w0 a3 u* ^: G
<li class="login_li_3">
2 }2 s' v0 l( U1 o4 s: Y1 j( w<input name='Submit' type='button' id='Btn_Submit' onclick=pageSubmit()  class='button' value='Submit' />. F4 C; }$ f* G* b  k. `
</li>; G! K. s; s: P6 R" E, b+ J, D
</ul>- K- G" Z, r4 [, d# s, X. C
</div>/ O' V: {+ {  o
</div>+ c( z9 d$ Y* E) \3 B0 C  F$ ?( G
<!--内容结束-->; T, @( O  r. R
</form>
& d1 v( t+ r5 Y5 |% a</div>5 b  A8 D2 Y& v; G; c
<!--bottom部分开始-->
+ K" @5 U7 B" @, ?  ^" `<div class="content" style="text-align:center;"> Copyright &copy; 2011 ZTE Corporation. All rights reserved.</div>
9 u( U: A: e8 t4 n- e0 X+ z<div class="bottom_line"></div>0 L1 W0 n; R3 n
<div id="bottomx"></div>
8 M1 ^$ X7 M  f<!--bottom部分结束-->
5 a: [: H( n9 X, m" S</div>
' t3 V) e+ S) H/ l! k</body>
! G$ i- s9 s  v) d) t<script language="javascript">
4 E3 l4 ]4 p5 [1 ?<%
# A  m8 F2 V, EIMPORT FILE "auth/api.gch";
! _- J* ?- I/ Tvar session_token = get_csrf_session_token();
" O) h3 u8 ?  o+ z7 csession_set("_SESSION_TOKEN", session_token);
+ i+ q& W3 e9 c8 usetenv("_SESSION_TOKEN", session_token);3 |. {2 j& N) f  q+ k( i5 a% M) ^
%>: r0 w9 z& w& L( h! ]4 g
function addToken2AllForms()
0 K8 u/ x; V4 \- E1 J{
7 i# ^0 X; t, B" X, ]' Tfunction doAddLogic()
7 a9 Z* I4 Q+ e5 i( E# ~: N  T+ S. F{
4 U! t& S4 c1 T3 R6 h  gvar session_token = "<%=encodeJS(session_token);%>";
! l) Z& a7 @3 p7 Wvar forms = document.getElementsByTagName("form");
( G, ?- p6 f1 b0 ofor ( var i=0; i<forms.length; i++ )- ]  R8 v" p! K: k
{5 q- D9 _: E8 x- V  ?  o* I
var tempform = forms[i];
! y! G8 s; _: L, h5 _# M; }9 q+ B* n  gvar sEnctype = tempform.getAttribute("enctype");. u; S- C$ G+ O! ~& V
if ( sEnctype != null &&
, j( Y5 u& D2 f2 d"multipart/form-data" == sEnctype.toLowerCase() )+ M7 ]( z) {- t+ H2 k; a# N/ Y- }# C: r. J
{" k/ L% r5 |8 S1 S, [& R
continue;( }+ T5 s- C5 k
}' \# `- p  U1 Y$ }
var tokenInput = document.createElement("input");1 y, k4 v9 J. A/ U, E
tokenInput.setAttribute("id", "_SESSION_TOKEN");
7 K$ v% N, @! \& g2 AtokenInput.setAttribute("name", "_SESSION_TOKEN");
$ h9 M$ O! v/ i8 ?tokenInput.setAttribute("type", "hidden");  m+ f6 J$ [2 z" l2 I9 k8 g" N
tokenInput.setAttribute("value", session_token);
" ~* Y0 l( [  b- {tempform.appendChild(tokenInput);; X0 C1 S5 \$ ~6 u! v
}; H3 c* R' {0 v8 i% a% l4 B
}+ H( o6 }: v; `6 T' {4 B2 P
if( window.onload == null )
8 y0 [, J& b  V8 h{
& D7 [( K* u: H, g+ i- j& hwindow.onload=function(){, V7 I5 O; U9 R, Z( l6 d* Z' C
doAddLogic();) R' T7 A5 J/ x4 B: M
}5 t" J) B; ~5 r9 J2 B4 W
}. U& ~6 S$ e* e
else
% D$ g8 |% ~4 q6 i( N{
) ~" k$ Z( j) E6 r; d( X" P0 e- tvar tempfunction = window.onload;
$ \, u: s+ b  D( B+ @: X  b! M  `( @) y' gwindow.onload=function(){: [/ `& @$ w8 v5 ~
tempfunction();
, w) X: ~# C' f/ W1 f* ?  x" ~1 adoAddLogic();
- M( n" W; |% Y}
$ W2 l; a3 a/ L7 t, w: t, w  T}
4 v& ?0 p0 ]: B& E# v$ X! N}
- V& p4 D6 z" J2 faddToken2AllForms();( o1 K0 j% A" @9 V9 J5 D' w; t
pageLoad();/ G. j" ^" a* I( M' q# z+ ~
</script>
# v6 c' O, h' i, h6 |" ]1 t</html>

点评

谢谢回复 不过回复内容跟文件内的一字不差没用  详情 回复 发表于 6 天前
 楼主| 发表于 6 天前 | 显示全部楼层
futurejl 发表于 2018-12-7 10:46
6 ~- |% M/ o- ]# `/ Z9 h; n.login {9 V& O6 L$ c' K/ g% V1 c2 y
margin-top:7px;
* u* e  U. Z  ?# Z; `( _margin-left:195px;
9 j3 J, M9 g& U1 O8 @, H
谢谢回复 不过回复内容跟文件内的一字不差没用
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

粤公网安备 44152102000001号

GMT+8, 2018-12-13 17:07 , Processed in 1.122070 second(s), 32 queries , Gzip On.

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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