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.sceysls.com/wp-content/themes/Zing-Pro/template-parts/modular/6.php
<?php
$modular_title = $id['modular_title'] ?: '模块标题';
$modular_subtitle = $id['modular_subtitle'] ?: '自定义文本描述,通常为英文别名';?>
<div class="<?php if( $id['modular_no_mobile'] ){ ?>mobile_modular_no <?php } ?>module-full-screen module-full-6">
	<div class="module-inner not-animated"<?php echo data_animate();?>>
		<div class="page-width">

			<div class="module-full-screen-title">
				<h2><?php echo $modular_title; ?></h2>
				<?php if( $modular_subtitle ){?>
				<div class="module-title-content">
					<i class="mark-left"></i>
					<h3><?php echo $modular_subtitle;?></h3>
					<i class="mark-right"></i>
				</div>
				<?php }?>
			</div>

			<div class="qhd-module">
				<div class="column">
					<div class="module-default module">
						<div class="entry-list-time-hl-col entry-list-time-hl">
							<ul class="marg-per5 clearfix">
								<?php
								//$index_modular = xintheme('index_modular');
								//if(is_array($index_modular)):foreach($index_modular as $id):
									$theme_img =  $id['modular_6_logo'];
									if( ! empty( $theme_img ) ) :
									$theme_img = explode( ',', $id['modular_6_logo'] );
									foreach ( $theme_img as $id ) :
									$modular_6_logo = wp_get_attachment_image_src( $id, 'full' );
								?>
								<li>
									<img loading="lazy" src="<?php echo $modular_6_logo[0];?>" alt="<?php echo get_post_meta( $id, '_wp_attachment_image_alt', true );?>" class="img-thumbnail client-15">
								</li>
								<?php endforeach;endif;?>
								<?php //endforeach;endif;?>
							</ul>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>