%PDF- %PDF-
Direktori : /home/tradesc/www/relax/wp-content/plugins/profile-builder/assets/misc/ |
Current File : /home/tradesc/www/relax/wp-content/plugins/profile-builder/assets/misc/fallback-page.php |
<?php define( 'ABSPATH', __DIR__ . '/' );//added this because we actually need to access this page directly, sorry about this :) /* //load WP if needed $path_to_wp_install_dir = ''; include_once ( $path_to_wp_install_dir.'wp-load.php' ); */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly $site_name = ( isset( $_GET['site_name'] ) ? filter_var ( urldecode( $_GET['site_name'] ), FILTER_SANITIZE_STRING ) : '' ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized $message = ( isset( $_GET['message'] ) ? filter_var ( urldecode( $_GET['message'] ), FILTER_SANITIZE_STRING ) : '' ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized ?> <html> <head> <style type="text/css"> body {font-family:Arial; padding: 5px; margin-top:100px; text-align: center;} </style> <title><?php echo htmlspecialchars( $site_name, ENT_QUOTES ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></title> </head> <body id="wppb_content"> <h1><?php echo htmlspecialchars( $site_name, ENT_QUOTES ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></h1> <?php echo '<p>'. htmlspecialchars( strip_tags( $message ) ). '</p>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> <?php echo 'Click <a href="/">here</a> to return to the main site'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> </body> </html>