HEX
Server: LiteSpeed
System:
User: ()
PHP: 7.3.33
Disabled: ln,cat,popen,pclose,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,system,dl,passthru,exec,shell_exec,popen,proc_close,proc_get_status,proc_nice,proc_open,escapeshellcmd,escapeshellarg,show_source,posix_mkfifo,mysql_list_dbs,get_current_user,getmyuid,pconnect,link,symlink,pcntl_exec,ini_alter,pfsockopen,leak,apache_child_terminate,posix_setpgid,posix_setsid,posix_setuid,proc_terminate,syslog,stream_select,socket_select,socket_create,socket_create_listen,socket_create_pair,socket_listen,socket_accept,socket_bind,socket_strerror,pcntl_fork,pcntl_signal,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,openlog,apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,virtual,ini_get_all,php_passthru,posix_uname,php_uname,highlight_file,define_syslog_variables,ftp_exec,inject_code,eval
Upload Files
File: /var/www/vhosts/miroglu.net/subdomains/serhatburke/wp-content/themes/toppic/search.php
<?php global $paged;
if(empty($paged)) $paged = 1;
?>

<?php get_header()?>

<?php if( get_theme_mod( 'kktfwp_blog_sidebar' ) === 'left') {
		$position = 'left';
		$content_position = 'right';
	} else if ( get_theme_mod( 'kktfwp_blog_sidebar' ) === 'right') {
		$position = 'right';
		$content_position = 'left';
	} else {
		$position = 'full';
		$content_position = 'none';
 } 
?>
 
<?php $title_type = kktfwp_title_type(); ?>
			
	<!-- start content wrapper -->			
	<div class="content clearfix">
		<?php if( $title_type == 'parallax' ) : ?>
			
			<div id="kk-parallax-wrapper" class="kk-parallax-wrapper">
				
				<?php echo kktfwp_parallax(); ?>

				<div id="kk-parallax-title-wrapper" class="kk-parallax-title-wrapper">
					<div id="kk-parallax-title" class="page-title">
						<h1><?php _e('Search Results', 'toppic') ?></h1>
					</div>				
				</div>

				<a id="kk-down" class="kk-down is-loading" href="#kk-to-me"></a>	
				
			</div>	
			
		<?php endif; ?>
	
		<div class="content-inner-wrapper clearfix">	
			<span id="kk-to-me"></span>	
		<?php if( $title_type == 'default' ) { ?>
		
			<div class="page-title">
				<h1><?php _e('Search Results', 'toppic') ?></h1>	
			</div>				
			
			<div class="divider clear"></div>
			
			<?php } ?>	
			<?php query_posts( $query_string ); ?>	
			
			<div class="inner-content" id="<?php echo esc_attr($content_position) ?>">
			<!--start loop -->
			<?php if (have_posts()) : ?>
			
			<h3><?php printf( __('Search Results for: &ldquo;%s&rdquo;', 'toppic'), get_search_query()); ?></h3>
			
			<?php while (have_posts()) : the_post(); ?>
			
							
			<!-- start blog item -->
			<article <?php post_class('data'); ?> id="post-<?php the_ID() ?>">

				<!-- start content -->							
				<div class="blog-content">
					
					<?php if (is_home() || is_search() || is_archive()): ?>
					
					<h2 class="blog-title">
						<a href="<?php the_permalink() ?>"><?php the_title() ?></a>
					</h2>
					
					<!--start meta -->
					<?php get_template_part( 'formats/blog-classic/search-post-meta' ); ?>
					<!--end meta -->
					<?php endif; ?>
					
					<div class="blog-entry">
						<?php the_excerpt(); ?>
					</div>

				</div>
				
			</article>
			<!-- end blog item -->
				
			<?php endwhile; else : ?>
			
			<p><?php printf(__('Sorry, your search for <strong>"%s"</strong> did not match any entries. Please try again with some different keywords.','toppic'), get_search_query()); ?></p>

			<?php endif; ?>
			<!--end loop -->
			
			
			<?php kktfwp_page_pagination(); ?>
			</div>
			
			<!-- start widgets -->
			<?php if ( get_theme_mod( 'kktfwp_blog_sidebar' ) !== 'full') {
				if(is_active_sidebar("kk-blog-sidebar")) { ?> 
					<div class="sidebar" id="<?php echo esc_attr($position) ?>">
						<?php dynamic_sidebar("kk-blog-sidebar")?>		
					</div>		
			<?php }} ?>
			<!-- end widgets -->
			
		</div>
		
		<?php get_template_part('extends/footer-area') ?>
		
	</div>
	<!-- end content wrapper -->
			
<?php get_footer()?>