403Webshell
Server IP : 35.201.19.92  /  Your IP : 216.73.216.212
Web Server : nginx
System : Linux pod-200961 6.8.0-1055-gke #61-Ubuntu SMP Tue May 26 22:57:42 UTC 2026 x86_64
User : fpm200098 ( 200098)
PHP Version : 8.2.34
Disable Function : apache_child_terminate,apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,disk_free_space,disk_total_space,diskfreespace,dl,exec,fastcgi_finish_request,link,opcache_compile_file,opcache_get_configuration,opcache_invalidate,opcache_is_script_cached,opcache_reset,passthru,pclose,pcntl_exec,popen,posix_getpid,posix_getppid,posix_getpwuid,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,realpath_cache_get,shell_exec,show_source,symlink,system
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /nas/content/live/questfamilyday/wp-content/plugins/ele-custom-skin/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /nas/content/live/questfamilyday/wp-content/plugins/ele-custom-skin/includes/pro-features.php
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

/*
*
*   Plugin notices and links
*
*/

function ecs_admin_notice(){
    if (function_exists('ele_custom_skin_pro')) return;
    $user_id = get_current_user_id();
    if (get_user_meta( $user_id, 'ele_custom_skin_notice_dismissed' )) return;
    $offer = '2019-10-10' > date("Y-m-d") ? 'Limited Offer: <b style="color:red;">Unlimited Sites Lifetime License</b>.':"";
    $image = '<img width="30px" src="'.ELECS_URL . 'assets/dudaster_icon.png" style="width:32px;margin-right:10px;margin-bottom: -11px;"/>';
    $user = wp_get_current_user();
    if ( in_array( 'administrator', (array) $user->roles ) ) {
    echo '<div class="notice notice-info " style="padding-right: 38px; position: relative;">
          <p> '.$image.' Ele Custom Skin <b>PRO</b> is out <a href="https://dudaster.com/ecs-pro/" target="_blank">Check it out!</a>. '.$offer.' <a class="button button-primary" style="margin-left:20px;" href="https://dudaster.com/ecs-pro/" target="_blank">Get it now!</a></p>
        <a href="?ele_custom_skin_notice_dismissed"><button type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button></a>
        </div>';
    }
}
add_action('admin_notices', 'ecs_admin_notice');

function ele_custom_skin_notice_dismissed() {
    $user_id = get_current_user_id();
    if ( isset( $_GET['ele_custom_skin_notice_dismissed'] )  )
        add_user_meta( $user_id, 'ele_custom_skin_notice_dismissed', 'true', true );
}
add_action( 'admin_init', 'ele_custom_skin_notice_dismissed' );

add_filter( 'plugin_row_meta', 'ele_custom_skin_row_meta', 10, 2 );
function ele_custom_skin_row_meta( $links, $file ) {    
    if (ELECS_NAME == $file ) {
        $row_meta = array(
          'video'    => '<a href="' . esc_url( 'https://www.youtube.com/watch?v=DwLFdaZ69KU&feature=youtu.be&t=94' ) . '" target="_blank" aria-label="' . esc_attr__( 'Video Tutorial', 'ele-custom-skin' ) . '" >' . esc_html__( 'Video Tutorial', 'ele-custom-skin' ) . '</a>'
        );

        return array_merge( $links, $row_meta );
    }
    return (array) $links;
}

function elecs_action_links( $links ) {
	$links = array_merge($links, array(
		'<a href="' . esc_url( admin_url( '/edit.php?post_type=elementor_library&tabs_group=theme&elementor_library_type=loop' ) ) . '">' . __( 'Add Loop Template', 'ele-custom-skin' ) . '</a>',
	));
  
  if (!function_exists('ele_custom_skin_pro')) $links = array_merge($links, array(
      '<a href="' . esc_url( 'https://dudaster.com/ecs-pro/' ) . '" target="_blank" aria-label="' . esc_attr__( 'Go Pro', 'ele-custom-skin' ) . '" style="color:#39b54a;font-weight:bold;">' . esc_html__( 'Go Pro', 'ele-custom-skin' ) . '</a>'
	));
	return $links;
}
add_action( 'plugin_action_links_' . ELECS_NAME, 'elecs_action_links' );

/*
*
*   Pro features preview
*
*/

if(!function_exists('ele_custom_skin_pro')){
  require_once ELECS_DIR.'includes/pro-preview.php';
}

Youez - 2016 - github.com/yon3zu
LinuXploit