403Webshell
Server IP : 157.230.181.24  /  Your IP : 216.73.217.11
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux conductive 6.8.0-117-generic #117-Ubuntu SMP PREEMPT_DYNAMIC Tue May 5 19:26:24 UTC 2026 x86_64
User :  ( 1000)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/vhosts/highlyfaved/public/wp-content/themes/HighlyFaved.com/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/highlyfaved/public/wp-content/themes/HighlyFaved.com/template-home.php
<?
	/**
	 * @package WordPress
	 * @subpackage Blessed & Highly Faved
	 * Template Name: Home
	 */
	
	$options=array('numberposts'=>1);
	
	// Next and previous pages use this method
	if(isset($_GET['post_id']))
		$options['include']=$_GET['post_id'];
	
	$selected_post=get_posts($options);
	$target=$selected_post[0]->ID;
	
	$post_primary_color=get_post_meta($target,'post_primary_color',TRUE);
	$post_secondary_color=get_post_meta($target,'post_secondary_color',TRUE);
	$post_fullscreen_bg_color=get_post_meta($target,'post_fullscreen_bg_color',TRUE);
	$post_fullscreen_image=get_post_meta($target,'post_fullscreen_image',TRUE);
	
	if($post_fullscreen_image)
		$facebook_image=$post_fullscreen_image;
	
	get_header();
	
	function enqueue_color_styling($s,$p,$b) {
		$TD=get_bloginfo('template_directory');
		wp_enqueue_style('color_styling',"$TD/css/colors.css.php?p=$p&s=$s&b=$b",null,'1.0');
	}
	add_action(
		'wp_print_styles',
		enqueue_color_styling($post_primary_color,$post_secondary_color,$post_fullscreen_bg_color)
	);
?>

<? if($post_fullscreen_image): ?>
	<img id="fullscreen-image" src="<?= $post_fullscreen_image ?>" alt="<?= get_the_title($target) ?>"/>
<? endif; ?>

<div id="stage" class="wrapper bg">
	<div class="ribbon">
		<div class="bigger">
			<h1><?= get_the_title($target) ?></h1>
			<a href="<?= get_permalink($target) ?>" class="button">+</a>
		</div>
	
		<div class="smaller">
			<?
				$pubDate=get_the_time('Y-m-d H:m:s',$target);
				$theDate=date("l, F j",strtotime($pubDate));
			?>
			<time class="date" pubdate datetime="<?= $pubDate ?>"><?= $theDate ?></time>
		</div>
	</div>
</div>

<? next_post_link('<strong>%link</strong>') ?>
<a id="newer" href="#"><span class="left-arrow">Newer Post</span></a>
<a id="older" href="#"><span class="right-arrow">Older Post</span></a>

<? get_footer() ?>

Youez - 2016 - github.com/yon3zu
LinuXploit