HEX
Server: nginx/1.16.1
System: Linux VM-0-14-centos 4.18.0-348.7.1.el8_5.x86_64 #1 SMP Wed Dec 22 13:25:12 UTC 2021 x86_64
User: www (1000)
PHP: 8.3.31
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/www.sceytyg.com/wp-content/themes/Zing-Pro/archive/news-img.php
<?php
$category_data = get_term_meta( $cat, '_prefix_taxonomy_options', true );
$banner_img = isset( $category_data['cat_banner_img']['url'] ) ? $category_data['cat_banner_img']['url'] : '';
get_header();
if( $banner_img ){?>
    <div class="module-default produc-cat">
        <div class="responsive-carousel carousel clearfix">
			<div class="carousel-item">
                <img src="<?php echo $banner_img;?>">
            </div>
            <?php if( $category_data['banner_cat_desc'] ){?>
			<div class="dark-overlay"></div>
			<div class="page-width ">
				<div class="page-banner">
					<h2><?php single_term_title(); ?></h2>
					<?php echo category_description(); ?>
				</div>
			</div>
			<?php }?>
        </div>
    </div>
<?php }?>
		<section class="main">
		<div class="page-width clearfix news-mb">
			<section class="content float-right">
			<div class="breadcrumbs">
				<?php if (function_exists('get_breadcrumbs')){get_breadcrumbs(); } ?>
			</div>
			<div class="content-box">
					<div class="module-inner">
						<div class="module-content">
							<div class="news-img entry-list entry-list-article entry-list-time-hl">
								<?php while( have_posts() ): the_post(); ?> 
									<li class="not-animated"<?php echo data_animate();?>>
									<div class="media media-lg">
										<div class="media-left">
											<a class="media-object" href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>">
											<img loading="lazy" alt="<?php the_title_attribute(); ?>" src="<?php echo post_thumbnail(380, 306); ?>">
											</a>
										</div>
										<div class="media-body">
											<h4 class="media-heading">
											<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>">
									            <?php the_title_attribute(); ?>
											</a>
											</h4>
											<p class="info">
												<span><i class="fa fa-calendar"></i> <?php echo dahuzi_post_time();?></span>
											</p>
											<p class="des">
											<?php
											if( has_excerpt() ){
												$get_the_excerpt = wp_strip_all_tags(get_the_excerpt());
												echo mb_strimwidth($get_the_excerpt, 0, 240, '...');
											}else{
												echo mb_strimwidth(strip_tags($post->post_content),0,240,'...');
											}?>
											</p>
										</div>
									</div>
									</li>
								<?php endwhile; ?>
							</div>
							<div class="pagination pagination-default">
								<?php par_pagenavi(9); ?>
							</div>
						</div>
					</div>
			</div>
			</section>
			<?php get_sidebar();?>
		</div>
		</section>
<?php get_footer();?>