HEX
Server: nginx/1.24.0
System: Linux server 6.12.74+deb13+1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.74-2 (2026-03-08) x86_64
User: www (1001)
PHP: 8.5.2
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,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,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/claudiayancor.duckdns.org/wp-content/plugins/countdown-builder/assets/css/Css.php
<?php
namespace ycd;

class Css {

    public function __construct() {
        $this->init();
    }

    public function init() {

        add_action('admin_enqueue_scripts', array($this, 'enqueueStyles'));
    }

    public function getSettingsPageKey() {
    	return YCD_COUNTDOWN_POST_TYPE.'_page_'.YCD_COUNTDOWN_SETTINGS;
    }
    
    public function getComingSoonPage() {
    	return YCD_COUNTDOWN_POST_TYPE.'_page_'.YCD_COUNTDOWN_COMING_SOON;
    }
    
    public function getComingSoonMenuPage() {
    	return 'toplevel_page_'.YCD_COUNTDOWN_COMING_SOON;
    }

    public function getSupportPageKey() {
    	return YCD_COUNTDOWN_POST_TYPE.'_page_'.YCD_COUNTDOWN_SUPPORT;
    }

    public function getSubscribersPageKey() {
    	return YCD_COUNTDOWN_POST_TYPE.'_page_'.YCD_COUNTDOWN_SUBSCRIBERS;
    }

    public function getMorePluginsPage() {
    	return YCD_COUNTDOWN_POST_TYPE.'_page_'.YCD_COUNTDOWN_MORE_PLUGINS;
    }
    
    public function getNewsletterPageKey() {
    	return YCD_COUNTDOWN_POST_TYPE.'_page_'.YCD_COUNTDOWN_NEWSLETTER;
    }
    
    public function getLicensePageKey() {
    	return YCD_COUNTDOWN_POST_TYPE.'_page_'.YCD_COUNTDOWN_LICENSE;
    }

    public function enqueueStyles($hook) {

        ScriptsIncluder::registerStyle('admin.css');
        ScriptsIncluder::registerStyle('bootstrap.css');
        ScriptsIncluder::registerStyle('colorpicker.css');
        ScriptsIncluder::registerStyle('ion.rangeSlider.css');
        ScriptsIncluder::registerStyle('ion.rangeSlider.skinFlat.css');
	    ScriptsIncluder::registerStyle('select2.css');
	    ScriptsIncluder::registerStyle('jquery.dateTimePicker.min.css');
		$settingsKey = $this->getSettingsPageKey();
		$supportKey = $this->getSupportPageKey();
		$subscriberKey = $this->getSubscribersPageKey();
		$newsletterKey = $this->getNewsletterPageKey();
		$morePlugins = $this->getMorePluginsPage();
		$comingSoonPage = $this->getComingSoonPage();
		$comingSoonMenuPage = $this->getComingSoonMenuPage();
		$licensePageKey = $this->getLicensePageKey();
	    $allowedPages = array(
		    $settingsKey,
		    $supportKey,
		    $subscriberKey,
		    $newsletterKey,
            $morePlugins,
		    $comingSoonPage,
		    $comingSoonMenuPage,
		    $licensePageKey,
		    'ycdcountdown_page_ycdcountdown',
	    );
        if(in_array($hook, $allowedPages) || get_post_type(@$_GET['post']) == YCD_COUNTDOWN_POST_TYPE) {
            ScriptsIncluder::enqueueStyle('bootstrap.css');
            ScriptsIncluder::enqueueStyle('admin.css');
            ScriptsIncluder::enqueueStyle('colorpicker.css');
            ScriptsIncluder::enqueueStyle('ion.rangeSlider.css');
            ScriptsIncluder::enqueueStyle('ion.rangeSlider.skinFlat.css');
	        ScriptsIncluder::enqueueStyle('select2.css');
	        ScriptsIncluder::enqueueStyle('jquery.dateTimePicker.min.css');
			
	        if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
		        Subscription::renderStyles();
	        }
        }
    }
}

new Css();