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/search.php
<?
	/**
	 * @package WordPress
	 * @subpackage Blessed & Highly Faved
	 */
	
	function SearchFilter($query) {
	  if($query->is_search) 
			$query->set('post_type','post');
	  return $query;
	}
	add_filter('pre_get_posts','SearchFilter');
	
	get_header();
?>

<div id="stage" class="wrapper bg">	
	<div class="ribbon" id="title-ribbon">
		<div class="bigger">
			<h1>Search for &lsquo;<?= character_limiter(get_search_query(),26) ?>&rsquo;</h1>
		</div>
	</div>

	<div class="content clearfix">
		<? if(have_posts()): $i=1; ?>
			<ul class="thumbnail-list">
				<? while(have_posts()): the_post(); ?>
					<li <? if($i%5==0) echo 'class="last"' ?>>
						<article>
							<? $color=get_post_meta($post->ID,'post_primary_color',TRUE); ?>
							<a href="<? the_permalink() ?>#details" style="background-color:#<?= $color ?>">
								<?
									the_post_thumbnail('thumbnail',array(
										'alt'=>get_the_title(get_the_ID()),
										'title'=>get_the_title(get_the_ID())
									));
								?>
								<span class="date">
									<span><?= get_the_date('l') ?></span>
									<span><?= get_the_date('F j') ?></span>
									<span><?= get_the_date('Y') ?></span>
								</span>
							</a>
						</article>
					</li>
					<? $i++ ?>
				<? endwhile; ?>
			</ul>
		<? else: ?>
			<? if(strlen(get_search_query())>50): ?>
  			<p>Oh now we're just trying to hurt eachother!</p>
			<? elseif(strlen(get_search_query())>30): ?>
				<p>Now let's not get carried away.</p>
			<? else: ?>
				<p>Ah, nope!<br/>Nothing matches your search&hellip;</p>
			<? endif; ?>
		<? endif; ?>
	</div>
</div>

<? if($wp_query->post_count>0): ?>
	<? if(($p=previous_posts(FALSE)) && preg_match('/page/',get_uri())>0): ?>
		<a id="newer" href="<?= $p ?>">
			<span class="left-arrow">Previous Page</span>
		</a>
	<? endif; ?>

	<? if($p=next_posts($wp_query->max_num_pages,FALSE)): ?>
		<a id="older" href="<?= $p ?>">
			<span class="right-arrow">Next Page</span>
		</a>
	<? endif; ?>
<? endif; ?>

<? get_footer() ?>

Youez - 2016 - github.com/yon3zu
LinuXploit