HEX
Server: nginx/1.26.3
System: Linux debian 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64
User: root (0)
PHP: 5.6.40
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/gxdaosen.net/wp-content/themes/simplepark/view/admin/select_post_template.php
<?php if (!defined ('ABSPATH')) die ('No direct access allowed'); ?>
<label class="hidden" for="page_template">内页模版选择</label>
<?php if ( $templates ) : ?>

	<input type="hidden" name="custom_post_template_present" value="1" />
	<select name="custom_post_template" id="custom_post_template">
		<option 
			value='default'
			<?php
				if ( ! $custom_template ) {
					echo "selected='selected'";
				}
			?>><?php _e( 'Default Template' ); ?></option>
		<?php foreach( $templates AS $filename => $name ) { ?>
			<option 
				value='<?php echo $filename; ?>'
				<?php
					if ( $custom_template == $filename ) {
						echo "selected='selected'";
					}
				?>><?php echo $name; ?></option>
		<?php } ?>
	</select>

	<p><?php printf( __( '请选择内页主题模版,如果你不清楚模版的样式,请进入 <a href="%s" target="_blank">WEB主题公园官网</a> 查看此主题的详细介绍,结合主题演示,您可以更加清楚了解模版的样式', 'custom-post-templates' ), 'http://www.themepark.com.cn/' ); ?></p>

<?php else : ?>

	<p><?php printf( __( 'This theme has no available <a href="%s" target="_blank">custom post templates</a>.', 'custom-post-templates' ), 'http://wordpress.org/extend/plugins/custom-post-template/' ); ?></p>

<?php endif; ?>