| Server IP : 89.108.64.180 / Your IP : 216.73.216.60 Web Server : Apache/2.4.41 (Ubuntu) System : Linux 89-108-64-180.cloudvps.regruhosting.ru 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : www-root ( 1010) PHP Version : 8.0.30 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/www-root/data/www/hostelkey.ru/wp-content/themes/hotelmaster/framework/ |
Upload File : |
<?php
/*
* Goodlayers Framework File
* ---------------------------------------------------------------------
* This file includes the function to create / control the backoffice
* ---------------------------------------------------------------------
*/
// sidebar inclusion
include_once('function/gdlr-sidebar-generator.php');
// admin panel template
include_once('function/gdlr-admin-panel.php');
include_once('function/gdlr-admin-panel-html.php');
// gdlr customizaer
include_once('function/gdlr-customizer.php');
// page builder template
include_once('function/gdlr-page-builder.php');
include_once('function/gdlr-page-builder-html.php');
// page option template
include_once('function/gdlr-page-options.php');
// taxonomy meta option
include_once('function/gdlr-tax-meta.php');
// include frontend script when necessary
include_once('function/gdlr-include-script.php');
// font controller
include_once('function/gdlr-font-loader.php');
// Add file extension font with mime type 'mime/type'
add_filter('upload_mimes', 'gdlr_custom_upload_mimes');
if( !function_exists('gdlr_custom_upload_mimes') ){
function gdlr_custom_upload_mimes ( $existing_mimes = array() ) {
$existing_mimes['ttf'] = 'application/x-font-ttf';
$existing_mimes['otf'] = 'application/x-font-opentyp';
$existing_mimes['eot'] = 'application/vnd.ms-fontobject';
$existing_mimes['woff'] = 'application/font-woff';
$existing_mimes['svg'] = 'image/svg+xml';
return $existing_mimes;
}
}
if( !function_exists('gdlr_stripslashes') ){
function gdlr_stripslashes($value){
$value = is_array($value) ?
array_map('stripslashes_deep', $value) :
stripslashes($value);
return $value;
}
}
if( !function_exists('gdlr_preventslashes') ){
function gdlr_preventslashes($value){
$value = str_replace('\\\\\\\\\\\\\"', '|gq6|', $value);
$value = str_replace('\\\\\\\\\\\"', '|gq5|', $value);
$value = str_replace('\\\\\\\\\"', '|gq4|', $value);
$value = str_replace('\\\\\\\"', '|gq3|', $value);
$value = str_replace('\\\\\"', '|gq2|', $value);
$value = str_replace('\\\"', '|gq"|', $value);
$value = str_replace('\\\\\\t', '|g2t|', $value);
$value = str_replace('\\\\t', '|g1t|', $value);
$value = str_replace('\\\\\\n', '|g2n|', $value);
$value = str_replace('\\\\n', '|g1n|', $value);
return $value;
}
}
if( !function_exists('gdlr_decode_preventslashes') ){
function gdlr_decode_preventslashes($value){
$value = str_replace('|gq6|', '\\\\\\"', $value);
$value = str_replace('|gq5|', '\\\\\"', $value);
$value = str_replace('|gq4|', '\\\\"', $value);
$value = str_replace('|gq3|', '\\\"', $value);
$value = str_replace('|gq2|', '\\"', $value);
$value = str_replace('|gq"|', '\"', $value);
$value = str_replace('|g2t|', '\\\t', $value);
$value = str_replace('|g1t|', '\t', $value);
$value = str_replace('|g2n|', '\\\n', $value);
$value = str_replace('|g1n|', '\n', $value);
return $value;
}
}
?>