MOON
Server: Apache
System: Linux server.netcommlabs.in 3.10.0-1160.83.1.el7.x86_64 #1 SMP Wed Jan 25 16:41:43 UTC 2023 x86_64
User: dermova (1051)
PHP: 5.4.45
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/dermova/public_html/india/wp-content/plugins/wptouch/admin/settings/html/redirect.php
<?php
	$settings = wptouch_get_settings();

	ob_start();
	wp_dropdown_pages();
	$contents = ob_get_contents();
	ob_end_clean();

	$contents = str_replace( "id='page_id'", 'id="' . wptouch_admin_get_setting_name() . '"', $contents );
	$contents = str_replace( "name='page_id'", 'name="' . wptouch_admin_get_encoded_setting_name() . '"', $contents );
	$value_string = 'value="' . $settings->homepage_redirect_wp_target . '"';
	$contents = str_replace( $value_string, $value_string . ' selected', $contents );

	echo $contents;

?>
<label for="homepage_redirect_wp_target"><?php _e( 'WordPress Page', 'wptouch-pro' ); ?></label>