403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Program Files (x86)/Mail Enable/Bin/NETWebAdmin/Mondo/lang/sys/scripts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Program Files (x86)/Mail Enable/Bin/NETWebAdmin/Mondo/lang/sys/scripts/LIBDialogs.js
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(c,b,a){c instanceof String&&(c=String(c));for(var d=c.length,e=0;e<d;e++){var f=c[e];if(b.call(a,f,e,c))return{i:e,v:f}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(c,b,a){if(c==Array.prototype||c==Object.prototype)return c;c[b]=a.value;return c};$jscomp.getGlobal=function(c){c=["object"==typeof globalThis&&globalThis,c,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<c.length;++b){var a=c[b];if(a&&a.Math==Math)return a}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
$jscomp.IS_SYMBOL_NATIVE="function"===typeof Symbol&&"symbol"===typeof Symbol("x");$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE;$jscomp.polyfills={};$jscomp.propertyToPolyfillSymbol={};$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(c,b){var a=$jscomp.propertyToPolyfillSymbol[b];if(null==a)return c[b];a=c[a];return void 0!==a?a:c[b]};
$jscomp.polyfill=function(c,b,a,d){b&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(c,b,a,d):$jscomp.polyfillUnisolated(c,b,a,d))};$jscomp.polyfillUnisolated=function(c,b,a,d){a=$jscomp.global;c=c.split(".");for(d=0;d<c.length-1;d++){var e=c[d];if(!(e in a))return;a=a[e]}c=c[c.length-1];d=a[c];b=b(d);b!=d&&null!=b&&$jscomp.defineProperty(a,c,{configurable:!0,writable:!0,value:b})};
$jscomp.polyfillIsolated=function(c,b,a,d){var e=c.split(".");c=1===e.length;d=e[0];d=!c&&d in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var f=0;f<e.length-1;f++){var g=e[f];if(!(g in d))return;d=d[g]}e=e[e.length-1];a=$jscomp.IS_SYMBOL_NATIVE&&"es6"===a?d[e]:null;b=b(a);null!=b&&(c?$jscomp.defineProperty($jscomp.polyfills,e,{configurable:!0,writable:!0,value:b}):b!==a&&(void 0===$jscomp.propertyToPolyfillSymbol[e]&&(a=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[e]=$jscomp.IS_SYMBOL_NATIVE?
$jscomp.global.Symbol(e):$jscomp.POLYFILL_PREFIX+a+"$"+e),$jscomp.defineProperty(d,$jscomp.propertyToPolyfillSymbol[e],{configurable:!0,writable:!0,value:b})))};$jscomp.polyfill("Array.prototype.find",function(c){return c?c:function(b,a){return $jscomp.findInternal(this,b,a).v}},"es6","es3");var gDialogZindex=10100,ESCAPE_KEYCODE=27;function GetDisplay(c){return c?"":"none"}function GetDialogDocument(){var c=document;null==c.body&&(c=getTopAppWindow().document);return c}
function FloatingFrame(c,b,a){this.ID=c;this.topDoc=GetDialogDocument();a&&(this.topDoc=a.Document?a.Document:this.topDoc,this.Width=a.Width,this.ShowShadow=void 0==a.ShowShadow||a.ShowShadow);(a?void 0==a.CreateShell||a.CreateShell:1)&&0==$("#"+this.ID,this.topDoc).length&&this.CreateShell(b)}
FloatingFrame.prototype.CreateShell=function(c){$("body",this.topDoc).append('<div id="'+this.ID+'" style="display:none;position:absolute;'+(this.Width?"width: "+this.Width+"px;":"")+'"></div>');var b=$("#"+this.ID,this.topDoc);this.ShowShadow?(b.append('<table cellspacing="0" cellpadding="0" border="0" class="popupWin_shell_table" style="width: 100%; height: 100%;"><tbody><tr><td class="popupWin_shad_topLeft"><div class="popupWin_shad_topLeft_div"></div></td><td class="popupWin_shad_top"></td><td class="popupWin_shad_topRight"></td></tr><tr><td class="popupWin_shad_left"></td><td class="popupWin_shad_body"></td><td class="popupWin_shad_right"></td></tr><tr><td class="popupWin_shad_botLeft"><div class="popupWin_shad_botLeft_div"></div></td><td class="popupWin_shad_bot"></td><td class="popupWin_shad_botRight"></td></tr></tbody></table>'),
b.find(".popupWin_shad_body").append(c)):b.append(c)};
FloatingFrame.prototype.Show=function(c){c&&(0==$("#"+this.ID+"_modal_screen",this.topDoc).length&&$("body",this.topDoc).append('<div id="'+this.ID+'_modal_screen" class="popupWin_modal_screen"></div>'),$("#"+this.ID+"_modal_screen",this.topDoc).css({overflow:"hidden",position:"absolute",left:"0px",top:"0px",width:"100%",height:"100%",zIndex:gDialogZindex++}).show());0==$("#"+this.ID+"_if",this.topDoc).length&&$("body",this.topDoc).append('<iframe id="'+this.ID+'_if" name="'+this.ID+'_if" frameborder="0" class="popupWin_if"></iframe>');
c=$("#"+this.ID,this.topDoc);$("#"+this.ID+"_if",this.topDoc).css("z-index",gDialogZindex++);navigator.userAgent.match(/MSIE 9/)&&c.show();c.css("z-index",gDialogZindex++).center({inside:this.topDoc.window}).show();navigator.userAgent.match(/MSIE 9/)&&c.center({inside:this.topDoc});$("#"+this.ID+"_if",this.topDoc).css({position:"absolute",left:c.offset().left,top:c.offset().top,width:c.width(),height:c.height()}).show()};
FloatingFrame.prototype.Hide=function(){$("#"+this.ID+", #"+this.ID+"_modal_screen, #"+this.ID+"_if",this.topDoc).hide()};
function Dialog(c,b,a,d){this.Title=b;this.Icon="none";d||(d={});this.Icon=d.Icon||this.Icon;this.CentreContent=d.CentreContent;this.CloseButtonEnabled=void 0==d.CloseButtonEnabled||d.CloseButtonEnabled;this.AllowEscape=d.AllowEscape;d.CreateShell=!1;Dialog.baseConstructor.call(this,c,"",d);if(0==$("#"+this.ID,this.topDoc).length){this.CreateShell('<table cellspacing="0" cellpadding="0" border="0" class="popupWin_table"><tbody><tr><td class="popupWin_topLeft"></td><td class="popupWin_top"><table cellspacing="0" cellpadding="0" border="0" class="popupWin_topBar_table"><tbody><tr><td class="popupWin_topBar_table_left"><div id="'+this.ID+
'_icon"></div><div class="popupWin_top_div"><h1></h1></div></td><td class="popupWin_topBar_table_right"><div class="'+(this.CloseButtonEnabled?"popupWin_bttn_close":"")+'"></div></td></tr></tbody></table></td><td class="popupWin_topRight"></td></tr><tr><td class="popupWin_left"></td><td class="popupWin_body"><div class="popupWin_dialogue'+(this.CentreContent?" popupWin_body_table_centered":"")+'"></div></td><td class="popupWin_right"></td></tr><tr><td class="popupWin_botLeft"><div class="popupWin_botLeft_div"></div></td><td class="popupWin_bot"></td><td class="popupWin_botRight"></td></tr></tbody></table>');
this.SetIcon(this.Icon);this.SetTitle(this.Title);$("#"+this.ID+" .popupWin_dialogue",this.topDoc).append(a);var e=this;if(this.CloseButtonEnabled)$("#"+this.ID+" .popupWin_bttn_close",this.topDoc).on("click",function(){e.Close()});$("#"+this.ID+" .popupWin_top",this.topDoc).closest("tr").on("mousedown",function(f){e.DragStart(f)});$(this.topDoc).on("mousemove",function(f){e.Drag(f)});$(this.topDoc).on("mouseup",function(){e.DragStop()});if(void 0==this.AllowEscape||this.AllowEscape)$("#"+this.ID,
this.topDoc).off("keydown").on("keydown",function(f){e.KeyHandler(f)});else $("#"+this.ID,this.topDoc).off("keydown")}}Dialog.inheritsFrom(FloatingFrame);Dialog.prototype.Show=function(c){void 0==c&&(c=!0);Dialog.superClass.Show.call(this,c);if(this.CentreContent){var b=0;$("#"+this.ID+" .popupWin_foot_bttns .bttn_float_right",this.topDoc).each(function(){b+=$(this).outerWidth()+parseInt(GetStyleValue(this,"marginLeft"),10)+5});$("#"+this.ID+" .popupWin_foot_bttn_centered_shell",this.topDoc).width(b)}};
Dialog.prototype.Close=function(){this.Hide()};Dialog.prototype.SetIcon=function(c){this.Icon=c;$("#"+this.ID+"_icon",this.topDoc).attr("class","").addClass("popupWin_top_icon_"+this.Icon)};Dialog.prototype.SetTitle=function(c){this.Title=c;$("#"+this.ID+" .popupWin_top_div h1",this.topDoc).text(this.Title)};
Dialog.prototype.AddAction=function(c,b,a){0==$("#"+this.ID+" .popupWin_foot_bttns",this.topDoc).length&&$("#"+this.ID+" .popupWin_dialogue",this.topDoc).after('<div class="'+(this.CentreContent?"popupWin_foot_bttn_centered_shell":"popupWin_foot_bttns_shell")+'"><div class="popupWin_foot_bttns"></div></div>');$("#"+this.ID+" .popupWin_foot_bttns",this.topDoc).append('<div class="bttn_float_right"><div class="bttn_left"><div class="compose_bttn_okCancel">'+c+'</div></div><div class="bttn_right"/></div>');
$("#"+this.ID+" .bttn_float_right:last",this.topDoc).on("click",b);a&&(this.DefaultAction=b)};Dialog.prototype.ClearActions=function(){$("#"+this.ID+" .popupWin_foot_bttns",this.topDoc).empty();this.DefaultAction=null};Dialog.prototype.AddCloseAction=function(){var c=this;this.AddAction(t_("[ME_TXT-Close]"),function(){c.Close()})};
Dialog.prototype.AddOKAndCancelActions=function(c,b,a,d,e){a||(a=t_("[ME_TXT-OK]"));d||(d=t_("[ME_TXT-Cancel]"));var f=this;this.AddAction(d,function(){f.Close();b&&b()});this.AddAction(a,function(){var g=c();(g||void 0==g)&&f.Close()},e)};Dialog.prototype.AddYesAndNoActions=function(c,b,a,d){a||(a=t_("[ME_TXT-Yes]"));d||(d=t_("[ME_TXT-No]"));this.AddOKAndCancelActions(c,b,a,d)};
Dialog.prototype.DragStart=function(c){if(c=c||window.event)this.DragStartPos={x:c.screenX,y:c.screenY},this.DragStartOffset=$("#"+this.ID,this.topDoc).offset()};
Dialog.prototype.Drag=function(c){if(this.DragStartPos&&(c=c||window.event)){var b=c.screenX-this.DragStartPos.x;c=c.screenY-this.DragStartPos.y;var a=$(this.topDoc).width()-$("#"+this.ID,this.topDoc).outerWidth()-5,d=$(this.topDoc).height()-$("#"+this.ID,this.topDoc).outerHeight()-5;b={left:Math.min(Math.max(this.DragStartOffset.left+b,0),a),top:Math.min(Math.max(this.DragStartOffset.top+c,0),d)};$("#"+this.ID+", #"+this.ID+"_if",this.topDoc).offset(b)}};
Dialog.prototype.DragStop=function(){this.DragStartOffset=this.DragStartPos=null};Dialog.prototype.KeyHandler=function(c){if(c=c||window.event){var b=c.keyCode||c.which;if(b==ESCAPE_KEYCODE)return this.Close(),c.preventDefault?c.preventDefault():c.returnValue=!1,!1;if(b==ENTER_KEYCODE&&this.DefaultAction)return this.DefaultAction(),c.preventDefault?c.preventDefault():c.returnValue=!1,!1}};function CreateMessageDialog(c,b){return new MessageDialog(c,b)}
function MessageDialog(c,b){b||(b={});b.Width||(b.Width=400);b.CentreContent=!0;MessageDialog.baseConstructor.call(this,c,"",'<div class="popupWin_body_table_txt"></div>',b)}MessageDialog.inheritsFrom(Dialog);MessageDialog.prototype.SetMessage=function(c){c=c.replace(/\n/g,"<BR>");$("#"+this.ID+" .popupWin_body_table_txt",this.topDoc).empty().append(c)};MessageDialog.prototype.ShowMessage=function(c,b,a,d){this.SetTitle(c);this.SetIcon(b);this.SetMessage(a);this.Show(d)};
MessageDialog.prototype.Alert=function(c,b,a,d,e){this.ClearActions();var f=this;e?this.AddAction(t_("[ME_TXT-OK]"),function(){e();f.Close()},!0):this.AddAction(t_("[ME_TXT-OK]"),function(){f.Close()},!0);this.ShowMessage(c,a?"warning":"info",b,d)};MessageDialog.prototype.Confirm=function(c,b,a,d,e,f){c||(c=t_("[ME_TXT-Confirm]"));f||(f={});var g=f.Icon||"confirm",k=f.YesCaption;f=f.NoCaption;this.ClearActions();this.AddYesAndNoActions(a,e,k,f);this.ShowMessage(c,g,b,d)};
function InputDialog(c,b){b||(b={});b.Width||(b.Width=500);InputDialog.baseConstructor.call(this,c,"",'<div class="popupWin_input_body_shell"><table cellspacing="0" cellpadding="0" border="0" class="popupWin_body_table"><tbody><tr><td><table cellspacing="0" cellpadding="0" border="0" class="popupWin_form_table"><tbody><tr><td colspan="2"><div class="popupWin_form_table_descrip"></div></td></tr><tr><td class="popupWin_form_table_left"><div class="popupWin_form_table_txt"></div></td><td class="popupWin_form_table_right"><input type="text" class="textfield"></td></tr></tbody></table></td></tr></tbody></table></div>',
b)}InputDialog.inheritsFrom(Dialog);InputDialog.prototype.Prompt=function(c,b,a,d,e,f){this.SetTitle(c);$("#"+this.ID+" .popupWin_form_table_descrip",this.topDoc).text(b);$("#"+this.ID+" .popupWin_form_table_txt",this.topDoc).text(a);$("#"+this.ID+" input",this.topDoc).val(d);this.ClearActions();var g=this;this.AddOKAndCancelActions(function(){e($("#"+g.ID+" input",g.topDoc).val())});this.Show(f)};
function TimeoutDialog(c,b,a,d){d||(d={});d.Width||(d.Width=500);this.TimeoutPage=b;this.ReconnectPage=a;this.TimeoutMins=d.TimeoutMins||0;this.TimeoutProximity=d.TimeoutProximity||5;this.LogOffCallback=d.LogOffCallback;this.TimeoutCallback=d.TimeoutCallback;this.AlertSound=d.AlertSound;this.TimeoutProximity=Math.min(this.TimeoutMins,this.TimeoutProximity);d.CloseButtonEnabled=!1;TimeoutDialog.baseConstructor.call(this,c,d);this.StartSessionTimeout()}TimeoutDialog.inheritsFrom(MessageDialog);
TimeoutDialog.prototype.StartSessionTimeout=function(){this.SessionTimeout&&(clearTimeout(this.SessionTimeout),this.SessionTimeout=null);var c=this;0<this.TimeoutMins&&(this.SessionTimeout=setTimeout(function(){c.Prompt()},6E4*(this.TimeoutMins-this.TimeoutProximity)))};
TimeoutDialog.prototype.Prompt=function(){var c='<table cellspacing="0" cellpadding="1" border="0" class="timeout_text"><tbody><tr><td>'+t_("[ME_TXT-YourSessionIsAboutToTimeOutIn]")+' </td><td><div class="timeout_countdown_text"></div></td></tr><tr><td colspan="2" >'+t_("[ME_TXT-DoYouWishToStayConnected?]")+"</td></tr></tbody></table>",b=this;this.Confirm(t_("[ME_TXT-DisconnectionWarning]"),c,function(){b.ResetSession(!0)},!0,function(){b.Logoff()},{Icon:"clock",YesCaption:t_("[ME_TXT-Yes]"),NoCaption:t_("[ME_TXT-No]")+
" ("+t_("[ME_TXT-LogOff]")+")"});this.Countdown(60*this.TimeoutProximity);this.AlertSound&&$("#BGSOUND_ID",this.topDoc).attr("src",this.AlertSound)};TimeoutDialog.prototype.TimeoutSession=function(){this.StopCountdown();this.TimeoutCallback&&this.TimeoutCallback();window.location.href=this.TimeoutPage};
TimeoutDialog.prototype.Countdown=function(c){if(0>=c)this.TimeoutSession();else{var b=Math.floor(c/60),a=c%60,d="";0<b&&(d+=b+" "+(1==b?t_("[ME_TXT-Minute]"):t_("[ME_TXT-Minutes]"))+" "+t_("[ME_TXT-And]")+" ");d+=a+" "+(1==a?t_("[ME_TXT-Second]"):t_("[ME_TXT-Seconds]"));$("#"+this.ID+" .timeout_countdown_text",this.topDoc).text(d);var e=this;this.CountdownTimeout=setTimeout(function(){e.Countdown(c-1)},1E3)}};
TimeoutDialog.prototype.StopCountdown=function(){this.CountdownTimeout&&(clearTimeout(this.CountdownTimeout),this.CountdownTimeout=null)};TimeoutDialog.prototype.ResetSession=function(c){this.StopCountdown();c&&((new Image(1,1)).src=this.ReconnectPage);this.StartSessionTimeout()};TimeoutDialog.prototype.Logoff=function(){this.StopCountdown();this.LogOffCallback&&this.LogOffCallback()};
function ProgressDialog(c,b){b||(b={});b.ShowShadow=!1;var a='<div class="loadPanel_shell cancel"><h2>'+t_("[ME_TXT-Pleasewait]")+'...</h2><div class="loadPanel_bar"></div><div class="loadPanel_cancel bttn_float_right"><div class="bttn_left"><div class="compose_bttn_okCancel">'+t_("[ME_TXT-Cancel]")+'</div></div><div class="bttn_right"></div></div>';ProgressDialog.baseConstructor.call(this,c,a,b)}ProgressDialog.inheritsFrom(FloatingFrame);
ProgressDialog.prototype.SetMessage=function(c){$("#"+this.ID+" .loadPanel_txt",this.topDoc).text(c)};ProgressDialog.prototype.SetCancellationAction=function(c){var b=null!=c&&void 0!=c;$CancelButton=$("#"+this.ID+" .loadPanel_cancel",this.topDoc);$CancelButton.toggle(b).off("click");if(b)$CancelButton.on("click",c)};ProgressDialog.prototype.CancelDelayedShow=function(){this.DelayTimeout&&(clearTimeout(this.DelayTimeout),this.DelayTimeout=null)};
ProgressDialog.prototype.Show=function(c){var b=1E3;c&&(c.Message&&this.SetMessage(c.Message),this.SetCancellationAction(c.CancellationAction),b=c.Delay||b);window.status=t_("[ME_TXT-Pleasewait]")+"...";this.CancelDelayedShow();var a=this;this.DelayTimeout=setTimeout(function(){ProgressDialog.superClass.Show.call(a)},b)};ProgressDialog.prototype.Hide=function(){window.status=t_("[ME_TXT-Done]");this.CancelDelayedShow();ProgressDialog.superClass.Hide.call(this)};
function NotificationDialog(c,b){var a=GetDialogDocument();this.ID="diag_"+c;this.textID=this.ID+"_text";this.NotificationTimer=null;this.SSLSafeURL=function(d){var e=window.location;return(e=(e+"mystr").match(/^https:\/\/[^\/]*\//i))?"url('"+e+d+"')":"url('"+d+"')"};this.Init=function(){$("body",a).append('<div class="" id="'+this.ID+'" style="visibility: hidden; display: none; position: absolute;"><table cellspacing="0" cellpadding="0" border="0" class="popupMsg_table popupWin_shad_body notification"><tbody><tr><td class="popupMsg_topLeft"><div class="popupMsg_botLeft_div"></div></td><td class="popupMsg_top"></td><td class="popupMsg_topRight"></td></tr><tr><td class="popupMsg_left"><div class="popupMsg_height"></div></td><td class="popupMsg_body" id="'+
this.textID+'">'+t_("[ME_TXT-AppointmentSaved]")+'</td><td class="popupMsg_right"></td></tr><tr><td class="popupMsg_botLeft"><div class="popupMsg_botLeft_div"></div></td><td class="popupMsg_bot"></td><td class="popupMsg_botRight"></td></tr></tbody></table></div>')};this.ShowNotification=function(d,e){var f=!1;d=d?d.replace(/\n/g,"<br/>"):"";!e||1!=e&&1!=e||(f=!0);e=a.getElementById(this.ID);a.getElementById(this.textID).innerHTML=d;e.style.display=GetDisplay(!0);e.style.visibility="visible";e.style.bottom=
"32px";e.style.right="5px";e.style.zIndex=gDialogZindex+10;if(0==f){var g=this;this.NotificationTimer=window.setTimeout(function(){g.ClearNotification()},3E3)}};this.ClearNotification=function(){a.getElementById(this.ID).style.display=GetDisplay(!1);this.NotificationTimer&&clearTimeout(this.NotificationTimer)};this.Init()}
function FileChooserDialog(c){var b=null;b=getTopAppWindow?getTopAppWindow().document:document;this.ID="diag_"+c;this.fnActionOK=null;this.posMouseLeft=this.posMouseTop=this.posDiagLeft=this.posDiagTop=0;this.beingDragged=!1;this.txtActualFilePath=this.title=this.source="";this.width=550;this.height=440;this.Init=function(){if(!b.getElementById(this.ID+"_IF")){var a=b.createElement("IFRAME");a.id=this.ID+"_IF";a.src="javascript:false;";a.scrolling="no";a.frameBorder="0";a.style.display="none";b.body.appendChild(a)}!b.getElementById(this.ID+
"_BG")&&(a=b.createElement("DIV"))&&(a.id=this.ID+"_BG",a.style.position="absolute",a.style.left="0px",a.style.top="0px",a.style.width="100%",a.style.height="100%",a.style.visibility="hidden",a.style.overflow="hidden",a.style.zIndex="-1",gBrowserType!=BROWSER_TYPE_IE6&&(a.style.filter="alpha(opacity=0)",a.style.MozOpacity="0",a.style.opacity="0",a.style.background="black"),a.style.display="none",b.body.appendChild(a));if(!b.getElementById(this.ID)&&(a=b.createElement("DIV"))){var d=this;this.txtActualFilePath=
"\\";var e=b.createElement("TABLE");var f=b.createElement("TBODY");a.id=this.ID;a.className="frameless_popup";a.style.visibility="hidden";a.style.display="none";a.style.position="absolute";e.className="optionsPanel_table";e.border=0;e.cellPadding=0;e.cellSpacing=0;var g=b.createElement("TR");var k=b.createElement("TD");var h=b.createElement("DIV");k.className="optionsPanel_table_topLeft";h.className="optionsPanel_table_topLeft_div";k.appendChild(h);g.appendChild(k);k=b.createElement("TD");k.className=
"optionsPanel_table_top";var l=b.createElement("DIV");h=b.createElement("DIV");var m=b.createElement("H1");m.id=this.ID+"_Title";l.className="optionsPanel_head";h.className="optionsPanel_top_title";h.style.cursor="move";h.appendChild(m);l.appendChild(h);k.appendChild(l);g.style.cursor="move";addEvent(k,"mousedown",function(q){d.HandleMouseDown(q)},!0);addEvent(b,"mouseup",function(q){d.HandleMouseUp(q)},!0);addEvent(b,"mousemove",function(q){d.HandleMouseMove(q)},!0);g.appendChild(k);k=b.createElement("TD");
k.className="optionsPanel_table_topRight";g.appendChild(k);f.appendChild(g);m=b.createElement("TR");var r=b.createElement("TD");r.className="optionsPanel_table_body";r.colSpan="3";var n=b.createElement("DIV");n.className="options_form_gap";n.appendChild(b.createTextNode(""));var p=b.createElement("DIV");p.className="optionsPanel_body_shell";l=b.createElement("TABLE");h=b.createElement("TBODY");l.className="options_form_table_fixed";l.border=0;l.cellSpacing=0;l.cellPadding=0;g=b.createElement("TR");
k=b.createElement("TD");var t=b.createElement("H2");t.id=this.ID+"_FoldersText";t.appendChild(b.createTextNode(t_("[ME_TXT-Folders]")+":"));k.appendChild(t);g.appendChild(k);this.oFolderSelect=b.createElement("SELECT");this.oFolderSelect.id=this.ID+"_FolderSelect";this.oFolderSelect.className="options_select_folderList";this.oFolderSelect.size="4";this.oFolderSelect.style.height="270px";this.oFolderSelect.style.width="320px";k.appendChild(this.oFolderSelect);g.appendChild(k);k=b.createElement("TD");
k.style.width="10px";g.appendChild(k);k=b.createElement("TD");k.style.width="40%";t=b.createElement("H2");t.id=this.ID+"_FoldersText2";t.appendChild(b.createTextNode(t_("[ME_TXT-FolderContents]")+":"));k.appendChild(t);g.appendChild(k);this.oFileSelect=b.createElement("SELECT");this.oFileSelect.id=this.ID+"_FileSelect";this.oFileSelect.className="options_select_folderList";this.oFileSelect.size="4";this.oFileSelect.style.height="270px";this.oFileSelect.style.width="220px";k.appendChild(this.oFileSelect);
g.appendChild(k);h.appendChild(g);l.appendChild(h);p.appendChild(l);p.appendChild(n);g=b.createElement("DIV");g.style.styleFloat="left";g.style.cssFloat="left";g.style.padding="2px 5px 0px 0px";g.appendChild(b.createTextNode(t_("[ME_TXT-FileName]")+":"));p.appendChild(g);this.oFilenameInput=b.createElement("INPUT");this.oFilenameInput.id=this.ID+"_Input";this.oFilenameInput.className="textfield";this.oFilenameInput.type="text";this.oFilenameInput.style.width="320px";this.oFilenameInput.style.margin=
"0px";this.oFilenameInput.style.padding="0px";p.appendChild(this.oFilenameInput);g=b.createElement("DIV");g.id=this.ID+"_btnOK";g.className="bttn_float_right";g.onclick=function(){d.ActionOK(d.source)};l=b.createElement("DIV");h=b.createElement("DIV");l.className="bttn_left";h.className="compose_bttn_okCancel";h.id=this.ID+"_btnOKText";h.appendChild(b.createTextNode(t_("[ME_TXT-OK]")));l.appendChild(h);h=b.createElement("DIV");h.className="bttn_right";g.appendChild(l);g.appendChild(h);k=b.createElement("DIV");
k.id=this.ID+"_btnCancel";k.className="bttn_float_right";k.onclick=function(){d.ActionCancel()};l=b.createElement("DIV");h=b.createElement("DIV");l.className="bttn_left";h.className="compose_bttn_okCancel";h.id=this.ID+"_btnOKText";h.appendChild(b.createTextNode(t_("[ME_TXT-Cancel]")));l.appendChild(h);h=b.createElement("DIV");h.className="bttn_right";k.appendChild(l);k.appendChild(h);p.appendChild(k);p.appendChild(g);r.appendChild(p);m.appendChild(r);f.appendChild(m);e.appendChild(f);a.appendChild(e);
b.body.appendChild(a)}};this.GetData=function(){ServerRequest("LIST-FILES-FOLDERS","Page=1&Folder=\\$FILEROOT&Children=1&ResultDest=DIALOG",!1);ServerRequest("LIST-FILES","Folder=$FILEROOT\\&Page=&SortField=ModifiedDate&SortOrder=Asc&IPP=&ResultDest=DIALOG",!1)};this.ProcessXMLResult=function(a){var d=a.getElementsByTagName("ELEMENT"),e=GetXMLValue(a.attributes.getNamedItem("METHOD"));if("LIST-FILES-FOLDERS"==e){var f=b.getElementById(this.ID+"_FolderSelect");this.ClearList(f);this.AddItemToList(f,
"\\","\\");for(a=0;a<d.length;a++){var g=GetXMLValue(d[a].getElementsByTagName("FOLDER_NAME")[0]);var k=GetXMLValue(d[a].getElementsByTagName("PHYSICAL_RELATIVE_FOLDER_PATH")[0]);var h=parseInt(GetXMLValue(d[a].getElementsByTagName("LEVEL")[0]),10);this.AddItemToList(f,k+"\\",this.GetListItemIndent(h)+g)}}if("LIST-FILES"==e){e=b.getElementById(this.ID+"_FileSelect");this.ClearList(e);for(a=0;a<d.length;a++)this.AddItemToList(e,d[a].getAttribute("ID"),GetXMLValue(d[a].getElementsByTagName("SUBJECT")[0]));
this.SortList(e)}f.selectedIndex=0;return!0};this.Prompt=function(a,d,e,f,g,k,h,l){var m=this;this.Init();this.source=d;this.title=a;a=b.getElementById(this.ID+"_btnOK");var r=b.getElementById(this.ID+"_btnCancel");a.onclick=function(){m.ActionOK(m.source)};r.onclick=function(){m.ActionCancel()};a=0;this.bSaveMode=f?!0:!1;void 0!=h&&void 0!=l?(f=h,a=l):(f=b.body.clientHeight/2-this.height/2,a=b.body.clientWidth/2-this.width/2);g&&(this.fnActionOK=g);k&&(this.fnConfirmOverwrite=k);this.ShowDialogAtPos(f,
a,this.width,e,d,1)};this.ShowDialogAtPos=function(a,d,e,f,g,k){var h=b.getElementById(this.ID),l=b.getElementById(this.ID+"_BG"),m=b.getElementById(this.ID+"_IF");if(h){var r=this;if(f&&1==f){if(null!=k||void 0!=k)0==parseInt(k)?gBrowserType!=BROWSER_TYPE_IE6&&(l.style.filter="alpha(opacity=0)",l.style.MozOpacity="0",l.style.opacity="0",l.style.background="black"):1==parseInt(k)&&gBrowserType!=BROWSER_TYPE_IE6&&(l.style.filter="alpha(opacity=30)",l.style.MozOpacity="0.3",l.style.opacity="0.3",l.style.background=
"black");l.style.left="0px";l.style.top="0px";l.style.width="100%";l.style.height="100%";l.style.visibility="visible";l.style.overflow="hidden";l.style.position="absolute";l.style.display="block";0==gDialogZindex?gDialogZindex=1E4:gDialogZindex++;l.style.zIndex=gDialogZindex}h.style.visibility="visible";h.style.display="block";gDialogZindex+=10;h.style.zIndex=gDialogZindex;e&&(this.width=e);h.style.width=parseInt(this.width)+"px";a&&(h.style.top=parseInt(a)+"px");d&&(h.style.left=parseInt(d)+"px");
m.style.position="absolute";m.style.width=h.offsetWidth+"px";m.style.height=h.offsetHeight-10+"px";m.style.top=parseInt(h.style.top)+"px";m.style.left=parseInt(h.style.left)+"px";m.style.zIndex=h.style.zIndex-1;m.style.visibility=h.style.visibility;m.style.display=h.style.display;try{var n=b.getElementById(this.ID+"_FolderSelect"),p=b.getElementById(this.ID+"_FileSelect"),t=b.getElementById(this.ID+"_Title"),q=b.getElementById(this.ID+"_Input");p.onchange=function(){q.value=p.options[p.selectedIndex].text;
-1==n.selectedIndex?r.txtActualFilePath="\\"+p.options[p.selectedIndex].value:r.bSaveMode||(r.txtActualFilePath=n.options[n.selectedIndex].value+p.options[p.selectedIndex].value)};if(this.bSaveMode){SetOKButtonText(this.ID+"_btnOK",t_("[ME_TXT-Save]"));var v=b.getElementById(this.ID+"_FoldersText");v&&SetElementText(v,t_("[ME_TXT-SaveIn]")+":");n.onchange=function(){r.txtActualFilePath=n.options[n.selectedIndex].value;ServerRequest("LIST-FILES","Folder=$FILEROOT"+encodeURIComponent(n.options[n.selectedIndex].value)+
"&Page=&SortField=ModifiedDate&SortOrder=Asc&IPP=&ResultDest=DIALOG",!1)}}else SetOKButtonText(this.ID+"_btnOK",t_("[ME_TXT-OK]")),q.readOnly=!0,n.onchange=function(){ServerRequest("LIST-FILES","Folder=$FILEROOT"+encodeURIComponent(n.options[n.selectedIndex].value)+"&Page=&SortField=ModifiedDate&SortOrder=Asc&IPP=&ResultDest=DIALOG",!1)};t&&SetElementText(t,this.title);q&&(q.value=g);n.selectedIndex=0;q.focus();q.select();gEnableKeyNavigation=!1;addEvent(h,"keydown",function(u){r.HandleKey(u)},!0);
addEvent(q,"keypress",function(u){r.HandleKeyPress(u)},!0)}catch(u){}gEnableKeyNavigation=!1;this.GetData()}};this.HideDialog=function(){var a=b.getElementById(this.ID+"_BG"),d=b.getElementById(this.ID),e=b.getElementById(this.ID+"_IF");try{d.style.display="none",a.style.display="none",e.style.display="none",gEnableKeyNavigation=!0}catch(f){}};this.HandleMouseDown=function(a){void 0==a&&(a=window.event);if(a){var d=b.getElementById(this.ID);this.posMouseTop=a.screenY;this.posMouseLeft=a.screenX;this.posDiagLeft=
d.offsetLeft;this.posDiagTop=d.offsetTop;this.beingDragged=!0}};this.HandleMouseUp=function(a){this.beingDragged=!1};this.HandleMouseMove=function(a){if(1==this.beingDragged&&(void 0==a&&(a=window.event),a)){var d=a.screenX-this.posMouseLeft;var e=a.screenY-this.posMouseTop;var f=b.getElementById(this.ID),g=b.getElementById(this.ID+"_IF");f.style.left=0>d?this.posDiagLeft-Math.abs(d)+"px":this.posDiagLeft+Math.abs(d)+"px";f.style.top=0>e?this.posDiagTop-Math.abs(e)+"px":this.posDiagTop+Math.abs(e)+
"px";g.style.top=f.style.top;g.style.left=f.style.left;this.posDiagTop=parseInt(f.style.top,10);this.posDiagLeft=parseInt(f.style.left,10);this.posMouseTop=a.screenY;this.posMouseLeft=a.screenX}};this.HandleKey=function(a){void 0==a&&(a=window.event);var d=0;a&&(d=a.keyCode||a.which);if(d==ESCAPE_KEYCODE)return this.HideDialog(),a.preventDefault?a.preventDefault():a.returnValue=!1,!1};this.HandleKeyPress=function(a){void 0==a&&(a=window.event);var d=0;a&&(d=a.keyCode||a.which);if(d==ENTER_KEYCODE)return this.ActionOK(this.source),
a.preventDefault?a.preventDefault():a.returnValue=!1,!1};this.GetTop=function(){return this.posDiagTop};this.GetLeft=function(){return this.posDiagLeft};this.FilenameExists=function(a){for(var d=b.getElementById(this.ID+"_FileSelect"),e=0;e<d.length;e++)if(d.options[e].text==a)return!0;return!1};this.ConfirmOverwrite=function(a,d){return this.fnConfirmOverwrite(a,d)};this.ActionOK=function(a){var d=b.getElementById(this.ID+"_Input").value;this.source=a;0<d.length?this.bSaveMode?1==this.FilenameExists(d)?
null!=this.fnConfirmOverwrite?(this.HideDialog(),this.fnConfirmOverwrite(this.txtActualFilePath,this.source,d)):(this.HideDialog(),this.fnActionOK(this.txtActualFilePath,this.source,d)):(this.HideDialog(),this.fnActionOK(this.txtActualFilePath,this.source,d)):(this.HideDialog(),this.fnActionOK(this.txtActualFilePath,d)):alert(t_("[ME_TXT-YouMustSpecifyAFileName]")+"!")};this.ActionCancel=function(){this.HideDialog()};this.ClearList=function(a){if(a){for(;1<=a.length;)a.remove(a.length-1);return!0}};
this.AddItemToList=function(a,d,e){if(a){var f=b.createElement("OPTION");IsIE(GetBrowserType())?f.text=e:f.innerHTML=e;f.value=d;try{a.add(f,null)}catch(g){a.add(f)}return f}};this.SortList=function(a){for(var d=a.options.length,e=Array(d),f=0;f<d;f++)e[f]=new Option(a.options[f].text,a.options[f].value);e.sort(this.CompareOptionText);for(f=0;f<d;f++)a.options[f]=new Option(e[f].text,e[f].value)};this.CompareOptionText=function(a,d){return a.text.toLowerCase()!=d.text.toLowerCase()?a.text.toLowerCase()<
d.text.toLowerCase()?-1:1:0};this.GetListItemIndent=function(a){var d="",e;for(e=0;e<a;e++)IsIE(GetBrowserType())?d+="   ":GetBrowserType()==BROWSER_TYPE_FF&&(d+="&nbsp;&nbsp;&nbsp;");return d}};

Youez - 2016 - github.com/yon3zu
LinuXploit