From dbae65f791ac33e8acec56b44fe2baa34a8b4c6f Mon Sep 17 00:00:00 2001 From: Shelwin <1158048493@qq.com> Date: Sun, 16 Nov 2014 22:59:10 +0800 Subject: [PATCH 01/61] First commit --- .../cn/com/chinatelecom/map/common/Config.class | Bin 2195 -> 0 bytes .../cn/com/chinatelecom/map/common/MongoDB.class | Bin 4347 -> 0 bytes .../com/chinatelecom/map/common/Repository.class | Bin 2548 -> 0 bytes .../com/chinatelecom/map/entity/Coordinate.class | Bin 1535 -> 0 bytes .../cn/com/chinatelecom/map/entity/Data.class | Bin 303 -> 0 bytes .../cn/com/chinatelecom/map/entity/Grid.class | Bin 5676 -> 0 bytes .../cn/com/chinatelecom/map/entity/User.class | Bin 303 -> 0 bytes .../com/chinatelecom/map/handle/IHandler.class | Bin 317 -> 0 bytes .../chinatelecom/map/handle/UploadHandler.class | Bin 4343 -> 0 bytes .../chinatelecom/map/process/IProcessor.class | Bin 363 -> 0 bytes .../chinatelecom/map/process/PageProcessor.class | Bin 2749 -> 0 bytes .../chinatelecom/map/servlet/UploadServlet.class | Bin 1537 -> 0 bytes .../com/chinatelecom/map/utils/FileUtils.class | Bin 3059 -> 0 bytes .../com/chinatelecom/map/utils/MathUtils.class | Bin 1024 -> 0 bytes .../com/chinatelecom/map/utils/StringUtils.class | Bin 318 -> 0 bytes build/classes/conf.properties | 9 --------- test.txt | 1 + 17 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 build/classes/cn/com/chinatelecom/map/common/Config.class delete mode 100644 build/classes/cn/com/chinatelecom/map/common/MongoDB.class delete mode 100644 build/classes/cn/com/chinatelecom/map/common/Repository.class delete mode 100644 build/classes/cn/com/chinatelecom/map/entity/Coordinate.class delete mode 100644 build/classes/cn/com/chinatelecom/map/entity/Data.class delete mode 100644 build/classes/cn/com/chinatelecom/map/entity/Grid.class delete mode 100644 build/classes/cn/com/chinatelecom/map/entity/User.class delete mode 100644 build/classes/cn/com/chinatelecom/map/handle/IHandler.class delete mode 100644 build/classes/cn/com/chinatelecom/map/handle/UploadHandler.class delete mode 100644 build/classes/cn/com/chinatelecom/map/process/IProcessor.class delete mode 100644 build/classes/cn/com/chinatelecom/map/process/PageProcessor.class delete mode 100644 build/classes/cn/com/chinatelecom/map/servlet/UploadServlet.class delete mode 100644 build/classes/cn/com/chinatelecom/map/utils/FileUtils.class delete mode 100644 build/classes/cn/com/chinatelecom/map/utils/MathUtils.class delete mode 100644 build/classes/cn/com/chinatelecom/map/utils/StringUtils.class delete mode 100644 build/classes/conf.properties create mode 100644 test.txt diff --git a/build/classes/cn/com/chinatelecom/map/common/Config.class b/build/classes/cn/com/chinatelecom/map/common/Config.class deleted file mode 100644 index 5d3aec8a76fe8469b40796de099824dd82ed182f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2195 zcma)8>r)$596dJyHrZ}~1`2&xTZ;w4Ykgp?q*U8TD;ge_nu^uhWx0ff&2G$Ys{M=n z2cL(Q?u%7u;zPa$@jLLs)jCs{vGRuWxAGEHCHxvq#X)m94`nh&z1sX z1o8$nWK_tYfeRQS+o}vpt`#utz<41}9Lb3Wiy2&`NDBA1X4({WT*ez3t_bwC^+y2) zuHsEX5%rM_{AR6YK*zFdftGk%qs4>D<(5EyQ&h-uw#I_{=y z=qMnk9@7S9U~&VjdR=;CGu@kR=Zkz(4;}&jf z_>kVV$u9h4%X;Yeo`H`r$10-jOEL(oDvNLM$aW?P6oESi=GE#<=*OcvKE^!_pB!Kx zwaCDIlmxW8a?SNn2_KM{;nS1m!6({Rc zRpKK9YgiRfG?Mf9lKZ(U`OKdTVVXdONt&@!(wqz_R8*dI1K;2&^Dw-f=l0nUIzW?p z%-}nLsnVP&ZP%#>a{5QVu^ZGaTbi`i3>xwSOX6nSFSX}!&9lj5->Vv zbv%cy?w*p4XOOD3C2&3=oIn&~aoYwQ>4!v+;#>(u(+sPUyH6ErGl2m%V!jOUMt)^-uEf!sy3n)uSLGQImVlm z^XJ(6g{xA0Kb+WuF|m){^*!|eiSrYG@Y}*bez=88EnNGV7yT=Y?4!U1larijVJiPl z3-7W00beZ?Te$lhVY_e*H+YoO_>{nxqvZV@&7%(koEyXl@8t&=#scSu;`Hn*k|X>) z#AifVWUn8o{|F^C_W8IqLgJs}i-h_@6bTHzLisgv`w*nI{5#0A{41m5{JoJ4ip3S; zU5#=o!3sYO(NC}ytR|52gjADRC7;5+R5+(hJK*u$o1p-Oj`+wM+xxXboYcfp^6v19Izay!S6 z!#L*(d`{4#sfg(;x0@UenU)i#YHXLBQ;Zsh%T}6kvG?i78~#h+&p#~}>LyJ@m6T-! iyrk+NU)zJP1gT1>$0cywFEe6c#6bxQfd(N`2>u5mUJ?FgVzW4Ip z-8bF_a0KtE@F_TuGGi%gK9-uxn7VCb4e>Cq=fvQ=WyVG=bJiLfP~lh5d|AJ$$FjOP z8ylOsY@}=jp^RCubu(os=uB)ZRG$K0dWO*wGL?v*o{0?&a6H(bF*Eit1$CX#DFyyP zD{X{Phei$c2&>qnptbrV32rc(F-$v*&Df%%MZy02z!Tk(K`hFQZN@hC() zqxU1>eBBp9E8(VR=B$ED9nsK+9n^#Iru1x)dK~CXRP>s(^BHrtFS>dtgk3UH&dM{= z9z3X`UBTwcrz56q%o=$O@55du$m#il!7&97td(FSj3(?CdL2-(ZH*Zt(WwwRWlB?@ zr@T$*(r^%m6a)x^1>V<-WEi6{$ zGdb8N=0C3C7(PIPdM;;}X$9TYbR6TZQ3y99D|=jl5*LvMMWmq>0oJW#IY1aEa7x8V zBCNn0zLqj_cE&O_jNr6_FnNp`g@Qgyr);fZ;wBIP5*kLu?2v6aqhX9;T*cXP>{=}~ zOkh%hniKM7&2=2Yg|#V>F^yz#e#Xe3(`T}T(2}rHdUi_BXT-BR=(p!G6uLoH-C1S| zA~i;+T7j&N!bonFWtZ?+^IhYlt*4$D)pKs}uKTYw8JvwlSnX*I0R+RmYh-EJb&NbM z)lpqqSGX!ulxuY%j1&wNG(%IZjWt}tEMp2=Sy^^JQ6n0AjkqgUKxIB{m%%eCE|YzA z_@bT3#!gR;B{gI*&-EqO?)^K1>roXJy-^)-Xux?@k1Hss$Sc@h{dzi|u?;q;l#!>; zY!sciX7W$qQz|~WqO(^`(eP=x23VrueBL7IfL%6iWr4Y+CdSJJQ9*x-KzOEc zjVi9r;Vzp7+{B+${E^K``q@)Z!%KLXyQiKeyPDnJ{ZhDO5wB=?6|b@H&*_DvOvU5V z1%8*F;RjoGBssGSm1G z!^1pY)ZrWxbul%touh38umfALlTSPN)5de;F3#P}l`NB}z0^(wkac_w-2Hs;=e8TWTb{I`%R z;c7e(36${hJ7}g-@|KF!-SFS=QtswS6gpApNpQF^}1g}XhOySs54meM(aZjyruk5GXvTIbige7L(MD1_m zbvkw@)qX>&wajQ5C2(fF$yvh9o8i9;#}YSHECw3Hl(+D<>xu%^32<7(Q>UznSehmL zS+Mj;md=uYiYzbEz)wr`N1Ts6^brqz#6#cgnO2o`^)og9=WziH(gk9DMnrdP`Rfw? fE|7@+c*kjs6#zjwF(nfV7W~Lftl*y#=D+?2btWn> diff --git a/build/classes/cn/com/chinatelecom/map/common/Repository.class b/build/classes/cn/com/chinatelecom/map/common/Repository.class deleted file mode 100644 index 2e124a4361186574650712a16a17fcdbd60efa65..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2548 zcmbVN`*Raj6#i~0-DKH93FRdq2m(o)vI+=7pdxLNU;@}cup-KKdz&n5c0+c<%Ll#? z-+v3Dri`8OS7!X99KXApHWn>m%w%@&p1t>+?>px^XaD@`_dfs}#19&J1TwZ~+J4Qn ztBz-d(v|9=X4RFk=6mL(towlz`i(mpdIbiqSvM`ywY-XXZu*+ELxF_j1)=5HQee37 z+}?5mD}vdkz>$LAsF+sWva7NkG%#l!S2pXeZ_Sv2Y}|BZXqMvpDZaTFy`hJ`V~*#9 zqjZ(dlm&Xn{28fZ1^Nvnq3c+KwHgKlc6Wg_=6kbF#Xt({1XfjKm|vunNoTr|icjY> ztQR=+Y%()WaNQi|MbXHIvUbX{Rc>_*qCbI60!dpXqU78qku`Y1z!q#}j)|#kxlQJH zPrA^lK`CrFUL}|Lw@Jr~*r8#&z}n9Cycf!fY#4Y6JL$A;H3CVS!217knpdb^Hn1Ce zSolDO3e|;bLk3mfongAu`Ak_uTEK`xIKHW9B``$a#Cl8Kt8*VsGPWyUwY22Luj3JIl*TM#p}SXoP3%bD0(+lR$^|rhmC$U2078HaN_AP=2`)zu#P3^9E*&^Xydv87d1-7s@J7Q z=Oh1|2=S<2$Y(VDmqg4Z;1h82Xj1vQp?o!-a!IU& z25y0!qH_)wWe`{u)^BhLmv#UJ;I4s>)b2#+$5tJm;GTw07kn?xrh(5?pJ{cKVAtcS z5erB)jKb1gX##?P+O>-EvxuCz`I<%U2z|$8e)ocTt*r{=Jsm>o`SY+>_b zY-?dxb{>1DhEo|D<}lpCzM*;SpUTeR;BPoQ^eYZ8ZhkO`Bae~$>3$1u#xEv#sD-zF zjv$=jbzc;CJ%MZ>pp6*7CTzoI+PB~+wqle|Z}VQ_=jbZ7a}Df>L81^*Nni>^oF#<; zyn}N%A5lti9g~{iv-%A_!sHY5&qI*XgLB!q*3p*XT$1ONa4 diff --git a/build/classes/cn/com/chinatelecom/map/entity/Coordinate.class b/build/classes/cn/com/chinatelecom/map/entity/Coordinate.class deleted file mode 100644 index ce015224392b65f142fc433759a098e9cd31bd09..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1535 zcma)5YflqF6g>ld(JrrAKqz7XOLyDCs^GJLPzp%0!Usx?F@D&#o3dotCGFP4U!^8m zj3)j7f0Xgg^cg6`Hkr9I_s%`%-gEcQ-=Dt$tl_|q0S2XHt0m`LEuEUS?i!ZC59j)Y zYS^yneo}WFr&<;+KRgU$XZlB7wRF3p9u?1wlFJaVbc(E(4F;BD2wIL^XagTgCM5Vdm0=#<@i6$-P1|%g8N70io(3_983|K}GEgxE-&TZL zNxvZOW8RM#L*gcOb=S0N>KolXJ>iyw1uQZQ5tV$adjf+RG$(691mfY8i)vP{nWbE| z+3t)|2w;htu5ITJ@+Z07AY>%{P#C6fd?X=-bQ3G*)J2CUWUZ^@v0F9mN=C^AutEZA zM~C~(5@Zz_3G3J(t@Miv!!9$-lFHXew9qmEyds&?vF?-#m~EaU%dp%J=9Xk6 z7yH0j>`8cp$JD)Jr(P`?dnTXb(Qa8QynM{ltPRq<4A7ruUsyDFwEM{u0H4JmomBEO z+P%qd2z?e|!?gOumW;^d%CxN@Th(k;(oJ~7AMFA8OeTjA|jr5`V&WFvcx%m#^LQ6W)q01kyR zi#Pzy|MR~_qc`6_pI-njG0Bh+POUe#ZH(PG&p~R5q2XsEKDh8^Za8p;lrY)yE1R1A z+T2%Lv4JqSa^8h<@@-5z=M*Bn5iNhv;KK7?;k=-L9#md*rGX!g1MJu21oPyUxn3iwE<_cOKDj0tL~}piU7$HPdwQn}PoP0|)O~Bq&r1bs$Ho T)1gj7UDGA?kvic>HNkifQ654L diff --git a/build/classes/cn/com/chinatelecom/map/entity/Grid.class b/build/classes/cn/com/chinatelecom/map/entity/Grid.class deleted file mode 100644 index 3f2c9be638b8f3dc9555a2a28fa51821111545e8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5676 zcmb7Idw82w8ULL$ZL;j^F4={(gEBTo)25@`+{QWvZPS&qG=+BeF~-*am@#lL*~TOV}(-t&D))ASoF&(r7o&Uemx z-uL(3e&?ib{_oY-09=KCc;Hf46iwDgQv>zUzC_Z@#{1*)F<=hX$CKGac2|9CIuY~0 ztuSM|dAnKPZzg-|JG!^Wqge%aG!=_0_`_pMUDJ-oo1EnZam>y0fm&_^n=tsL1OA)xxfL8>36tJf)nMNzhBD2WA zl$?w`tuRf;qagnNTv!S-aP5T24;ObaUt_?BskEp)FR(bv4#1c}asRsF*$-z?RLl*J z%hRsGT&~JiCX$KlDj!O4nSo1jxk5>xX1xzr;v*hhr7%ZVeJa_Tignj(TsL%eL<}s& zGKJDXGo4`yE^$g+K`yPfXz<`_h1rD)LrvC_k5OqbuoBl;nU&H|s0f6egd4;o_x4OG zNwBf*l(^?8=S34+rnR#zw5_=#)G`&z5i-ys$V-@Pak|yO^_Z^U&8Dmd_2P!yo=9VR zix*)9L#t?Sj5M~kbb1lV%`}EWoh@BmUfjrLwas*NhT0;HYg@X+TBm_7tW_wFrjl7R zk<6@4#QW)(W1(;MfPT%=jG+VFm`mduW@jSw9v1NO~~9))@mX{u@YPkXa>@7DYF=ce6O1Hjn|m z^7NURi1v@gzM0N;$GZFJ(zr4z2rpSmB^ZnX#?6I`OR}3qINxcvZJrD?M(qm0b5Uaf zRVx&>f6na6iQOffUfz{8qdVHoL7R$8<2!Zz?8f~b+{Z>eTUMCNfmE`-T^c>qWZ>g? zfX5M=q%E1rn#m{=Udv*d-1Y`9KFP53vWca!TYcD#hYUQ7M;Q8^L^9Tqq`s97q*36N zeO}V09J@9F<@kcGma(1UY4*l$JZj+6_>4mJ^|w zZ{l05A#-pro{T9hafsH$J66+>*3Wi1LW0pc*((R}k{6@2SZ7(3V@O*(h+|^s+X{7) zR4=Yk`)dj_ZDsZ$MtxqK7@M|FGEPgvP8#^GrpZL6WneJ7%Zu-mRc#H;9r+`!dc_tm z-XQDTSsiX%+qQOH$O77f9~yWQKe8AkZ1TE1B-de*ZAilP6LI4$h4TZU4+_f9n8fP3 z>TpM-b)52F82F_qFDE^PNeq^HFMdr6)pyrP1b=JbG=9f~^vAj0r%kuX!tV|I0e|EH zZV^CppP6oCbIlL5IU%v*_YSkO)r-IIb+;&KWkF}U73NK70IQnFPQI?xP&yi4ose7d z6zQi+rMhqto4bTRGD_i+J2gixxzFl1udVvctEqnTj!0=kkIONe<7t@A=M2u&^R4(U zt$hVEU)CbC_$1;x%^^zV;-Nfc@>SiM7lP31TznF>DdbjY=PD= z*OIa|h<1T2hASL_R2BnSzE^-92uo%ddjzBJU2C}di$T9+1eik57H3DQYE@9fNs;Qn(D}iD_4UT|n z5zH&8(@JjScfMu<0<5H&^nqD&r;GVO3-q>#STuC42HcgDW>vx3q=7b_Dgo zqqyP(mbcf|jbO!C2>ftUqKVIDY6@W{Z}L*-3#^^_D)qCzB@_mq*AkVBV;-iqrPa0{ zKCx6A9A{yg*3?Q1*Yo#bTY*2mymp_~Ndk}`E0#{RkNc!$PX_&sqiA;F6z0_C#=}_6 zCOZK4;h?|GUiEX;8tc`{pnpxliZ#|NRY8Ay!HPB3D+`1Ej#1p?!qaH4J%)9gMzG-s z0(zDRPGDnu-7q#s4q)+;QQV?96I!#ruoWA5Vr<48*n<0*$32{R0=HlvuiN`^ zD-OZLQGUOUnARw{VWjf$JZZ;s4}WnE;daLL31;gK>|{*$le2c=qeOIw*}M~XvC49F zWJ%pksgF_LYt%uVvA_}x#g2k9m}A2(r*bJRrH#|j`!#SnTwbzYezrqUl0bEeww(EF#Bq)}b(4tkovZCwvouELl3b;}i+P%!wZunW6 z0o;#ed^h3&4Xc)NG-<=~q5)sj=dB-?<4YX5xMRA`a)~ZFISehSFVlNV>MNX+@;eW% zGwhI34_@$~pMN~lw}GdmlK(DPVN)mRBTcIEV>r0!7+&1uKQw}G$oV~tm;JBsF^u66 zjD$H=c?t{YBxR0TGL;1~!+3QAWvcQr$1Rzvi82fGGT*Ue7EY82oWgBF2BUbL9DsPx z|2^9Rrx<)v$kH5z^t4;3PEi}_h3wC9${Rse+i%>lVZ6N| z=>L-}1^s{4uVK6^`La4MqG{(L()q)v#v>&7Jy?TB*@utu$Nl4+*^B4#Bwir39LH05 zi}m<6+3#JB-{aiBSXlqTvr6GP<)vi)Xi&MvT7ZAzulO6&ahx9Cio%URE2$g4$4q=d6$FqG^aI?@w$%L!CHo9Et#)f<@ zW52OG!cG1UlqW*=TJIafQyUJZf$u(`VFUq@&mc|#Ks1r`aLPdY?i<}NDI#Q|nK+Ol UmZ>LGU)E$v{6d^?DH>sL1e9_@eE)S!A zNXVu>!p&VdR{Llym*yCY`;)|rbOm8mnL2IhgC=~O_isucYL-q^qX$c^cSn9VR`;Ft zvgfA+cTu;+_FQ>0EgF4QF&I}DCz;7@0!+;&fzW`WFPWF*;pELQ3j}Fu zMO!Jgg`!fx76DtZwv@#>NeF`0u6A$jzS<^fsK5UDkN;Ns-S=ja2?V8o%<|4X=iGC@ z^PO|gd-J^umjEonI|{}L6tmRokxlLYmp;t83n>x5O1>3*>!(pFqlmK=yLOG~z1+#^)C_3S_Mc2Xz<5!>vMr zQ(#iHVd}Msj%Gc&UTY5N0-ow{ixz6sqK14<3A5tuMogf%`U5r|b%1hiZy!uxMt-$* zl0@7H`Kparyu2VoP@_etoYP>m5tc-hQEaC8@J&@3cLan zM-=2KRD2k>3pkCq9@XOEsKB)R%!4r^OJ45A9k@%uoy2#=0UE9K807NlH7BNiluT- zg?q~IT<~ML0`erIChTBT+$}Y;nA{F0J|ZyA=acFcDpq0@K?rHFc)$$mopr4OxtUR= z4p|V8`c*1cV+~mw(#^JbyM>pv5K!?^+{^RF63sD-LNd{TKxXJEPfpYbKzgfFQIGrR zP2ZN#Lad%q8>e_zu*r!AhF;tmib;t>_QBxRlPupPb&_hXx+{U=mBichl9SfH|uxUOp* zOj^1vFp~juc!BPA;|T?izt628n{LcX{|5O_#i#ITl6gmzZAaN7oWA$w2IY5c27yiXYtAsT1WkyMC01*uf-aoE zHu-f@#VOggvkfz*M;XW0hD*D@XK(+-V}pD45A1!OrR~Jm1*Y%HTeB`u`QWO$%Bnnn z-pc!m>Klq0DvK5`ShP5=D+i}>M!`2ncg&qJ-jXWL;vD;1Shnfh;WXFtc1#hDxjTWE zReVc^K*}0HJkAm)WGKgk|fr?&SAcPU=BV@8UrzlwK~Xc-1;okP}Z_cjEH< zMqZlNC9NKjU*A^o2EIeDt%ez_Gs)CtV_|>8hLeFY50u3BWR%~(rpD7`WR3q&h^!l9 zTAEjA<6T=(Bk^WR24CqO=-J)>>eEBJ&ktQ@ZeAQXeRA;F@w8@5MQz2Js&!Ppa^T$H zqMN^RB$=iuHl@8)WWFONtjRURbiIFt56DZvaqChQCaEIvaZ7GluJuW$5LLp zY+=^}Rsw#c;>YqT%1%Ur99HE7^HUW+lbKZ7wOFk+tT@<0I#~UaZ4Ql$ceIP@u|$ac znv}6-PkLF>N+ADcXF4{kRyo1gV~XecO5<*^)V=JKL!oKSGY*nQXQLJYvQdiJR)@JR zI|GLaL1C%@tj0CmT)38P)w}F%V-z=Cwy|`1SKbu+I53PJtanDz!?iyHA30S1AEU0o z;tXSgdy~U1$F_#J*77hdtO;Mi+w7wa;Y740bt8C2jq=5^`*KQU%izbsSDJDBM`#3wQax6p~l(w!omjK55Mu8H$~nA+5h zX*KhEajSqo>y$X?&FaN;f!8prwx}0#1P)^c{}gc9!QUeOW*2%L-t1m17>|voM3B-l z!IEF*cX%D16-nGvmhE-qW@kO*btF-l#9C{iI*HmNm_U_vNvuDD$%USec{bTz3eWc8 z{-!=`Y3jj4p4KGVdl2eI#1l&*A-yD$*x8Mb`xS21CE!(h@Yu#v@cEteBJH~Iq}Q3m zo+O^~?2|@(_=0Vh-a;B3lmkDN$W?PE9KZUOJjaW+L#gF?$EVWCSYOnR+^(4OQb$Nb}#G7f|w3I3NiNKNfS_{uIpXYH2uk*UjVy1zkeEk4l zj-0riePcSG?jT9-#1h=anS2JSFq6~qEHq&@49r0n=3)=E_M(87`aIrT1@u@%pT)cZ ze0T>7@NbmjUA|vj)KgVTZ}wpvn|C)@(w@8FL)BCcnQD6ugK0j#2&nbUz7AcOu=vPTT*`s z-1r^;Wusm+;`f%UNz~vE_#u(+$z{>Sif!Y@4V1> z7o@nJ5_?I2UN`@RDPplH<$Z&{WqLV}!PQL*q0B&0V diff --git a/build/classes/cn/com/chinatelecom/map/process/PageProcessor.class b/build/classes/cn/com/chinatelecom/map/process/PageProcessor.class deleted file mode 100644 index fc3eb85587ca59d4a37e105bd34c68caa4745425..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2749 zcma)8TXz#x6#h;~azZ+Y6ev^$xfNQVj7m{ypenW4NTG!y$W5K5hh|_p6J{p06};cY z8~WxS@Y$C@bS;<5M}L&~ota6?RJy`L=FIGU_U+rZ{PXYce*zf5&k`Ad{)%f>yjinS zwOuPzj?y2qR?V#WUPT3gIbqGHiTK^~C9(pKU$f>c)3MwcbA0NWs)Q1GfxYb%l^3-L zg_uxkRA4>RS~PuVL+lFuy)LL)v5aIl=9D7Q;rho9P=ucbI$T@{hbiA zVbu-<%&~U1Q$dsjWD=dg&E7E`&b%2Yf6h^%Sq;OQIm*XmOgN)%)Kw6cRm&GW&n%BWz}PIXX(=z0 zp>Ml0$Lh8-t^5L>Abz2m*TKy?rApQE0~H=EViTUyfNv4l7{d@}HI}A>MLdn|659lN zRzjHNGV8hKu;*U2XAJDXPJxaY6_(u~wA>0a*Vo&(B6cb1QUN_oP2!%my~jW=`UDD8 zc+PU_)VBL!jz*BDeAltft{gGr7)Jj@~Y2X<=O9w(P21Q^4!&we= zsRIXbNMeBgr8D^dYKpUO;CT)EW6T4g3zZw5U8pIo=0yXCF(|N_F`xJCQ2ESk%OkKIW-E1I1g}XP7ud6s+sm5Dz$nVhWK0&=o@8=K=YvL0S~c1@fs+zr0&AjdMK{SX za0=s0C=vG;CRHe~t_5y%g(S+J#-zlVlq?wr&f*Qq>ZDl2QlKj(TTbXya2^*V-elV? z8EhqT0yGFFb9k`6Q4ZNcjU5#~DPNUK`GsR$!3iHk*em^ZMXw?po#QxB?|a?`-Ah*EJpU6ay} zr!_09?HG>7dSpiraAtGmj#yTX+#m&C#honBz7LX#Pf)!&bG|ViAZaA1Gf$m$hZoky z7h1U|Yn2MTMZp$5t_gCx(#w&PBw3J$(u$76pV8`0hWrDRB$Y!{7%wq1ZRnAu*Gz_1 zOf#UAZMSX$oAV&P< z_}3=Glm8<4T+J_&r{I~}dl$vuBDTS2J|b?w8onFx1w4ke{9-p@9hG!Ow=!6djareg zk)=}LPX8a+bfL5RE}p!Ht)06X*xkV11`agwTn7D3ydW@`-G2|IeGRU>AC@8-3V=ex3tt< diff --git a/build/classes/cn/com/chinatelecom/map/servlet/UploadServlet.class b/build/classes/cn/com/chinatelecom/map/servlet/UploadServlet.class deleted file mode 100644 index 0d6720ab9a333cf234223260730c83c3de5f7951..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1537 zcmbtUYflqF6g@*17TO}URpg;qR0PUn74cbPV(>vtqqRtl@zby!?V9aQ-I*mM{wfm* zQ4@cFKgxLbL5Yt7#wMMaJ9F;bJLjIe-+z4h24EFs6MYOzwrAP0ZP_iy<65{PG}^pl zDdBIsLR*_1SMugYY?&|^rrz;wzS9M?wC-5zG$a^?9QiujZ3tgE(%Y;&U|>%ehS#L0 zH1~9ayMgGZB*GtK80z@a7D`Emf-# zF|kQfX^h1eoXsMOVTO^aOXQshp@KJJ~dJ%TWwg&&U6@j6^|y zQ$7}&p*~kVyqtCMJ`hTmkA$fXl~4HqmG8DozEJs?E zXWfGg=CNR+#8B!*=6*R2RFTCZmPi@N3B!kDKe1Pk-xc&PT$p}LAj9mDZZXpggT9E_ zWH>tagm+SPQ`V%Snx;2o;M?Mn6UpY623`(XW*Dyro_5-z;V6g1bl>x&=25*EW`0YP zcMq+XVk@Z~DJatv%J!Y8%w)x3if^KznZS2zTx;Qbq)yWcqK^ossY6oK^C?WA9|L5W zWc6W?{?sU} zPSJRtE+|r{X|h0V61eVCBDJtx&9M$BflS$dJ-iT&KA}dE6lDrot`U JehsE@=O>xFlePc= diff --git a/build/classes/cn/com/chinatelecom/map/utils/FileUtils.class b/build/classes/cn/com/chinatelecom/map/utils/FileUtils.class deleted file mode 100644 index 1c6ff1e50f2ad9e28cc5b4f8ef4bf7b1593eb710..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3059 zcma)8TW}j!8UBtgKCAUMwUsET(T=+CAs& zfBnAioTER#|J!!}+>T|5h(KrFP3OI0I$y9|)3+Q;O^RkIUG;6Jl0IrX)`My!5ff-T zYd&nI9n+mpAD=mE<$ZycA=|b6VS#8@_mn_v)SI<*M3FEMM~lGqIoq`+s>K=@z8Lchc155&_aV#43M3vW+rFg=6u7x77nEju=`pud^(XzZWfrq* zi^?k7eM+KT;D&~!T0CC$*UWXaVY4cGi$MDa0Yl#@9b0jO#5RE~jR4Kg20E}^ARZJY zAiGYFjE!~EYX^2o>=fAC@MA=ti$Z&pKKr&sTh_XrK@Mq{OR|q0|}*_myq80gXgjU|UdAz$X#2-T9HK z?aW$b9Ro-x7H>6h8*UfS<}H8JF)O5Kb60m5FmMYNv&w$Zz@7Lg1!0y-mdkef>ku}{ zCEM(}E@M_hMnGg#q#+gQ&@}-<>;Dr#$6Yuqad!jhAnlQbyjAjT&owZDQ30KOj9Zn8 zIZx4SS=UKDfhypLfuqV=^Sy9Y$H#H6#8@LXW!8kHfn&&#@{)qrafx_y=Z(U-IU-8p zAJEYx1j;!!7btnt8e4(x=;YC9>)L9w=IGTjQ=OZ$$}~GYLi}w0SfyZh^*rlgpvQHS zzL`HaZkB?bCvigJ69PsIHWy;2qz^;uAHMvmBE_?%3JRHh?vS3-BuC?QI&Mft-{0LA`Ln-of^K!2z?rUK&d}5G*eCwD^QMbR<R?L&qYY_rbHpnl+pSGhtMfUaQ|3eNnB2F0$0EaRVTv_S z7$QnzT7T81L3@*f2y{NxXP_Oed>Wwv-`8=Lz$RSJ6*`OEh%ppU=y?}b z@4GNp&~~zS3CZ#H7=EWsLR>M8f%dyMMtKkst=20FE>KqJe+QQXsthR&C z?bwMMv7he)9NmFkILJ%%5O(7*L72r}%<-%0YnWZKc8p_!Z#6oO`#gL-IHi5_jzerxQXgU0Qv) zp8os6swPreDt>9zC8a;iEu!w(&GJsjpok%q$@}Bv`AJ59ovQgM-@hP( zOT6sgq5YqDjsFGr;IEAHH{8oQj^UrYs&y(sDdbUVo_qzm;LhOskFdy!+i(>>#!pz| z9{hn(e?~QQVFj1*b9Qk6Z!yahcSeRbzvQTem0rXZyvbd26tD986#IGzCH#t`1Z%w? zzh-2e+4t4e^&93_J1_LC(NpQ|7+SAFlPIjRodk8pp~M*pS7Jd>b1!k<(j+dfVjsV~ bhvCS3NJdtW;VXhg^z4 zD5K6BPE-29p|j5A{tKlU&=_(D{D?aN5BHpnode-XhOQMq^yOoQtX&{m_GFp))% z1sz=s164m1&ztof5pVIGKrrO1k;j8=9{b8}J2koQA2O7x|CvsOp=VFXEnhZk#Hrh^ zTXMTG$dFlFFmQ=sxRdLqjQw!$Y10pCA~sRLuz}0xs!0(RMo?rhj(E@%8@miMcD2Kj zR$M8aai!lXCh{0l^^P+X&VFgXm$nt+s)cKqppNlILxeSkaeMV5Sv$*w^SXr_m}2Ob zQOd+HWMBMJF);JHUMXHn#}%Gm=fPSO*SRz?jWKnVEX-k^;_oJYm8$y}G84Dp7+5&h zA2({!tSl_zHbZZN$A=C=6hN{s@%3YXJnC}`8X$M~;XQi}4}`(xY)MET+c#TafRiyY3<;Bpy?ySR+I9-u9ibPaK~u|HxiwXd{^msRIMq)fYyeGDuKJ#x>;N RRC0XiGpT1ngmcLRlV8XKN?HH_ diff --git a/build/classes/conf.properties b/build/classes/conf.properties deleted file mode 100644 index 4459b58..0000000 --- a/build/classes/conf.properties +++ /dev/null @@ -1,9 +0,0 @@ -#Sun Nov 16 17:42:38 CST 2014 -threshold=10 -dbhost=127.0.0.1 -dbport=27017 -dbname=map -cacheSize=1024 -tempPath=C\:/eclipse-workspace/Map/upload/temp -uploadPath=C\:/eclipse-workspace/Map/upload -charset=utf-8 diff --git a/test.txt b/test.txt new file mode 100644 index 0000000..7c4a013 --- /dev/null +++ b/test.txt @@ -0,0 +1 @@ +aaa \ No newline at end of file From 93db568bba5f74843a89eeb5374c8c95e77ea8d0 Mon Sep 17 00:00:00 2001 From: Shelwin <1158048493@qq.com> Date: Sun, 16 Nov 2014 23:05:13 +0800 Subject: [PATCH 02/61] Update --- .gitignore | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 60682e5..5f272a5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ -/build/ - -/upload/ \ No newline at end of file +build +upload \ No newline at end of file From f5aeb231a86a36506c94232a809dc71add2a65b6 Mon Sep 17 00:00:00 2001 From: Shelwin <1158048493@qq.com> Date: Sun, 16 Nov 2014 23:07:52 +0800 Subject: [PATCH 03/61] Update .gitignore II --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 5f272a5..4ffb609 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -build +/build/ upload \ No newline at end of file From 44c7251cb721802db8dcad548509311e4a970d00 Mon Sep 17 00:00:00 2001 From: Shelwin <1158048493@qq.com> Date: Sun, 16 Nov 2014 23:14:13 +0800 Subject: [PATCH 04/61] Update again --- .gitignore | 2 +- test.txt | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 test.txt diff --git a/.gitignore b/.gitignore index 4ffb609..5f272a5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -/build/ +build upload \ No newline at end of file diff --git a/test.txt b/test.txt deleted file mode 100644 index 7c4a013..0000000 --- a/test.txt +++ /dev/null @@ -1 +0,0 @@ -aaa \ No newline at end of file From 75b4e0e0d27e85616151c529232b7d0ffe2bbb27 Mon Sep 17 00:00:00 2001 From: Shelwin <1158048493@qq.com> Date: Sun, 16 Nov 2014 23:16:51 +0800 Subject: [PATCH 05/61] Update again --- .gitignore | 2 -- 1 file changed, 2 deletions(-) diff --git a/.gitignore b/.gitignore index 5f272a5..e69de29 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +0,0 @@ -build -upload \ No newline at end of file From aeab3f04a8d6eef769c507611435a6a07a5c6cf2 Mon Sep 17 00:00:00 2001 From: Shelwin <1158048493@qq.com> Date: Sun, 16 Nov 2014 23:20:31 +0800 Subject: [PATCH 06/61] Update .gitingore to ignore /build and /upload --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index e69de29..5f272a5 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,2 @@ +build +upload \ No newline at end of file From 7c45355b554e180e8cc34571f4ac6582e066fc4a Mon Sep 17 00:00:00 2001 From: Shelwin <1158048493@qq.com> Date: Sun, 16 Nov 2014 23:51:46 +0800 Subject: [PATCH 07/61] Reverse .gitignore to comen/map's version --- .gitignore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 5f272a5..1c746a0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -build -upload \ No newline at end of file +/build/ +/upload/ \ No newline at end of file From 712657a842880a1f146e213ab7d0dbe2736ade33 Mon Sep 17 00:00:00 2001 From: Shelwin <1158048493@qq.com> Date: Tue, 18 Nov 2014 00:41:51 +0800 Subject: [PATCH 08/61] Implement User and Data classes --- src/cn/com/chinatelecom/map/entity/Data.java | 230 +++++++++++++++++- src/cn/com/chinatelecom/map/entity/User.java | 107 +++++++- .../chinatelecom/map/handle/UserHandler.java | 31 +++ .../chinatelecom/map/servlet/UserServlet.java | 53 ++++ 4 files changed, 418 insertions(+), 3 deletions(-) create mode 100644 src/cn/com/chinatelecom/map/handle/UserHandler.java create mode 100644 src/cn/com/chinatelecom/map/servlet/UserServlet.java diff --git a/src/cn/com/chinatelecom/map/entity/Data.java b/src/cn/com/chinatelecom/map/entity/Data.java index 754151e..03f1519 100644 --- a/src/cn/com/chinatelecom/map/entity/Data.java +++ b/src/cn/com/chinatelecom/map/entity/Data.java @@ -1,12 +1,240 @@ package cn.com.chinatelecom.map.entity; +import java.util.ArrayList; +import java.util.List; + +import cn.com.chinatelecom.map.common.MongoDB; + +import com.mongodb.DBObject; +import com.mongodb.util.JSON; + /** * @author joseph * */ public class Data { - public Data() { + private String office; // 北区电信局 - 便于以后扩展,增加该字段 + private String suboffice; // 分局 + private String gridCode; // 网格 + private String telephoneArrive; // 固话到达数 + private String broadbandArrive; // 宽带到达数 + private String broadbandNew; // 宽带新装 + private String broadbandRemove; // 宽带拆机 + private String broadbandMoveSetup; // 宽带移机(装) + private String broadbandMoveUnload; // 宽带移机(拆) + private String broadbandOrderInTransit; // 宽带在途订单 + private String calculatedDate; // 统计日期 + + + public void setOffice(String office) { + this.office = office; + } + + public void setSuboffice(String suboffice) { + this.suboffice = suboffice; + } + + public void setGridCode(String gridCode) { + this.gridCode = gridCode; + } + + public void setTelephoneArrive(String telephoneArrive) { + this.telephoneArrive = telephoneArrive; + } + + public void setBroadbandArrive(String broadbandArrive) { + this.broadbandArrive = broadbandArrive; + } + + public void setBroadbandNew(String broadbandNew) { + this.broadbandNew = broadbandNew; + } + + public void setBroadbandRemove(String broadbandRemove) { + this.broadbandRemove = broadbandRemove; + } + + public void setBroadbandMoveSetup(String broadbandMoveSetup) { + this.broadbandMoveSetup = broadbandMoveSetup; + } + + public void setBroadbandMoveUnload(String broadbandMoveUnload) { + this.broadbandMoveUnload = broadbandMoveUnload; + } + + public void setBroadbandOrderStringransit(String broadbandOrderInTransit) { + this.broadbandOrderInTransit = broadbandOrderInTransit; + } + + public void setCalculatedDate(String calculatedDate) { + this.calculatedDate = calculatedDate; + } + + public String getOffice() { + return office; + } + + public String getSuboffice() { + return suboffice; + } + + public String getGridCode() { + return gridCode; + } + + public String getTelephoneArrive() { + return telephoneArrive; + } + + public String getBroadbandArrive() { + return broadbandArrive; + } + + public String getBroadbandNew() { + return broadbandNew; + } + + public String getBroadbandRemove() { + return broadbandRemove; + } + + public String getBroadbandMoveSetup() { + return broadbandMoveSetup; + } + + public String getBroadbandMoveUnload() { + return broadbandMoveUnload; + } + + public String getBroadbandOrderStringransit() { + return broadbandOrderInTransit; + } + + public String getCalculatedDate() { + return calculatedDate; + } + + public Data(String json) { + DBObject dbo = (DBObject) JSON.parse(json); + setData(dbo); + } + + public Data(DBObject dbo) { + setData(dbo); + } + + private void setData(DBObject dbo) { + if (dbo.get("office") != null) { + office = dbo.get("office").toString(); + } else { + return; + } + if (dbo.get("suboffice") != null) { + suboffice = dbo.get("suboffice").toString(); + } else { + return; + } + if (dbo.get("grid_code") != null) { + gridCode = dbo.get("grid_code").toString(); + } else { + return; + } + if (dbo.get("telephone_arrive") != null) { + telephoneArrive = dbo.get("telephone_arrive").toString(); + } + if (dbo.get("broadband_arrive") != null) { + broadbandArrive = dbo.get("broadband_arrive").toString(); + } + if (dbo.get("broadband_new") != null) { + broadbandNew = dbo.get("broadband_new").toString(); + } + if (dbo.get("broadband_remove") != null) { + broadbandRemove = dbo.get("broadband_remove").toString(); + } + if (dbo.get("broadband_move_setup") != null) { + broadbandMoveSetup = dbo.get("broadband_move_setup").toString(); + } + if (dbo.get("broadband_move_unload") != null) { + broadbandMoveUnload = dbo.get("broadband_move_unload").toString(); + } + if (dbo.get("broadband_order_in_transit") != null) { + broadbandOrderInTransit = dbo.get("broadband_order_in_transit").toString(); + } + if (dbo.get("calculated_date") != null) { + calculatedDate = dbo.get("calculated_date").toString(); + } + } + + public boolean exist() { + DBObject dbo = MongoDB.getInstance().findOne("data", toString()); + if (dbo == null) { + return false; + } else { + return true; + } + } + + public boolean insert() { + return MongoDB.getInstance().insert("data", toString()); + } + + public boolean delete() { + return MongoDB.getInstance().delete("data", toString()); + } + + public boolean update(String json) { + return MongoDB.getInstance().update("data", toString(), json); + } + + public static Data findOne(String json) { + return new Data(MongoDB.getInstance().findOne("data", json)); + } + + public static List findList(String json) { + List dl = new ArrayList(); + List dbl = MongoDB.getInstance().findList("data", json); + for (DBObject dbo : dbl) { + dl.add(new Data(dbo)); + } + return dl; + } + + @Override + public String toString() { + StringBuffer sb = new StringBuffer("{'office':'" + office + "'"); + if (suboffice != null) { + sb.append(",'suboffice':'" + suboffice + "'"); + } + if (gridCode != null) { + sb.append(",'grid_code':'" + gridCode + "'"); + } + if (telephoneArrive != null) { + sb.append(",'telephone_arrive':'" + telephoneArrive + "'"); + } + if (broadbandArrive != null) { + sb.append(",'broadband_arrive':'" + broadbandArrive + "'"); + } + if (broadbandNew != null) { + sb.append(",'broadband_new':'" + broadbandNew + "'"); + } + if (broadbandRemove != null) { + sb.append(",'broadband_remove':'" + broadbandRemove + "'"); + } + if (broadbandMoveSetup != null) { + sb.append(",'broadband_move_setup':'" + broadbandMoveSetup + "'"); + } + if (broadbandMoveUnload != null) { + sb.append(",'broadband_move_unload':'" + broadbandMoveUnload + "'"); + } + if (broadbandOrderInTransit != null) { + sb.append(",'broadband_order_in_transit':'" + broadbandOrderInTransit + "'"); + } + if (calculatedDate != null) { + sb.append(",'calculated_date':'" + calculatedDate + "'"); + } + sb.append("}"); + return sb.toString(); } } diff --git a/src/cn/com/chinatelecom/map/entity/User.java b/src/cn/com/chinatelecom/map/entity/User.java index e3adc28..7a638cd 100644 --- a/src/cn/com/chinatelecom/map/entity/User.java +++ b/src/cn/com/chinatelecom/map/entity/User.java @@ -1,12 +1,115 @@ package cn.com.chinatelecom.map.entity; +import java.util.ArrayList; +import java.util.List; + +import cn.com.chinatelecom.map.common.MongoDB; + +import com.mongodb.DBObject; +import com.mongodb.util.JSON; + /** * @author joseph - * + * */ public class User { + + private String userName; + private String password; + private String role; // 1 - System Administrator; 2 - Grid Data Administrator; 3 - Sales Data Administrator; 4 - Normal User + + public void setUserName(String userName) { + this.userName = userName; + } + + public void setPassword(String password) { + this.password = password; + } + + public void setRole(String role) { + this.role = role; + } + + public String getUserName() { + return userName; + } + + public String getPassword() { + return password; + } + + public String getRole() { + return role; + } + + public User(String json) { + DBObject dbo = (DBObject) JSON.parse(json); + setUser(dbo); + } - public User() { + public User(DBObject dbo) { + setUser(dbo); + } + + private void setUser(DBObject dbo) { + if (dbo.get("username") != null) { + userName = dbo.get("username").toString(); + } else { + return; + } + if (dbo.get("password") != null) { + password = dbo.get("password").toString(); + } + if (dbo.get("role") != null) { + role = dbo.get("role").toString(); + } + } + + public boolean exist() { + DBObject dbo = MongoDB.getInstance().findOne("user", toString()); + if (dbo == null) { + return false; + } else { + return true; + } + } + + public boolean insert() { + return MongoDB.getInstance().insert("user", toString()); + } + + public boolean delete() { + return MongoDB.getInstance().delete("user", toString()); + } + + public boolean update(String json) { + return MongoDB.getInstance().update("user", toString(), json); + } + + public static User findOne(String json) { + return new User(MongoDB.getInstance().findOne("user", json)); + } + + public static List findList(String json) { + List ul = new ArrayList(); + List dbl = MongoDB.getInstance().findList("user", json); + for (DBObject dbo : dbl) { + ul.add(new User(dbo)); + } + return ul; + } + + @Override + public String toString() { + StringBuffer sb = new StringBuffer("{'username':'" + userName + "'"); + if (password != null) { + sb.append(",'password':'" + password + "'"); + } + if (role != null) { + sb.append(",'role':'" + role + "'"); + } + sb.append("}"); + return sb.toString(); } } diff --git a/src/cn/com/chinatelecom/map/handle/UserHandler.java b/src/cn/com/chinatelecom/map/handle/UserHandler.java new file mode 100644 index 0000000..d9a37ca --- /dev/null +++ b/src/cn/com/chinatelecom/map/handle/UserHandler.java @@ -0,0 +1,31 @@ +package cn.com.chinatelecom.map.handle; + +import java.io.File; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import org.apache.commons.fileupload.FileItem; + +import cn.com.chinatelecom.map.common.Config; +import cn.com.chinatelecom.map.entity.Grid; +import cn.com.chinatelecom.map.utils.FileUtils; + +/** + * @author Shelwin + * + */ +public class UserHandler implements IHandler { + + /* + * (non-Javadoc) + * + * @see cn.com.chinatelecom.map.handle.IHandler#handle(java.util.List) + */ + @Override + public Map handle(List items) { + Map result = new HashMap(); + return result; + } + +} diff --git a/src/cn/com/chinatelecom/map/servlet/UserServlet.java b/src/cn/com/chinatelecom/map/servlet/UserServlet.java new file mode 100644 index 0000000..32488b9 --- /dev/null +++ b/src/cn/com/chinatelecom/map/servlet/UserServlet.java @@ -0,0 +1,53 @@ +package cn.com.chinatelecom.map.servlet; + +import java.io.IOException; + +import javax.servlet.ServletException; +import javax.servlet.annotation.WebServlet; +import javax.servlet.http.HttpServlet; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + +import cn.com.chinatelecom.map.handle.IHandler; +import cn.com.chinatelecom.map.handle.UserHandler; +import cn.com.chinatelecom.map.process.IProcessor; +import cn.com.chinatelecom.map.process.PageProcessor; + +/** + * Servlet implementation class UserServlet + */ +@WebServlet(description = "Upload file", urlPatterns = { "/upload" }) +public class UserServlet extends HttpServlet { + + private static final long serialVersionUID = 1L; + private IProcessor processor; + private IHandler handler; + + /** + * @see HttpServlet#HttpServlet() + */ + public UserServlet() { + super(); + processor = new PageProcessor(); + handler = new UserHandler(); + } + + /** + * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse + * response) + */ + protected void doGet(HttpServletRequest request, + HttpServletResponse response) throws ServletException, IOException { + processor.process(request, handler, response); + } + + /** + * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse + * response) + */ + protected void doPost(HttpServletRequest request, + HttpServletResponse response) throws ServletException, IOException { + processor.process(request, handler, response); + } + +} From f772a0a43ac78164666df20b8e409435dc9d629c Mon Sep 17 00:00:00 2001 From: Shelwin <1158048493@qq.com> Date: Wed, 19 Nov 2014 01:51:02 +0800 Subject: [PATCH 09/61] Understand the whole architecture by implementing user's Login --- .settings/org.eclipse.core.resources.prefs | 2 + WebContent/CSS/style.css | 75 ++++++++++++++++ WebContent/login.jsp | 89 +++++++++++++++++++ src/cn/com/chinatelecom/map/entity/User.java | 4 + .../chinatelecom/map/handle/LoginHandler.java | 57 ++++++++++++ .../chinatelecom/map/handle/UserHandler.java | 31 ------- .../map/process/DataProcessor.java | 54 +++++++++++ .../{UserServlet.java => LoginServlet.java} | 18 ++-- 8 files changed, 290 insertions(+), 40 deletions(-) create mode 100644 .settings/org.eclipse.core.resources.prefs create mode 100644 WebContent/CSS/style.css create mode 100644 WebContent/login.jsp create mode 100644 src/cn/com/chinatelecom/map/handle/LoginHandler.java delete mode 100644 src/cn/com/chinatelecom/map/handle/UserHandler.java create mode 100644 src/cn/com/chinatelecom/map/process/DataProcessor.java rename src/cn/com/chinatelecom/map/servlet/{UserServlet.java => LoginServlet.java} (75%) diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..8092f2b --- /dev/null +++ b/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding//WebContent/login.jsp=UTF-8 diff --git a/WebContent/CSS/style.css b/WebContent/CSS/style.css new file mode 100644 index 0000000..fae27e1 --- /dev/null +++ b/WebContent/CSS/style.css @@ -0,0 +1,75 @@ +@CHARSET "UTF-8"; + +body{ + font-family: Helvetica, Verdana, Geneva, Arial, Helvetica, sans-serif; + font-size:12px; +} + +p, h1, form, button{border:0; margin:0; padding:0;} + +.spacer{clear:both; height:1px;} + +/* ----------- Login Form ----------- */ +.login{ +margin:0 auto; +width:400px; +padding:14px; +} + +/* ----------- stylized ----------- */ +#stylized{ + border:solid 3px #b7ddf2; + margin-top: 200px; +} + +#stylized h1 { + font-size:14px; + font-weight:bold; + margin-bottom:8px; +} + +#stylized p { + font-size:11px; + color:#666666; + margin-bottom:20px; + border-bottom:solid 1px #b7ddf2; + padding-bottom:10px; +} + +.label{ + font-weight:bold; + text-align:right; + width:140px; + float:left; +} + +.input{ + float:left; + font-size:12px; + /*padding:4px 2px;*/ + border:solid 1px lightgray; + width:200px; + margin:2px 30px 20px 10px; +} + +#stylized select{ + float:left; + font-size:12px; + /*padding:4px 2px;*/ + border:solid 1px lightgray; + width:80px; + margin:2px 10px 20px 10px; +} + +#stylized button{ + clear:both; + margin-left:150px; + width:125px; + height:31px; + background:#b7ddf2; + text-align:center; + line-height:31px; + color:#FFFFFF; + font-size:11px; + font-weight:bold; +} \ No newline at end of file diff --git a/WebContent/login.jsp b/WebContent/login.jsp new file mode 100644 index 0000000..d601d30 --- /dev/null +++ b/WebContent/login.jsp @@ -0,0 +1,89 @@ +<%@ page language="java" contentType="text/html; charset=utf-8" + pageEncoding="utf-8"%> + + + + + +绯荤粺鐧婚檰 + + + + + + + + \ No newline at end of file diff --git a/src/cn/com/chinatelecom/map/entity/User.java b/src/cn/com/chinatelecom/map/entity/User.java index 7a638cd..37d249d 100644 --- a/src/cn/com/chinatelecom/map/entity/User.java +++ b/src/cn/com/chinatelecom/map/entity/User.java @@ -42,6 +42,10 @@ public String getRole() { return role; } + public User() { + + } + public User(String json) { DBObject dbo = (DBObject) JSON.parse(json); setUser(dbo); diff --git a/src/cn/com/chinatelecom/map/handle/LoginHandler.java b/src/cn/com/chinatelecom/map/handle/LoginHandler.java new file mode 100644 index 0000000..560b1a0 --- /dev/null +++ b/src/cn/com/chinatelecom/map/handle/LoginHandler.java @@ -0,0 +1,57 @@ +package cn.com.chinatelecom.map.handle; + +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import org.apache.commons.fileupload.FileItem; + +import cn.com.chinatelecom.map.common.Config; +import cn.com.chinatelecom.map.entity.User; + +public class LoginHandler implements IHandler { + + /* + * (non-Javadoc) + * + * @see cn.com.chinatelecom.map.handle.IHandler#handle(java.util.List) + */ + @Override + public Map handle(List items) { + + Map result = new HashMap(); + User user = new User(); + + for (FileItem item : items) { + if (item.isFormField()) { + String fieldName = item.getFieldName(); + try { + String string = item.getString(Config.getInstance().getValue("charset").toString()); + + switch(fieldName) { + case "username": + user.setUserName(string); + break; + case "password": + user.setPassword(string); + break; + case "role": + user.setRole(string); + break; + } + }catch (java.io.UnsupportedEncodingException e) { + } + } + } + + if(user.exist()) { + result.put("username", user.getUserName()); + result.put("role", user.getRole()); + } else { + result.put("-1", "Login Falied"); + } + + return result; + } + +} diff --git a/src/cn/com/chinatelecom/map/handle/UserHandler.java b/src/cn/com/chinatelecom/map/handle/UserHandler.java deleted file mode 100644 index d9a37ca..0000000 --- a/src/cn/com/chinatelecom/map/handle/UserHandler.java +++ /dev/null @@ -1,31 +0,0 @@ -package cn.com.chinatelecom.map.handle; - -import java.io.File; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.apache.commons.fileupload.FileItem; - -import cn.com.chinatelecom.map.common.Config; -import cn.com.chinatelecom.map.entity.Grid; -import cn.com.chinatelecom.map.utils.FileUtils; - -/** - * @author Shelwin - * - */ -public class UserHandler implements IHandler { - - /* - * (non-Javadoc) - * - * @see cn.com.chinatelecom.map.handle.IHandler#handle(java.util.List) - */ - @Override - public Map handle(List items) { - Map result = new HashMap(); - return result; - } - -} diff --git a/src/cn/com/chinatelecom/map/process/DataProcessor.java b/src/cn/com/chinatelecom/map/process/DataProcessor.java new file mode 100644 index 0000000..fe71203 --- /dev/null +++ b/src/cn/com/chinatelecom/map/process/DataProcessor.java @@ -0,0 +1,54 @@ +package cn.com.chinatelecom.map.process; + +import java.io.IOException; +import java.io.PrintWriter; +import java.util.Map; +import java.util.Map.Entry; + +import javax.servlet.ServletException; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import javax.servlet.http.HttpSession; + +import cn.com.chinatelecom.map.common.Config; +import cn.com.chinatelecom.map.common.Repository; +import cn.com.chinatelecom.map.handle.IHandler; + +/** + * @author Shelwin + * + */ +public class DataProcessor implements IProcessor { + + /* + * (non-Javadoc) + * + * @see + * cn.com.chinatelecom.map.process.IProcessor#process(javax.servlet.http + * .HttpServletRequest, cn.com.chinatelecom.map.handle.IHandler, + * javax.servlet.http.HttpServletResponse) + */ + @Override + public void process(HttpServletRequest request, IHandler handler, + HttpServletResponse response) throws ServletException, IOException { + + response.setContentType("text/html;charset=" + + Config.getInstance().getValue("charset")); + PrintWriter out = response.getWriter(); + + HttpSession session = request.getSession(); + + Map result = handler.handle(Repository.getInstance() + .parse(request)); + + for (Entry eso : result.entrySet()) { + session.setAttribute(eso.getKey(), eso.getValue()); + out.println(eso.getKey() + ":" + eso.getValue()); + } + + out.flush(); + out.close(); + + } + +} diff --git a/src/cn/com/chinatelecom/map/servlet/UserServlet.java b/src/cn/com/chinatelecom/map/servlet/LoginServlet.java similarity index 75% rename from src/cn/com/chinatelecom/map/servlet/UserServlet.java rename to src/cn/com/chinatelecom/map/servlet/LoginServlet.java index 32488b9..d64e928 100644 --- a/src/cn/com/chinatelecom/map/servlet/UserServlet.java +++ b/src/cn/com/chinatelecom/map/servlet/LoginServlet.java @@ -9,15 +9,15 @@ import javax.servlet.http.HttpServletResponse; import cn.com.chinatelecom.map.handle.IHandler; -import cn.com.chinatelecom.map.handle.UserHandler; +import cn.com.chinatelecom.map.handle.LoginHandler; import cn.com.chinatelecom.map.process.IProcessor; -import cn.com.chinatelecom.map.process.PageProcessor; +import cn.com.chinatelecom.map.process.DataProcessor; /** - * Servlet implementation class UserServlet + * Servlet implementation class LoginServlet */ -@WebServlet(description = "Upload file", urlPatterns = { "/upload" }) -public class UserServlet extends HttpServlet { +@WebServlet(description = "User Login", urlPatterns = { "/login" }) +public class LoginServlet extends HttpServlet { private static final long serialVersionUID = 1L; private IProcessor processor; @@ -26,10 +26,10 @@ public class UserServlet extends HttpServlet { /** * @see HttpServlet#HttpServlet() */ - public UserServlet() { + public LoginServlet() { super(); - processor = new PageProcessor(); - handler = new UserHandler(); + processor = new DataProcessor(); + handler = new LoginHandler(); } /** @@ -49,5 +49,5 @@ protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { processor.process(request, handler, response); } - + } From d184869ce638a9ac9021477bd385b972cda0f5d3 Mon Sep 17 00:00:00 2001 From: Shelwin <1158048493@qq.com> Date: Wed, 19 Nov 2014 23:25:08 +0800 Subject: [PATCH 10/61] Synchronize from comen/map --- WebContent/baidu.jsp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/WebContent/baidu.jsp b/WebContent/baidu.jsp index e3d9b76..c1826dc 100644 --- a/WebContent/baidu.jsp +++ b/WebContent/baidu.jsp @@ -133,6 +133,8 @@ body { strokeOpacity : 0.5, enableEditing : true }); + polygon.setFillColor("#CCE0EF"); + polygon.setFillOpacity(0.3); map.addOverlay(polygon); var infoWindow = new BMap.InfoWindow("缁忕含搴︼細(" + center.lng + "," From 4a846a9bd013f2984dc35fbd5ccf1a1a1a2327a0 Mon Sep 17 00:00:00 2001 From: Shelwin <1158048493@qq.com> Date: Thu, 20 Nov 2014 00:58:14 +0800 Subject: [PATCH 11/61] DWZ framework is used --- WebContent/dwz/.project | 11 + WebContent/dwz/bin/ESC.wsf | 1225 +++ WebContent/dwz/bin/dwz.min.js | 3502 ++++++ WebContent/dwz/bin/gzip.exe | Bin 0 -> 91648 bytes WebContent/dwz/bin/gzjs.bat | 47 + WebContent/dwz/changepwd.html | 29 + WebContent/dwz/chart/g.bar.js | 663 ++ WebContent/dwz/chart/g.dot.js | 156 + WebContent/dwz/chart/g.line.js | 335 + WebContent/dwz/chart/g.pie.js | 255 + WebContent/dwz/chart/g.raphael.js | 893 ++ WebContent/dwz/chart/raphael-min.js | 8 + WebContent/dwz/chart/raphael.js | 5462 ++++++++++ WebContent/dwz/chart/test/barchart.html | 41 + WebContent/dwz/chart/test/hbarchart.html | 41 + WebContent/dwz/chart/test/linechart.html | 36 + WebContent/dwz/chart/test/linechart2.html | 37 + WebContent/dwz/chart/test/linechart3.html | 49 + WebContent/dwz/chart/test/piechart.html | 53 + WebContent/dwz/demo/combox/area_all.html | 3 + WebContent/dwz/demo/combox/area_bj.html | 20 + WebContent/dwz/demo/combox/area_sh.html | 22 + WebContent/dwz/demo/combox/city_all.html | 3 + WebContent/dwz/demo/combox/city_bj.html | 4 + WebContent/dwz/demo/combox/city_sh.html | 4 + WebContent/dwz/demo/common/ajaxDone.html | 9 + WebContent/dwz/demo/common/ajaxDone.json | 9 + WebContent/dwz/demo/common/ajaxTimeout.html | 7 + WebContent/dwz/demo/common/dwz-team.xls | Bin 0 -> 17408 bytes .../demo/database/.tmp_db_widget.html.19591~ | 188 + .../database/db_attachmentBrightBack.html | 6 + .../demo/database/db_attachmentLookup.html | 19 + .../dwz/demo/database/db_lookupSuggest.html | 6 + WebContent/dwz/demo/database/db_select.html | 4 + WebContent/dwz/demo/database/db_widget.html | 188 + .../dwz/demo/database/dwzOrgLookup.html | 86 + .../dwz/demo/database/dwzOrgLookup2.html | 90 + .../dwz/demo/database/treeBringBack.html | 30 + WebContent/dwz/demo/database/treeLookup.html | 25 + WebContent/dwz/demo/pagination/ajaxDone1.html | 9 + WebContent/dwz/demo/pagination/ajaxDone2.html | 9 + WebContent/dwz/demo/pagination/ajaxDone3.html | 9 + WebContent/dwz/demo/pagination/dialog1.html | 26 + WebContent/dwz/demo/pagination/dialog2.html | 26 + WebContent/dwz/demo/pagination/layout1.html | 72 + WebContent/dwz/demo/pagination/layout2.html | 10 + WebContent/dwz/demo/pagination/list1.html | 193 + WebContent/dwz/demo/pagination/list2.html | 69 + WebContent/dwz/demo/pagination/list3.html | 66 + WebContent/dwz/demo/sortDrag/1.html | 16 + WebContent/dwz/demo/sortDrag/2.html | 21 + WebContent/dwz/demo_page1.html | 1000 ++ WebContent/dwz/demo_page2.html | 24 + WebContent/dwz/demo_page4.html | 137 + WebContent/dwz/demo_page5.html | 31 + WebContent/dwz/demo_page6.html | 98 + WebContent/dwz/demo_upload.html | 25 + WebContent/dwz/doc/dwz-user-guide.chm | Bin 0 -> 371376 bytes WebContent/dwz/dwz.frag.xml | 244 + WebContent/dwz/favicon.ico | Bin 0 -> 3931 bytes WebContent/dwz/index.html | 339 + WebContent/dwz/index_menu.html | 266 + WebContent/dwz/js/dwz.accordion.js | 317 + WebContent/dwz/js/dwz.ajax.js | 386 + WebContent/dwz/js/dwz.alertMsg.js | 110 + WebContent/dwz/js/dwz.barDrag.js | 90 + WebContent/dwz/js/dwz.checkbox.js | 53 + WebContent/dwz/js/dwz.combox.js | 133 + WebContent/dwz/js/dwz.contextmenu.js | 73 + WebContent/dwz/js/dwz.core.js | 485 + WebContent/dwz/js/dwz.cssTable.js | 42 + WebContent/dwz/js/dwz.database.js | 444 + WebContent/dwz/js/dwz.datepicker.js | 345 + WebContent/dwz/js/dwz.dialog.js | 360 + WebContent/dwz/js/dwz.dialogDrag.js | 68 + WebContent/dwz/js/dwz.drag.js | 101 + WebContent/dwz/js/dwz.effects.js | 97 + WebContent/dwz/js/dwz.history.js | 86 + WebContent/dwz/js/dwz.navTab.js | 408 + WebContent/dwz/js/dwz.pagination.js | 141 + WebContent/dwz/js/dwz.panel.js | 58 + WebContent/dwz/js/dwz.print.js | 20 + WebContent/dwz/js/dwz.regional.zh.js | 39 + WebContent/dwz/js/dwz.resize.js | 112 + WebContent/dwz/js/dwz.scrollCenter.js | 104 + WebContent/dwz/js/dwz.sortDrag.js | 120 + WebContent/dwz/js/dwz.stable.js | 246 + WebContent/dwz/js/dwz.switchEnv.js | 62 + WebContent/dwz/js/dwz.tab.js | 93 + WebContent/dwz/js/dwz.taskBar.js | 305 + WebContent/dwz/js/dwz.theme.js | 38 + WebContent/dwz/js/dwz.tree.js | 209 + WebContent/dwz/js/dwz.ui.js | 283 + WebContent/dwz/js/dwz.util.date.js | 284 + WebContent/dwz/js/dwz.util.number.js | 115 + WebContent/dwz/js/dwz.validate.method.js | 58 + WebContent/dwz/js/jquery-1.7.2.js | 9404 +++++++++++++++++ WebContent/dwz/js/jquery-1.7.2.min.js | 4 + WebContent/dwz/js/jquery.bgiframe.js | 39 + WebContent/dwz/js/jquery.cookie.js | 92 + WebContent/dwz/js/jquery.easing.1.3.js | 205 + WebContent/dwz/js/jquery.validate.js | 1231 +++ WebContent/dwz/js/jquery.validate.min.js | 2 + WebContent/dwz/js/speedup.js | 5 + WebContent/dwz/login.html | 67 + WebContent/dwz/login_dialog.html | 24 + WebContent/dwz/main.html | 72 + WebContent/dwz/newPage1.html | 1 + WebContent/dwz/newPage2.html | 1 + WebContent/dwz/newPage3.html | 1 + WebContent/dwz/sidebar_1.html | 31 + WebContent/dwz/sidebar_2.html | 22 + WebContent/dwz/tabsPage.html | 8 + .../azure/images/accordion/accordion.png | Bin 0 -> 4045 bytes .../themes/azure/images/account_info_bg.png | Bin 0 -> 2942 bytes .../themes/azure/images/alert/alertpanel.png | Bin 0 -> 2886 bytes .../azure/images/alert/alertpanel_icon.png | Bin 0 -> 1864 bytes .../themes/azure/images/button/button_s.png | Bin 0 -> 6358 bytes .../dwz/themes/azure/images/button/imgX.gif | Bin 0 -> 2974 bytes .../dwz/themes/azure/images/button/imgX.png | Bin 0 -> 6734 bytes .../azure/images/dialog/dialogpanel.png | Bin 0 -> 3285 bytes .../azure/images/dialog/dialogpanel_icon.png | Bin 0 -> 3643 bytes .../dwz/themes/azure/images/form/input_bg.png | Bin 0 -> 3655 bytes .../dwz/themes/azure/images/form/input_bt.png | Bin 0 -> 3198 bytes .../dwz/themes/azure/images/grid/Thumbs.db | Bin 0 -> 8704 bytes .../dwz/themes/azure/images/grid/grid.png | Bin 0 -> 28540 bytes .../themes/azure/images/grid/resizeCol.png | Bin 0 -> 3569 bytes .../dwz/themes/azure/images/grid/tableth.png | Bin 0 -> 221 bytes .../dwz/themes/azure/images/header_bg.png | Bin 0 -> 2886 bytes WebContent/dwz/themes/azure/images/icon.png | Bin 0 -> 372 bytes .../dwz/themes/azure/images/layout/Thumbs.db | Bin 0 -> 11776 bytes .../themes/azure/images/layout/taskbar.png | Bin 0 -> 1815 bytes .../azure/images/layout/taskbar_control.png | Bin 0 -> 1030 bytes .../azure/images/layout/taskbar_icon.png | Bin 0 -> 3843 bytes .../azure/images/layout/toggleSidebar.png | Bin 0 -> 3406 bytes .../dwz/themes/azure/images/listLine.png | Bin 0 -> 148 bytes .../dwz/themes/azure/images/menu/Thumbs.db | Bin 0 -> 5120 bytes .../dwz/themes/azure/images/menu/menu.png | Bin 0 -> 1403 bytes .../dwz/themes/azure/images/order_down.gif | Bin 0 -> 850 bytes .../dwz/themes/azure/images/order_up.gif | Bin 0 -> 848 bytes .../dwz/themes/azure/images/pageHeader_bg.png | Bin 0 -> 182 bytes .../dwz/themes/azure/images/panel/panel.png | Bin 0 -> 1434 bytes .../themes/azure/images/panel/panel_icon.png | Bin 0 -> 3211 bytes .../dwz/themes/azure/images/preview.png | Bin 0 -> 588 bytes .../themes/azure/images/progressBar/Thumbs.db | Bin 0 -> 9728 bytes .../images/progressBar/progressBar_l.gif | Bin 0 -> 5886 bytes .../images/progressBar/progressBar_m.gif | Bin 0 -> 3494 bytes .../images/progressBar/progressBar_s.gif | Bin 0 -> 2530 bytes .../dwz/themes/azure/images/search-bg.gif | Bin 0 -> 598 bytes .../dwz/themes/azure/images/search-bt.gif | Bin 0 -> 2110 bytes .../dwz/themes/azure/images/shadow/Thumbs.db | Bin 0 -> 13824 bytes .../themes/azure/images/shadow/shadow_c_c.png | Bin 0 -> 118 bytes .../themes/azure/images/shadow/shadow_c_l.png | Bin 0 -> 133 bytes .../themes/azure/images/shadow/shadow_c_r.png | Bin 0 -> 130 bytes .../themes/azure/images/shadow/shadow_f_c.png | Bin 0 -> 130 bytes .../themes/azure/images/shadow/shadow_f_l.png | Bin 0 -> 176 bytes .../themes/azure/images/shadow/shadow_f_r.png | Bin 0 -> 167 bytes .../themes/azure/images/shadow/shadow_h_c.png | Bin 0 -> 126 bytes .../themes/azure/images/shadow/shadow_h_l.png | Bin 0 -> 171 bytes .../themes/azure/images/shadow/shadow_h_r.png | Bin 0 -> 169 bytes .../dwz/themes/azure/images/tabs/Thumbs.db | Bin 0 -> 9728 bytes .../themes/azure/images/tabs/tabscontrol.png | Bin 0 -> 3940 bytes .../dwz/themes/azure/images/tabs/tabspage.png | Bin 0 -> 3603 bytes .../azure/images/tabs/tabspage_icon.png | Bin 0 -> 3212 bytes .../themes/azure/images/tabs/tabspanel.png | Bin 0 -> 3548 bytes .../dwz/themes/azure/images/tree/Thumbs.db | Bin 0 -> 9216 bytes .../dwz/themes/azure/images/tree/check.png | Bin 0 -> 4087 bytes .../dwz/themes/azure/images/tree/folder.png | Bin 0 -> 3717 bytes .../dwz/themes/azure/images/tree/tree.png | Bin 0 -> 4011 bytes WebContent/dwz/themes/azure/style.css | 201 + WebContent/dwz/themes/css/core.css | 616 ++ WebContent/dwz/themes/css/ieHack.css | 69 + WebContent/dwz/themes/css/login.css | 50 + WebContent/dwz/themes/css/print.css | 20 + .../default/images/accordion/accordion.png | Bin 0 -> 1496 bytes .../themes/default/images/account_info_bg.png | Bin 0 -> 229 bytes .../default/images/alert/alertpanel.png | Bin 0 -> 238 bytes .../default/images/alert/alertpanel_icon.png | Bin 0 -> 1864 bytes .../themes/default/images/button/button_s.png | Bin 0 -> 3370 bytes .../dwz/themes/default/images/button/imgX.gif | Bin 0 -> 3047 bytes .../themes/default/images/button/toleft.gif | Bin 0 -> 880 bytes .../default/images/button/toleftone.gif | Bin 0 -> 859 bytes .../themes/default/images/button/toright.gif | Bin 0 -> 863 bytes .../default/images/button/torightone.gif | Bin 0 -> 851 bytes .../default/images/dialog/dialogpanel.png | Bin 0 -> 1272 bytes .../images/dialog/dialogpanel_icon.png | Bin 0 -> 4168 bytes .../themes/default/images/form/input_bg.png | Bin 0 -> 3655 bytes .../themes/default/images/form/input_bt.png | Bin 0 -> 4254 bytes .../dwz/themes/default/images/grid/grid.png | Bin 0 -> 4113 bytes .../themes/default/images/grid/resizeCol.png | Bin 0 -> 3569 bytes .../themes/default/images/grid/tableth.png | Bin 0 -> 221 bytes .../dwz/themes/default/images/header_bg.png | Bin 0 -> 9810 bytes WebContent/dwz/themes/default/images/icon.png | Bin 0 -> 372 bytes .../themes/default/images/layout/taskbar.png | Bin 0 -> 1815 bytes .../default/images/layout/taskbar_control.png | Bin 0 -> 1030 bytes .../default/images/layout/taskbar_icon.png | Bin 0 -> 3843 bytes .../default/images/layout/toggleSidebar.png | Bin 0 -> 916 bytes .../dwz/themes/default/images/listLine.png | Bin 0 -> 148 bytes .../themes/default/images/login_banner.jpg | Bin 0 -> 101901 bytes .../dwz/themes/default/images/login_bg.png | Bin 0 -> 211 bytes .../default/images/login_content_bg.png | Bin 0 -> 4517 bytes .../themes/default/images/login_header_bg.png | Bin 0 -> 4855 bytes .../dwz/themes/default/images/login_list.png | Bin 0 -> 161 bytes .../dwz/themes/default/images/login_logo.gif | Bin 0 -> 3389 bytes .../dwz/themes/default/images/login_sub.png | Bin 0 -> 4288 bytes .../dwz/themes/default/images/login_title.png | Bin 0 -> 2776 bytes WebContent/dwz/themes/default/images/logo.png | Bin 0 -> 9452 bytes .../dwz/themes/default/images/menu/menu.png | Bin 0 -> 1403 bytes .../dwz/themes/default/images/order_down.gif | Bin 0 -> 850 bytes .../dwz/themes/default/images/order_up.gif | Bin 0 -> 848 bytes .../themes/default/images/pageHeader_bg.png | Bin 0 -> 182 bytes .../dwz/themes/default/images/panel/Thumbs.db | Bin 0 -> 4096 bytes .../dwz/themes/default/images/panel/panel.png | Bin 0 -> 1295 bytes .../default/images/panel/panel_icon.png | Bin 0 -> 779 bytes .../images/progressBar/progressBar_l.gif | Bin 0 -> 5886 bytes .../images/progressBar/progressBar_m.gif | Bin 0 -> 3494 bytes .../images/progressBar/progressBar_s.gif | Bin 0 -> 2530 bytes .../dwz/themes/default/images/search-bg.gif | Bin 0 -> 598 bytes .../dwz/themes/default/images/search-bt.gif | Bin 0 -> 2110 bytes .../default/images/shadow/shadow_c_c.png | Bin 0 -> 118 bytes .../default/images/shadow/shadow_c_l.png | Bin 0 -> 133 bytes .../default/images/shadow/shadow_c_r.png | Bin 0 -> 130 bytes .../default/images/shadow/shadow_f_c.png | Bin 0 -> 130 bytes .../default/images/shadow/shadow_f_l.png | Bin 0 -> 176 bytes .../default/images/shadow/shadow_f_r.png | Bin 0 -> 167 bytes .../default/images/shadow/shadow_h_c.png | Bin 0 -> 126 bytes .../default/images/shadow/shadow_h_l.png | Bin 0 -> 171 bytes .../default/images/shadow/shadow_h_r.png | Bin 0 -> 169 bytes .../default/images/tabs/tabscontrol.png | Bin 0 -> 4605 bytes .../themes/default/images/tabs/tabspage.png | Bin 0 -> 1498 bytes .../default/images/tabs/tabspage_icon.png | Bin 0 -> 370 bytes .../themes/default/images/tabs/tabspanel.png | Bin 0 -> 1935 bytes .../dwz/themes/default/images/themeButton.png | Bin 0 -> 3412 bytes .../dwz/themes/default/images/tree/check.png | Bin 0 -> 4087 bytes .../dwz/themes/default/images/tree/folder.png | Bin 0 -> 1452 bytes .../dwz/themes/default/images/tree/tree.png | Bin 0 -> 4011 bytes WebContent/dwz/themes/default/style.css | 205 + .../green/images/accordion/accordion.png | Bin 0 -> 1653 bytes .../themes/green/images/account_info_bg.png | Bin 0 -> 229 bytes .../themes/green/images/alert/alertpanel.png | Bin 0 -> 238 bytes .../green/images/alert/alertpanel_icon.png | Bin 0 -> 1864 bytes .../themes/green/images/button/button_s.png | Bin 0 -> 3346 bytes .../dwz/themes/green/images/button/imgX.gif | Bin 0 -> 3047 bytes .../green/images/dialog/dialogpanel.png | Bin 0 -> 797 bytes .../green/images/dialog/dialogpanel_icon.png | Bin 0 -> 914 bytes .../dwz/themes/green/images/form/input_bg.png | Bin 0 -> 3655 bytes .../dwz/themes/green/images/form/input_bt.png | Bin 0 -> 4254 bytes .../dwz/themes/green/images/grid/grid.png | Bin 0 -> 7304 bytes .../themes/green/images/grid/resizeCol.png | Bin 0 -> 3569 bytes .../dwz/themes/green/images/grid/tableth.png | Bin 0 -> 3595 bytes .../dwz/themes/green/images/header_bg.png | Bin 0 -> 14517 bytes .../green/images/layout/toggleSidebar.png | Bin 0 -> 1006 bytes .../dwz/themes/green/images/listLine.png | Bin 0 -> 3593 bytes WebContent/dwz/themes/green/images/logo.png | Bin 0 -> 3463 bytes .../dwz/themes/green/images/pageHeader_bg.png | Bin 0 -> 182 bytes .../dwz/themes/green/images/panel/panel.png | Bin 0 -> 807 bytes .../themes/green/images/panel/panel_icon.png | Bin 0 -> 829 bytes .../themes/green/images/tabs/tabscontrol.png | Bin 0 -> 2415 bytes .../dwz/themes/green/images/tabs/tabspage.png | Bin 0 -> 1493 bytes .../green/images/tabs/tabspage_icon.png | Bin 0 -> 386 bytes .../themes/green/images/tabs/tabspanel.png | Bin 0 -> 1696 bytes .../dwz/themes/green/images/tree/tree.png | Bin 0 -> 1756 bytes WebContent/dwz/themes/green/style.css | 195 + .../purple/images/accordion/accordion.png | Bin 0 -> 2035 bytes .../themes/purple/images/account_info_bg.png | Bin 0 -> 229 bytes .../themes/purple/images/alert/alertpanel.png | Bin 0 -> 238 bytes .../purple/images/alert/alertpanel_icon.png | Bin 0 -> 1864 bytes .../themes/purple/images/button/button_s.png | Bin 0 -> 4420 bytes .../dwz/themes/purple/images/button/imgX.gif | Bin 0 -> 3047 bytes .../purple/images/dialog/dialogpanel.png | Bin 0 -> 602 bytes .../purple/images/dialog/dialogpanel_icon.png | Bin 0 -> 3870 bytes .../themes/purple/images/form/input_bg.png | Bin 0 -> 3655 bytes .../themes/purple/images/form/input_bt.png | Bin 0 -> 3578 bytes .../dwz/themes/purple/images/grid/grid.png | Bin 0 -> 6359 bytes .../themes/purple/images/grid/resizeCol.png | Bin 0 -> 3569 bytes .../dwz/themes/purple/images/grid/tableth.png | Bin 0 -> 221 bytes .../dwz/themes/purple/images/header_bg.png | Bin 0 -> 9213 bytes .../themes/purple/images/layout/taskbar.png | Bin 0 -> 1815 bytes .../purple/images/layout/taskbar_control.png | Bin 0 -> 1030 bytes .../purple/images/layout/taskbar_icon.png | Bin 0 -> 3843 bytes .../purple/images/layout/toggleSidebar.png | Bin 0 -> 1401 bytes .../dwz/themes/purple/images/login_bg.png | Bin 0 -> 211 bytes .../themes/purple/images/login_content_bg.png | Bin 0 -> 4517 bytes .../themes/purple/images/login_header_bg.png | Bin 0 -> 4855 bytes .../dwz/themes/purple/images/login_list.png | Bin 0 -> 161 bytes .../dwz/themes/purple/images/menu/menu.png | Bin 0 -> 1493 bytes .../themes/purple/images/pageHeader_bg.png | Bin 0 -> 182 bytes .../dwz/themes/purple/images/panel/panel.png | Bin 0 -> 689 bytes .../themes/purple/images/panel/panel_icon.png | Bin 0 -> 732 bytes .../images/progressBar/progressBar_l.gif | Bin 0 -> 5886 bytes .../images/progressBar/progressBar_m.gif | Bin 0 -> 3494 bytes .../images/progressBar/progressBar_s.gif | Bin 0 -> 2530 bytes .../purple/images/shadow/shadow_c_c.png | Bin 0 -> 118 bytes .../purple/images/shadow/shadow_c_l.png | Bin 0 -> 133 bytes .../purple/images/shadow/shadow_c_r.png | Bin 0 -> 130 bytes .../purple/images/shadow/shadow_f_c.png | Bin 0 -> 130 bytes .../purple/images/shadow/shadow_f_l.png | Bin 0 -> 176 bytes .../purple/images/shadow/shadow_f_r.png | Bin 0 -> 167 bytes .../purple/images/shadow/shadow_h_c.png | Bin 0 -> 126 bytes .../purple/images/shadow/shadow_h_l.png | Bin 0 -> 171 bytes .../purple/images/shadow/shadow_h_r.png | Bin 0 -> 169 bytes .../themes/purple/images/tabs/tabscontrol.png | Bin 0 -> 3895 bytes .../themes/purple/images/tabs/tabspage.png | Bin 0 -> 824 bytes .../purple/images/tabs/tabspage_icon.png | Bin 0 -> 378 bytes .../themes/purple/images/tabs/tabspanel.png | Bin 0 -> 1192 bytes .../dwz/themes/purple/images/tree/check.png | Bin 0 -> 3613 bytes .../dwz/themes/purple/images/tree/folder.png | Bin 0 -> 1452 bytes .../dwz/themes/purple/images/tree/tree.png | Bin 0 -> 3218 bytes WebContent/dwz/themes/purple/style.css | 201 + .../silver/images/accordion/accordion.png | Bin 0 -> 2430 bytes .../themes/silver/images/account_info_bg.png | Bin 0 -> 229 bytes .../themes/silver/images/alert/alertpanel.png | Bin 0 -> 1420 bytes .../silver/images/alert/alertpanel_icon.png | Bin 0 -> 1864 bytes .../themes/silver/images/button/button_s.png | Bin 0 -> 3370 bytes .../dwz/themes/silver/images/button/imgX.gif | Bin 0 -> 3047 bytes .../silver/images/dialog/dialogpanel.png | Bin 0 -> 2333 bytes .../silver/images/dialog/dialogpanel_icon.png | Bin 0 -> 6321 bytes .../themes/silver/images/form/input_bg.png | Bin 0 -> 3655 bytes .../themes/silver/images/form/input_bt.png | Bin 0 -> 4395 bytes .../dwz/themes/silver/images/grid/grid.png | Bin 0 -> 17808 bytes .../themes/silver/images/grid/resizeCol.png | Bin 0 -> 3569 bytes .../dwz/themes/silver/images/grid/tableth.png | Bin 0 -> 221 bytes .../dwz/themes/silver/images/header_bg.png | Bin 0 -> 24882 bytes .../themes/silver/images/layout/taskbar.png | Bin 0 -> 1815 bytes .../silver/images/layout/taskbar_control.png | Bin 0 -> 1030 bytes .../silver/images/layout/taskbar_icon.png | Bin 0 -> 3843 bytes .../silver/images/layout/toggleSidebar.png | Bin 0 -> 2467 bytes .../dwz/themes/silver/images/listLine.png | Bin 0 -> 148 bytes .../dwz/themes/silver/images/menu/menu.png | Bin 0 -> 1403 bytes .../themes/silver/images/pageHeader_bg.png | Bin 0 -> 182 bytes .../dwz/themes/silver/images/panel/panel.png | Bin 0 -> 2353 bytes .../themes/silver/images/panel/panel_icon.png | Bin 0 -> 2224 bytes .../images/progressBar/progressBar_l.gif | Bin 0 -> 5886 bytes .../images/progressBar/progressBar_m.gif | Bin 0 -> 3494 bytes .../images/progressBar/progressBar_s.gif | Bin 0 -> 2530 bytes .../silver/images/shadow/shadow_c_c.png | Bin 0 -> 118 bytes .../silver/images/shadow/shadow_c_l.png | Bin 0 -> 133 bytes .../silver/images/shadow/shadow_c_r.png | Bin 0 -> 130 bytes .../silver/images/shadow/shadow_f_c.png | Bin 0 -> 130 bytes .../silver/images/shadow/shadow_f_l.png | Bin 0 -> 176 bytes .../silver/images/shadow/shadow_f_r.png | Bin 0 -> 167 bytes .../silver/images/shadow/shadow_h_c.png | Bin 0 -> 126 bytes .../silver/images/shadow/shadow_h_l.png | Bin 0 -> 171 bytes .../silver/images/shadow/shadow_h_r.png | Bin 0 -> 169 bytes .../themes/silver/images/tabs/tabscontrol.png | Bin 0 -> 6233 bytes .../themes/silver/images/tabs/tabspage.png | Bin 0 -> 3808 bytes .../silver/images/tabs/tabspage_icon.png | Bin 0 -> 1339 bytes .../themes/silver/images/tabs/tabspanel.png | Bin 0 -> 4784 bytes .../dwz/themes/silver/images/tree/check.png | Bin 0 -> 4087 bytes .../dwz/themes/silver/images/tree/folder.png | Bin 0 -> 1452 bytes .../dwz/themes/silver/images/tree/tree.png | Bin 0 -> 4011 bytes WebContent/dwz/themes/silver/style.css | 200 + WebContent/dwz/uploadify/Change Log.txt | 18 + WebContent/dwz/uploadify/css/uploadify.css | 93 + WebContent/dwz/uploadify/img/add.jpg | Bin 0 -> 2489 bytes WebContent/dwz/uploadify/img/cancel.jpg | Bin 0 -> 3179 bytes WebContent/dwz/uploadify/img/delete.jpg | Bin 0 -> 2435 bytes WebContent/dwz/uploadify/img/upload.jpg | Bin 0 -> 3212 bytes .../dwz/uploadify/img/uploadify-cancel.png | Bin 0 -> 2960 bytes .../dwz/uploadify/scripts/jquery.uploadify.js | 986 ++ .../uploadify/scripts/jquery.uploadify.min.js | 16 + .../dwz/uploadify/scripts/uploadify.swf | Bin 0 -> 12675 bytes WebContent/dwz/validate_remote.html | 1 + WebContent/dwz/w_accordion.html | 106 + WebContent/dwz/w_alert.html | 58 + WebContent/dwz/w_button.html | 35 + WebContent/dwz/w_checkbox.html | 29 + WebContent/dwz/w_combox.html | 31 + WebContent/dwz/w_datepicker.html | 127 + WebContent/dwz/w_dialog.html | 29 + WebContent/dwz/w_editor.html | 77 + WebContent/dwz/w_list.html | 331 + WebContent/dwz/w_panel.html | 71 + WebContent/dwz/w_removeSelected.html | 378 + WebContent/dwz/w_tabs.html | 73 + WebContent/dwz/w_textInput.html | 60 + WebContent/dwz/w_tree.html | 91 + WebContent/dwz/w_uploadify.html | 97 + WebContent/dwz/w_validation.html | 164 + WebContent/dwz/window_open.html | 15 + WebContent/dwz/xheditor/xheditor-1.2.1.min.js | 5 + .../xheditor/xheditor_emot/default/angry.gif | Bin 0 -> 8033 bytes .../xheditor_emot/default/awkward.gif | Bin 0 -> 3716 bytes .../xheditor/xheditor_emot/default/bye.gif | Bin 0 -> 1798 bytes .../xheditor/xheditor_emot/default/config.txt | 1 + .../xheditor/xheditor_emot/default/crazy.gif | Bin 0 -> 8137 bytes .../xheditor/xheditor_emot/default/cry.gif | Bin 0 -> 1866 bytes .../xheditor/xheditor_emot/default/curse.gif | Bin 0 -> 5174 bytes .../xheditor/xheditor_emot/default/cute.gif | Bin 0 -> 2362 bytes .../xheditor_emot/default/despise.gif | Bin 0 -> 1755 bytes .../xheditor/xheditor_emot/default/doubt.gif | Bin 0 -> 7189 bytes .../xheditor/xheditor_emot/default/envy.gif | Bin 0 -> 1804 bytes .../xheditor_emot/default/fastcry.gif | Bin 0 -> 3073 bytes .../xheditor/xheditor_emot/default/knock.gif | Bin 0 -> 1674 bytes .../xheditor/xheditor_emot/default/laugh.gif | Bin 0 -> 1736 bytes .../xheditor/xheditor_emot/default/mad.gif | Bin 0 -> 1413 bytes .../xheditor/xheditor_emot/default/ohmy.gif | Bin 0 -> 4006 bytes .../xheditor/xheditor_emot/default/panic.gif | Bin 0 -> 4014 bytes .../xheditor/xheditor_emot/default/proud.gif | Bin 0 -> 1977 bytes .../xheditor/xheditor_emot/default/quiet.gif | Bin 0 -> 4317 bytes .../xheditor/xheditor_emot/default/sad.gif | Bin 0 -> 1562 bytes .../xheditor/xheditor_emot/default/shutup.gif | Bin 0 -> 3929 bytes .../xheditor/xheditor_emot/default/shy.gif | Bin 0 -> 3556 bytes .../xheditor/xheditor_emot/default/sleep.gif | Bin 0 -> 4679 bytes .../xheditor/xheditor_emot/default/smile.gif | Bin 0 -> 1810 bytes .../xheditor_emot/default/struggle.gif | Bin 0 -> 1780 bytes .../xheditor/xheditor_emot/default/titter.gif | Bin 0 -> 1808 bytes .../xheditor/xheditor_emot/default/tongue.gif | Bin 0 -> 2247 bytes .../xheditor/xheditor_emot/default/wail.gif | Bin 0 -> 3298 bytes .../xheditor_emot/default/wronged.gif | Bin 0 -> 6361 bytes .../dwz/xheditor/xheditor_emot/ipb/alien.gif | Bin 0 -> 521 bytes .../dwz/xheditor/xheditor_emot/ipb/angel.gif | Bin 0 -> 859 bytes .../dwz/xheditor/xheditor_emot/ipb/angry.gif | Bin 0 -> 799 bytes .../dwz/xheditor/xheditor_emot/ipb/bandit.gif | Bin 0 -> 681 bytes .../xheditor/xheditor_emot/ipb/biglaugh.gif | Bin 0 -> 767 bytes .../dwz/xheditor/xheditor_emot/ipb/blink.gif | Bin 0 -> 785 bytes .../dwz/xheditor/xheditor_emot/ipb/blush.gif | Bin 0 -> 812 bytes .../dwz/xheditor/xheditor_emot/ipb/config.txt | 1 + .../dwz/xheditor/xheditor_emot/ipb/cool.gif | Bin 0 -> 790 bytes .../dwz/xheditor/xheditor_emot/ipb/cry.gif | Bin 0 -> 781 bytes .../dwz/xheditor/xheditor_emot/ipb/depres.gif | Bin 0 -> 800 bytes .../dwz/xheditor/xheditor_emot/ipb/devil.gif | Bin 0 -> 803 bytes .../dwz/xheditor/xheditor_emot/ipb/glare.gif | Bin 0 -> 796 bytes .../dwz/xheditor/xheditor_emot/ipb/heart.gif | Bin 0 -> 677 bytes .../dwz/xheditor/xheditor_emot/ipb/joyful.gif | Bin 0 -> 803 bytes .../dwz/xheditor/xheditor_emot/ipb/kiss.gif | Bin 0 -> 803 bytes .../dwz/xheditor/xheditor_emot/ipb/laugh.gif | Bin 0 -> 775 bytes .../xheditor/xheditor_emot/ipb/magician.gif | Bin 0 -> 968 bytes .../dwz/xheditor/xheditor_emot/ipb/ninja.gif | Bin 0 -> 731 bytes .../dwz/xheditor/xheditor_emot/ipb/pinch.gif | Bin 0 -> 806 bytes .../dwz/xheditor/xheditor_emot/ipb/police.gif | Bin 0 -> 754 bytes .../dwz/xheditor/xheditor_emot/ipb/sad.gif | Bin 0 -> 801 bytes .../dwz/xheditor/xheditor_emot/ipb/sick.gif | Bin 0 -> 795 bytes .../xheditor/xheditor_emot/ipb/sideways.gif | Bin 0 -> 796 bytes .../dwz/xheditor/xheditor_emot/ipb/sleep.gif | Bin 0 -> 833 bytes .../dwz/xheditor/xheditor_emot/ipb/smile.gif | Bin 0 -> 809 bytes .../xheditor/xheditor_emot/ipb/surprised.gif | Bin 0 -> 801 bytes .../dwz/xheditor/xheditor_emot/ipb/tongue.gif | Bin 0 -> 792 bytes .../dwz/xheditor/xheditor_emot/ipb/unsure.gif | Bin 0 -> 792 bytes .../dwz/xheditor/xheditor_emot/ipb/w00t.gif | Bin 0 -> 693 bytes .../xheditor/xheditor_emot/ipb/whistling.gif | Bin 0 -> 841 bytes .../xheditor/xheditor_emot/ipb/wondering.gif | Bin 0 -> 810 bytes .../dwz/xheditor/xheditor_emot/ipb/wub.gif | Bin 0 -> 792 bytes .../dwz/xheditor/xheditor_emot/msn/1.gif | Bin 0 -> 1034 bytes .../dwz/xheditor/xheditor_emot/msn/10.gif | Bin 0 -> 1070 bytes .../dwz/xheditor/xheditor_emot/msn/11.gif | Bin 0 -> 1052 bytes .../dwz/xheditor/xheditor_emot/msn/12.gif | Bin 0 -> 1056 bytes .../dwz/xheditor/xheditor_emot/msn/13.gif | Bin 0 -> 1045 bytes .../dwz/xheditor/xheditor_emot/msn/14.gif | Bin 0 -> 1047 bytes .../dwz/xheditor/xheditor_emot/msn/15.gif | Bin 0 -> 1155 bytes .../dwz/xheditor/xheditor_emot/msn/16.gif | Bin 0 -> 1149 bytes .../dwz/xheditor/xheditor_emot/msn/17.gif | Bin 0 -> 1167 bytes .../dwz/xheditor/xheditor_emot/msn/18.gif | Bin 0 -> 1161 bytes .../dwz/xheditor/xheditor_emot/msn/19.gif | Bin 0 -> 1107 bytes .../dwz/xheditor/xheditor_emot/msn/2.gif | Bin 0 -> 1057 bytes .../dwz/xheditor/xheditor_emot/msn/20.gif | Bin 0 -> 1167 bytes .../dwz/xheditor/xheditor_emot/msn/21.gif | Bin 0 -> 544 bytes .../dwz/xheditor/xheditor_emot/msn/22.gif | Bin 0 -> 1680 bytes .../dwz/xheditor/xheditor_emot/msn/23.gif | Bin 0 -> 1318 bytes .../dwz/xheditor/xheditor_emot/msn/24.gif | Bin 0 -> 1436 bytes .../dwz/xheditor/xheditor_emot/msn/25.gif | Bin 0 -> 708 bytes .../dwz/xheditor/xheditor_emot/msn/26.gif | Bin 0 -> 1015 bytes .../dwz/xheditor/xheditor_emot/msn/27.gif | Bin 0 -> 987 bytes .../dwz/xheditor/xheditor_emot/msn/28.gif | Bin 0 -> 992 bytes .../dwz/xheditor/xheditor_emot/msn/29.gif | Bin 0 -> 1013 bytes .../dwz/xheditor/xheditor_emot/msn/3.gif | Bin 0 -> 1055 bytes .../dwz/xheditor/xheditor_emot/msn/30.gif | Bin 0 -> 1027 bytes .../dwz/xheditor/xheditor_emot/msn/31.gif | Bin 0 -> 975 bytes .../dwz/xheditor/xheditor_emot/msn/32.gif | Bin 0 -> 1056 bytes .../dwz/xheditor/xheditor_emot/msn/33.gif | Bin 0 -> 953 bytes .../dwz/xheditor/xheditor_emot/msn/34.gif | Bin 0 -> 1016 bytes .../dwz/xheditor/xheditor_emot/msn/35.gif | Bin 0 -> 972 bytes .../dwz/xheditor/xheditor_emot/msn/36.gif | Bin 0 -> 989 bytes .../dwz/xheditor/xheditor_emot/msn/37.gif | Bin 0 -> 1102 bytes .../dwz/xheditor/xheditor_emot/msn/38.gif | Bin 0 -> 617 bytes .../dwz/xheditor/xheditor_emot/msn/39.gif | Bin 0 -> 601 bytes .../dwz/xheditor/xheditor_emot/msn/4.gif | Bin 0 -> 1055 bytes .../dwz/xheditor/xheditor_emot/msn/40.gif | Bin 0 -> 630 bytes .../dwz/xheditor/xheditor_emot/msn/5.gif | Bin 0 -> 1868 bytes .../dwz/xheditor/xheditor_emot/msn/6.gif | Bin 0 -> 1032 bytes .../dwz/xheditor/xheditor_emot/msn/7.gif | Bin 0 -> 1031 bytes .../dwz/xheditor/xheditor_emot/msn/8.gif | Bin 0 -> 1032 bytes .../dwz/xheditor/xheditor_emot/msn/9.gif | Bin 0 -> 3531 bytes .../xheditor/xheditor_emot/pidgin/angry.gif | Bin 0 -> 864 bytes .../dwz/xheditor/xheditor_emot/pidgin/bad.gif | Bin 0 -> 705 bytes .../xheditor/xheditor_emot/pidgin/blush.gif | Bin 0 -> 878 bytes .../xheditor_emot/pidgin/brokenheart.gif | Bin 0 -> 783 bytes .../dwz/xheditor/xheditor_emot/pidgin/bye.gif | Bin 0 -> 913 bytes .../xheditor/xheditor_emot/pidgin/coffee.gif | Bin 0 -> 789 bytes .../xheditor/xheditor_emot/pidgin/config.txt | 1 + .../xheditor/xheditor_emot/pidgin/cool.gif | Bin 0 -> 872 bytes .../dwz/xheditor/xheditor_emot/pidgin/cry.gif | Bin 0 -> 886 bytes .../xheditor/xheditor_emot/pidgin/curse.gif | Bin 0 -> 902 bytes .../xheditor/xheditor_emot/pidgin/cute.gif | Bin 0 -> 851 bytes .../xheditor/xheditor_emot/pidgin/devil.gif | Bin 0 -> 902 bytes .../xheditor/xheditor_emot/pidgin/envy.gif | Bin 0 -> 899 bytes .../xheditor/xheditor_emot/pidgin/gift.gif | Bin 0 -> 729 bytes .../xheditor/xheditor_emot/pidgin/good.gif | Bin 0 -> 678 bytes .../xheditor/xheditor_emot/pidgin/kiss.gif | Bin 0 -> 903 bytes .../xheditor/xheditor_emot/pidgin/laugh.gif | Bin 0 -> 869 bytes .../xheditor/xheditor_emot/pidgin/love.gif | Bin 0 -> 717 bytes .../xheditor/xheditor_emot/pidgin/music.gif | Bin 0 -> 706 bytes .../xheditor_emot/pidgin/question.gif | Bin 0 -> 934 bytes .../xheditor/xheditor_emot/pidgin/rose.gif | Bin 0 -> 689 bytes .../dwz/xheditor/xheditor_emot/pidgin/sad.gif | Bin 0 -> 904 bytes .../xheditor/xheditor_emot/pidgin/shocked.gif | Bin 0 -> 868 bytes .../xheditor/xheditor_emot/pidgin/shout.gif | Bin 0 -> 896 bytes .../xheditor/xheditor_emot/pidgin/sick.gif | Bin 0 -> 903 bytes .../xheditor/xheditor_emot/pidgin/sleepy.gif | Bin 0 -> 927 bytes .../xheditor/xheditor_emot/pidgin/smile.gif | Bin 0 -> 857 bytes .../xheditor/xheditor_emot/pidgin/soccer.gif | Bin 0 -> 828 bytes .../xheditor/xheditor_emot/pidgin/sweat.gif | Bin 0 -> 886 bytes .../xheditor/xheditor_emot/pidgin/tired.gif | Bin 0 -> 879 bytes .../xheditor/xheditor_emot/pidgin/tongue.gif | Bin 0 -> 881 bytes .../xheditor/xheditor_emot/pidgin/victory.gif | Bin 0 -> 919 bytes .../xheditor/xheditor_emot/pidgin/wink.gif | Bin 0 -> 896 bytes WebContent/dwz/xheditor/xheditor_lang/en.js | 196 + .../dwz/xheditor/xheditor_lang/zh-cn.js | 196 + .../dwz/xheditor/xheditor_lang/zh-tw.js | 196 + .../xheditor_plugins/html2markdown.js | 568 + .../xheditor_plugins/htmldomparser.js | 98 + .../xheditor_plugins/multiupload/img/add.gif | Bin 0 -> 1342 bytes .../xheditor_plugins/multiupload/img/bg1.gif | Bin 0 -> 856 bytes .../xheditor_plugins/multiupload/img/bg2.gif | Bin 0 -> 816 bytes .../multiupload/img/btnbg.gif | Bin 0 -> 416 bytes .../multiupload/img/btnbgr.gif | Bin 0 -> 206 bytes .../multiupload/img/clear.gif | Bin 0 -> 638 bytes .../multiupload/img/progressbg.gif | Bin 0 -> 103 bytes .../multiupload/img/start.gif | Bin 0 -> 239 bytes .../multiupload/multiupload.css | 61 + .../multiupload/multiupload.html | 120 + .../multiupload/multiupload.js | 125 + .../multiupload/swfupload/swfupload.js | 980 ++ .../multiupload/swfupload/swfupload.swf | Bin 0 -> 12787 bytes .../dwz/xheditor/xheditor_plugins/showdown.js | 62 + .../dwz/xheditor/xheditor_plugins/ubb.js | 286 + .../dwz/xheditor/xheditor_skin/blank.gif | Bin 0 -> 43 bytes .../xheditor/xheditor_skin/default/iframe.css | 32 + .../xheditor_skin/default/img/anchor.gif | Bin 0 -> 184 bytes .../xheditor_skin/default/img/close.gif | Bin 0 -> 128 bytes .../xheditor_skin/default/img/flash.gif | Bin 0 -> 241 bytes .../xheditor_skin/default/img/icons.gif | Bin 0 -> 4813 bytes .../xheditor_skin/default/img/loading.gif | Bin 0 -> 1480 bytes .../xheditor_skin/default/img/progress.gif | Bin 0 -> 94 bytes .../xheditor_skin/default/img/progressbg.gif | Bin 0 -> 93 bytes .../xheditor_skin/default/img/tag-address.gif | Bin 0 -> 108 bytes .../xheditor_skin/default/img/tag-div.gif | Bin 0 -> 89 bytes .../xheditor_skin/default/img/tag-h1.gif | Bin 0 -> 84 bytes .../xheditor_skin/default/img/tag-h2.gif | Bin 0 -> 86 bytes .../xheditor_skin/default/img/tag-h3.gif | Bin 0 -> 86 bytes .../xheditor_skin/default/img/tag-h4.gif | Bin 0 -> 86 bytes .../xheditor_skin/default/img/tag-h5.gif | Bin 0 -> 86 bytes .../xheditor_skin/default/img/tag-h6.gif | Bin 0 -> 86 bytes .../xheditor_skin/default/img/tag-p.gif | Bin 0 -> 80 bytes .../xheditor_skin/default/img/tag-pre.gif | Bin 0 -> 90 bytes .../xheditor_skin/default/img/waiting.gif | Bin 0 -> 597 bytes .../xheditor_skin/default/img/wmp.gif | Bin 0 -> 415 bytes .../xheditor_skin/default/img/wordimg.gif | Bin 0 -> 2684 bytes .../dwz/xheditor/xheditor_skin/default/ui.css | 142 + .../xheditor/xheditor_skin/nostyle/iframe.css | 31 + .../xheditor_skin/nostyle/img/anchor.gif | Bin 0 -> 184 bytes .../xheditor_skin/nostyle/img/close.gif | Bin 0 -> 128 bytes .../xheditor_skin/nostyle/img/flash.gif | Bin 0 -> 241 bytes .../xheditor_skin/nostyle/img/icons.gif | Bin 0 -> 5351 bytes .../xheditor_skin/nostyle/img/loading.gif | Bin 0 -> 1480 bytes .../xheditor_skin/nostyle/img/progress.gif | Bin 0 -> 94 bytes .../xheditor_skin/nostyle/img/progressbg.gif | Bin 0 -> 93 bytes .../xheditor_skin/nostyle/img/tag-address.gif | Bin 0 -> 108 bytes .../xheditor_skin/nostyle/img/tag-div.gif | Bin 0 -> 89 bytes .../xheditor_skin/nostyle/img/tag-h1.gif | Bin 0 -> 84 bytes .../xheditor_skin/nostyle/img/tag-h2.gif | Bin 0 -> 86 bytes .../xheditor_skin/nostyle/img/tag-h3.gif | Bin 0 -> 86 bytes .../xheditor_skin/nostyle/img/tag-h4.gif | Bin 0 -> 86 bytes .../xheditor_skin/nostyle/img/tag-h5.gif | Bin 0 -> 86 bytes .../xheditor_skin/nostyle/img/tag-h6.gif | Bin 0 -> 86 bytes .../xheditor_skin/nostyle/img/tag-p.gif | Bin 0 -> 80 bytes .../xheditor_skin/nostyle/img/tag-pre.gif | Bin 0 -> 90 bytes .../xheditor_skin/nostyle/img/waiting.gif | Bin 0 -> 597 bytes .../xheditor_skin/nostyle/img/wmp.gif | Bin 0 -> 415 bytes .../xheditor_skin/nostyle/img/wordimg.gif | Bin 0 -> 2684 bytes .../dwz/xheditor/xheditor_skin/nostyle/ui.css | 142 + .../xheditor_skin/o2007blue/iframe.css | 31 + .../xheditor_skin/o2007blue/img/anchor.gif | Bin 0 -> 184 bytes .../xheditor_skin/o2007blue/img/buttonbg.gif | Bin 0 -> 844 bytes .../xheditor_skin/o2007blue/img/close.gif | Bin 0 -> 128 bytes .../xheditor_skin/o2007blue/img/flash.gif | Bin 0 -> 241 bytes .../xheditor_skin/o2007blue/img/icons.gif | Bin 0 -> 4813 bytes .../xheditor_skin/o2007blue/img/loading.gif | Bin 0 -> 1480 bytes .../xheditor_skin/o2007blue/img/progress.gif | Bin 0 -> 94 bytes .../o2007blue/img/progressbg.gif | Bin 0 -> 93 bytes .../o2007blue/img/tag-address.gif | Bin 0 -> 108 bytes .../xheditor_skin/o2007blue/img/tag-div.gif | Bin 0 -> 89 bytes .../xheditor_skin/o2007blue/img/tag-h1.gif | Bin 0 -> 84 bytes .../xheditor_skin/o2007blue/img/tag-h2.gif | Bin 0 -> 86 bytes .../xheditor_skin/o2007blue/img/tag-h3.gif | Bin 0 -> 86 bytes .../xheditor_skin/o2007blue/img/tag-h4.gif | Bin 0 -> 86 bytes .../xheditor_skin/o2007blue/img/tag-h5.gif | Bin 0 -> 86 bytes .../xheditor_skin/o2007blue/img/tag-h6.gif | Bin 0 -> 86 bytes .../xheditor_skin/o2007blue/img/tag-p.gif | Bin 0 -> 80 bytes .../xheditor_skin/o2007blue/img/tag-pre.gif | Bin 0 -> 90 bytes .../xheditor_skin/o2007blue/img/waiting.gif | Bin 0 -> 628 bytes .../xheditor_skin/o2007blue/img/wmp.gif | Bin 0 -> 415 bytes .../xheditor_skin/o2007blue/img/wordimg.gif | Bin 0 -> 2684 bytes .../xheditor/xheditor_skin/o2007blue/ui.css | 141 + .../xheditor_skin/o2007silver/iframe.css | 31 + .../xheditor_skin/o2007silver/img/anchor.gif | Bin 0 -> 184 bytes .../o2007silver/img/buttonbg.gif | Bin 0 -> 735 bytes .../xheditor_skin/o2007silver/img/close.gif | Bin 0 -> 128 bytes .../xheditor_skin/o2007silver/img/flash.gif | Bin 0 -> 241 bytes .../xheditor_skin/o2007silver/img/icons.gif | Bin 0 -> 4813 bytes .../xheditor_skin/o2007silver/img/loading.gif | Bin 0 -> 1480 bytes .../o2007silver/img/progress.gif | Bin 0 -> 94 bytes .../o2007silver/img/progressbg.gif | Bin 0 -> 93 bytes .../o2007silver/img/tag-address.gif | Bin 0 -> 108 bytes .../xheditor_skin/o2007silver/img/tag-div.gif | Bin 0 -> 89 bytes .../xheditor_skin/o2007silver/img/tag-h1.gif | Bin 0 -> 84 bytes .../xheditor_skin/o2007silver/img/tag-h2.gif | Bin 0 -> 86 bytes .../xheditor_skin/o2007silver/img/tag-h3.gif | Bin 0 -> 86 bytes .../xheditor_skin/o2007silver/img/tag-h4.gif | Bin 0 -> 86 bytes .../xheditor_skin/o2007silver/img/tag-h5.gif | Bin 0 -> 86 bytes .../xheditor_skin/o2007silver/img/tag-h6.gif | Bin 0 -> 86 bytes .../xheditor_skin/o2007silver/img/tag-p.gif | Bin 0 -> 80 bytes .../xheditor_skin/o2007silver/img/tag-pre.gif | Bin 0 -> 90 bytes .../xheditor_skin/o2007silver/img/waiting.gif | Bin 0 -> 628 bytes .../xheditor_skin/o2007silver/img/wmp.gif | Bin 0 -> 415 bytes .../xheditor_skin/o2007silver/img/wordimg.gif | Bin 0 -> 2684 bytes .../xheditor/xheditor_skin/o2007silver/ui.css | 141 + .../xheditor/xheditor_skin/vista/iframe.css | 31 + .../xheditor_skin/vista/img/anchor.gif | Bin 0 -> 184 bytes .../xheditor_skin/vista/img/buttonbg.gif | Bin 0 -> 916 bytes .../xheditor_skin/vista/img/close.gif | Bin 0 -> 1210 bytes .../xheditor_skin/vista/img/flash.gif | Bin 0 -> 241 bytes .../xheditor_skin/vista/img/icons.gif | Bin 0 -> 4813 bytes .../xheditor_skin/vista/img/loading.gif | Bin 0 -> 1480 bytes .../xheditor_skin/vista/img/progress.gif | Bin 0 -> 94 bytes .../xheditor_skin/vista/img/progressbg.gif | Bin 0 -> 93 bytes .../xheditor_skin/vista/img/tag-address.gif | Bin 0 -> 108 bytes .../xheditor_skin/vista/img/tag-div.gif | Bin 0 -> 89 bytes .../xheditor_skin/vista/img/tag-h1.gif | Bin 0 -> 84 bytes .../xheditor_skin/vista/img/tag-h2.gif | Bin 0 -> 86 bytes .../xheditor_skin/vista/img/tag-h3.gif | Bin 0 -> 86 bytes .../xheditor_skin/vista/img/tag-h4.gif | Bin 0 -> 86 bytes .../xheditor_skin/vista/img/tag-h5.gif | Bin 0 -> 86 bytes .../xheditor_skin/vista/img/tag-h6.gif | Bin 0 -> 86 bytes .../xheditor_skin/vista/img/tag-p.gif | Bin 0 -> 80 bytes .../xheditor_skin/vista/img/tag-pre.gif | Bin 0 -> 90 bytes .../xheditor_skin/vista/img/titlebg.gif | Bin 0 -> 153 bytes .../xheditor_skin/vista/img/waiting.gif | Bin 0 -> 628 bytes .../xheditor/xheditor_skin/vista/img/wmp.gif | Bin 0 -> 415 bytes .../xheditor_skin/vista/img/wordimg.gif | Bin 0 -> 2684 bytes .../dwz/xheditor/xheditor_skin/vista/ui.css | 142 + WebContent/index.jsp | 369 +- WebContent/index_old.jsp | 48 + 653 files changed, 42132 insertions(+), 38 deletions(-) create mode 100644 WebContent/dwz/.project create mode 100644 WebContent/dwz/bin/ESC.wsf create mode 100644 WebContent/dwz/bin/dwz.min.js create mode 100644 WebContent/dwz/bin/gzip.exe create mode 100644 WebContent/dwz/bin/gzjs.bat create mode 100644 WebContent/dwz/changepwd.html create mode 100644 WebContent/dwz/chart/g.bar.js create mode 100644 WebContent/dwz/chart/g.dot.js create mode 100644 WebContent/dwz/chart/g.line.js create mode 100644 WebContent/dwz/chart/g.pie.js create mode 100644 WebContent/dwz/chart/g.raphael.js create mode 100644 WebContent/dwz/chart/raphael-min.js create mode 100644 WebContent/dwz/chart/raphael.js create mode 100644 WebContent/dwz/chart/test/barchart.html create mode 100644 WebContent/dwz/chart/test/hbarchart.html create mode 100644 WebContent/dwz/chart/test/linechart.html create mode 100644 WebContent/dwz/chart/test/linechart2.html create mode 100644 WebContent/dwz/chart/test/linechart3.html create mode 100644 WebContent/dwz/chart/test/piechart.html create mode 100644 WebContent/dwz/demo/combox/area_all.html create mode 100644 WebContent/dwz/demo/combox/area_bj.html create mode 100644 WebContent/dwz/demo/combox/area_sh.html create mode 100644 WebContent/dwz/demo/combox/city_all.html create mode 100644 WebContent/dwz/demo/combox/city_bj.html create mode 100644 WebContent/dwz/demo/combox/city_sh.html create mode 100644 WebContent/dwz/demo/common/ajaxDone.html create mode 100644 WebContent/dwz/demo/common/ajaxDone.json create mode 100644 WebContent/dwz/demo/common/ajaxTimeout.html create mode 100644 WebContent/dwz/demo/common/dwz-team.xls create mode 100644 WebContent/dwz/demo/database/.tmp_db_widget.html.19591~ create mode 100644 WebContent/dwz/demo/database/db_attachmentBrightBack.html create mode 100644 WebContent/dwz/demo/database/db_attachmentLookup.html create mode 100644 WebContent/dwz/demo/database/db_lookupSuggest.html create mode 100644 WebContent/dwz/demo/database/db_select.html create mode 100644 WebContent/dwz/demo/database/db_widget.html create mode 100644 WebContent/dwz/demo/database/dwzOrgLookup.html create mode 100644 WebContent/dwz/demo/database/dwzOrgLookup2.html create mode 100644 WebContent/dwz/demo/database/treeBringBack.html create mode 100644 WebContent/dwz/demo/database/treeLookup.html create mode 100644 WebContent/dwz/demo/pagination/ajaxDone1.html create mode 100644 WebContent/dwz/demo/pagination/ajaxDone2.html create mode 100644 WebContent/dwz/demo/pagination/ajaxDone3.html create mode 100644 WebContent/dwz/demo/pagination/dialog1.html create mode 100644 WebContent/dwz/demo/pagination/dialog2.html create mode 100644 WebContent/dwz/demo/pagination/layout1.html create mode 100644 WebContent/dwz/demo/pagination/layout2.html create mode 100644 WebContent/dwz/demo/pagination/list1.html create mode 100644 WebContent/dwz/demo/pagination/list2.html create mode 100644 WebContent/dwz/demo/pagination/list3.html create mode 100644 WebContent/dwz/demo/sortDrag/1.html create mode 100644 WebContent/dwz/demo/sortDrag/2.html create mode 100644 WebContent/dwz/demo_page1.html create mode 100644 WebContent/dwz/demo_page2.html create mode 100644 WebContent/dwz/demo_page4.html create mode 100644 WebContent/dwz/demo_page5.html create mode 100644 WebContent/dwz/demo_page6.html create mode 100644 WebContent/dwz/demo_upload.html create mode 100644 WebContent/dwz/doc/dwz-user-guide.chm create mode 100644 WebContent/dwz/dwz.frag.xml create mode 100644 WebContent/dwz/favicon.ico create mode 100644 WebContent/dwz/index.html create mode 100644 WebContent/dwz/index_menu.html create mode 100644 WebContent/dwz/js/dwz.accordion.js create mode 100644 WebContent/dwz/js/dwz.ajax.js create mode 100644 WebContent/dwz/js/dwz.alertMsg.js create mode 100644 WebContent/dwz/js/dwz.barDrag.js create mode 100644 WebContent/dwz/js/dwz.checkbox.js create mode 100644 WebContent/dwz/js/dwz.combox.js create mode 100644 WebContent/dwz/js/dwz.contextmenu.js create mode 100644 WebContent/dwz/js/dwz.core.js create mode 100644 WebContent/dwz/js/dwz.cssTable.js create mode 100644 WebContent/dwz/js/dwz.database.js create mode 100644 WebContent/dwz/js/dwz.datepicker.js create mode 100644 WebContent/dwz/js/dwz.dialog.js create mode 100644 WebContent/dwz/js/dwz.dialogDrag.js create mode 100644 WebContent/dwz/js/dwz.drag.js create mode 100644 WebContent/dwz/js/dwz.effects.js create mode 100644 WebContent/dwz/js/dwz.history.js create mode 100644 WebContent/dwz/js/dwz.navTab.js create mode 100644 WebContent/dwz/js/dwz.pagination.js create mode 100644 WebContent/dwz/js/dwz.panel.js create mode 100644 WebContent/dwz/js/dwz.print.js create mode 100644 WebContent/dwz/js/dwz.regional.zh.js create mode 100644 WebContent/dwz/js/dwz.resize.js create mode 100644 WebContent/dwz/js/dwz.scrollCenter.js create mode 100644 WebContent/dwz/js/dwz.sortDrag.js create mode 100644 WebContent/dwz/js/dwz.stable.js create mode 100644 WebContent/dwz/js/dwz.switchEnv.js create mode 100644 WebContent/dwz/js/dwz.tab.js create mode 100644 WebContent/dwz/js/dwz.taskBar.js create mode 100644 WebContent/dwz/js/dwz.theme.js create mode 100644 WebContent/dwz/js/dwz.tree.js create mode 100644 WebContent/dwz/js/dwz.ui.js create mode 100644 WebContent/dwz/js/dwz.util.date.js create mode 100644 WebContent/dwz/js/dwz.util.number.js create mode 100644 WebContent/dwz/js/dwz.validate.method.js create mode 100644 WebContent/dwz/js/jquery-1.7.2.js create mode 100644 WebContent/dwz/js/jquery-1.7.2.min.js create mode 100644 WebContent/dwz/js/jquery.bgiframe.js create mode 100644 WebContent/dwz/js/jquery.cookie.js create mode 100644 WebContent/dwz/js/jquery.easing.1.3.js create mode 100644 WebContent/dwz/js/jquery.validate.js create mode 100644 WebContent/dwz/js/jquery.validate.min.js create mode 100644 WebContent/dwz/js/speedup.js create mode 100644 WebContent/dwz/login.html create mode 100644 WebContent/dwz/login_dialog.html create mode 100644 WebContent/dwz/main.html create mode 100644 WebContent/dwz/newPage1.html create mode 100644 WebContent/dwz/newPage2.html create mode 100644 WebContent/dwz/newPage3.html create mode 100644 WebContent/dwz/sidebar_1.html create mode 100644 WebContent/dwz/sidebar_2.html create mode 100644 WebContent/dwz/tabsPage.html create mode 100644 WebContent/dwz/themes/azure/images/accordion/accordion.png create mode 100644 WebContent/dwz/themes/azure/images/account_info_bg.png create mode 100644 WebContent/dwz/themes/azure/images/alert/alertpanel.png create mode 100644 WebContent/dwz/themes/azure/images/alert/alertpanel_icon.png create mode 100644 WebContent/dwz/themes/azure/images/button/button_s.png create mode 100644 WebContent/dwz/themes/azure/images/button/imgX.gif create mode 100644 WebContent/dwz/themes/azure/images/button/imgX.png create mode 100644 WebContent/dwz/themes/azure/images/dialog/dialogpanel.png create mode 100644 WebContent/dwz/themes/azure/images/dialog/dialogpanel_icon.png create mode 100644 WebContent/dwz/themes/azure/images/form/input_bg.png create mode 100644 WebContent/dwz/themes/azure/images/form/input_bt.png create mode 100644 WebContent/dwz/themes/azure/images/grid/Thumbs.db create mode 100644 WebContent/dwz/themes/azure/images/grid/grid.png create mode 100644 WebContent/dwz/themes/azure/images/grid/resizeCol.png create mode 100644 WebContent/dwz/themes/azure/images/grid/tableth.png create mode 100644 WebContent/dwz/themes/azure/images/header_bg.png create mode 100644 WebContent/dwz/themes/azure/images/icon.png create mode 100644 WebContent/dwz/themes/azure/images/layout/Thumbs.db create mode 100644 WebContent/dwz/themes/azure/images/layout/taskbar.png create mode 100644 WebContent/dwz/themes/azure/images/layout/taskbar_control.png create mode 100644 WebContent/dwz/themes/azure/images/layout/taskbar_icon.png create mode 100644 WebContent/dwz/themes/azure/images/layout/toggleSidebar.png create mode 100644 WebContent/dwz/themes/azure/images/listLine.png create mode 100644 WebContent/dwz/themes/azure/images/menu/Thumbs.db create mode 100644 WebContent/dwz/themes/azure/images/menu/menu.png create mode 100644 WebContent/dwz/themes/azure/images/order_down.gif create mode 100644 WebContent/dwz/themes/azure/images/order_up.gif create mode 100644 WebContent/dwz/themes/azure/images/pageHeader_bg.png create mode 100644 WebContent/dwz/themes/azure/images/panel/panel.png create mode 100644 WebContent/dwz/themes/azure/images/panel/panel_icon.png create mode 100644 WebContent/dwz/themes/azure/images/preview.png create mode 100644 WebContent/dwz/themes/azure/images/progressBar/Thumbs.db create mode 100644 WebContent/dwz/themes/azure/images/progressBar/progressBar_l.gif create mode 100644 WebContent/dwz/themes/azure/images/progressBar/progressBar_m.gif create mode 100644 WebContent/dwz/themes/azure/images/progressBar/progressBar_s.gif create mode 100644 WebContent/dwz/themes/azure/images/search-bg.gif create mode 100644 WebContent/dwz/themes/azure/images/search-bt.gif create mode 100644 WebContent/dwz/themes/azure/images/shadow/Thumbs.db create mode 100644 WebContent/dwz/themes/azure/images/shadow/shadow_c_c.png create mode 100644 WebContent/dwz/themes/azure/images/shadow/shadow_c_l.png create mode 100644 WebContent/dwz/themes/azure/images/shadow/shadow_c_r.png create mode 100644 WebContent/dwz/themes/azure/images/shadow/shadow_f_c.png create mode 100644 WebContent/dwz/themes/azure/images/shadow/shadow_f_l.png create mode 100644 WebContent/dwz/themes/azure/images/shadow/shadow_f_r.png create mode 100644 WebContent/dwz/themes/azure/images/shadow/shadow_h_c.png create mode 100644 WebContent/dwz/themes/azure/images/shadow/shadow_h_l.png create mode 100644 WebContent/dwz/themes/azure/images/shadow/shadow_h_r.png create mode 100644 WebContent/dwz/themes/azure/images/tabs/Thumbs.db create mode 100644 WebContent/dwz/themes/azure/images/tabs/tabscontrol.png create mode 100644 WebContent/dwz/themes/azure/images/tabs/tabspage.png create mode 100644 WebContent/dwz/themes/azure/images/tabs/tabspage_icon.png create mode 100644 WebContent/dwz/themes/azure/images/tabs/tabspanel.png create mode 100644 WebContent/dwz/themes/azure/images/tree/Thumbs.db create mode 100644 WebContent/dwz/themes/azure/images/tree/check.png create mode 100644 WebContent/dwz/themes/azure/images/tree/folder.png create mode 100644 WebContent/dwz/themes/azure/images/tree/tree.png create mode 100644 WebContent/dwz/themes/azure/style.css create mode 100644 WebContent/dwz/themes/css/core.css create mode 100644 WebContent/dwz/themes/css/ieHack.css create mode 100644 WebContent/dwz/themes/css/login.css create mode 100644 WebContent/dwz/themes/css/print.css create mode 100644 WebContent/dwz/themes/default/images/accordion/accordion.png create mode 100644 WebContent/dwz/themes/default/images/account_info_bg.png create mode 100644 WebContent/dwz/themes/default/images/alert/alertpanel.png create mode 100644 WebContent/dwz/themes/default/images/alert/alertpanel_icon.png create mode 100644 WebContent/dwz/themes/default/images/button/button_s.png create mode 100644 WebContent/dwz/themes/default/images/button/imgX.gif create mode 100644 WebContent/dwz/themes/default/images/button/toleft.gif create mode 100644 WebContent/dwz/themes/default/images/button/toleftone.gif create mode 100644 WebContent/dwz/themes/default/images/button/toright.gif create mode 100644 WebContent/dwz/themes/default/images/button/torightone.gif create mode 100644 WebContent/dwz/themes/default/images/dialog/dialogpanel.png create mode 100644 WebContent/dwz/themes/default/images/dialog/dialogpanel_icon.png create mode 100644 WebContent/dwz/themes/default/images/form/input_bg.png create mode 100644 WebContent/dwz/themes/default/images/form/input_bt.png create mode 100644 WebContent/dwz/themes/default/images/grid/grid.png create mode 100644 WebContent/dwz/themes/default/images/grid/resizeCol.png create mode 100644 WebContent/dwz/themes/default/images/grid/tableth.png create mode 100644 WebContent/dwz/themes/default/images/header_bg.png create mode 100644 WebContent/dwz/themes/default/images/icon.png create mode 100644 WebContent/dwz/themes/default/images/layout/taskbar.png create mode 100644 WebContent/dwz/themes/default/images/layout/taskbar_control.png create mode 100644 WebContent/dwz/themes/default/images/layout/taskbar_icon.png create mode 100644 WebContent/dwz/themes/default/images/layout/toggleSidebar.png create mode 100644 WebContent/dwz/themes/default/images/listLine.png create mode 100644 WebContent/dwz/themes/default/images/login_banner.jpg create mode 100644 WebContent/dwz/themes/default/images/login_bg.png create mode 100644 WebContent/dwz/themes/default/images/login_content_bg.png create mode 100644 WebContent/dwz/themes/default/images/login_header_bg.png create mode 100644 WebContent/dwz/themes/default/images/login_list.png create mode 100644 WebContent/dwz/themes/default/images/login_logo.gif create mode 100644 WebContent/dwz/themes/default/images/login_sub.png create mode 100644 WebContent/dwz/themes/default/images/login_title.png create mode 100644 WebContent/dwz/themes/default/images/logo.png create mode 100644 WebContent/dwz/themes/default/images/menu/menu.png create mode 100644 WebContent/dwz/themes/default/images/order_down.gif create mode 100644 WebContent/dwz/themes/default/images/order_up.gif create mode 100644 WebContent/dwz/themes/default/images/pageHeader_bg.png create mode 100644 WebContent/dwz/themes/default/images/panel/Thumbs.db create mode 100644 WebContent/dwz/themes/default/images/panel/panel.png create mode 100644 WebContent/dwz/themes/default/images/panel/panel_icon.png create mode 100644 WebContent/dwz/themes/default/images/progressBar/progressBar_l.gif create mode 100644 WebContent/dwz/themes/default/images/progressBar/progressBar_m.gif create mode 100644 WebContent/dwz/themes/default/images/progressBar/progressBar_s.gif create mode 100644 WebContent/dwz/themes/default/images/search-bg.gif create mode 100644 WebContent/dwz/themes/default/images/search-bt.gif create mode 100644 WebContent/dwz/themes/default/images/shadow/shadow_c_c.png create mode 100644 WebContent/dwz/themes/default/images/shadow/shadow_c_l.png create mode 100644 WebContent/dwz/themes/default/images/shadow/shadow_c_r.png create mode 100644 WebContent/dwz/themes/default/images/shadow/shadow_f_c.png create mode 100644 WebContent/dwz/themes/default/images/shadow/shadow_f_l.png create mode 100644 WebContent/dwz/themes/default/images/shadow/shadow_f_r.png create mode 100644 WebContent/dwz/themes/default/images/shadow/shadow_h_c.png create mode 100644 WebContent/dwz/themes/default/images/shadow/shadow_h_l.png create mode 100644 WebContent/dwz/themes/default/images/shadow/shadow_h_r.png create mode 100644 WebContent/dwz/themes/default/images/tabs/tabscontrol.png create mode 100644 WebContent/dwz/themes/default/images/tabs/tabspage.png create mode 100644 WebContent/dwz/themes/default/images/tabs/tabspage_icon.png create mode 100644 WebContent/dwz/themes/default/images/tabs/tabspanel.png create mode 100644 WebContent/dwz/themes/default/images/themeButton.png create mode 100644 WebContent/dwz/themes/default/images/tree/check.png create mode 100644 WebContent/dwz/themes/default/images/tree/folder.png create mode 100644 WebContent/dwz/themes/default/images/tree/tree.png create mode 100644 WebContent/dwz/themes/default/style.css create mode 100644 WebContent/dwz/themes/green/images/accordion/accordion.png create mode 100644 WebContent/dwz/themes/green/images/account_info_bg.png create mode 100644 WebContent/dwz/themes/green/images/alert/alertpanel.png create mode 100644 WebContent/dwz/themes/green/images/alert/alertpanel_icon.png create mode 100644 WebContent/dwz/themes/green/images/button/button_s.png create mode 100644 WebContent/dwz/themes/green/images/button/imgX.gif create mode 100644 WebContent/dwz/themes/green/images/dialog/dialogpanel.png create mode 100644 WebContent/dwz/themes/green/images/dialog/dialogpanel_icon.png create mode 100644 WebContent/dwz/themes/green/images/form/input_bg.png create mode 100644 WebContent/dwz/themes/green/images/form/input_bt.png create mode 100644 WebContent/dwz/themes/green/images/grid/grid.png create mode 100644 WebContent/dwz/themes/green/images/grid/resizeCol.png create mode 100644 WebContent/dwz/themes/green/images/grid/tableth.png create mode 100644 WebContent/dwz/themes/green/images/header_bg.png create mode 100644 WebContent/dwz/themes/green/images/layout/toggleSidebar.png create mode 100644 WebContent/dwz/themes/green/images/listLine.png create mode 100644 WebContent/dwz/themes/green/images/logo.png create mode 100644 WebContent/dwz/themes/green/images/pageHeader_bg.png create mode 100644 WebContent/dwz/themes/green/images/panel/panel.png create mode 100644 WebContent/dwz/themes/green/images/panel/panel_icon.png create mode 100644 WebContent/dwz/themes/green/images/tabs/tabscontrol.png create mode 100644 WebContent/dwz/themes/green/images/tabs/tabspage.png create mode 100644 WebContent/dwz/themes/green/images/tabs/tabspage_icon.png create mode 100644 WebContent/dwz/themes/green/images/tabs/tabspanel.png create mode 100644 WebContent/dwz/themes/green/images/tree/tree.png create mode 100644 WebContent/dwz/themes/green/style.css create mode 100644 WebContent/dwz/themes/purple/images/accordion/accordion.png create mode 100644 WebContent/dwz/themes/purple/images/account_info_bg.png create mode 100644 WebContent/dwz/themes/purple/images/alert/alertpanel.png create mode 100644 WebContent/dwz/themes/purple/images/alert/alertpanel_icon.png create mode 100644 WebContent/dwz/themes/purple/images/button/button_s.png create mode 100644 WebContent/dwz/themes/purple/images/button/imgX.gif create mode 100644 WebContent/dwz/themes/purple/images/dialog/dialogpanel.png create mode 100644 WebContent/dwz/themes/purple/images/dialog/dialogpanel_icon.png create mode 100644 WebContent/dwz/themes/purple/images/form/input_bg.png create mode 100644 WebContent/dwz/themes/purple/images/form/input_bt.png create mode 100644 WebContent/dwz/themes/purple/images/grid/grid.png create mode 100644 WebContent/dwz/themes/purple/images/grid/resizeCol.png create mode 100644 WebContent/dwz/themes/purple/images/grid/tableth.png create mode 100644 WebContent/dwz/themes/purple/images/header_bg.png create mode 100644 WebContent/dwz/themes/purple/images/layout/taskbar.png create mode 100644 WebContent/dwz/themes/purple/images/layout/taskbar_control.png create mode 100644 WebContent/dwz/themes/purple/images/layout/taskbar_icon.png create mode 100644 WebContent/dwz/themes/purple/images/layout/toggleSidebar.png create mode 100644 WebContent/dwz/themes/purple/images/login_bg.png create mode 100644 WebContent/dwz/themes/purple/images/login_content_bg.png create mode 100644 WebContent/dwz/themes/purple/images/login_header_bg.png create mode 100644 WebContent/dwz/themes/purple/images/login_list.png create mode 100644 WebContent/dwz/themes/purple/images/menu/menu.png create mode 100644 WebContent/dwz/themes/purple/images/pageHeader_bg.png create mode 100644 WebContent/dwz/themes/purple/images/panel/panel.png create mode 100644 WebContent/dwz/themes/purple/images/panel/panel_icon.png create mode 100644 WebContent/dwz/themes/purple/images/progressBar/progressBar_l.gif create mode 100644 WebContent/dwz/themes/purple/images/progressBar/progressBar_m.gif create mode 100644 WebContent/dwz/themes/purple/images/progressBar/progressBar_s.gif create mode 100644 WebContent/dwz/themes/purple/images/shadow/shadow_c_c.png create mode 100644 WebContent/dwz/themes/purple/images/shadow/shadow_c_l.png create mode 100644 WebContent/dwz/themes/purple/images/shadow/shadow_c_r.png create mode 100644 WebContent/dwz/themes/purple/images/shadow/shadow_f_c.png create mode 100644 WebContent/dwz/themes/purple/images/shadow/shadow_f_l.png create mode 100644 WebContent/dwz/themes/purple/images/shadow/shadow_f_r.png create mode 100644 WebContent/dwz/themes/purple/images/shadow/shadow_h_c.png create mode 100644 WebContent/dwz/themes/purple/images/shadow/shadow_h_l.png create mode 100644 WebContent/dwz/themes/purple/images/shadow/shadow_h_r.png create mode 100644 WebContent/dwz/themes/purple/images/tabs/tabscontrol.png create mode 100644 WebContent/dwz/themes/purple/images/tabs/tabspage.png create mode 100644 WebContent/dwz/themes/purple/images/tabs/tabspage_icon.png create mode 100644 WebContent/dwz/themes/purple/images/tabs/tabspanel.png create mode 100644 WebContent/dwz/themes/purple/images/tree/check.png create mode 100644 WebContent/dwz/themes/purple/images/tree/folder.png create mode 100644 WebContent/dwz/themes/purple/images/tree/tree.png create mode 100644 WebContent/dwz/themes/purple/style.css create mode 100644 WebContent/dwz/themes/silver/images/accordion/accordion.png create mode 100644 WebContent/dwz/themes/silver/images/account_info_bg.png create mode 100644 WebContent/dwz/themes/silver/images/alert/alertpanel.png create mode 100644 WebContent/dwz/themes/silver/images/alert/alertpanel_icon.png create mode 100644 WebContent/dwz/themes/silver/images/button/button_s.png create mode 100644 WebContent/dwz/themes/silver/images/button/imgX.gif create mode 100644 WebContent/dwz/themes/silver/images/dialog/dialogpanel.png create mode 100644 WebContent/dwz/themes/silver/images/dialog/dialogpanel_icon.png create mode 100644 WebContent/dwz/themes/silver/images/form/input_bg.png create mode 100644 WebContent/dwz/themes/silver/images/form/input_bt.png create mode 100644 WebContent/dwz/themes/silver/images/grid/grid.png create mode 100644 WebContent/dwz/themes/silver/images/grid/resizeCol.png create mode 100644 WebContent/dwz/themes/silver/images/grid/tableth.png create mode 100644 WebContent/dwz/themes/silver/images/header_bg.png create mode 100644 WebContent/dwz/themes/silver/images/layout/taskbar.png create mode 100644 WebContent/dwz/themes/silver/images/layout/taskbar_control.png create mode 100644 WebContent/dwz/themes/silver/images/layout/taskbar_icon.png create mode 100644 WebContent/dwz/themes/silver/images/layout/toggleSidebar.png create mode 100644 WebContent/dwz/themes/silver/images/listLine.png create mode 100644 WebContent/dwz/themes/silver/images/menu/menu.png create mode 100644 WebContent/dwz/themes/silver/images/pageHeader_bg.png create mode 100644 WebContent/dwz/themes/silver/images/panel/panel.png create mode 100644 WebContent/dwz/themes/silver/images/panel/panel_icon.png create mode 100644 WebContent/dwz/themes/silver/images/progressBar/progressBar_l.gif create mode 100644 WebContent/dwz/themes/silver/images/progressBar/progressBar_m.gif create mode 100644 WebContent/dwz/themes/silver/images/progressBar/progressBar_s.gif create mode 100644 WebContent/dwz/themes/silver/images/shadow/shadow_c_c.png create mode 100644 WebContent/dwz/themes/silver/images/shadow/shadow_c_l.png create mode 100644 WebContent/dwz/themes/silver/images/shadow/shadow_c_r.png create mode 100644 WebContent/dwz/themes/silver/images/shadow/shadow_f_c.png create mode 100644 WebContent/dwz/themes/silver/images/shadow/shadow_f_l.png create mode 100644 WebContent/dwz/themes/silver/images/shadow/shadow_f_r.png create mode 100644 WebContent/dwz/themes/silver/images/shadow/shadow_h_c.png create mode 100644 WebContent/dwz/themes/silver/images/shadow/shadow_h_l.png create mode 100644 WebContent/dwz/themes/silver/images/shadow/shadow_h_r.png create mode 100644 WebContent/dwz/themes/silver/images/tabs/tabscontrol.png create mode 100644 WebContent/dwz/themes/silver/images/tabs/tabspage.png create mode 100644 WebContent/dwz/themes/silver/images/tabs/tabspage_icon.png create mode 100644 WebContent/dwz/themes/silver/images/tabs/tabspanel.png create mode 100644 WebContent/dwz/themes/silver/images/tree/check.png create mode 100644 WebContent/dwz/themes/silver/images/tree/folder.png create mode 100644 WebContent/dwz/themes/silver/images/tree/tree.png create mode 100644 WebContent/dwz/themes/silver/style.css create mode 100644 WebContent/dwz/uploadify/Change Log.txt create mode 100644 WebContent/dwz/uploadify/css/uploadify.css create mode 100644 WebContent/dwz/uploadify/img/add.jpg create mode 100644 WebContent/dwz/uploadify/img/cancel.jpg create mode 100644 WebContent/dwz/uploadify/img/delete.jpg create mode 100644 WebContent/dwz/uploadify/img/upload.jpg create mode 100644 WebContent/dwz/uploadify/img/uploadify-cancel.png create mode 100644 WebContent/dwz/uploadify/scripts/jquery.uploadify.js create mode 100644 WebContent/dwz/uploadify/scripts/jquery.uploadify.min.js create mode 100644 WebContent/dwz/uploadify/scripts/uploadify.swf create mode 100644 WebContent/dwz/validate_remote.html create mode 100644 WebContent/dwz/w_accordion.html create mode 100644 WebContent/dwz/w_alert.html create mode 100644 WebContent/dwz/w_button.html create mode 100644 WebContent/dwz/w_checkbox.html create mode 100644 WebContent/dwz/w_combox.html create mode 100644 WebContent/dwz/w_datepicker.html create mode 100644 WebContent/dwz/w_dialog.html create mode 100644 WebContent/dwz/w_editor.html create mode 100644 WebContent/dwz/w_list.html create mode 100644 WebContent/dwz/w_panel.html create mode 100644 WebContent/dwz/w_removeSelected.html create mode 100644 WebContent/dwz/w_tabs.html create mode 100644 WebContent/dwz/w_textInput.html create mode 100644 WebContent/dwz/w_tree.html create mode 100644 WebContent/dwz/w_uploadify.html create mode 100644 WebContent/dwz/w_validation.html create mode 100644 WebContent/dwz/window_open.html create mode 100644 WebContent/dwz/xheditor/xheditor-1.2.1.min.js create mode 100644 WebContent/dwz/xheditor/xheditor_emot/default/angry.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/default/awkward.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/default/bye.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/default/config.txt create mode 100644 WebContent/dwz/xheditor/xheditor_emot/default/crazy.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/default/cry.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/default/curse.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/default/cute.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/default/despise.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/default/doubt.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/default/envy.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/default/fastcry.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/default/knock.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/default/laugh.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/default/mad.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/default/ohmy.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/default/panic.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/default/proud.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/default/quiet.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/default/sad.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/default/shutup.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/default/shy.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/default/sleep.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/default/smile.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/default/struggle.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/default/titter.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/default/tongue.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/default/wail.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/default/wronged.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/alien.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/angel.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/angry.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/bandit.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/biglaugh.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/blink.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/blush.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/config.txt create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/cool.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/cry.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/depres.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/devil.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/glare.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/heart.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/joyful.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/kiss.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/laugh.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/magician.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/ninja.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/pinch.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/police.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/sad.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/sick.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/sideways.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/sleep.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/smile.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/surprised.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/tongue.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/unsure.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/w00t.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/whistling.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/wondering.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/ipb/wub.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/1.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/10.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/11.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/12.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/13.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/14.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/15.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/16.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/17.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/18.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/19.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/2.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/20.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/21.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/22.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/23.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/24.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/25.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/26.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/27.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/28.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/29.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/3.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/30.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/31.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/32.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/33.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/34.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/35.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/36.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/37.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/38.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/39.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/4.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/40.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/5.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/6.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/7.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/8.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/msn/9.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/angry.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/bad.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/blush.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/brokenheart.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/bye.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/coffee.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/config.txt create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/cool.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/cry.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/curse.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/cute.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/devil.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/envy.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/gift.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/good.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/kiss.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/laugh.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/love.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/music.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/question.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/rose.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/sad.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/shocked.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/shout.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/sick.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/sleepy.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/smile.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/soccer.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/sweat.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/tired.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/tongue.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/victory.gif create mode 100644 WebContent/dwz/xheditor/xheditor_emot/pidgin/wink.gif create mode 100644 WebContent/dwz/xheditor/xheditor_lang/en.js create mode 100644 WebContent/dwz/xheditor/xheditor_lang/zh-cn.js create mode 100644 WebContent/dwz/xheditor/xheditor_lang/zh-tw.js create mode 100644 WebContent/dwz/xheditor/xheditor_plugins/html2markdown.js create mode 100644 WebContent/dwz/xheditor/xheditor_plugins/htmldomparser.js create mode 100644 WebContent/dwz/xheditor/xheditor_plugins/multiupload/img/add.gif create mode 100644 WebContent/dwz/xheditor/xheditor_plugins/multiupload/img/bg1.gif create mode 100644 WebContent/dwz/xheditor/xheditor_plugins/multiupload/img/bg2.gif create mode 100644 WebContent/dwz/xheditor/xheditor_plugins/multiupload/img/btnbg.gif create mode 100644 WebContent/dwz/xheditor/xheditor_plugins/multiupload/img/btnbgr.gif create mode 100644 WebContent/dwz/xheditor/xheditor_plugins/multiupload/img/clear.gif create mode 100644 WebContent/dwz/xheditor/xheditor_plugins/multiupload/img/progressbg.gif create mode 100644 WebContent/dwz/xheditor/xheditor_plugins/multiupload/img/start.gif create mode 100644 WebContent/dwz/xheditor/xheditor_plugins/multiupload/multiupload.css create mode 100644 WebContent/dwz/xheditor/xheditor_plugins/multiupload/multiupload.html create mode 100644 WebContent/dwz/xheditor/xheditor_plugins/multiupload/multiupload.js create mode 100644 WebContent/dwz/xheditor/xheditor_plugins/multiupload/swfupload/swfupload.js create mode 100644 WebContent/dwz/xheditor/xheditor_plugins/multiupload/swfupload/swfupload.swf create mode 100644 WebContent/dwz/xheditor/xheditor_plugins/showdown.js create mode 100644 WebContent/dwz/xheditor/xheditor_plugins/ubb.js create mode 100644 WebContent/dwz/xheditor/xheditor_skin/blank.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/default/iframe.css create mode 100644 WebContent/dwz/xheditor/xheditor_skin/default/img/anchor.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/default/img/close.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/default/img/flash.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/default/img/icons.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/default/img/loading.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/default/img/progress.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/default/img/progressbg.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/default/img/tag-address.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/default/img/tag-div.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/default/img/tag-h1.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/default/img/tag-h2.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/default/img/tag-h3.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/default/img/tag-h4.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/default/img/tag-h5.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/default/img/tag-h6.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/default/img/tag-p.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/default/img/tag-pre.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/default/img/waiting.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/default/img/wmp.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/default/img/wordimg.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/default/ui.css create mode 100644 WebContent/dwz/xheditor/xheditor_skin/nostyle/iframe.css create mode 100644 WebContent/dwz/xheditor/xheditor_skin/nostyle/img/anchor.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/nostyle/img/close.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/nostyle/img/flash.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/nostyle/img/icons.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/nostyle/img/loading.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/nostyle/img/progress.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/nostyle/img/progressbg.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/nostyle/img/tag-address.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/nostyle/img/tag-div.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/nostyle/img/tag-h1.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/nostyle/img/tag-h2.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/nostyle/img/tag-h3.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/nostyle/img/tag-h4.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/nostyle/img/tag-h5.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/nostyle/img/tag-h6.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/nostyle/img/tag-p.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/nostyle/img/tag-pre.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/nostyle/img/waiting.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/nostyle/img/wmp.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/nostyle/img/wordimg.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/nostyle/ui.css create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007blue/iframe.css create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007blue/img/anchor.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007blue/img/buttonbg.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007blue/img/close.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007blue/img/flash.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007blue/img/icons.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007blue/img/loading.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007blue/img/progress.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007blue/img/progressbg.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007blue/img/tag-address.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007blue/img/tag-div.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007blue/img/tag-h1.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007blue/img/tag-h2.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007blue/img/tag-h3.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007blue/img/tag-h4.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007blue/img/tag-h5.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007blue/img/tag-h6.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007blue/img/tag-p.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007blue/img/tag-pre.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007blue/img/waiting.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007blue/img/wmp.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007blue/img/wordimg.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007blue/ui.css create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007silver/iframe.css create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007silver/img/anchor.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007silver/img/buttonbg.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007silver/img/close.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007silver/img/flash.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007silver/img/icons.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007silver/img/loading.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007silver/img/progress.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007silver/img/progressbg.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007silver/img/tag-address.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007silver/img/tag-div.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007silver/img/tag-h1.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007silver/img/tag-h2.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007silver/img/tag-h3.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007silver/img/tag-h4.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007silver/img/tag-h5.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007silver/img/tag-h6.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007silver/img/tag-p.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007silver/img/tag-pre.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007silver/img/waiting.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007silver/img/wmp.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007silver/img/wordimg.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/o2007silver/ui.css create mode 100644 WebContent/dwz/xheditor/xheditor_skin/vista/iframe.css create mode 100644 WebContent/dwz/xheditor/xheditor_skin/vista/img/anchor.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/vista/img/buttonbg.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/vista/img/close.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/vista/img/flash.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/vista/img/icons.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/vista/img/loading.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/vista/img/progress.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/vista/img/progressbg.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/vista/img/tag-address.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/vista/img/tag-div.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/vista/img/tag-h1.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/vista/img/tag-h2.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/vista/img/tag-h3.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/vista/img/tag-h4.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/vista/img/tag-h5.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/vista/img/tag-h6.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/vista/img/tag-p.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/vista/img/tag-pre.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/vista/img/titlebg.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/vista/img/waiting.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/vista/img/wmp.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/vista/img/wordimg.gif create mode 100644 WebContent/dwz/xheditor/xheditor_skin/vista/ui.css create mode 100644 WebContent/index_old.jsp diff --git a/WebContent/dwz/.project b/WebContent/dwz/.project new file mode 100644 index 0000000..4a33301 --- /dev/null +++ b/WebContent/dwz/.project @@ -0,0 +1,11 @@ + + + dwz-ria + + + + + + + + diff --git a/WebContent/dwz/bin/ESC.wsf b/WebContent/dwz/bin/ESC.wsf new file mode 100644 index 0000000..5cce987 --- /dev/null +++ b/WebContent/dwz/bin/ESC.wsf @@ -0,0 +1,1225 @@ + + + + + + +----------------------------------------------------------------------------- + ESC (ECMAScript Cruncher) + * Version : 1.14 + * Date : 2006-02-28 22:22:15 [+0100] + * License : GNU GPL 2 (http://www.gnu.org/copyleft/gpl.txt) + * Copyright (C) 2001-2006 Thomas Loo <tloo@saltstorm.net> + + --------------------------------------------------------------------------- + ESC is an ECMAScript(*) pre-processor enabling an unlimited number of + external scripts to be compressed/crunched into tight, bandwidth-optimized + packages. ESC supports compressing of external sources only. Trying to + process scripts inlined in HTML, ASP, PHP or equivalent pages are NOT + recommended with this version of ESC. This feature might be added in a + future version. Type "cscript ESC.wsf -help" for usage instructions. + + ESC is built using components from the Soya Scripting API 1.0.0-b10, + a uni-host/cross-browser ECMAScript compliant class-library distributed + freely under the terms of the BSD License. The Soya Scripting API, + 'lib-soya' and the Soya SDK can be found at http://www.saltstorm.net/ + --------------------------------------------------------------------------- + * ECMAScript is the international standard for javascript. +----------------------------------------------------------------------------- + + + +----------------------------------------------------------------------------- + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + version 2 as published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +----------------------------------------------------------------------------- + + + + +------------------------------------------------------------------------------ + Usage: cscript ESC.wsf -l [0-4] -ow output.js foo.js bar.js C:\scripts\baz... + ----------------------------------------------------------------------------- + -a [-about] : Description page + -c [-copyright] : Copyright/license notice + -e [-example] : Examples of usage + -h [-help] : This help-screen + ----------------------------------------------------------------------------- + -l [-level] [01(2)34] : [optional] Set crunch-level (4 sets -$ on) + -s [-silent] : [optional] Run silent, nada stdout + -v [-verbose] : [optional] Run in verbose mode + -$ : [optional] Activate variable-substitution engine + ----------------------------------------------------------------------------- + -oa <filename> : Target filename for appending + -ow <filename> : Target filename for writing + -ow STDOUT : Write stream to STDOUT + ----------------------------------------------------------------------------- + <input-file(s)> : [required] + file(s) and/or directories containing scripts to crunch... + (paths containing spaces must be quoted) + + + +----------------------------------------------------------------------------- + Examples of usage. + + Crunch 'original1.js','original2.js' and 'original3.js' at + level 2 (default) and save the output as 'crunched.js'. + Any previous file named 'crunched.js' will be overwritten. + X:\cscript ESC.wsf -ow crunched.js original1.js original2.js original3.js + --------------------------------------------------------------------------- + + Grab all scriptfiles (.js) in directory 'C:\script-directory' and crunch + them at level 1 (comment and empty line removal only) and append the result + to 'crunched.js'. If 'crunched.js' doesn't exist, it will be created. + X:\cscript ESC.wsf -l 1 -oa crunched.js C:\script-directory + --------------------------------------------------------------------------- + + Subject 'original1.js' and 'original2.js' for variable substitution, + but perform no comment or whitespace removal. + Redirect output to STDOUT instead of writing to file. + X:\cscript ESC.wsf -l 0 -$ -ow STDOUT original1.js original2.js + --------------------------------------------------------------------------- + + Crunch 'original.js' using variable substitution and remove + any occurance of whitespace (where permitted...) + and save it as 'crunched.js' (equals -l 3 -$) + X:\cscript ESC.wsf -l 4 -ow crunched.js original.js + --------------------------------------------------------------------------- + + Try 'ESC.wsf -help' for information about available run-time directives. +----------------------------------------------------------------------------- + + + +ESC must be run from a DOS command prompt under +cscript.exe. Do you want to switch host and have +ESC bring up a helpscreen ? + + + + +ESC needs JScript 5.5 or higher to score... +You need to update your version of JScript to run ESC. +Read the 'Requirements' section in the manual for information +how to obtain and install the latest version of Microsofts +'Windows Script' package. + + + + + +Anchor +ActiveXObject +Call +Closure +Components +Dictionary +Document +DOMParser +Embed +EvalError +Event +Form +Global +HttpCookie +Image +JavaArray +JavaClass +JavaMethod +JavaObject +JavaPackage +Layer +MimeType +MimeTypeArray +Option +Url +Packages +Plugin +PluginArray +Popup +RangeError +ReferenceError +TypeError +StyleClass +StyleSelector +SyntaxError +TypeError +WScript +URIError +XMLHttpRequest +XMLSerializer +XPathEvaluator +XSLTDocument +XSLTProcessor +Attr +CDATASection +CharacterData +Comment +CSS2Properties +DOMException +DOMImplementation +DocumentType +Element +EntityReference +EvalError +NamedNodeMap +Node +NodeList +Notation +ProcessingInstruction +Text +HTMLElement +HTMLDocument +HTMLCollection +HTMLHtmlElement +HTMLHeadElement +HTMLLinkElement +HTMLTitleElement +HTMLMetaElement +HTMLBaseElement +HTMLIsIndexElement +HTMLStyleElement +HTMLBodyElement +HTMLFormElement +HTMLSelectElement +HTMLOptGroupElement +HTMLOptionElement +HTMLInputElement +HTMLTextAreaElement +HTMLButtonElement +HTMLLabelElement +HTMLFieldSetElement +HTMLLegendElement +HTMLUListElement +HTMLOListElement +HTMLDListElement +HTMLDirectoryElement +HTMLMenuElement +HTMLLIElement +HTMLBlockquoteElement +HTMLDivElement +HTMLParagraphElement +HTMLHeadingElement +HTMLQuoteElement +HTMLPreElement +HTMLBRElement +HTMLBaseFontElement +HTMLFontElement +HTMLHRElement +HTMLModElement +HTMLAnchorElement +HTMLImageElement +HTMLObjectElement +HTMLParamElement +HTMLAppletElement +HTMLMapElement +HTMLAreaElement +HTMLScriptElement +HTMLTableElement +HTMLTableCaptionElement +HTMLTableColElement +HTMLTableSectionElement +HTMLTableRowElement +HTMLTableCellElement +HTMLFrameSetElement +HTMLFrameElement +HTMLIFrameElement +_newEnum +alert +atob +attachEvent +back +btoa +captureEvents +clearTimeout +clearInterval +close +CollectGarbage +confirm +createEventObject +createPopup +decodeURI +decodeURIComponent +detachEvent +dump +encodeURI +encodeURIComponent +escape +eval +execScript +find +forward +frameElement +getAttention +GetAttention +getClass +getComputedStyle +getResource +GetObject +home +isFinite +isNaN +moveBy +moveTo +open +openDialog +parseInt +parseFloat +print +prompt +releaseEvents +resizeBy +resizeTo +ScriptEngine +ScriptEngineMajorVersion +ScriptEngineMinorVersion +ScriptEngineBuildVersion +scroll +scrollBy +scrollByLines +scrollByPages +scrollIntoView +scrollTo +setCursor +setInterval +setTimeout +showHelp +showModalDialog +showModelessDialog +sizeToContent +stop +taint +toString +updateCommands +unescape +untaint +valueOf +_content +appCore +arguments +arity +callee +caller +clientInformation +clipboardData +closed +constructor +controllers +crypto +debug +defaultStatus +directories +document +element +event +external +history +forward +frames +Infinity +innerHeight +innerWidth +java +length +loading +location +locationbar +name +menubar +navigator +netscape +offscreenBuffering +opener +opera +outerHeight +outerWidth +pageXOffset +pageYOffset +parent +personalbar +pkcs11 +prompter +prototype +returnValue +screen +screenLeft +screenTop +screenX +screenY +scrollX +scrollY +scrollbars +self +sidebar +status +statusbar +style +sun +title +toolbar +top +window +onafterprint +onbeforeprint +onbeforeunload +onblur +onchange +onclick +onclose +onerror +onfocus +onhelp +onload +onresize +onreset +onscroll +onselect +onunload +onmousedown +onmouseup +onmouseover +onmouseout +onkeydown +onkeyup +onkeypress +onmousemove +onsubmit +onreset +onchange +onselect +onclose +onabort +onerror +onpaint +ondragdrop +Soya +BOOTSTRAP + + + + +abstract +break +continue +const +class +catch +case +debugger +default +double +delete +do +enum +extends +else +function +finally +float +false +for +get +instanceof +implements +import +int +in +if +long +null +new +protected +private +package +public +return +switch +static +super +set +typeof +throw +true +this +try +undefined +void +var +while +with +getter +setter +__defineGetter__ +__defineSetter__ +end +elif +cc_on +_win32 +_win16 +_mac +_alpha +_x86 +_mc680x0 +_PowerPC +_jscript +_jscript_build +_jscript_version +Array +Boolean +Date +Enumerator +Error +Function +Math +Number +Object +RegExp +String +VBArray + + + + + + + diff --git a/WebContent/dwz/bin/dwz.min.js b/WebContent/dwz/bin/dwz.min.js new file mode 100644 index 0000000..62dbd92 --- /dev/null +++ b/WebContent/dwz/bin/dwz.min.js @@ -0,0 +1,3502 @@ + +var DWZ={ +keyCode:{ +ENTER:13,ESC:27,END:35,HOME:36, +SHIFT:16,TAB:9, +LEFT:37,RIGHT:39,UP:38,DOWN:40, +DELETE:46,BACKSPACE:8}, +eventType:{ +pageClear:"pageClear", +resizeGrid:"resizeGrid"}, +isOverAxis:function(x,reference,size){ +return(x>reference)&&(x<(reference+size));}, +isOver:function(y,x,top,left,height,width){ +return this.isOverAxis(y,top,height)&&this.isOverAxis(x,left,width);}, +pageInfo:{pageNum:"pageNum",numPerPage:"numPerPage",orderField:"orderField",orderDirection:"orderDirection"}, +statusCode:{ok:200,error:300,timeout:301}, +ui:{sbar:true}, +frag:{}, +_msg:{}, +_set:{ +loginUrl:"", +loginTitle:"", +debug:false}, +msg:function(key,args){ +var _format=function(str,args){ +args=args||[]; +var result=str||""; +for(var i=0;iHttp status: "+xhr.status+" "+xhr.statusText+""+"
ajaxOptions: "+ajaxOptions+"
"+"
thrownError: "+thrownError+"
"+"
"+xhr.responseText+"
");}else{ +alert("Http status: "+xhr.status+" "+xhr.statusText+"\najaxOptions: "+ajaxOptions+"\nthrownError:"+thrownError+"\n"+xhr.responseText);}}, +ajaxDone:function(json){ +if(json.statusCode==DWZ.statusCode.error){ +if(json.message&&alertMsg)alertMsg.error(json.message);}else if(json.statusCode==DWZ.statusCode.timeout){ +if(alertMsg)alertMsg.error(json.message||DWZ.msg("sessionTimout"),{okCall:DWZ.loadLogin}); +else DWZ.loadLogin();}else{ +if(json.message&&alertMsg)alertMsg.correct(json.message);};}, +init:function(pageFrag,options){ +var op=$.extend({ +loginUrl:"login.html",loginTitle:null,callback:null,debug:false, +statusCode:{}},options); +this._set.loginUrl=op.loginUrl; +this._set.loginTitle=op.loginTitle; +this._set.debug=op.debug; +$.extend(DWZ.statusCode,op.statusCode); +$.extend(DWZ.pageInfo,op.pageInfo); +jQuery.ajax({ +type:'GET', +url:pageFrag, +dataType:'xml', +timeout:50000, +cache:false, +error:function(xhr){ +alert('Error loading XML document: '+pageFrag+"\nHttp status: "+xhr.status+" "+xhr.statusText);}, +success:function(xml){ +$(xml).find("_PAGE_").each(function(){ +var pageId=$(this).attr("id"); +if(pageId)DWZ.frag[pageId]=$(this).text();}); +$(xml).find("_MSG_").each(function(){ +var id=$(this).attr("id"); +if(id)DWZ._msg[id]=$(this).text();}); +if(jQuery.isFunction(op.callback))op.callback();}}); +var _doc=$(document); +if(!_doc.isBind(DWZ.eventType.pageClear)){ +_doc.bind(DWZ.eventType.pageClear,function(event){ +var box=event.target; +if($.fn.xheditor){ +$("textarea.editor",box).xheditor(false);}});}}};(function($){ +$.setRegional=function(key,value){ +if(!$.regional)$.regional={}; +$.regional[key]=value;}; +$.fn.extend({ +ajaxUrl:function(op){ +var $this=$(this); +$this.trigger(DWZ.eventType.pageClear); +$.ajax({ +type:op.type||'GET', +url:op.url, +data:op.data, +cache:false, +success:function(response){ +var json=DWZ.jsonEval(response); +if(json.statusCode==DWZ.statusCode.error){ +if(json.message)alertMsg.error(json.message);}else{ +$this.html(response).initUI(); +if($.isFunction(op.callback))op.callback(response);} +if(json.statusCode==DWZ.statusCode.timeout){ +if($.pdialog)$.pdialog.checkTimeout(); +if(navTab)navTab.checkTimeout(); +alertMsg.error(json.message||DWZ.msg("sessionTimout"),{okCall:function(){ +DWZ.loadLogin();}});}}, +error:DWZ.ajaxError, +statusCode:{ +503:function(xhr,ajaxOptions,thrownError){ +alert(DWZ.msg("statusCode_503")||thrownError);}}});}, +loadUrl:function(url,data,callback){ +$(this).ajaxUrl({url:url,data:data,callback:callback});}, +initUI:function(){ +return this.each(function(){ +if($.isFunction(initUI))initUI(this);});}, +layoutH:function($refBox){ +return this.each(function(){ +var $this=$(this); +if(!$refBox)$refBox=$this.parents("div.layoutBox:first"); +var iRefH=$refBox.height(); +var iLayoutH=parseInt($this.attr("layoutH")); +var iH=iRefH-iLayoutH>50?iRefH-iLayoutH:50; +if($this.isTag("table")){ +$this.removeAttr("layoutH").wrap('
');}else{ +$this.height(iH).css("overflow","auto");}});}, +hoverClass:function(className,speed){ +var _className=className||"hover"; +return this.each(function(){ +var $this=$(this),mouseOutTimer; +$this.hover(function(){ +if(mouseOutTimer)clearTimeout(mouseOutTimer); +$this.addClass(_className);},function(){ +mouseOutTimer=setTimeout(function(){$this.removeClass(_className);},speed||10);});});}, +focusClass:function(className){ +var _className=className||"textInputFocus"; +return this.each(function(){ +$(this).focus(function(){ +$(this).addClass(_className);}).blur(function(){ +$(this).removeClass(_className);});});}, +inputAlert:function(){ +return this.each(function(){ +var $this=$(this); +function getAltBox(){ +return $this.parent().find("label.alt");} +function altBoxCss(opacity){ +var position=$this.position(); +return{ +width:$this.width(), +top:position.top+'px', +left:position.left+'px', +opacity:opacity||1};} +if(getAltBox().size()<1){ +if(!$this.attr("id"))$this.attr("id",$this.attr("name")+"_"+Math.round(Math.random()*10000)); +var $label=$('').appendTo($this.parent()); +$label.css(altBoxCss(1)); +if($this.val())$label.hide();} +$this.focus(function(){ +getAltBox().css(altBoxCss(0.3));}).blur(function(){ +if(!$(this).val())getAltBox().show().css("opacity",1);}).keydown(function(){ +getAltBox().hide();});});}, +isTag:function(tn){ +if(!tn)return false; +return $(this)[0].tagName.toLowerCase()==tn?true:false;}, +isBind:function(type){ +var _events=$(this).data("events"); +return _events&&type&&_events[type];}, +log:function(msg){ +return this.each(function(){ +if(console)console.log("%s: %o",msg,this);});}}); +$.extend(String.prototype,{ +isPositiveInteger:function(){ +return(new RegExp(/^[1-9]\d*$/).test(this));}, +isInteger:function(){ +return(new RegExp(/^\d+$/).test(this));}, +isNumber:function(value,element){ +return(new RegExp(/^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/).test(this));}, +trim:function(){ +return this.replace(/(^\s*)|(\s*$)|\r|\n/g,"");}, +startsWith:function(pattern){ +return this.indexOf(pattern)===0;}, +endsWith:function(pattern){ +var d=this.length-pattern.length; +return d>=0&&this.lastIndexOf(pattern)===d;}, +replaceSuffix:function(index){ +return this.replace(/\[[0-9]+\]/,'['+index+']').replace('#index#',index);}, +trans:function(){ +return this.replace(/</g,'<').replace(/>/g,'>').replace(/"/g,'"');}, +encodeTXT:function(){ +return(this).replaceAll('&','&').replaceAll("<","<").replaceAll(">",">").replaceAll(" "," ");}, +replaceAll:function(os,ns){ +return this.replace(new RegExp(os,"gm"),ns);}, +replaceTm:function($data){ +if(!$data)return this; +return this.replace(RegExp("({[A-Za-z_]+[A-Za-z0-9_]*})","g"),function($1){ +return $data[$1.replace(/[{}]+/g,"")];});}, +replaceTmById:function(_box){ +var $parent=_box||$(document); +return this.replace(RegExp("({[A-Za-z_]+[A-Za-z0-9_]*})","g"),function($1){ +var $input=$parent.find("#"+$1.replace(/[{}]+/g,"")); +return $input.val()?$input.val():$1;});}, +isFinishedTm:function(){ +return !(new RegExp("{[A-Za-z_]+[A-Za-z0-9_]*}").test(this));}, +skipChar:function(ch){ +if(!this||this.length===0){return '';} +if(this.charAt(0)===ch){return this.substring(1).skipChar(ch);} +return this;}, +isValidPwd:function(){ +return(new RegExp(/^([_]|[a-zA-Z0-9]){6,32}$/).test(this));}, +isValidMail:function(){ +return(new RegExp(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/).test(this.trim()));}, +isSpaces:function(){ +for(var i=0;i=this.elements.length){return null;} +return this.elements[_index];} +this.containsKey=function(_key){ +try{ +for(i=0;i9?"":"0")+x} +function formatDate(date,format){ +format=format+""; +var result=""; +var i_format=0; +var c=""; +var token=""; +var y=date.getYear()+""; +var M=date.getMonth()+1; +var d=date.getDate(); +var E=date.getDay(); +var H=date.getHours(); +var m=date.getMinutes(); +var s=date.getSeconds(); +var yyyy,yy,MMM,MM,dd,hh,h,mm,ss,ampm,HH,H,KK,K,kk,k; +var value={}; +if(y.length<4){y=""+(y-0+1900);} +value["y"]=""+y; +value["yyyy"]=y; +value["yy"]=y.substring(2,4); +value["M"]=M; +value["MM"]=LZ(M); +value["MMM"]=MONTH_NAMES[M-1]; +value["NNN"]=MONTH_NAMES[M+11]; +value["d"]=d; +value["dd"]=LZ(d); +value["E"]=DAY_NAMES[E+7]; +value["EE"]=DAY_NAMES[E]; +value["H"]=H; +value["HH"]=LZ(H); +if(H==0){value["h"]=12;} +else if(H>12){value["h"]=H-12;} +else{value["h"]=H;} +value["hh"]=LZ(value["h"]); +if(H>11){value["K"]=H-12;}else{value["K"]=H;} +value["k"]=H+1; +value["KK"]=LZ(value["K"]); +value["kk"]=LZ(value["k"]); +if(H>11){value["a"]="PM";} +else{value["a"]="AM";} +value["m"]=m; +value["mm"]=LZ(m); +value["s"]=s; +value["ss"]=LZ(s); +while(i_format=minlength;x--){ +var token=str.substring(i,i+x); +if(token.length70){year=1900+(year-0);} +else{year=2000+(year-0);}}}else if(token=="MMM"||token=="NNN"){ +month=0; +for(var i=0;i11)){ +month=i+1; +if(month>12){month-=12;} +i_val+=month_name.length; +break;}}} +if((month<1)||(month>12)){return 0;}}else if(token=="EE"||token=="E"){ +for(var i=0;i12)){return 0;} +i_val+=month.length;}else if(token=="dd"||token=="d"){ +date=_getInt(val,i_val,token.length,2); +if(date==null||(date<1)||(date>31)){return 0;} +i_val+=date.length;}else if(token=="hh"||token=="h"){ +hh=_getInt(val,i_val,token.length,2); +if(hh==null||(hh<1)||(hh>12)){return 0;} +i_val+=hh.length;}else if(token=="HH"||token=="H"){ +hh=_getInt(val,i_val,token.length,2); +if(hh==null||(hh<0)||(hh>23)){return 0;} +i_val+=hh.length;} +else if(token=="KK"||token=="K"){ +hh=_getInt(val,i_val,token.length,2); +if(hh==null||(hh<0)||(hh>11)){return 0;} +i_val+=hh.length;}else if(token=="kk"||token=="k"){ +hh=_getInt(val,i_val,token.length,2); +if(hh==null||(hh<1)||(hh>24)){return 0;} +i_val+=hh.length;hh--;}else if(token=="mm"||token=="m"){ +mm=_getInt(val,i_val,token.length,2); +if(mm==null||(mm<0)||(mm>59)){return 0;} +i_val+=mm.length;}else if(token=="ss"||token=="s"){ +ss=_getInt(val,i_val,token.length,2); +if(ss==null||(ss<0)||(ss>59)){return 0;} +i_val+=ss.length;}else if(token=="a"){ +if(val.substring(i_val,i_val+2).toLowerCase()=="am"){ampm="AM";} +else if(val.substring(i_val,i_val+2).toLowerCase()=="pm"){ampm="PM";} +else{return 0;} +i_val+=2;}else{ +if(val.substring(i_val,i_val+token.length)!=token){return 0;} +else{i_val+=token.length;}}} +if(i_val!=val.length){return 0;} +if(month==2){ +if(((year%4==0)&&(year%100!=0))||(year%400==0)){ +if(date>29){return 0;}}else{if(date>28){return 0;}}} +if((month==4)||(month==6)||(month==9)||(month==11)){ +if(date>30){return 0;}} +if(hh<12&&m=="PM"){hh=hh-0+12;} +else if(hh>11&&m=="AM"){hh-=12;} +return new Date(year,month-1,date,hh,mm,ss);} +Date.prototype.formatDate=function(dateFmt){ +return formatDate(this,dateFmt);}; +String.prototype.parseDate=function(dateFmt){ +if(this.length0)_y=aDate[0]; +if(aDate.length>1)_m=aDate[1]-1; +if(aDate.length>2)_d=aDate[2]; +return new Date(_y,_m,_d).formatDate('yyyy-MM-dd');};})();(function($){ +if($.validator){ +$.validator.addMethod("alphanumeric",function(value,element){ +return this.optional(element)||/^\w+$/i.test(value);},"Letters, numbers or underscores only please"); +$.validator.addMethod("lettersonly",function(value,element){ +return this.optional(element)||/^[a-z]+$/i.test(value);},"Letters only please"); +$.validator.addMethod("phone",function(value,element){ +return this.optional(element)||/^[0-9 \(\)]{7,30}$/.test(value);},"Please specify a valid phone number"); +$.validator.addMethod("postcode",function(value,element){ +return this.optional(element)||/^[0-9 A-Za-z]{5,20}$/.test(value);},"Please specify a valid postcode"); +$.validator.addMethod("date",function(value,element){ +value=value.replace(/\s+/g,""); +if(String.prototype.parseDate){ +var $input=$(element); +var pattern=$input.attr('dateFmt')||'yyyy-MM-dd'; +return !$input.val()||$input.val().parseDate(pattern);}else{ +return this.optional(element)||value.match(/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/);}},"Please enter a valid date."); +$.validator.addMethod("customvalid",function(value,element,params){ +try{ +return eval('('+params+')');}catch(e){ +return false;}},"Please fix this field."); +$.validator.addClassRules({ +date:{date:true}, +alphanumeric:{alphanumeric:true}, +lettersonly:{lettersonly:true}, +phone:{phone:true}, +postcode:{postcode:true}}); +$.validator.setDefaults({errorElement:"span"}); +$.validator.autoCreateRanges=true;}})(jQuery);(function($){ +$.fn.cssv=function(pre){ +var cssPre=$(this).css(pre); +return cssPre.substring(0,cssPre.indexOf("px"))*1;}; +$.fn.jBar=function(options){ +var op=$.extend({container:"#container",collapse:".collapse",toggleBut:".toggleCollapse div",sideBar:"#sidebar",sideBar2:"#sidebar_s",splitBar:"#splitBar",splitBar2:"#splitBarProxy"},options); +return this.each(function(){ +var jbar=this; +var sbar=$(op.sideBar2,jbar); +var bar=$(op.sideBar,jbar); +$(op.toggleBut,bar).click(function(){ +DWZ.ui.sbar=false; +$(op.splitBar).hide(); +var sbarwidth=sbar.cssv("left")+sbar.outerWidth(); +var barleft=sbarwidth-bar.outerWidth(); +var cleft=$(op.container).cssv("left")-(bar.outerWidth()-sbar.outerWidth()); +var cwidth=bar.outerWidth()-sbar.outerWidth()+$(op.container).outerWidth(); +$(op.container).animate({left:cleft,width:cwidth},50,function(){ +bar.animate({left:barleft},500,function(){ +bar.hide(); +sbar.show().css("left",-50).animate({left:5},200); +$(window).trigger(DWZ.eventType.resizeGrid);});}); +$(op.collapse,sbar).click(function(){ +var sbarwidth=sbar.cssv("left")+sbar.outerWidth(); +if(bar.is(":hidden")){ +$(op.toggleBut,bar).hide(); +bar.show().animate({left:sbarwidth},500); +$(op.container).click(_hideBar);}else{ +bar.animate({left:barleft},500,function(){ +bar.hide();});} +function _hideBar(){ +$(op.container).unbind("click",_hideBar); +if(!DWZ.ui.sbar){ +bar.animate({left:barleft},500,function(){ +bar.hide();});}} +return false;}); +return false;}); +$(op.toggleBut,sbar).click(function(){ +DWZ.ui.sbar=true; +sbar.animate({left:-25},200,function(){ +bar.show();}); +bar.animate({left:5},800,function(){ +$(op.splitBar).show(); +$(op.toggleBut,bar).show(); +var cleft=5+bar.outerWidth()+$(op.splitBar).outerWidth(); +var cwidth=$(op.container).outerWidth()-(cleft-$(op.container).cssv("left")); +$(op.container).css({left:cleft,width:cwidth}); +$(op.collapse,sbar).unbind('click'); +$(window).trigger(DWZ.eventType.resizeGrid);}); +return false;}); +$(op.splitBar).mousedown(function(event){ +$(op.splitBar2).each(function(){ +var spbar2=$(this); +setTimeout(function(){spbar2.show();},100); +spbar2.css({visibility:"visible",left:$(op.splitBar).css("left")}); +spbar2.jDrag($.extend(options,{obj:$("#sidebar"),move:"horizontal",event:event,stop:function(){ +$(this).css("visibility","hidden"); +var move=$(this).cssv("left")-$(op.splitBar).cssv("left"); +var sbarwidth=bar.outerWidth()+move; +var cleft=$(op.container).cssv("left")+move; +var cwidth=$(op.container).outerWidth()-move; +bar.css("width",sbarwidth); +$(op.splitBar).css("left",$(this).css("left")); +$(op.container).css({left:cleft,width:cwidth});}})); +return false;});});});}})(jQuery);(function($){ +$.fn.jDrag=function(options){ +if(typeof options=='string'){ +if(options=='destroy') +return this.each(function(){ +$(this).unbind('mousedown',$.rwdrag.start); +$.data(this,'pp-rwdrag',null);});} +return this.each(function(){ +var el=$(this); +$.data($.rwdrag,'pp-rwdrag',{ +options:$.extend({ +el:el, +obj:el},options)}); +if(options.event) +$.rwdrag.start(options.event); +else{ +var select=options.selector; +$(select,obj).bind('mousedown',$.rwdrag.start);}});}; +$.rwdrag={ +start:function(e){ +document.onselectstart=function(e){return false}; +var data=$.data(this,'pp-rwdrag'); +var el=data.options.el[0]; +$.data(el,'pp-rwdrag',{ +options:data.options}); +if(!$.rwdrag.current){ +$.rwdrag.current={ +el:el, +oleft:parseInt(el.style.left)||0, +otop:parseInt(el.style.top)||0, +ox:e.pageX||e.screenX, +oy:e.pageY||e.screenY}; +$(document).bind("mouseup",$.rwdrag.stop).bind("mousemove",$.rwdrag.drag);}}, +drag:function(e){ +if(!e)var e=window.event; +var current=$.rwdrag.current; +var data=$.data(current.el,'pp-rwdrag'); +var left=(current.oleft+(e.pageX||e.clientX)-current.ox); +var top=(current.otop+(e.pageY||e.clientY)-current.oy); +if(top<1)top=0; +if(data.options.move=='horizontal'){ +if((data.options.minW&&left>=$(data.options.obj).cssv("left")+data.options.minW)&&(data.options.maxW&&left<=$(data.options.obj).cssv("left")+data.options.maxW)) +current.el.style.left=left+'px'; +else if(data.options.scop){ +if(data.options.relObj){ +if((left-parseInt(data.options.relObj.style.left))>data.options.cellMinW){ +current.el.style.left=left+'px';}}else +current.el.style.left=left+'px';}}else if(data.options.move=='vertical'){ +current.el.style.top=top+'px';}else{ +var selector=data.options.selector?$(data.options.selector,data.options.obj):$(data.options.obj); +if(left>=-selector.outerWidth()*2/ 3&& top>= 0&&(left+ selector.outerWidth()/ 3<$(window).width())&&(top+selector.outerHeight()<$(window).height())){ +current.el.style.left=left+'px'; +current.el.style.top=top+'px';}} +if(data.options.drag){ +data.options.drag.apply(current.el,[current.el]);} +return $.rwdrag.preventEvent(e);}, +stop:function(e){ +var current=$.rwdrag.current; +var data=$.data(current.el,'pp-rwdrag'); +$(document).unbind('mousemove',$.rwdrag.drag).unbind('mouseup',$.rwdrag.stop); +if(data.options.stop){ +data.options.stop.apply(current.el,[current.el]);} +$.rwdrag.current=null; +document.onselectstart=function(e){return true}; +return $.rwdrag.preventEvent(e);}, +preventEvent:function(e){ +if(e.stopPropagation)e.stopPropagation(); +if(e.preventDefault)e.preventDefault(); +return false;}};})(jQuery);(function($){ +$.extend($.fn,{ +jTree:function(options){ +var op=$.extend({checkFn:null,selected:"selected",exp:"expandable",coll:"collapsable",firstExp:"first_expandable",firstColl:"first_collapsable",lastExp:"last_expandable",lastColl:"last_collapsable",folderExp:"folder_expandable",folderColl:"folder_collapsable",endExp:"end_expandable",endColl:"end_collapsable",file:"file",ck:"checked",unck:"unchecked"},options); +return this.each(function(){ +var $this=$(this); +var cnum=$this.children().length; +$(">li",$this).each(function(){ +var $li=$(this); +var first=$li.prev()[0]?false:true; +var last=$li.next()[0]?false:true; +$li.genTree({ +icon:$this.hasClass("treeFolder"), +ckbox:$this.hasClass("treeCheck"), +options:op, +level:0, +exp:(cnum>1?(first?op.firstExp:(last?op.lastExp:op.exp)):op.endExp), +coll:(cnum>1?(first?op.firstColl:(last?op.lastColl:op.coll)):op.endColl), +showSub:(!$this.hasClass("collapse")&&($this.hasClass("expand")||(cnum>1?(first?true:false):true))), +isLast:(cnum>1?(last?true:false):true)});}); +setTimeout(function(){ +if($this.hasClass("treeCheck")){ +var checkFn=eval($this.attr("oncheck")); +if(checkFn&&$.isFunction(checkFn)){ +$("div.ckbox",$this).each(function(){ +var ckbox=$(this); +ckbox.click(function(){ +var checked=$(ckbox).hasClass("checked"); +var items=[]; +if(checked){ +var tnode=$(ckbox).parent().parent(); +var boxes=$("input",tnode); +if(boxes.size()>1){ +$(boxes).each(function(){ +items[items.length]={name:$(this).attr("name"),value:$(this).val(),text:$(this).attr("text")};});}else{ +items={name:boxes.attr("name"),value:boxes.val(),text:boxes.attr("text")};}} +checkFn({checked:checked,items:items});});});}} +$("a",$this).click(function(event){ +$("div."+op.selected,$this).removeClass(op.selected); +var parent=$(this).parent().addClass(op.selected); +var $li=$(this).parents("li:first"),sTarget=$li.attr("target"); +if(sTarget){ +if($("#"+sTarget,$this).size()==0){ +$this.prepend('');} +$("#"+sTarget,$this).val($li.attr("rel"));} +$(".ckbox",parent).trigger("click"); +event.stopPropagation(); +$(document).trigger("click"); +if(!$(this).attr("target"))return false;});},1);});}, +subTree:function(op,level){ +return this.each(function(){ +$(">li",this).each(function(){ +var $this=$(this); +var isLast=($this.next()[0]?false:true); +$this.genTree({ +icon:op.icon, +ckbox:op.ckbox, +exp:isLast?op.options.lastExp:op.options.exp, +coll:isLast?op.options.lastColl:op.options.coll, +options:op.options, +level:level, +space:isLast?null:op.space, +showSub:op.showSub, +isLast:isLast});});});}, +genTree:function(options){ +var op=$.extend({icon:options.icon,ckbox:options.ckbox,exp:"",coll:"",showSub:false,level:0,options:null,isLast:false},options); +return this.each(function(){ +var node=$(this); +var tree=$(">ul",node); +var parent=node.parent().prev(); +var checked='unchecked'; +if(op.ckbox){ +if($(">.checked",parent).size()>0)checked='checked';} +if(tree.size()>0){ +node.children(":first").wrap("
"); +$(">div",node).prepend("
"+(op.ckbox?"
":"")+(op.icon?"
":"")); +op.showSub?tree.show():tree.hide(); +$(">div>div:first,>div>a",node).click(function(){ +var $fnode=$(">li:first",tree); +if($fnode.children(":first").isTag('a'))tree.subTree(op,op.level+1); +var $this=$(this); +var isA=$this.isTag('a'); +var $this=isA?$(">div>div",node).eq(op.level):$this; +if(!isA||tree.is(":hidden")){ +$this.toggleClass(op.exp).toggleClass(op.coll); +if(op.icon){ +$(">div>div:last",node).toggleClass(op.options.folderExp).toggleClass(op.options.folderColl);}}(tree.is(":hidden"))?tree.slideDown("fast"):(isA?"":tree.slideUp("fast")); +return false;}); +addSpace(op.level,node); +if(op.showSub)tree.subTree(op,op.level+1);}else{ +node.children().wrap("
"); +$(">div",node).prepend("
"+(op.ckbox?"
":"")+(op.icon?"
":"")); +addSpace(op.level,node); +if(op.isLast)$(node).addClass("last");} +if(op.ckbox)node._check(op); +$(">div",node).mouseover(function(){ +$(this).addClass("hover");}).mouseout(function(){ +$(this).removeClass("hover");}); +if($.browser.msie) +$(">div",node).click(function(){ +$("a",this).trigger("click"); +return false;});}); +function addSpace(level,node){ +if(level>0){ +var parent=node.parent().parent(); +var space=!parent.next()[0]?"indent":"line"; +var plist="
"; +if(level>1){ +var next=$(">div>div",parent).filter(":first"); +var prev=""; +while(level>1){ +prev=prev+"
"; +next=next.next(); +level--;} +plist=prev+plist;} +$(">div",node).prepend(plist);}}}, +_check:function(op){ +var node=$(this); +var ckbox=$(">div>.ckbox",node); +var $input=node.find("a"); +var tname=$input.attr("tname"),tvalue=$input.attr("tvalue"); +var attrs="text='"+$input.text()+"' "; +if(tname)attrs+="name='"+tname+"' "; +if(tvalue)attrs+="value='"+tvalue+"' "; +ckbox.append("").click(function(){ +var cked=ckbox.hasClass("checked"); +var aClass=cked?"unchecked":"checked"; +var rClass=cked?"checked":"unchecked"; +ckbox.removeClass(rClass).removeClass(!cked?"indeterminate":"").addClass(aClass); +$("input",ckbox).attr("checked",!cked); +$(">ul",node).find("li").each(function(){ +var box=$("div.ckbox",this); +box.removeClass(rClass).removeClass(!cked?"indeterminate":"").addClass(aClass) +.find("input").attr("checked",!cked);}); +$(node)._checkParent(); +return false;}); +var cAttr=$input.attr("checked")||false; +if(cAttr){ +ckbox.find("input").attr("checked",true); +ckbox.removeClass("unchecked").addClass("checked"); +$(node)._checkParent();}}, +_checkParent:function(){ +if($(this).parent().hasClass("tree"))return; +var parent=$(this).parent().parent(); +var stree=$(">ul",parent); +var ckbox=stree.find(">li>a").size()+stree.find("div.ckbox").size(); +var ckboxed=stree.find("div.checked").size(); +var aClass=(ckboxed==ckbox?"checked":(ckboxed!=0?"indeterminate":"unchecked")); +var rClass=(ckboxed==ckbox?"indeterminate":(ckboxed!=0?"checked":"indeterminate")); +$(">div>.ckbox",parent).removeClass("unchecked").removeClass("checked").removeClass(rClass).addClass(aClass); +var $checkbox=$(":checkbox",parent); +if(aClass=="checked")$checkbox.attr("checked","checked"); +else $checkbox.removeAttr("checked"); +parent._checkParent();}});})(jQuery);(function($){ +var jmenus=new Map(); +$.dwz=$.dwz||{}; +$(window).resize(function(){ +setTimeout(function(){ +for(var i=0;ioptions.headers.index(clicked[0]); +options.active=clickedActive?$([]):clicked; +toggle.call(this,toShow,toHide,data,clickedActive,down); +return false;}; +function findActive(headers,selector){ +return selector!=undefined?typeof selector=="number"?headers.filter(":eq("+selector+")"):headers.not(headers.not(selector)):selector===false?$([]):headers.filter(":eq(0)");} +$.extend($.dwz.accordion,{ +defaults:{ +selectedClass:"collapsable", +alwaysOpen:true, +animated:'slide', +event:"click", +header:".accordionHeader", +autoheight:true, +running:0, +navigationFilter:function(){ +return this.href.toLowerCase()==location.href.toLowerCase();}}, +animations:{ +slide:function(options,additions){ +options=$.extend({ +easing:"swing", +duration:300},options,additions); +if(!options.toHide.size()){ +options.toShow.animate({height:"show"},options); +return;} +var hideHeight=options.toHide.height(), +showHeight=options.toShow.height(), +difference=showHeight/hideHeight; +options.toShow.css({height:0}).show(); +options.toHide.filter(":hidden").each(options.complete).end().filter(":visible").animate({height:"hide"},{ +step:function(now){ +var current=(hideHeight-now)*difference; +if($.browser.msie||$.browser.opera){ +current=Math.ceil(current);} +options.toShow.height(current);}, +duration:options.duration, +easing:options.easing, +complete:function(){ +if(!options.autoheight){ +options.toShow.css({height:"auto"});} +options.toShow.css({overflow:"auto"}); +options.complete();}});}, +bounceslide:function(options){ +this.slide(options,{ +easing:options.down?"bounceout":"swing", +duration:options.down?1000:200});}, +easeslide:function(options){ +this.slide(options,{ +easing:"easeinout", +duration:700})}}});})(jQuery); +function initEnv(){ +$("body").append(DWZ.frag["dwzFrag"]); +if($.browser.msie&&/6.0/.test(navigator.userAgent)){ +try{ +document.execCommand("BackgroundImageCache",false,true);}catch(e){}} +if($.browser.msie){ +window.setInterval("CollectGarbage();",10000);} +$(window).resize(function(){ +initLayout(); +$(this).trigger(DWZ.eventType.resizeGrid);}); +var ajaxbg=$("#background,#progressBar"); +ajaxbg.hide(); +$(document).ajaxStart(function(){ +ajaxbg.show();}).ajaxStop(function(){ +ajaxbg.hide();}); +$("#leftside").jBar({minW:150,maxW:700}); +if($.taskBar)$.taskBar.init(); +navTab.init(); +if($.fn.switchEnv)$("#switchEnvBox").switchEnv(); +if($.fn.navMenu)$("#navMenu").navMenu(); +setTimeout(function(){ +initLayout(); +initUI(); +var jTabsPH=$("div.tabsPageHeader"); +jTabsPH.find(".tabsLeft").hoverClass("tabsLeftHover"); +jTabsPH.find(".tabsRight").hoverClass("tabsRightHover"); +jTabsPH.find(".tabsMore").hoverClass("tabsMoreHover");},10);} +function initLayout(){ +var iContentW=$(window).width()-(DWZ.ui.sbar?$("#sidebar").width()+10:34)-5; +var iContentH=$(window).height()-$("#header").height()-34; +$("#container").width(iContentW); +$("#container .tabsPageContent").height(iContentH-34).find("[layoutH]").layoutH(); +$("#sidebar, #sidebar_s .collapse, #splitBar, #splitBarProxy").height(iContentH-5); +$("#taskbar").css({top:iContentH+$("#header").height()+5,width:$(window).width()});} +function initUI(_box){ +var $p=$(_box||document); +$("div.panel",$p).jPanel(); +$("table.table",$p).jTable(); +$('table.list',$p).cssTable(); +$("div.tabs",$p).each(function(){ +var $this=$(this); +var options={}; +options.currentIndex=$this.attr("currentIndex")||0; +options.eventType=$this.attr("eventType")||"click"; +$this.tabs(options);}); +$("ul.tree",$p).jTree(); +$('div.accordion',$p).each(function(){ +var $this=$(this); +$this.accordion({fillSpace:$this.attr("fillSpace"),alwaysOpen:true,active:0});}); +$(":button.checkboxCtrl, :checkbox.checkboxCtrl",$p).checkboxCtrl($p); +if($.fn.combox)$("select.combox",$p).combox(); +if($.fn.xheditor){ +$("textarea.editor",$p).each(function(){ +var $this=$(this); +var op={html5Upload:false,skin:'vista',tools:$this.attr("tools")||'full'}; +var upAttrs=[["upLinkUrl","upLinkExt","zip,rar,txt"],["upImgUrl","upImgExt","jpg,jpeg,gif,png"],["upFlashUrl","upFlashExt","swf"],["upMediaUrl","upMediaExt","avi"]]; +$(upAttrs).each(function(i){ +var urlAttr=upAttrs[i][0]; +var extAttr=upAttrs[i][1]; +if($this.attr(urlAttr)){ +op[urlAttr]=$this.attr(urlAttr); +op[extAttr]=$this.attr(extAttr)||upAttrs[i][2];}}); +$this.xheditor(op);});} +if($.fn.uploadify){ +$(":file[uploaderOption]",$p).each(function(){ +var $this=$(this); +var options={ +fileObjName:$this.attr("name")||"file", +auto:true, +multi:true, +onUploadError:uploadifyError}; +var uploaderOption=DWZ.jsonEval($this.attr("uploaderOption")); +$.extend(options,uploaderOption); +DWZ.debug("uploaderOption: "+DWZ.obj2str(uploaderOption)); +$this.uploadify(options);});} +$("input[type=text], input[type=password], textarea",$p).addClass("textInput").focusClass("focus"); +$("input[readonly], textarea[readonly]",$p).addClass("readonly"); +$("input[disabled=true], textarea[disabled=true]",$p).addClass("disabled"); +$("input[type=text]",$p).not("div.tabs input[type=text]",$p).filter("[alt]").inputAlert(); +$("div.panelBar li, div.panelBar",$p).hoverClass("hover"); +$("div.button",$p).hoverClass("buttonHover"); +$("div.buttonActive",$p).hoverClass("buttonActiveHover"); +$("div.tabsHeader li, div.tabsPageHeader li, div.accordionHeader, div.accordion",$p).hoverClass("hover"); +$("form.required-validate",$p).each(function(){ +var $form=$(this); +$form.validate({ +onsubmit:false, +focusInvalid:false, +focusCleanup:true, +errorElement:"span", +ignore:".ignore", +invalidHandler:function(form,validator){ +var errors=validator.numberOfInvalids(); +if(errors){ +var message=DWZ.msg("validateFormError",[errors]); +alertMsg.error(message);}}}); +$form.find('input[customvalid]').each(function(){ +var $input=$(this); +$input.rules("add",{ +customvalid:$input.attr("customvalid")})});}); +if($.fn.datepicker){ +$('input.date',$p).each(function(){ +var $this=$(this); +var opts={}; +if($this.attr("dateFmt"))opts.pattern=$this.attr("dateFmt"); +if($this.attr("minDate"))opts.minDate=$this.attr("minDate"); +if($this.attr("maxDate"))opts.maxDate=$this.attr("maxDate"); +if($this.attr("mmStep"))opts.mmStep=$this.attr("mmStep"); +if($this.attr("ssStep"))opts.ssStep=$this.attr("ssStep"); +$this.datepicker(opts);});} +$("a[target=navTab]",$p).each(function(){ +$(this).click(function(event){ +var $this=$(this); +var title=$this.attr("title")||$this.text(); +var tabid=$this.attr("rel")||"_blank"; +var fresh=eval($this.attr("fresh")||"true"); +var external=eval($this.attr("external")||"false"); +var url=unescape($this.attr("href")).replaceTmById($(event.target).parents(".unitBox:first")); +DWZ.debug(url); +if(!url.isFinishedTm()){ +alertMsg.error($this.attr("warn")||DWZ.msg("alertSelectMsg")); +return false;} +navTab.openTab(tabid,url,{title:title,fresh:fresh,external:external}); +event.preventDefault();});}); +$("a[target=dialog]",$p).each(function(){ +$(this).click(function(event){ +var $this=$(this); +var title=$this.attr("title")||$this.text(); +var rel=$this.attr("rel")||"_blank"; +var options={}; +var w=$this.attr("width"); +var h=$this.attr("height"); +if(w)options.width=w; +if(h)options.height=h; +options.max=eval($this.attr("max")||"false"); +options.mask=eval($this.attr("mask")||"false"); +options.maxable=eval($this.attr("maxable")||"true"); +options.minable=eval($this.attr("minable")||"true"); +options.fresh=eval($this.attr("fresh")||"true"); +options.resizable=eval($this.attr("resizable")||"true"); +options.drawable=eval($this.attr("drawable")||"true"); +options.close=eval($this.attr("close")||""); +options.param=$this.attr("param")||""; +var url=unescape($this.attr("href")).replaceTmById($(event.target).parents(".unitBox:first")); +DWZ.debug(url); +if(!url.isFinishedTm()){ +alertMsg.error($this.attr("warn")||DWZ.msg("alertSelectMsg")); +return false;} +$.pdialog.open(url,rel,title,options); +return false;});}); +$("a[target=ajax]",$p).each(function(){ +$(this).click(function(event){ +var $this=$(this); +var rel=$this.attr("rel"); +if(rel){ +var $rel=$("#"+rel); +$rel.loadUrl($this.attr("href"),{},function(){ +$rel.find("[layoutH]").layoutH();});} +event.preventDefault();});}); +$("div.pagination",$p).each(function(){ +var $this=$(this); +$this.pagination({ +targetType:$this.attr("targetType"), +rel:$this.attr("rel"), +totalCount:$this.attr("totalCount"), +numPerPage:$this.attr("numPerPage"), +pageNumShown:$this.attr("pageNumShown"), +currentPage:$this.attr("currentPage")});}); +if($.fn.sortDrag)$("div.sortDrag",$p).sortDrag(); +if($.fn.ajaxTodo)$("a[target=ajaxTodo]",$p).ajaxTodo(); +if($.fn.dwzExport)$("a[target=dwzExport]",$p).dwzExport(); +if($.fn.lookup)$("a[lookupGroup]",$p).lookup(); +if($.fn.multLookup)$("[multLookup]:button",$p).multLookup(); +if($.fn.suggest)$("input[suggestFields]",$p).suggest(); +if($.fn.itemDetail)$("table.itemDetail",$p).itemDetail(); +if($.fn.selectedTodo)$("a[target=selectedTodo]",$p).selectedTodo(); +if($.fn.pagerForm)$("form[rel=pagerForm]",$p).pagerForm({parentBox:$p});}(function($){ +$.fn.extend({ +theme:function(options){ +var op=$.extend({themeBase:"themes"},options); +var _themeHref=op.themeBase+"/#theme#/style.css"; +return this.each(function(){ +var jThemeLi=$(this).find(">li[theme]"); +var setTheme=function(themeName){ +$("head").find("link[href$='style.css']").attr("href",_themeHref.replace("#theme#",themeName)); +jThemeLi.find(">div").removeClass("selected"); +jThemeLi.filter("[theme="+themeName+"]").find(">div").addClass("selected"); +if($.isFunction($.cookie))$.cookie("dwz_theme",themeName);} +jThemeLi.each(function(index){ +var $this=$(this); +var themeName=$this.attr("theme"); +$this.addClass(themeName).click(function(){ +setTheme(themeName);});}); +if($.isFunction($.cookie)){ +var themeName=$.cookie("dwz_theme"); +if(themeName){ +setTheme(themeName);}}});}});})(jQuery);(function($){ +$.fn.navMenu=function(){ +return this.each(function(){ +var $box=$(this); +$box.find("li>a").click(function(){ +var $a=$(this); +$.post($a.attr("href"),{},function(html){ +$("#sidebar").find(".accordion").remove().end().append(html).initUI(); +$box.find("li").removeClass("selected"); +$a.parent().addClass("selected"); +navTab.closeAllTab();}); +return false;});});} +$.fn.switchEnv=function(){ +var op={cities$:">ul>li",boxTitle$:">a>span"}; +return this.each(function(){ +var $this=$(this); +$this.click(function(){ +if($this.hasClass("selected")){ +_hide($this);}else{ +_show($this);} +return false;}); +$this.find(op.cities$).click(function(){ +var $li=$(this); +$.post($li.find(">a").attr("href"),{},function(html){ +_hide($this); +$this.find(op.boxTitle$).html($li.find(">a").html()); +navTab.closeAllTab(); +$("#sidebar").find(".accordion").remove().end().append(html).initUI();}); +return false;});});} +function _show($box){ +$box.addClass("selected"); +$(document).bind("click",{box:$box},_handler);} +function _hide($box){ +$box.removeClass("selected"); +$(document).unbind("click",_handler);} +function _handler(event){ +_hide(event.data.box);}})(jQuery); +$.setRegional("alertMsg",{ +title:{error:"Error",info:"Information",warn:"Warning",correct:"Successful",confirm:"Confirmation"}, +butMsg:{ok:"OK",yes:"Yes",no:"No",cancel:"Cancel"}}); +var alertMsg={ +_boxId:"#alertMsgBox", +_bgId:"#alertBackground", +_closeTimer:null, +_types:{error:"error",info:"info",warn:"warn",correct:"correct",confirm:"confirm"}, +_getTitle:function(key){ +return $.regional.alertMsg.title[key];}, +_keydownOk:function(event){ +if(event.keyCode==DWZ.keyCode.ENTER)event.data.target.trigger("click"); +return false;}, +_keydownEsc:function(event){ +if(event.keyCode==DWZ.keyCode.ESC)event.data.target.trigger("click");}, +_open:function(type,msg,buttons){ +$(this._boxId).remove(); +var butsHtml=""; +if(buttons){ +for(var i=0;i').appendTo('body').hide();} +if(!shadow){ +shadow=$('
').appendTo('body').hide();} +hash=hash||[]; +hash.push({ +id:id, +shadow:op.shadow, +bindings:op.bindings||{}, +ctrSub:op.ctrSub}); +var index=hash.length-1; +$(this).bind('contextmenu',function(e){ +display(index,this,e,op); +return false;}); +return this;}}); +function display(index,trigger,e,options){ +var cur=hash[index]; +var content=$(DWZ.frag[cur.id]); +content.find('li').hoverClass(); +menu.html(content); +$.each(cur.bindings,function(id,func){ +$("[rel='"+id+"']",menu).bind('click',function(e){ +hide(); +func($(trigger),$("#"+cur.id));});}); +var posX=e.pageX; +var posY=e.pageY; +if($(window).width()a").unbind("click").click(function(event){ +$this._switchTab(iTabIndex);});}); +this._switchTab(this._currentIndex);}, +_contextmenu:function($obj){ +var $this=this; +$obj.contextMenu('navTabCM',{ +bindings:{ +reload:function(t,m){ +$this._reload(t,true);}, +closeCurrent:function(t,m){ +var tabId=t.attr("tabid"); +if(tabId)$this.closeTab(tabId); +else $this.closeCurrentTab();}, +closeOther:function(t,m){ +var index=$this._indexTabId(t.attr("tabid")); +$this._closeOtherTab(index>0?index:$this._currentIndex);}, +closeAll:function(t,m){ +$this.closeAllTab();}}, +ctrSub:function(t,m){ +var mReload=m.find("[rel='reload']"); +var mCur=m.find("[rel='closeCurrent']"); +var mOther=m.find("[rel='closeOther']"); +var mAll=m.find("[rel='closeAll']"); +var $tabLi=$this._getTabs(); +if($tabLi.size()<2){ +mCur.addClass("disabled"); +mOther.addClass("disabled"); +mAll.addClass("disabled");} +if($this._currentIndex==0||t.attr("tabid")==$this._op.mainTabId){ +mCur.addClass("disabled"); +mReload.addClass("disabled");}else if($tabLi.size()==2){ +mOther.addClass("disabled");}}});}, +_getTabs:function(){ +return this._tabBox.find("> li");}, +_getPanels:function(){ +return this._panelBox.find("> div");}, +_getMoreLi:function(){ +return this._moreBox.find("> li");}, +_getTab:function(tabid){ +var index=this._indexTabId(tabid); +if(index>=0)return this._getTabs().eq(index);}, +getPanel:function(tabid){ +var index=this._indexTabId(tabid); +if(index>=0)return this._getPanels().eq(index);}, +_getTabsW:function(iStart,iEnd){ +return this._tabsW(this._getTabs().slice(iStart,iEnd));}, +_tabsW:function($tabs){ +var iW=0; +$tabs.each(function(){ +iW+=$(this).outerWidth(true);}); +return iW;}, +_indexTabId:function(tabid){ +if(!tabid)return -1; +var iOpenIndex=-1; +this._getTabs().each(function(index){ +if($(this).attr("tabid")==tabid){iOpenIndex=index;return;}}); +return iOpenIndex;}, +_getLeft:function(){ +return this._tabBox.position().left;}, +_getScrollBarW:function(){ +return this.componentBox.width()-55;}, +_visibleStart:function(){ +var iLeft=this._getLeft(),iW=0; +var $tabs=this._getTabs(); +for(var i=0;i<$tabs.size();i++){ +if(iW+iLeft>=0)return i; +iW+=$tabs.eq(i).outerWidth(true);} +return 0;}, +_visibleEnd:function(){ +var iLeft=this._getLeft(),iW=0; +var $tabs=this._getTabs(); +for(var i=0;i<$tabs.size();i++){ +iW+=$tabs.eq(i).outerWidth(true); +if(iW+iLeft>this._getScrollBarW())return i;} +return $tabs.size();}, +_scrollPrev:function(){ +var iStart=this._visibleStart(); +if(iStart>0){ +this._scrollTab(-this._getTabsW(0,iStart-1));}}, +_scrollNext:function(){ +var iEnd=this._visibleEnd(); +if(iEnd=this._visibleEnd()){ +this._scrollTab(this._getScrollBarW()-this._getTabs().eq(this._currentIndex).outerWidth(true)-this._getTabsW(0,this._currentIndex));}}, +_ctrlScrollBut:function(){ +var iW=this._tabsW(this._getTabs()); +if(this._getScrollBarW()>iW){ +this._prevBut.hide(); +this._nextBut.hide(); +this._tabBox.parent().removeClass("tabsPageHeaderMargin");}else{ +this._prevBut.show().removeClass("tabsLeftDisabled"); +this._nextBut.show().removeClass("tabsRightDisabled"); +this._tabBox.parent().addClass("tabsPageHeaderMargin"); +if(this._getLeft()>=0){ +this._prevBut.addClass("tabsLeftDisabled");}else if(this._getLeft()<=this._getScrollBarW()-iW){ +this._nextBut.addClass("tabsRightDisabled");}}}, +_switchTab:function(iTabIndex){ +var $tab=this._getTabs().removeClass("selected").eq(iTabIndex).addClass("selected"); +this._getPanels().hide().eq(iTabIndex).show(); +this._getMoreLi().removeClass("selected").eq(iTabIndex).addClass("selected"); +this._currentIndex=iTabIndex; +this._scrollCurrent(); +this._reload($tab);}, +_closeTab:function(index,openTabid){ +this._getTabs().eq(index).remove(); +this._getPanels().eq(index).trigger(DWZ.eventType.pageClear).remove(); +this._getMoreLi().eq(index).remove(); +if(this._currentIndex>=index)this._currentIndex--; +if(openTabid){ +var openIndex=this._indexTabId(openTabid); +if(openIndex>0)this._currentIndex=openIndex;} +this._init(); +this._scrollCurrent(); +this._reload(this._getTabs().eq(this._currentIndex));}, +closeTab:function(tabid){ +var index=this._indexTabId(tabid); +if(index>0){this._closeTab(index);}}, +closeCurrentTab:function(openTabid){ +if(this._currentIndex>0){this._closeTab(this._currentIndex,openTabid);}}, +closeAllTab:function(){ +this._getTabs().filter(":gt(0)").remove(); +this._getPanels().filter(":gt(0)").trigger(DWZ.eventType.pageClear).remove(); +this._getMoreLi().filter(":gt(0)").remove(); +this._currentIndex=0; +this._init(); +this._scrollCurrent();}, +_closeOtherTab:function(index){ +index=index||this._currentIndex; +if(index>0){ +var str$=":eq("+index+")"; +this._getTabs().not(str$).filter(":gt(0)").remove(); +this._getPanels().not(str$).filter(":gt(0)").trigger(DWZ.eventType.pageClear).remove(); +this._getMoreLi().not(str$).filter(":gt(0)").remove(); +this._currentIndex=1; +this._init(); +this._scrollCurrent();}else{ +this.closeAllTab();}}, +_loadUrlCallback:function($panel){ +$panel.find("[layoutH]").layoutH(); +$panel.find(":button.close").click(function(){ +navTab.closeCurrentTab();});}, +_reload:function($tab,flag){ +flag=flag||$tab.data("reloadFlag"); +var url=$tab.attr("url"); +if(flag&&url){ +$tab.data("reloadFlag",null); +var $panel=this.getPanel($tab.attr("tabid")); +if($tab.hasClass("external")){ +navTab.openExternal(url,$panel);}else{ +var $pagerForm=$("#pagerForm",$panel); +var args=$pagerForm.size()>0?$pagerForm.serializeArray():{} +$panel.loadUrl(url,args,function(){navTab._loadUrlCallback($panel);});}}}, +reloadFlag:function(tabid){ +var $tab=this._getTab(tabid); +if($tab){ +if(this._indexTabId(tabid)==this._currentIndex)this._reload($tab,true); +else $tab.data("reloadFlag",1);}}, +reload:function(url,options){ +var op=$.extend({data:{},navTabId:"",callback:null},options); +var $tab=op.navTabId?this._getTab(op.navTabId):this._getTabs().eq(this._currentIndex); +var $panel=op.navTabId?this.getPanel(op.navTabId):this._getPanels().eq(this._currentIndex); +if($panel){ +if(!url){ +url=$tab.attr("url");} +if(url){ +if($tab.hasClass("external")){ +navTab.openExternal(url,$panel);}else{ +if($.isEmptyObject(op.data)){ +var $pagerForm=$("#pagerForm",$panel); +op.data=$pagerForm.size()>0?$pagerForm.serializeArray():{}} +$panel.ajaxUrl({ +type:"POST",url:url,data:op.data,callback:function(response){ +navTab._loadUrlCallback($panel); +if($.isFunction(op.callback))op.callback(response);}});}}}}, +getCurrentPanel:function(){ +return this._getPanels().eq(this._currentIndex);}, +checkTimeout:function(){ +var json=DWZ.jsonEval(this.getCurrentPanel().html()); +if(json&&json.statusCode==DWZ.statusCode.timeout)this.closeCurrentTab();}, +openExternal:function(url,$panel){ +var ih=navTab._panelBox.height(); +$panel.html(DWZ.frag["externalFrag"].replaceAll("{url}",url).replaceAll("{height}",ih+"px"));}, +openTab:function(tabid,url,options){ +var op=$.extend({title:"New Tab",data:{},fresh:true,external:false},options); +var iOpenIndex=this._indexTabId(tabid); +if(iOpenIndex>=0){ +var $tab=this._getTabs().eq(iOpenIndex); +var span$=$tab.attr("tabid")==this._op.mainTabId?"> span > span":"> span"; +$tab.find(">a").attr("title",op.title).find(span$).text(op.title); +var $panel=this._getPanels().eq(iOpenIndex); +if(op.fresh||$tab.attr("url")!=url){ +$tab.attr("url",url); +if(op.external||url.isExternalUrl()){ +$tab.addClass("external"); +navTab.openExternal(url,$panel);}else{ +$tab.removeClass("external"); +$panel.ajaxUrl({ +type:"GET",url:url,data:op.data,callback:function(){ +navTab._loadUrlCallback($panel);}});}} +this._currentIndex=iOpenIndex;}else{ +var tabFrag='
  • #title#close
  • '; +this._tabBox.append(tabFrag.replaceAll("#tabid#",tabid).replaceAll("#title#",op.title)); +this._panelBox.append('
    '); +this._moreBox.append('
  • #title#
  • '.replaceAll("#title#",op.title)); +var $tabs=this._getTabs(); +var $tab=$tabs.filter(":last"); +var $panel=this._getPanels().filter(":last"); +if(op.external||url.isExternalUrl()){ +$tab.addClass("external"); +navTab.openExternal(url,$panel);}else{ +$tab.removeClass("external"); +$panel.ajaxUrl({ +type:"GET",url:url,data:op.data,callback:function(){ +navTab._loadUrlCallback($panel);}});} +if($.History){ +setTimeout(function(){ +$.History.addHistory(tabid,function(tabid){ +var i=navTab._indexTabId(tabid); +if(i>=0)navTab._switchTab(i);},tabid);},10);} +this._currentIndex=$tabs.size()-1; +this._contextmenu($tabs.filter(":last").hoverClass("hover"));} +this._init(); +this._scrollCurrent(); +this._getTabs().eq(this._currentIndex).attr("url",url);}};(function($){ +$.fn.extend({ +tabs:function(options){ +var op=$.extend({reverse:false,eventType:"click",currentIndex:0,stTabHeader:"> .tabsHeader",stTab:">.tabsHeaderContent>ul",stTabPanel:"> .tabsContent",ajaxClass:"j-ajax",closeClass:"close",prevClass:"tabsLeft",nextClass:"tabsRight"},options); +return this.each(function(){ +initTab($(this));}); +function initTab(jT){ +var jSelector=jT.add($("> *",jT)); +var jTabHeader=$(op.stTabHeader,jSelector); +var jTabs=$(op.stTab+" li",jTabHeader); +var jGroups=$(op.stTabPanel+" > *",jSelector); +jTabs.unbind().find("a").unbind(); +jTabHeader.find("."+op.prevClass).unbind(); +jTabHeader.find("."+op.nextClass).unbind(); +jTabs.each(function(iTabIndex){ +if(op.currentIndex==iTabIndex)$(this).addClass("selected"); +else $(this).removeClass("selected"); +if(op.eventType=="hover")$(this).hover(function(event){switchTab(jT,iTabIndex)}); +else $(this).click(function(event){switchTab(jT,iTabIndex)}); +$("a",this).each(function(){ +if($(this).hasClass(op.ajaxClass)){ +$(this).click(function(event){ +var jGroup=jGroups.eq(iTabIndex); +if(this.href&&!jGroup.attr("loaded"))jGroup.loadUrl(this.href,{},function(){ +jGroup.find("[layoutH]").layoutH(); +jGroup.attr("loaded",true);}); +event.preventDefault();});}else if($(this).hasClass(op.closeClass)){ +$(this).click(function(event){ +jTabs.eq(iTabIndex).remove(); +jGroups.eq(iTabIndex).remove(); +if(iTabIndex==op.currentIndex){ +op.currentIndex=(iTabIndex+1 *",jT)); +var jTabHeader=$(op.stTabHeader,jSelector); +var jTabs=$(op.stTab+" li",jTabHeader); +var jGroups=$(op.stTabPanel+" > *",jSelector); +var jTab=jTabs.eq(iTabIndex); +var jGroup=jGroups.eq(iTabIndex); +if(op.reverse&&(jTab.hasClass("selected"))){ +jTabs.removeClass("selected"); +jGroups.hide();}else{ +op.currentIndex=iTabIndex; +jTabs.removeClass("selected"); +jTab.addClass("selected"); +jGroups.hide().eq(op.currentIndex).show();} +if(!jGroup.attr("inited")){ +jGroup.attr("inited",1000).find("input[type=text]").filter("[alt]").inputAlert();}}}});})(jQuery);(function($){ +$.fn.extend({jresize:function(options){ +if(typeof options=='string'){ +if(options=='destroy') +return this.each(function(){ +var dialog=this; +$("div[class^='resizable']",dialog).each(function(){ +$(this).hide();});});} +return this.each(function(){ +var dialog=$(this); +var resizable=$(".resizable"); +$("div[class^='resizable']",dialog).each(function(){ +var bar=this; +$(bar).mousedown(function(event){ +$.pdialog.switchDialog(dialog); +$.resizeTool.start(resizable,dialog,event,$(bar).attr("tar")); +return false;}).show();});});}}); +$.resizeTool={ +start:function(resizable,dialog,e,target){ +$.pdialog.initResize(resizable,dialog,target); +$.data(resizable[0],'layer-drag',{ +options:$.extend($.pdialog._op,{target:target,dialog:dialog,stop:$.resizeTool.stop})}); +$.layerdrag.start(resizable[0],e,$.pdialog._op);}, +stop:function(){ +var data=$.data(arguments[0],'layer-drag'); +$.pdialog.resizeDialog(arguments[0],data.options.dialog,data.options.target); +$("body").css("cursor",""); +$(arguments[0]).hide();}}; +$.layerdrag={ +start:function(obj,e,options){ +if(!$.layerdrag.current){ +$.layerdrag.current={ +el:obj, +oleft:parseInt(obj.style.left)||0, +owidth:parseInt(obj.style.width)||0, +otop:parseInt(obj.style.top)||0, +oheight:parseInt(obj.style.height)||0, +ox:e.pageX||e.screenX, +oy:e.pageY||e.clientY}; +$(document).bind('mouseup',$.layerdrag.stop); +$(document).bind('mousemove',$.layerdrag.drag);} +return $.layerdrag.preventEvent(e);}, +drag:function(e){ +if(!e)var e=window.event; +var current=$.layerdrag.current; +var data=$.data(current.el,'layer-drag'); +var lmove=(e.pageX||e.screenX)-current.ox; +var tmove=(e.pageY||e.clientY)-current.oy; +if((e.pageY||e.clientY)<=0||(e.pageY||e.clientY)>=($(window).height()-$(".dialogHeader",$(data.options.dialog)).outerHeight()))return false; +var target=data.options.target; +var width=current.owidth; +var height=current.oheight; +if(target!="n"&&target!="s"){ +width+=(target.indexOf("w")>=0)?-lmove:lmove;} +if(width>=$.pdialog._op.minW){ +if(target.indexOf("w")>=0){ +current.el.style.left=(current.oleft+lmove)+'px';} +if(target!="n"&&target!="s"){ +current.el.style.width=width+'px';}} +if(target!="w"&&target!="e"){ +height+=(target.indexOf("n")>=0)?-tmove:tmove;} +if(height>=$.pdialog._op.minH){ +if(target.indexOf("n")>=0){ +current.el.style.top=(current.otop+tmove)+'px';} +if(target!="w"&&target!="e"){ +current.el.style.height=height+'px';}} +return $.layerdrag.preventEvent(e);}, +stop:function(e){ +var current=$.layerdrag.current; +var data=$.data(current.el,'layer-drag'); +$(document).unbind('mousemove',$.layerdrag.drag); +$(document).unbind('mouseup',$.layerdrag.stop); +if(data.options.stop){ +data.options.stop.apply(current.el,[current.el]);} +$.layerdrag.current=null; +return $.layerdrag.preventEvent(e);}, +preventEvent:function(e){ +if(e.stopPropagation)e.stopPropagation(); +if(e.preventDefault)e.preventDefault(); +return false;}};})(jQuery);(function($){ +$.pdialog={ +_op:{height:300,width:580,minH:40,minW:50,total:20,max:false,mask:false,resizable:true,drawable:true,maxable:true,minable:true,fresh:true}, +_current:null, +_zIndex:42, +getCurrent:function(){ +return this._current;}, +reload:function(url,options){ +var op=$.extend({data:{},dialogId:"",callback:null},options); +var dialog=(op.dialogId&&$("body").data(op.dialogId))||this._current; +if(dialog){ +var jDContent=dialog.find(".dialogContent"); +jDContent.ajaxUrl({ +type:"POST",url:url,data:op.data,callback:function(response){ +jDContent.find("[layoutH]").layoutH(jDContent); +$(".pageContent",dialog).width($(dialog).width()-14); +$(":button.close",dialog).click(function(){ +$.pdialog.close(dialog); +return false;}); +if($.isFunction(op.callback))op.callback(response);}});}}, +open:function(url,dlgid,title,options){ +var op=$.extend({},$.pdialog._op,options); +var dialog=$("body").data(dlgid); +if(dialog){ +if(dialog.is(":hidden")){ +dialog.show();} +if(op.fresh||url!=$(dialog).data("url")){ +dialog.data("url",url); +dialog.find(".dialogHeader").find("h1").html(title); +this.switchDialog(dialog); +var jDContent=dialog.find(".dialogContent"); +jDContent.loadUrl(url,{},function(){ +jDContent.find("[layoutH]").layoutH(jDContent); +$(".pageContent",dialog).width($(dialog).width()-14); +$("button.close").click(function(){ +$.pdialog.close(dialog); +return false;});});}}else{ +$("body").append(DWZ.frag["dialogFrag"]); +dialog=$(">.dialog:last-child","body"); +dialog.data("id",dlgid); +dialog.data("url",url); +if(options.close)dialog.data("close",options.close); +if(options.param)dialog.data("param",options.param);($.fn.bgiframe&&dialog.bgiframe()); +dialog.find(".dialogHeader").find("h1").html(title); +$(dialog).css("zIndex",($.pdialog._zIndex+=2)); +$("div.shadow").css("zIndex",$.pdialog._zIndex-3).show(); +$.pdialog._init(dialog,options); +$(dialog).click(function(){ +$.pdialog.switchDialog(dialog);}); +if(op.resizable) +dialog.jresize(); +if(op.drawable) +dialog.dialogDrag(); +$("a.close",dialog).click(function(event){ +$.pdialog.close(dialog); +return false;}); +if(op.maxable){ +$("a.maximize",dialog).show().click(function(event){ +$.pdialog.switchDialog(dialog); +$.pdialog.maxsize(dialog); +dialog.jresize("destroy").dialogDrag("destroy"); +return false;});}else{ +$("a.maximize",dialog).hide();} +$("a.restore",dialog).click(function(event){ +$.pdialog.restore(dialog); +dialog.jresize().dialogDrag(); +return false;}); +if(op.minable){ +$("a.minimize",dialog).show().click(function(event){ +$.pdialog.minimize(dialog); +return false;});}else{ +$("a.minimize",dialog).hide();} +$("div.dialogHeader a",dialog).mousedown(function(){ +return false;}); +$("div.dialogHeader",dialog).dblclick(function(){ +if($("a.restore",dialog).is(":hidden")) +$("a.maximize",dialog).trigger("click"); +else +$("a.restore",dialog).trigger("click");}); +if(op.max){ +$.pdialog.maxsize(dialog); +dialog.jresize("destroy").dialogDrag("destroy");} +$("body").data(dlgid,dialog); +$.pdialog._current=dialog; +$.pdialog.attachShadow(dialog); +var jDContent=$(".dialogContent",dialog); +jDContent.loadUrl(url,{},function(){ +jDContent.find("[layoutH]").layoutH(jDContent); +$(".pageContent",dialog).width($(dialog).width()-14); +$("button.close").click(function(){ +$.pdialog.close(dialog); +return false;});});} +if(op.mask){ +$(dialog).css("zIndex",1000); +$("a.minimize",dialog).hide(); +$(dialog).data("mask",true); +$("#dialogBackground").show();}else{ +if(op.minable)$.taskBar.addDialog(dlgid,title);}}, +switchDialog:function(dialog){ +var index=$(dialog).css("zIndex"); +$.pdialog.attachShadow(dialog); +if($.pdialog._current){ +var cindex=$($.pdialog._current).css("zIndex"); +$($.pdialog._current).css("zIndex",index); +$(dialog).css("zIndex",cindex); +$("div.shadow").css("zIndex",cindex-1); +$.pdialog._current=dialog;} +$.taskBar.switchTask(dialog.data("id"));}, +attachShadow:function(dialog){ +var shadow=$("div.shadow"); +if(shadow.is(":hidden"))shadow.show(); +shadow.css({ +top:parseInt($(dialog)[0].style.top)-2, +left:parseInt($(dialog)[0].style.left)-4, +height:parseInt($(dialog).height())+8, +width:parseInt($(dialog).width())+8, +zIndex:parseInt($(dialog).css("zIndex"))-1}); +$(".shadow_c",shadow).children().andSelf().each(function(){ +$(this).css("height",$(dialog).outerHeight()-4);});}, +_init:function(dialog,options){ +var op=$.extend({},this._op,options); +var height=op.height>op.minH?op.height:op.minH; +var width=op.width>op.minW?op.width:op.minW; +if(isNaN(dialog.height())||dialog.height()0?iTop:0});}, +initResize:function(resizable,dialog,target){ +$("body").css("cursor",target+"-resize"); +resizable.css({ +top:$(dialog).css("top"), +left:$(dialog).css("left"), +height:$(dialog).css("height"), +width:$(dialog).css("width")}); +resizable.show();}, +repaint:function(target,options){ +var shadow=$("div.shadow"); +if(target!="w"&&target!="e"){ +shadow.css("height",shadow.outerHeight()+options.tmove); +$(".shadow_c",shadow).children().andSelf().each(function(){ +$(this).css("height",$(this).outerHeight()+options.tmove);});} +if(target=="n"||target=="nw"||target=="ne"){ +shadow.css("top",options.otop-2);} +if(options.owidth&&(target!="n"||target!="s")){ +shadow.css("width",options.owidth+8);} +if(target.indexOf("w")>=0){ +shadow.css("left",options.oleft-4);}}, +resizeTool:function(target,tmove,dialog){ +$("div[class^='resizable']",dialog).filter(function(){ +return $(this).attr("tar")=='w'||$(this).attr("tar")=='e';}).each(function(){ +$(this).css("height",$(this).outerHeight()+tmove);});}, +resizeDialog:function(obj,dialog,target){ +var oleft=parseInt(obj.style.left); +var otop=parseInt(obj.style.top); +var height=parseInt(obj.style.height); +var width=parseInt(obj.style.width); +if(target=="n"||target=="nw"){ +tmove=parseInt($(dialog).css("top"))-otop;}else{ +tmove=height-parseInt($(dialog).css("height"));} +$(dialog).css({left:oleft,width:width,top:otop,height:height}); +$(".dialogContent",dialog).css("width",(width-12)+"px"); +$(".pageContent",dialog).css("width",(width-14)+"px"); +if(target!="w"&&target!="e"){ +var content=$(".dialogContent",dialog); +content.css({height:height-$(".dialogHeader",dialog).outerHeight()-$(".dialogFooter",dialog).outerHeight()-6}); +content.find("[layoutH]").layoutH(content); +$.pdialog.resizeTool(target,tmove,dialog);} +$.pdialog.repaint(target,{oleft:oleft,otop:otop,tmove:tmove,owidth:width}); +$(window).trigger(DWZ.eventType.resizeGrid);}, +close:function(dialog){ +if(typeof dialog=='string')dialog=$("body").data(dialog); +var close=dialog.data("close"); +var go=true; +if(close&&$.isFunction(close)){ +var param=dialog.data("param"); +if(param&¶m!=""){ +param=DWZ.jsonEval(param); +go=close(param);}else{ +go=close();} +if(!go)return;} +$(dialog).hide(); +$("div.shadow").hide(); +if($(dialog).data("mask")){ +$("#dialogBackground").hide();}else{ +if($(dialog).data("id"))$.taskBar.closeDialog($(dialog).data("id"));} +$("body").removeData($(dialog).data("id")); +$(dialog).trigger(DWZ.eventType.pageClear).remove();}, +closeCurrent:function(){ +this.close($.pdialog._current);}, +checkTimeout:function(){ +var $conetnt=$(".dialogContent",$.pdialog._current); +var json=DWZ.jsonEval($conetnt.html()); +if(json&&json.statusCode==DWZ.statusCode.timeout)this.closeCurrent();}, +maxsize:function(dialog){ +$(dialog).data("original",{ +top:$(dialog).css("top"), +left:$(dialog).css("left"), +width:$(dialog).css("width"), +height:$(dialog).css("height")}); +$("a.maximize",dialog).hide(); +$("a.restore",dialog).show(); +var iContentW=$(window).width(); +var iContentH=$(window).height()-34; +$(dialog).css({top:"0px",left:"0px",width:iContentW+"px",height:iContentH+"px"}); +$.pdialog._resizeContent(dialog,iContentW,iContentH);}, +restore:function(dialog){ +var original=$(dialog).data("original"); +var dwidth=parseInt(original.width); +var dheight=parseInt(original.height); +$(dialog).css({ +top:original.top, +left:original.left, +width:dwidth, +height:dheight}); +$.pdialog._resizeContent(dialog,dwidth,dheight); +$("a.maximize",dialog).show(); +$("a.restore",dialog).hide(); +$.pdialog.attachShadow(dialog);}, +minimize:function(dialog){ +$(dialog).hide(); +$("div.shadow").hide(); +var task=$.taskBar.getTask($(dialog).data("id")); +$(".resizable").css({ +top:$(dialog).css("top"), +left:$(dialog).css("left"), +height:$(dialog).css("height"), +width:$(dialog).css("width")}).show().animate({top:$(window).height()-60,left:task.position().left,width:task.outerWidth(),height:task.outerHeight()},250,function(){ +$(this).hide(); +$.taskBar.inactive($(dialog).data("id"));});}, +_resizeContent:function(dialog,width,height){ +var content=$(".dialogContent",dialog); +content.css({width:(width-12)+"px",height:height-$(".dialogHeader",dialog).outerHeight()-$(".dialogFooter",dialog).outerHeight()-6}); +content.find("[layoutH]").layoutH(content); +$(".pageContent",dialog).css("width",(width-14)+"px"); +$(window).trigger(DWZ.eventType.resizeGrid);}};})(jQuery);(function($){ +$.fn.dialogDrag=function(options){ +if(typeof options=='string'){ +if(options=='destroy') +return this.each(function(){ +var dialog=this; +$("div.dialogHeader",dialog).unbind("mousedown");});} +return this.each(function(){ +var dialog=$(this); +$("div.dialogHeader",dialog).mousedown(function(e){ +$.pdialog.switchDialog(dialog); +dialog.data("task",true); +setTimeout(function(){ +if(dialog.data("task"))$.dialogDrag.start(dialog,e);},100); +return false;}).mouseup(function(e){ +dialog.data("task",false); +return false;});});}; +$.dialogDrag={ +currId:null, +_init:function(dialog){ +this.currId=new Date().getTime(); +var shadow=$("#dialogProxy"); +if(!shadow.size()){ +shadow=$(DWZ.frag["dialogProxy"]); +$("body").append(shadow);} +$("h1",shadow).html($(".dialogHeader h1",dialog).text());}, +start:function(dialog,event){ +this._init(dialog); +var sh=$("#dialogProxy"); +sh.css({ +left:dialog.css("left"), +top:dialog.css("top"), +height:dialog.css("height"), +width:dialog.css("width"), +zIndex:parseInt(dialog.css("zIndex"))+1}).show(); +$("div.dialogContent",sh).css("height",$("div.dialogContent",dialog).css("height")); +sh.data("dialog",dialog); +dialog.css({left:"-10000px",top:"-10000px"}); +$(".shadow").hide(); +$(sh).jDrag({ +selector:".dialogHeader", +stop:this.stop, +event:event}); +return false;}, +stop:function(){ +var sh=$(arguments[0]); +var dialog=sh.data("dialog"); +$(dialog).css({left:$(sh).css("left"),top:$(sh).css("top")}); +$.pdialog.attachShadow(dialog); +$(sh).hide();}}})(jQuery);(function($){ +var _op={ +cursor:'move', +sortBoxs:'div.sortDrag', +replace:false, +items:'> *', +selector:'', +zIndex:1000}; +var sortDrag={ +start:function($sortBox,$item,event,op){ +var $placeholder=this._createPlaceholder($item); +var $helper=$item.clone(); +var position=$item.position(); +$helper.data('$sortBox',$sortBox).data('op',op).data('$item',$item).data('$placeholder',$placeholder); +$helper.addClass('sortDragHelper').css({position:'absolute',top:position.top+$sortBox.scrollTop(),left:position.left,zIndex:op.zIndex,width:$item.width()+'px',height:$item.height()+'px'}).jDrag({ +selector:op.selector, +drag:this.drag, +stop:this.stop, +event:event}); +$item.before($placeholder).before($helper).hide(); +return false;}, +drag:function(){ +var $helper=$(arguments[0]),$sortBox=$helper.data('$sortBox'),$placeholder=$helper.data('$placeholder'); +var $items=$sortBox.find($helper.data('op')['items']).filter(':visible').filter(':not(.sortDragPlaceholder, .sortDragHelper)'); +var helperPos=$helper.position(),firstPos=$items.eq(0).position(); +var $overBox=sortDrag._getOverSortBox($helper); +if($overBox.length>0&&$overBox[0]!=$sortBox[0]){ +$placeholder.appendTo($overBox); +$helper.data('$sortBox',$overBox);}else{ +for(var i=0;i<$items.length;i++){ +var $this=$items.eq(i),position=$this.position(); +if(helperPos.top>position.top+10){ +$this.after($placeholder);}else if(helperPos.top<=position.top){ +$this.before($placeholder); +break;}}}}, +stop:function(){ +var $helper=$(arguments[0]),$sortBox=$helper.data('$sortBox'),$item=$helper.data('$item'),$placeholder=$helper.data('$placeholder'); +var position=$placeholder.position(); +$helper.animate({ +top:(position.top+$sortBox.scrollTop())+"px", +left:position.left+"px"},{ +complete:function(){ +if($helper.data('op')['replace']){ +$srcBox=$item.parents(_op.sortBoxs+":first"); +$destBox=$placeholder.parents(_op.sortBoxs+":first"); +if($srcBox[0]!=$destBox[0]){ +$replaceItem=$placeholder.next(); +if($replaceItem.size()>0){ +$replaceItem.insertAfter($item);}}} +$item.insertAfter($placeholder).show(); +$placeholder.remove(); +$helper.remove();}, +duration:300});}, +_createPlaceholder:function($item){ +return $('<'+$item[0].nodeName+' class="sortDragPlaceholder"/>').css({ +width:$item.outerWidth()+'px', +height:$item.outerHeight()+'px', +marginTop:$item.css('marginTop'), +marginRight:$item.css('marginRight'), +marginBottom:$item.css('marginBottom'), +marginLeft:$item.css('marginLeft')});}, +_getOverSortBox:function($item){ +var itemPos=$item.position(); +var y=itemPos.top+($item.height()/2), x = itemPos.left+($item.width()/2); +return $(_op.sortBoxs).filter(':visible').filter(function(){ +var $sortBox=$(this),sortBoxPos=$sortBox.position(); +return DWZ.isOver(y,x,sortBoxPos.top,sortBoxPos.left,$sortBox.height(),$sortBox.width());});}}; +$.fn.sortDrag=function(options){ +return this.each(function(){ +var op=$.extend({},_op,options); +var $sortBox=$(this); +if($sortBox.attr('selector'))op.selector=$sortBox.attr('selector'); +$sortBox.find(op.items).each(function(i){ +var $item=$(this),$selector=$item; +if(op.selector){ +$selector=$item.find(op.selector).css({cursor:op.cursor});} +$selector.mousedown(function(event){ +sortDrag.start($sortBox,$item,event,op); +event.preventDefault();});});});}})(jQuery);(function($){ +$.fn.extend({ +cssTable:function(options){ +return this.each(function(){ +var $this=$(this); +var $trs=$this.find('tbody>tr'); +var $grid=$this.parent(); +var nowrap=$this.hasClass("nowrap"); +$trs.hoverClass("hover").each(function(index){ +var $tr=$(this); +if(!nowrap&&index%2==1)$tr.addClass("trbg"); +$tr.click(function(){ +$trs.filter(".selected").removeClass("selected"); +$tr.addClass("selected"); +var sTarget=$tr.attr("target"); +if(sTarget){ +if($("#"+sTarget,$grid).size()==0){ +$grid.prepend('');} +$("#"+sTarget,$grid).val($tr.attr("rel"));}});}); +$this.find("thead [orderField]").orderBy({ +targetType:$this.attr("targetType"), +rel:$this.attr("rel"), +asc:$this.attr("asc")||"asc", +desc:$this.attr("desc")||"desc"});});}});})(jQuery);(function($){ +$.fn.jTable=function(options){ +return this.each(function(){ +var $table=$(this),nowrapTD=$table.attr("nowrapTD"); +var tlength=$table.width(); +var aStyles=[]; +var $tc=$table.parent().addClass("j-resizeGrid"); +var layoutH=$(this).attr("layoutH"); +var oldThs=$table.find("thead>tr:last-child").find("th"); +for(var i=0,l=oldThs.size();i"); +var $grid=$table.parent().html($table.html()); +var thead=$grid.find("thead"); +thead.wrap("
    "); +var lastH=$(">tr:last-child",thead); +var ths=$(">th",lastH); +$("th",thead).each(function(){ +var $th=$(this); +$th.html("
    "+$th.html()+"
    ");}); +ths.each(function(i){ +var $th=$(this),style=aStyles[i]; +$th.addClass(style[1]).hoverClass("hover").removeAttr("align").removeAttr("width").width(style[0]);}).filter("[orderField]").orderBy({ +targetType:$table.attr("targetType"), +rel:$table.attr("rel"), +asc:$table.attr("asc")||"asc", +desc:$table.attr("desc")||"desc"}); +var tbody=$grid.find(">tbody"); +var layoutStr=layoutH?" layoutH='"+layoutH+"'":""; +tbody.wrap("
    "); +var ftr=$(">tr:first-child",tbody); +var $trs=tbody.find('>tr'); +$trs.hoverClass().each(function(){ +var $tr=$(this); +var $ftds=$(">td",this); +for(var i=0;i<$ftds.size();i++){ +var $ftd=$($ftds[i]); +if(nowrapTD!="false")$ftd.html("
    "+$ftd.html()+"
    "); +if(i');} +$("#"+sTarget,$grid).val($tr.attr("rel"));}});}); +$(">td",ftr).each(function(i){ +if(i