HEX
Server: nginx/1.18.0
System: Linux iZuf6ar3jbed2aosvzu1ofZ 4.18.0-240.22.1.el8_3.x86_64 #1 SMP Thu Apr 8 19:01:30 UTC 2021 x86_64
User: root (0)
PHP: 7.3.28
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/wood-lk.cn/wp-content/plugins/wp-zan/include/wpzan-setting.php
<div class="wrap">
	<div id="icon-options-general" class="icon32"><br></div><h2>虾米播放器设置</h2><br>
	<form method="post" action="options.php">
		<?php 
			settings_fields( 'wpzan_setting_group' );
			$setting = wpzan_get_setting();
		?>
		<table class="form-table">
			<tbody>
				<tr valign="top">
					<th scope="row"><label>食用方法</label></th>
					<td>
						添加 <code>&lt;?php wp_zan();?&gt;</code> 到需要的位置
					</td>
				</tr>
				<tr valign="top">
					<th scope="row"><label>颜色设置</label></th>
					<td>
						<ul class="wpzan-color-ul">
							<?php $color = array(
									array(
										'title' => '初始状态',
										'key' => 'default-color',
										'default' => '#999'
									),
									array(
										'title' => '鼠标悬浮',
										'key' => 'hover-color',
										'default' => '#8AC78F'
									),
									array(
										'title' => '被点赞后',
										'key' => 'zaned-color',
										'default' => '#8AC78F'
									)
								);
								foreach ($color as $key => $V) {
									?>
									<li class="wpzan-color-li">
										<code><?php echo $V['title'];?></code>
										<?php $color = $setting[$V['key']] ? $setting[$V['key']] : $V['default'];?>
										<input name="<?php echo wpzan_setting_key($V['key']);?>" type="text" value="<?php echo $color;?>" id="wpzan-default-color" data-default-color="<?php echo $V['default'];?>" class="regular-text wpzan-color-picker" />
									</li>
								<?php } 
							?>
						</ul>
						<p class="description">麻麻说不要选择太奇怪的颜色组合, 么么哒(* ̄ ̄)y</p>
					</td>
				</tr>
			</tbody>
		</table>
		<div class="wpzan-submit-form">
			<input type="submit" class="button-primary muhermit_submit_form_btn" name="save" value="<?php _e('Save Changes') ?>"/>
		</div>
	</form>
	<style>
		.wpzan-color-li{position: relative;padding-left: 80px}
		.wpzan-color-li code{position: absolute;left: 0;top: 1px;}
	</style>		
</div>