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/index-modular.php
<?php
	$index_modular = xintheme('index_modular');
	if(is_array($index_modular)){
		foreach($index_modular as $id):
		$modular_type=$id['modular_type'];
			switch ($modular_type){
				case	'1':	get_template_part( 'template-parts/modular/1');break;
				case	'2':	get_template_part( 'template-parts/modular/2');break;
				case	'3':	get_template_part( 'template-parts/modular/3');break;
				case	'4':	get_template_part( 'template-parts/modular/4');break;
				case	'5':	get_template_part( 'template-parts/modular/5');break;
				case	'6':	get_template_part( 'template-parts/modular/6');break;
				case	'7':	get_template_part( 'template-parts/modular/7');break;
				case	'8':	get_template_part( 'template-parts/modular/8');break;
				case	'9':	get_template_part( 'template-parts/modular/9');break;
				case	'10':	get_template_part( 'template-parts/modular/10');break;
				case	'11':	get_template_part( 'template-parts/modular/11');break;
				case	'12':	get_template_part( 'template-parts/modular/12');break;
				case	'13':	get_template_part( 'template-parts/modular/13');break;
				case	'14':	get_template_part( 'template-parts/modular/14');break;
				case	'15':	get_template_part( 'template-parts/modular/15');break;
				case	'16':	get_template_part( 'template-parts/modular/16');break;
				case	'17':	get_template_part( 'template-parts/modular/17');break;
			}
		endforeach;
	}else{
		echo "<div style='text-align:center;line-height:80vh;font-size:22px;font-weight:600'><a href='".wp_customize_url()."'>请到「后台 - 外观 - 自定义」中添加首页模块</a></div>";
	}
?>