Your IP : 216.73.216.229


Current Path : /home/jeromecohp/www/aesecure/premium/assets/
Upload File :
Current File : /home/jeromecohp/www/aesecure/premium/assets/aesecure.js

// @file : /premium/assets/aesecure.js
// @version : 2.0.2
// @author : AVONTURE Christophe - christophe@aesecure.com
// @copyright : (C) 2013-2015 - Christophe Avonture - all right reserved.
// @url : http://www.aesecure.com/
// @package : 2015-02-14 13:37:43
// @license : This program is a commercial software.  You CAN'T redistribute it and/or modify it.
// Source code is the property of Christophe Avonture and can't be reused, in whole or in part, in any programs.
function documentReadyPremium(){
if(document.location.href.indexOf("/aesecure/setup.php")>0){
if(aeSecure.showUseKey!='true'){
if((document.location.hostname!='127.0.0.1')&&(document.location.hostname!='localhost')){
if($('#aeSecureWarning').length>0) SetupTask(1,'aeSecureWarning','','','','',false,'POST');}
if((document.location.hostname!='127.0.0.1')&&(document.location.hostname!='localhost')){
if($('#aeSecureJVersion').length>0) SetupTask(2,'aeSecureJVersion','','','','',false,'POST');}}}
return true;}
function attachHandlerToolbarMenuPremium(){
$("#aeSecureQuickInfo").click(function(e){
e.stopImmediatePropagation();e.preventDefault();
if(!DontRunInDemoMode()){
SetupTask(1003,'modalQuickInfoContent','w=1003','','','processTask1003()','false','POST');}});
return true;}
function attachHandlerToolsMenuPremium(){
$("#lastmod").click(function(e){
e.stopImmediatePropagation();e.preventDefault();
if(!DontRunInDemoMode()){ window.open(getURL()+"w=994");}});
$("#psi").click(function(e){
e.stopImmediatePropagation();e.preventDefault();
if(!DontRunInDemoMode()){ SetupTask(995,'','','','','new_window',false);}});
$("#jamss").click(function(e){
e.stopImmediatePropagation();e.preventDefault();
if(!DontRunInDemoMode()){ window.open(getURL()+"w=996");}});
$("#coderemover").click(function(e){
e.stopImmediatePropagation();e.preventDefault();
if(!DontRunInDemoMode()){ window.open(getURL()+"w=997");}});
$("#zipwebsite").click(function(e){
e.stopImmediatePropagation();e.preventDefault();
if(!DontRunInDemoMode()){
alertify.set({ buttonFocus: "cancel",  buttonReverse: true  });
alertify.confirm(getLanguageText('31_permissions.makezipconfirm'), function (e){
if(e){
if($('body').find('input[name="tools_download"]').length>0){
var url=$('body').find('input[name="tools_download"]').val();
alertify.log("<strong>"+getLanguageText('main.pleasewaitcanbelong')+"</strong>","",0);
document.location.href=url;}}});}});
$("#seeactivity").click(function(e){
e.stopImmediatePropagation();e.preventDefault();
if(!DontRunInDemoMode()){
var w=window.open(getURL()+"w=1000", "");
if(w==undefined) alertify.error(aeSecure.msgPopup);}});
$("#seeapacheerrorlog").click(function(e){
e.stopImmediatePropagation();e.preventDefault();
if(!DontRunInDemoMode()){
var w=window.open(getURL()+"w=1004", "");
if(w==undefined) alertify.error(aeSecure.msgPopup);}});
return true;}
function processTask1003(){
var json='';
json=$("#modalQuickInfoContent").html();
$('#modalQuickInfo').modal({show: true});}