📄 radupload.js
字号:
var RadUploadNameSpace= {} ; RadUploadNameSpace.o9=[]; RadUploadNameSpace.i4=null; RadUploadNameSpace.Localization=[]; RadUploadNameSpace.i3=null; RadUploadNameSpace.RadUpload= function (d){if (!document.readyState || document.readyState=="c\x6f\x6d\160l\x65\164e"){ this.C(d); }else if (window.attachEvent){var c=this ; var B= function (){c.C(d); } ; window.attachEvent("\x6fnload",B); }else if (window.addEventListener && navigator.userAgent.indexOf("\x53afa\x72\x69")!=-1){var c=this ; var B= function (){c.C(d); } ; window.addEventListener("load",B, true); }} ; RadUploadNameSpace.RadUpload.prototype.C= function (d){ this.Id=d[0]; this.o0=d[1]; this.O0=this.o0+"Img/"; this.FormId=d[2]; this.ip=d[3]; this.Ip=d[4]; this.O2=d[5]; this.l2=d[6]; if (RadUploadNameSpace.i3==null){RadUploadNameSpace.i3=this.l2; } this.Iv=d[7]; this.ow=d[8]; this.Ow=d[9]; this.lw=d[10]; this.iw=d[11]; if (RadUploadNameSpace.Utils.iu()){ this.Ow= false; } this.I2=d[12]; this.Iw=d[13]; this.ox=d[14]; this.Ox=d[15]; this.lx=d[16]; this.ix=d[17]; this.Ix=d[18]; this.Enabled=d[19]; this.oy=d[20]; this.Oy=0; this.ly=null; this.Document=document; this.iy=this.Document.getElementById(this.Id+"Bu\x74to\x6e\x41rea"); this.z=this.Document.getElementById(this.Id+"ListCon\x74\x61iner"); for (var i=0; i<this.z.rows.length; i++){var I5=this.z.rows[i]; I5.parentNode.removeChild(I5); }if (this.Ow){ this.Iy(); }var c=this ; this.oz=this.Oz("\x41ddButton","Add", function (){c.Add(); } ); this.lz=this.Oz("\x44eleteB\x75\x74ton","Del\x65\x74e", function (){c.iz(); } ); var ir=document.getElementById(this.FormId); if (ir.enctype!="\x6dultipart/fo\x72\x6d-da\x74\x61"){ir.enctype="\x6dultipart/\x66\x6frm-d\x61\x74a"; ir.encoding="\x6dultipar\x74\x2fform\x2d\x64ata"; } ; ir=null; var Iz=this.ow; if (this.Iv>0){Iz=Math.min(this.ow,this.Iv); }for (var i=0; i<Iz; i++){ this.Add( true , true); }if (Iz>0 && this.oy){ this.o10(0); } this.SetControlObjectsVisibility(this.Iw); if (this.ow==0){ this.O10(this.lz, false); }var l10= false; for (var i=0; i<RadUploadNameSpace.o9.length; i++){if (RadUploadNameSpace.o9[i].Id==this.Id){RadUploadNameSpace.o9[i]=this ; l10= true; break; }}if (!l10){RadUploadNameSpace.o9[RadUploadNameSpace.o9.length]=this ; }RadUploadNameSpace.Utils.Ok(window,"\x75nlo\x61\x64", function (){RadUploadNameSpace.Utils.Ij(); } ); RadUploadNameSpace.Utils.I4(this,this.FormId,RadUploadNameSpace.Utils.Om); } ; RadUploadNameSpace.RadUpload.prototype.Iy= function (){ this.ly=this.o8("div"); this.ly.style.position="\x61bsolute"; this.ly.style.top=0; this.ly.style.left=0; this.ly.style.zIndex=1; var i10=this.o8("\x69nput"); i10.type="\x74ext"; i10.className="Ra\x64\x55ploadIn\x70\x75tFi\x65\154\x64"; this.ly.appendChild(i10); var I10=this.o8("\x69\x6eput"); I10.type="button"; I10.value=RadUploadNameSpace.Localization[this.I2]["Select"]; I10.disabled=!this.Enabled; I10.className="\x52\x61dUploa\x64\x53ele\x63\x74But\x74\x6fn"; this.ly.appendChild(I10); } ; RadUploadNameSpace.RadUpload.prototype.Add= function (o11,O11){if (o11==null){o11= false; } this.l11(this.z.rows.length,o11,O11); } ; RadUploadNameSpace.RadUpload.prototype.l11= function (index,o11,O11){if (typeof(index)=="\x75ndefined"){index=this.z.rows.length; }if (index>this.z.rows.length){index=this.z.rows.length; }if ((index>=this.Iv) && (this.Iv>0)){return; }if (!o11){var i11=this.Og(this.ox,new RadUploadNameSpace.g(null)); if (i11== false){return; }}var I11=this.z.insertRow(index); if (this.Enabled){I11.onclick=RadUploadNameSpace.Utils.ll; }I11.Container=this ; var o12=this.O12(); var l12=this.i12(); var I12=this.o13(); var O13=this.l13(); var i13=I11.insertCell(0); i13.appendChild(o12); var I13=I11.insertCell(1); l12.Container=this ; var c=this ; if (this.Ow){l12.className="RealFil\x65Input"; var o14=this.o8("div"); o14.style.position="rel\x61\164\x69\x76e"; I13.appendChild(o14); o14.appendChild(l12); if (!window.opera){var O14=this.ly.cloneNode( true); o14.appendChild(O14); var onKeyUp= function (){var l14=O14.childNodes[0]; l14.value=l12.value; l14.disabled= true; l14.title=l12.value; };if (this.lw){}else {l12.onkeyup=onKeyUp; }l12.onchange= function (){onKeyUp(); c.Og(c.ix,new RadUploadNameSpace.g(l12)); } ; }}else {l12.className="\x4eoSki\x6e\x6eedFil\x65\x55npu\x74"; I13.appendChild(l12); l12.onchange= function (){c.Og(c.ix,new RadUploadNameSpace.g(l12)); } ; }if (this.lw){l12.onkeypress= function (e){if (!e){e=window.event; }if (e.preventDefault){e.preventDefault(); }else {return false; }} ; }var i14=I11.insertCell(2); i14.appendChild(I12); var I14=I11.insertCell(3); I14.appendChild(O13); this.o15(); this.O15(I11); this.Oy++; if (!O11){try {l12.focus(); }catch (ex){}}} ; RadUploadNameSpace.RadUpload.prototype.o10= function (index){var I5=this.z.rows[index]; var l15=this.i15(index); try {l15.focus(); }catch (ex){}} ; RadUploadNameSpace.RadUpload.prototype.iz= function (){var I15=[]; var o16=[]; for (var i=this.z.rows.length-1; i>=0; i--){var I5=this.z.rows[i]; var O16=I5.cells[0].childNodes[0]; if (O16.checked){o16[o16.length]=i; var l16=I5.getElementsByTagName("\111\x4ePUT"); for (var j=0; j<l16.length; j++){if (l16[j].type=="file"){I15[I15.length]=l16[j]; break; }}}}var i11=this.Og(this.Ix,new RadUploadNameSpace.f(I15)); if (i11== false){return; }for (var i=0; i<o16.length; i++){ this.Il(o16[i], true); }} ; RadUploadNameSpace.RadUpload.prototype.Il= function (index,o11){var I5=this.z.rows[index]; if (I5){if (o11){I5.parentNode.removeChild(I5); this.o15(); }else {var l15=this.i15(index); var i11=this.Og(this.Ox,new RadUploadNameSpace.g(l15)); if (i11== false){return false; }I5.parentNode.removeChild(I5); this.o15(); }}} ; RadUploadNameSpace.RadUpload.prototype.om= function (index){var I5=this.z.rows[index]; if (I5){var l15=this.i15(index); var i11=this.Og(this.lx,new RadUploadNameSpace.g(l15));if (i11== false){return false; } this.Il(index, true); this.l11(index, true); }} ; RadUploadNameSpace.RadUpload.prototype.Og= function (ig,ov,Ov,lv){if (typeof(ov)!="\x75\x6e\x64efine\x64"){if (typeof(Ov)!="\x75\x6edefin\x65\x64"){if (typeof(lv)!="undefined"){return RadUploadNameSpace.Utils.Og(ig,this,ov,Ov,lv); }return RadUploadNameSpace.Utils.Og(ig,this,ov,Ov); }return RadUploadNameSpace.Utils.Og(ig,this,ov); }return RadUploadNameSpace.Utils.Og(ig,this ); } ; RadUploadNameSpace.RadUpload.prototype.Oz= function (i16,I16,o17){var O17=this.Document.getElementById(this.Id+i16); if (O17!=null){O17.value=RadUploadNameSpace.Localization[this.I2][I16]; if (this.Enabled){O17.onclick=o17; }else {O17.disabled= true; }}return O17; } ; RadUploadNameSpace.RadUpload.prototype.l17= function (){return this.i17.l17(); } ; RadUploadNameSpace.RadUpload.prototype.o15= function (){ this.O10(this.lz,this.I17()>0); this.O10(this.oz,(this.Iv<=0) || (this.I17()<this.Iv)); } ; RadUploadNameSpace.RadUpload.prototype.O12= function (){var o18=this.o8("\x69nput"); o18.type="\x63heckbox"; o18.id=this.Id+"checkbox"+this.Oy; o18.className="\x52adUploadFi\x6c\x65Sele\x63\x74or"; o18.disabled=!this.Enabled; return o18; } ; RadUploadNameSpace.RadUpload.prototype.i12= function (){var O18=this.o8("\x69nput"); O18.type="\146\x69\x6ce"; O18.name=this.Id+"\x66\151le"+this.Oy; O18.id=this.Id+"file"+this.Oy; O18.disabled=!this.Enabled; return O18; } ; RadUploadNameSpace.RadUpload.prototype.o13= function (){var l18=this.o8("\x69nput"); l18.type="\x62utton"; l18.value=RadUploadNameSpace.Localization[this.I2]["\x52\145mov\x65"]; l18.id=this.Id+"\x72emove"+this.Oy; l18.className="\x52adUploadRemo\x76\x65But\x74\x6fn"; l18.Container=this ; l18.name="RemoveRo\x77"; l18.disabled=!this.Enabled; return l18; } ; RadUploadNameSpace.RadUpload.prototype.l13= function (){var i18=this.o8("\151np\x75\x74"); i18.type="\x62utton"; i18.value=RadUploadNameSpace.Localization[this.I2]["\x43lear"]; i18.id=this.Id+"\x63lear"+this.Oy; i18.className="RadUploadC\x6c\x65arB\x75\x74ton"; i18.Container=this ; i18.name="ClearI\x6e\x70ut"; i18.disabled=!this.Enabled; return i18; } ; RadUploadNameSpace.RadUpload.prototype.I17= function (){return this.z.rows.length; } ; RadUploadNameSpace.RadUpload.prototype.o8= function (tagName){return RadUploadNameSpace.Utils.o8(this.Document,tagName); } ; RadUploadNameSpace.RadUpload.prototype.O10= function (button,I18){if (I18){button.className="\122\x61\x64Upload\x42\x75tto\x6e"; }else {button.className="\x52adUp\x6c\x6fadBut\x74\x6fnDi\x73\141b\x6c\x65d"; }} ; RadUploadNameSpace.RadUpload.prototype.O15= function (It){ this.ot(It.cells[0],this.Iw&RadUploadNameSpace.Utils.oh); this.ot(It.cells[2],this.Iw&RadUploadNameSpace.Utils.Oh); this.ot(It.cells[3],(this.Iw&RadUploadNameSpace.Utils.lh)); } ; RadUploadNameSpace.RadUpload.prototype.ot= function (Ot,Ic){RadUploadNameSpace.Utils.ot(Ot,Ic); } ; RadUploadNameSpace.RadUpload.prototype.it= function (It,Ic){RadUploadNameSpace.Utils.it(It,Ic); } ; RadUploadNameSpace.RadUpload.prototype.o19= function (button,Ic){RadUploadNameSpace.Utils.lt(button,Ic,"i\x6e\x6cine","inline"); } ; RadUploadNameSpace.RadUpload.prototype.l5= function (){ this.lz=null; } ; RadUploadNameSpace.RadUpload.prototype.i15= function (index){var l15=null; var I5=this.z.rows[index]; if (I5){var l16=I5.getElementsByTagName("INPUT"); var l15=null; for (var i=0; i<l16.length; i++){if (l16[i].type=="\x66ile"){l15=l16[i]; break; }}}return l15; } ; RadUploadNameSpace.RadUpload.prototype.O19= function (l19){if (l19=="")return true; for (var j=0; j<this.iw.length; j++){var i19=this.iw[j].substring(2); var I19=new RegExp("\x2e"+i19+"\x24","\x69g"); if (l19.match(I19)){return true; }}return false; } ; RadUploadNameSpace.RadUpload.prototype.AddFileInput= function (){ this.Add( true); } ; RadUploadNameSpace.RadUpload.prototype.AddFileInputAt= function (index){ this.l11(index, true , false); } ; RadUploadNameSpace.RadUpload.prototype.ClearFileInputAt= function (index){ this.om(index, true , false); } ; RadUploadNameSpace.RadUpload.prototype.DeleteSelectedFileInputs= function (){ this.iz(); } ; RadUploadNameSpace.RadUpload.prototype.DeleteSelectedFiles= function (){ this.iz(); } ; RadUploadNameSpace.RadUpload.prototype.DeleteFileInputAt= function (position){ this.Il(position); } ; RadUploadNameSpace.RadUpload.prototype.DeleteFileAt= function (position){ this.Il(position); } ; RadUploadNameSpace.RadUpload.prototype.SetControlObjectsVisibility= function (Iw){ this.Iw=Iw; for (var i=0; i<this.z.rows.length; i++){ this.O15(this.z.rows[i]); } this.it(this.iy,this.Iw&RadUploadNameSpace.Utils.ii); this.o19(this.oz,this.Iw&RadUploadNameSpace.Utils.ih); this.o19(this.lz,this.Iw&RadUploadNameSpace.Utils.Ih); } ; RadUploadNameSpace.RadUpload.prototype.ValidateExtensions= function (){for (var i=0; i<this.z.rows.length; i++){var oe=this.i15(i).value; if (!this.O19(oe)){return false; }}return true; } ; function GetRadUpload(Ii){return window[Ii]; } ;;RadUploadNameSpace.Localization.ProcessRawArray= function (O){var o=O[0]; if (typeof(RadUploadNameSpace.Localization[o])=="\x75\x6edefin\x65\x64"){RadUploadNameSpace.Localization[o]=[]; }for (var i=1; i<O.length; i+=2){RadUploadNameSpace.Localization[o][O[i]]=O[i+1]; }} ;;RadUploadNameSpace.g= function (F){ this.FileInputField=F; } ; RadUploadNameSpace.f= function (D){ this.FileInputFields=D; } ;;RadUploadNameSpace.RadUploadProgressArea= function (d){if (!document.readyState || document.readyState=="\x63\x6fmplete"){ this.C(d); }else if (window.attachEvent){var c=this ; var B= function (){c.C(d); } ; window.attachEvent("onload",B); }else if (window.addEventListener && navigator.userAgent.indexOf("\x53afari")!=-1){var c=this ; var B= function (){c.C(d); } ; window.addEventListener("load",B, true); }} ; RadUploadNameSpace.RadUploadProgressArea.prototype.C= function (d){if (window.opera){return; } this.Id=d[0]; this.o0=d[1]; this.O0=this.o0+"I\x6d\147/"; this.FormId=d[2]; this.l0=d[3]; this.i0=d[4]; this.I0=d[5]; this.o1=d[6]; this.O1=d[7]; this.l1=d[8]; this.i1=d[9]; this.I1=d[10]; if (this.I1<50){ this.I1=50; } this.o2=d[11]; this.O2=d[12]; this.l2=d[13]; this.i2=d[14]; this.I2=d[15]; this.o3=d[16]; this.O3=d[17]; this.Top=d[18]; this.l3=d[19]; if (RadUploadNameSpace.i3==null){RadUploadNameSpace.i3=this.l2; } this.IsVisible= false; this.I3=0; this.o4= false; this.O4= false; this.Document=document; this.l4(); var c=this ; RadUploadNameSpace.i4=this ; RadUploadNameSpace.Utils.I4(this,this.FormId, function (){c.o5();} ); if (window.OnCallbackRequestStart){var O5=window.OnCallbackRequestStart; window.OnCallbackRequestStart= function (){c.o5= function (){} ; O5(); };}};RadUploadNameSpace.RadUploadProgressArea.prototype.l5= function (){};RadUploadNameSpace.RadUploadProgressArea.prototype.l4= function (){ this.Container=this.Document.getElementById(this.Id+"\103\x6f\156tai\x6e\x65r"); if (this.o3){ this.Container.style.position="absolut\x65"; if (this.O3){ this.Container.style.left=this.O3; }if (this.Top){ this.Container.style.top=this.Top; }} this.i5=this.Document.getElementById(this.Id+"Table"); for (var i=0; i<this.i5.rows.length; i++){var I5=this.i5.rows[i]; I5.parentNode.removeChild(I5); } this.o6=null; this.O6=null; this.l6=null; this.i6=null; this.I6=null; this.o7=null; this.O7=null; this.l7=null; if (this.l0){ this.o6=this.i7(); }if (this.i0){ this.O6=this.I7(); this.O6.className="\122\x61\x64Uploa\x64\124ot\x61\154P\x72ogress\x44\x61ta"; this.O6.innerHTML=""; }if (this.I0){ this.l6=this.I7(); this.l6.className="RadUp\x6c\x6f\x61dC\x75\x72ren\x74FileNa\x6d\x65"; this.l6.innerHTML=""; }if (this.o1){ this.i6=this.i7(); }if (this.O1){ this.I6=this.I7(); this.I6.className="\x52\x61dUploa\x64\x46ileC\x6f\x75ntP\x72\x6fgre\x73\163\x44ata"; this.I6.innerHTML=""; }if (this.l1){ this.o7=this.I7(); this.o7.className="\x52adUplo\x61\x64TimeD\x61\x74a"; this.o7.innerHTML=""; }if (this.i1){ this.O7=this.I7(); this.O7.className="RadUploadC\x61\x6ecelB\x75\x74ton\x48\x6flde\x72"; this.l7=this.o8("input"); this.l7=this.l7.cloneNode( true); this.l7.className="R\x61\x64UploadC\x61\156c\x65\x6cBut\x74\x6fn"; this.l7.type="button"; this.l7.value=RadUploadNameSpace.Localization[this.I2]["\103a\x6e\x63el"]; var c=this ; this.l7.onclick= function (){c.o4= true; } ; this.O7.appendChild(this.l7); }} ; RadUploadNameSpace.RadUploadProgressArea.prototype.I7= function (){var l=this.i5.insertRow(this.i5.rows.length); return l.insertCell(0); } ; RadUploadNameSpace.RadUploadProgressArea.prototype.i7= function (){var O8=this.i5.insertRow(this.i5.rows.length); var l8=O8.insertCell(0); var i8=this.o8("\x69mg"); i8=i8.cloneNode( true); i8.src=this.O0+"\160ro\x67\x72ess.g\x69\x66"; l8.appendChild(i8); l8.className="\x52adUplo\x61\x64Progr\x65\x73sB\x61\x72Hol\x64\x65r"; i8.style.width="0px"; return i8; } ; RadUploadNameSpace.RadUploadProgressArea.prototype.o5= function (){ this.I3=0; var I8= false; for (var i=0; (i<RadUploadNameSpace.o9.length) && (I8== false); i++){var O9=RadUploadNameSpace.o9[i].z.getElementsByTagName("in\x70\x75t"); for (var j=0; (j<O9.length) && (I8== false); j++){if ((O9[j].type=="f\x69\x6ce") && (O9[j].value!="")){I8= true; }}}if (!I8)return; var l9=this.Document.getElementsByTagName("\x69nput"); for (var i=0; i<l9.length; i++){var i9=l9[i]; if (i9.type=="file" && i9.value!=""){ this.I3++; }} this.I9=new Date(); this.oa(); } ; RadUploadNameSpace.RadUploadProgressArea.prototype.Oa= function (){if (window.opera){return; }if (this.la==null){ this.la=this.o8("\x69frame"); this.la.src="javascri\x70\x74:fal\x73\x65;"; this.la.id=this.Id+"_\x4f\x76erlay"; this.la.frameBorder=0; this.la.style.position="\x61\x62solute"; this.la.style.visibility="\x68idden"; this.la.style.zIndex=this.Container.style.zIndex-1; this.la.style.left=this.Container.style.left; this.la.style.top=this.Container.style.top; var ia=this.Container.offsetWidth; var Ia=this.Container.offsetHeight; this.la.style.width=ia+"\x70\x78"; this.la.style.height=Ia+"\x70x"; this.Container.style.filter="\x6e\x6fne"; this.la.style.filter="\x70rogid:D\x58\x49mage\x54\x72an\x73form.Mi\x63\162\x6f\163o\x66t.Al\x70ha(sty\x6c\145=\x30,opac\x69\164y\x3d0)"; this.la.ob= false; this.i5.parentNode.insertBefore(this.la,this.i5); } this.la.style.visibility="v\x69\x73ible"; } ; RadUploadNameSpace.RadUploadProgressArea.prototype.oa= function (){if (!this.O4){ this.O4= true; var Ob=null; if (typeof(XMLHttpRequest)!="\x75ndefi\x6e\x65d"){Ob=new XMLHttpRequest(); }if (typeof(ActiveXObject)!="unde\x66\x69ned"){Ob=new ActiveXObject("Mi\x63\x72osoft.\x58\x4dLHT\x54\x50"); }var lb=new Date(); var url=this.o2+"\x26"+this.O2+"\x3d"+RadUploadNameSpace.i3+"\x26\x72_U_DDt\x3d"+lb.getTime(); if (this.o4){url+="&"+this.i2+"=true"; }Ob.open("\107\x45\x54",url, true); var c=this ; Ob.onreadystatechange= function (){c.ib(Ob); } ; Ob.send(""); }} ; RadUploadNameSpace.RadUploadProgressArea.prototype.Ib= function (oc){var Oc=oc/1024; var lc=Oc/1024; if (lc>.8){return ""+Math.round(lc*100)/100+"\x4dB"; }else if (Oc>.8){return ""+Math.round(Oc*100)/100+"K\x42"; }else {return ""+oc+"bytes"; }} ; RadUploadNameSpace.RadUploadProgressArea.prototype.ic= function (Ic){if (this.IsVisible!=Ic){ this.IsVisible=Ic; if (this.IsVisible){ this.Container.style.display="inl\x69\x6ee"; if (this.o3){ this.Oa(); }}else { this.Container.style.display="none"; }}} ; RadUploadNameSpace.RadUploadProgressArea.prototype.ib= function (Ob){if (Ob.readyState!=4)return; var html=Ob.responseText; if (html){eval(html); if (RadUploadItemsArrayOnDemand[0]==1){ this.ic( true); var od=RadUploadItemsArrayOnDemand[1]; var Od=RadUploadItemsArrayOnDemand[2]; var ld=RadUploadItemsArrayOnDemand[3]; var oe=RadUploadItemsArrayOnDemand[4]; var Oe=0; var le=0; if (od>0){Oe=Math.round(Od/od*100); }if (this.I3){le=Math.round(ld/this.I3*100); }if (this.l0){ this.o6.style.width=""+Oe+"\045"; }if (this.i0){var ie=RadUploadNameSpace.Localization[this.I2]["\103o\x6d\x70leteB\x79\x74esT\x65\170t"]; ie=ie.replace(/\x25\x43\x4f\x4d\x50\x4c\x45\x54\x45\x5f\x42\x59\x54\x45\x53\x25/g,""+this.Ib(Od)); ie=ie.replace(/\x25\x54\x4f\x54\x41\x4c\x5f\x42\x59\x54\x45\x53\x25/g,""+this.Ib(od)); this.O6.innerHTML=ie.replace(/\x25\x50\x45\x52\x43\x45\x4e\x54\x53\x25/g,""+Oe); }if (this.I0){var ie=RadUploadNameSpace.Localization[this.I2]["Curren\x74\x46ileNa\x6d\x65Tex\x74"]; if (oe==""){oe=RadUploadNameSpace.Localization[this.I2]["\x46ormData"]; } this.l6.innerHTML=ie.replace(/\x25\x43\x55\x52\x52\x45\x4e\x54\x5f\x46\x49\x4c\x45\x4e\x41\x4d\x45\x25/g,oe); }if (this.o1){ this.i6.style.width=""+le+"%"; }if (this.O1){var ie=RadUploadNameSpace.Localization[this.I2]["\x43\x6fmpleteF\x69\x6cesT\x65\x78t"]; ie=ie.replace(/\x25\x43\x4f\x4d\x50\x4c\x45\x54\x45\x5f\x46\x49\x4c\x45\x53\x25/g,""+ld); ie=ie.replace(/\x25\x54\x4f\x54\x41\x4c\x5f\x46\x49\x4c\x45\x53\x25/g,""+this.I3); this.I6.innerHTML=ie.replace(/\x25\x50\x45\x52\x43\x45\x4e\x54\x53\x25/g,""+le); }if (this.l1){var Ie=new Date(); var ie=RadUploadNameSpace.Localization[this.I2]["TimeInforma\x74\x69onT\x65\x78t"]; var of=Ie-this.I9; var Of=Math.round(of/1000); var If="N/A"; var og="\x4e/A"; if (Oe>0){If=Math.round(of*100/Oe); og=Math.round((If-of)/1000); }ie=ie.replace(/\x25\x45\x4c\x41\x50\x53\x45\x44\x5f\x53\x45\x43\x4f\x4e\x44\x53\x25/g,""+Of); this.o7.innerHTML=ie.replace(/\x25\x45\x53\x54\x49\x4d\x41\x54\x45\x44\x5f\x52\x45\x4d\x41\x49\x4e\x49\x4e\x47\x5f\x54\x49\x4d\x45\x25/g,""+og); } this.Og(this.l3); }else if (RadUploadItemsArrayOnDemand[0]==2){ this.ic( true); this.O4= false; this.lg(); return; }}else { this.ic( false); } this.O4= false; var c=this ; window.setTimeout( function (){c.oa(); } ,c.I1); } ; RadUploadNameSpace.RadUploadProgressArea.prototype.lg= function (){window.location.href=window.location.href; } ; RadUploadNameSpace.RadUploadProgressArea.prototype.Og= function (ig){RadUploadNameSpace.Utils.Og(ig,this ); } ; RadUploadNameSpace.RadUploadProgressArea.prototype.o8= function (tagName){return RadUploadNameSpace.Utils.o8(this.Document,tagName); } ;;RadUploadNameSpace.Utils= {} ; RadUploadNameSpace.Utils.Ig=0; RadUploadNameSpace.Utils.oh=1; RadUploadNameSpace.Utils.Oh=2; RadUploadNameSpace.Utils.lh=4; RadUploadNameSpace.Utils.ih=8; RadUploadNameSpace.Utils.Ih=16; RadUploadNameSpace.Utils.oi=RadUploadNameSpace.Utils.oh|RadUploadNameSpace.Utils.Oh|RadUploadNameSpace.Utils.ih|RadUploadNameSpace.Utils.Ih; RadUploadNameSpace.Utils.Oi=RadUploadNameSpace.Utils.oh|RadUploadNameSpace.Utils.Oh|RadUploadNameSpace.Utils.lh|RadUploadNameSpace.Utils.ih|RadUploadNameSpace.Utils.Ih; RadUploadNameSpace.Utils.ii=RadUploadNameSpace.Utils.ih|RadUploadNameSpace.Utils.Ih; RadUploadNameSpace.Utils.AppendStyleSheet= function (Ii,oj){var Oj=(navigator.appName=="\x4d\x69\x63rosof\x74\040\x49nterne\x74\040E\x78\x70lor\x65\162") && ((navigator.userAgent.toLowerCase().indexOf("mac")!=-1) || (navigator.appVersion.toLowerCase().indexOf("mac")!=-1)); var lj=(navigator.userAgent.toLowerCase().indexOf("\x73afari")!=-1); if (Oj || lj){document.write("<"+"li\x6e\x6b"+"\x20\x72el=\047styles\x68\145et\x27 type\x3d\x27tex\x74\057\x63\x73s\x27 href\x3d\047"+oj+"\047\x3e"); }else {var ij=document.createElement("LINK"); ij=ij.cloneNode( true); ij.rel="stylesh\x65\x65t"; ij.type="text/css"; ij.href=oj; document.getElementById(Ii+"S\x74\x79leSheet\x48\x6flder").appendChild(ij); }} ; RadUploadNameSpace.Utils.Ij= function (){for (var i=0; i<RadUploadNameSpace.o9.length; i++){var ok=RadUploadNameSpace.o9[i]; if (ok.l5){ok.l5(); }}if (RadUploadNameSpace.i4){RadUploadNameSpace.i4.l5(); }} ; RadUploadNameSpace.Utils.Ok= function (lk,ik,Ik){if (document.attachEvent){lk.attachEvent("on"+ik,Ik); }else if (window.addEventListener){lk.addEventListener(ik,Ik, true); }} ; RadUploadNameSpace.Utils.ll= function (e){if (!e){e=event; }var il; if (e.srcElement && e.srcElement.name){il=e.srcElement.name; }else if (e.target && e.target.name){il=e.target.name; }if (il=="\x52em\x6f\x76eRow"){if (this.Container.Il(this.rowIndex)!= false){ this.Container=null; }}if (il=="\x43\x6cearInpu\x74"){var index=this.rowIndex; if (this.Container.om(index)!= false){ this.Container=null; }}} ; RadUploadNameSpace.Utils.Om= function (){RadUploadNameSpace.Utils.Im(); } ; RadUploadNameSpace.Utils.On= function (In,oo,value){for (var i=0; i<In.length; i++){if (In[i][oo]==value){return i; }}return -1; } ; RadUploadNameSpace.Utils.Im= function (){var Oo=[]; var Io=0; for (var i=0; i<RadUploadNameSpace.o9.length; i++){var ok=RadUploadNameSpace.o9[i]; var op=RadUploadNameSpace.Utils.On(Oo,"\x46ormId",ok.FormId); var Op=op>=0; if (!Op){op=Io; Oo[Io]= {FormId:ok.FormId,lp: "",ip:ok.ip,O2:ok.O2 } ; }Oo[op].lp+=ok.Id+ok.Ip; if (!Op){Io++; }}for (var i=0; i<Oo.length; i++){var oq=""; var Oq=document.getElementById(Oo[i].FormId); var lq=Oo[i]; if (Oq.action==null){Oq.action=""; }if (Oq.action && Oq.action.match(/\x3f/)){var iq=new RegExp("&?"+lq.ip+"\x3d[^\x26\x5d*"); if (Oq.action.match(iq)){Oq.action=Oq.action.replace(iq,""); }var Iq=new RegExp("&?"+lq.O2+"\x3d[^&]*"); if (Oq.action.match(Iq)){Oq.action=Oq.action.replace(Iq,""); }if (Oq.action.substring(Oq.action.length-1)!="\x3f"){Oq.action+="&"; }}else {Oq.action+="?";}Oq.action+=lq.ip+"\x3d"+lq.lp.replace(/\x2c$/g,"")+"\x26"+lq.O2+"\x3d"+RadUploadNameSpace.i3; Oq=null; }} ; RadUploadNameSpace.Utils.I4= function (or,Or,lr){var ir=null; try {ir=document.getElementById(Or); }catch (ex){ir=document.forms[0]; }var Ir=ir.submit; or.Ir=ir.submit; try {ir.submit= function (){try {lr(); this.submit=Ir; this.submit(); }catch (os){}} ; }catch (os){try {Os=__doPostBack; __doPostBack= function (eventTarget,eventArgument){lr(); var ls= true; if (typeof(Page_ClientValidate)=="\146\x75nction"){ls=Page_ClientValidate(); }if (ls){Os(eventTarget,eventArgument); }} ; }catch (os){}}RadUploadNameSpace.Utils.Ok(ir,"\x73ubmit", function (){lr(); } ); ir=null; } ; RadUploadNameSpace.Utils.o8= function (is,tagName){var Is=is.createElement(tagName); return Is.cloneNode( true); } ; RadUploadNameSpace.Utils.ot= function (Ot,Ic){RadUploadNameSpace.Utils.lt(Ot,Ic,"bloc\x6b","table\x2d\x63ell"); } ; RadUploadNameSpace.Utils.it= function (It,Ic){RadUploadNameSpace.Utils.lt(It,Ic,"\x62lock","t\x61\x62le-row"); } ; RadUploadNameSpace.Utils.lt= function (ou,Ic,Ou,lu){if (Ic){ou.style.display=document.all?Ou:lu; }else {ou.style.display="none"; }} ; RadUploadNameSpace.Utils.iu= function (){return (navigator.userAgent.toLowerCase().indexOf("\x73afari")>0); } ; RadUploadNameSpace.Utils.Og= function (ig,Iu,ov,Ov,lv){var iv=null; if (ig && typeof(ig=="\x73tring")){var iv=eval(ig); }if (iv){if (typeof(Iu)!="\x75ndefine\x64"){if (typeof(ov)!="\x75ndef\x69\x6eed"){if (typeof(Ov)!="un\x64\x65fined"){if (typeof(lv)!="undef\x69\x6eed"){return iv(Iu,ov,Ov,lv); }return iv(Iu,ov,Ov); }return iv(Iu,ov); }return iv(Iu); }return iv(); }} ;;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -