403Webshell
Server IP : 62.60.133.156  /  Your IP : 216.73.217.51
Web Server : LiteSpeed
System : Linux linux24.centraldnserver.com 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64
User : mimradmin ( 1166)
PHP Version : 7.4.33
Disable Function : show_source, system, shell_exec, passthru, exec, popen, proc_open
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : OFF |  Pkexec : OFF
Directory :  /home/mimradmin/.trash/wp-content.1/themes/wp-buka/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/mimradmin/.trash/wp-content.1/themes/wp-buka/index.php
<?php
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

get_header();

$blog_readmore = buka_get_option('blog_readmore', esc_html__('Read More', 'wp-buka'));
$blog_title = buka_get_option('blog_title', esc_html__('Blog', 'wp-buka'));

$header_show = get_theme_mod('show_pages_header', true);
$header_bg_color = get_theme_mod('pages_header_background_color', '#1c1c1c');
$header_bg_image = get_theme_mod('pages_header_background_image');
$header_bg_parallax = get_theme_mod('pages_header_background_parallax');
$header_bg_overlay = get_theme_mod('pages_header_background_overlay');
$header_bg_overlay_color = get_theme_mod('pages_header_background_overlay_color', 'dark');
$header_bg_overlay_opacity = get_theme_mod('pages_header_background_overlay_opacity', '5');
$header_text_color = get_theme_mod('pages_header_text_color', 'light');
$header_use_theme_color = get_theme_mod('pages_header_use_theme_color');

$bg_overlay = '';
$bg_parallax = '';
$classes = '';
$styles = '';

if(!$header_show){
	$classes .= 'no_header';
}

if($header_bg_color != ''){
	$styles .= 'background-color:'.$header_bg_color.';';
}

if($header_bg_image){

	$image_attributes = wp_get_attachment_image_src( $header_bg_image, 'portfolio_full' );

	if($image_attributes){
		$styles .= 'background-image:url('.$image_attributes[0].');';
		$classes .= 'bg-img';

		if($header_bg_parallax){
			$bg_parallax .= 'data-stellar-background-ratio="0.5"';
		}
		else{
			$classes .= ' bg-center';
		}
	}
}

if($header_bg_overlay){
	$bg_overlay .= 'data-overlay-'.$header_bg_overlay_color.'="'.$header_bg_overlay_opacity.'"';
}

if($header_text_color == 'dark'){
	$classes .= ' text-color-dark';
}

if($header_use_theme_color){
	$classes .= ' use_theme_color';
}

$styles = 'style="'.$styles.'"';
?>

<section class="min-header <?php echo $classes ?>" <?php echo $styles ?> <?php echo $bg_overlay ?> <?php echo $bg_parallax ?>>

	<?php if($header_show){ ?>
	<div class="v-middle mt-30">
		<div class="container">
			<div class="row">

				<div class="text-center col-md-12">
					<?php
					$blog_link = get_option('page_for_posts') ? get_permalink( get_option('page_for_posts') ) : esc_url(home_url());
					$blog_tag = '<a href="'.$blog_link.'">'.$blog_title.'</a> / ';

					if( is_category() ){
						/* translators: %s is the category title */
						$title = sprintf( esc_html__('"%s" Category Archive', 'wp-buka'), single_cat_title('', false) );
					}
					else if( is_tag() ){
						/* translators: %s is the tag title */
						$title = sprintf( esc_html__('"%s" Tag Archive', 'wp-buka'), single_tag_title('', false) );
					}
					else if( is_author() ){
						/* translators: %s is the author name */
						$title = sprintf( esc_html__('"%s" Author Archive', 'wp-buka'), get_the_author_meta( 'display_name', $wp_query->query_vars['author'] ) );
					}
					else if( is_day() ){
						/* translators: %s isthe date */
						$title = sprintf( esc_html__('"%s" Day Archive', 'wp-buka'), get_the_date() );
					}
					else if( is_month() ){
						/* translators: %s is the month name */
						$title = sprintf( esc_html__('"%s" Month Archive', 'wp-buka'), get_the_date('F Y') );
					}
					else if( is_year() ){
						/* translators: %s is the year number */
						$title = sprintf( esc_html__('"%s" Year Archive', 'wp-buka'), get_the_date('Y') );
					}
					else if( is_search() ){
						/* translators: %s is the searched phrase */
						$title = sprintf( esc_html__('Search Results For "%s"', 'wp-buka'), get_search_query() );
					}
					else if( is_archive() ){
						$title = esc_html__('Archive', 'wp-buka');
					}
					else{
						$blog_tag = '';
						$title = $blog_title;
					}

					echo '<h5>'.$blog_tag.$title.'</h5>';
					?>
				</div>

			</div>
		</div>
	</div>
	<?php } ?>
	
</section>

<section class="blogs section-padding">
	<div class="container">
		<div class="row">

			<?php
			if( is_active_sidebar('sidebar') ){
				$content_class = 'col-md-8';
				$img_size = 'blog';
			}
			else{
				$content_class = 'col-12';
				$img_size = 'blog_wide';
			}
			?>

			<div class="<?php echo $content_class ?>">
				<div class="posts">

					<?php
					if( have_posts() ){
						while( have_posts() ){
							the_post();
					?>

					<div class="post">

						<?php if( has_post_thumbnail() ){ ?>
						<div class="post-img">
							<a href="<?php the_permalink() ?>">
								<?php the_post_thumbnail($img_size) ?>
							</a>
						</div>
						<?php } ?>

						<div class="content text-center <?php if( !has_post_thumbnail() ){ echo 'pt-0'; } ?>">
							
							<div class="post-meta">

								<?php if( get_the_title() != '' ){ ?>
								<div class="post-title">
									<h5>
										<a href="<?php the_permalink() ?>"><?php the_title() ?></a>
									</h5>
								</div>
								<?php } ?>

								<ul class="meta">

									<?php if( buka_get_option('blog_list_author', true) ){ ?>
									<li>
										<a href="<?php echo get_author_posts_url( get_the_author_meta('ID') ) ?>">
											<i class="fas fa-user" aria-hidden="true"></i>
											<?php the_author() ?>
										</a>
									</li>
									<?php } ?>

									<?php if( buka_get_option('blog_list_date', true) ){ ?>
									<li>
										<i class="fas fa-calendar" aria-hidden="true"></i>
										<?php the_time('j F Y') ?>
									</li>
									<?php } ?>

									<?php if( buka_get_option('blog_list_categories', true) && has_category() ){ ?>
									<li>
										<i class="fas fa-folder-open" aria-hidden="true"></i>
										<?php the_category(' '.esc_html_x(',', 'separator', 'wp-buka').' ') ?>
									</li>
									<?php } ?>

									<?php if( buka_get_option('blog_list_comments', true) && get_post_type() == 'post' && comments_open() ){ ?>
									<li>
										<a href="<?php comments_link() ?>">
											<i class="fas fa-comments" aria-hidden="true"></i>
											<?php
											comments_number(
												esc_html__('No Comments', 'wp-buka'),
												esc_html__('1 Comment', 'wp-buka'),
												/* translators: % is the comments number. */
												esc_html__('% Comments', 'wp-buka')
											);
											?>
										</a>
									</li>
									<?php } ?>

								</ul>
								
							</div>

							<div class="post-cont">
								<?php the_excerpt() ?>
							</div>

							<a href="<?php the_permalink() ?>" class="butn butn-bg mt-30"><span><?php echo $blog_readmore ?></span></a>

						</div>
						
					</div>

					<?php
						}
					}
					else{
						if( is_search() ){
							esc_html_e('No results found.', 'wp-buka');
						}
						else{
							esc_html_e('There is nothing to show.', 'wp-buka');
						}
					}

					$pages = paginate_links([
						'type' => 'array',
						'next_text' => '<i class="fas fa-chevron-'.(is_rtl() ? 'left' : 'right').'" aria-hidden="true"></i>',
						'prev_text' => '<i class="fas fa-chevron-'.(is_rtl() ? 'right' : 'left').'" aria-hidden="true"></i>',
					]);

					if( $pages ){
					?>

					<div class="pagination">
						<ul>
							<?php
							foreach($pages as $page){
								echo '<li>'.$page.'</li>';
							}
							?>
						</ul>
					</div>

					<?php
					}
					?>

				</div>
			</div>
			
			<?php get_sidebar() ?>

		</div>
	</div>
</section>

<?php get_footer(); ?>

Youez - 2016 - github.com/yon3zu