Het forum 2.0 werkt niet meer
Geplaatst: di 30 jul, 2019 22:31
Als ik naar het nieuwe forum ga, krijg ik wat programmeertaal te zien i.p.v. het forum.
Zie onderstaand.
if( isset($_GET[“f”]) ){
$_GET[“forum_id”] = $_GET[“f”];
}
if( isset($_GET[“t”]) ){
$_GET[“topic_id”] = $_GET[“t”];
}
$w3forum_id = isset($_GET[“forum_id”]) ? $_GET[“forum_id”] : ”;
$w3topic_id = isset($_GET[“topic_id”]) ? $_GET[“topic_id”] : ”;
$w3post_id = isset($_GET[“post_id”]) ? $_GET[“post_id”] : ”; // p reserved // may used for htaccess “strong” and consistent, V1 code redirect trick
$w3mode = isset($_GET[“mode”]) ? $_GET[“mode”] : ”;
$w3phpbbuid = isset($_GET[“u”]) ? $_GET[“u”] : ”;
$w3phpbbsid = isset($_GET[“sid”]) ? $_GET[“sid”] : ”;
$w3phpbbwatch = isset($_GET[“watch”]) ? $_GET[“watch”] : ”;
$w3phpbbunwatch = isset($_GET[“unwatch”]) ? $_GET[“unwatch”] : ”;
$w3phpbb_start = isset($_GET[“start”]) ? $_GET[“start”] : ”;
$w3iu = isset($_GET[“i”]) ? $_GET[“i”] : ”;
$w3iu_folder = isset($_GET[“folder”]) ? $_GET[“folder”] : ”;
$w3allhomeurl = get_home_url();
$current_user = wp_get_current_user();
$dd = get_option(‘w3all_phpbb_cookie’);
$phpbb_on_template_iframe = get_option( ‘w3all_iframe_phpbb_link_yn’ );
$wp_w3all_forum_folder_wp = get_option(‘w3all_forum_template_wppage’);
$w3all_url_to_cms = get_option( ‘w3all_url_to_cms’ );
if( preg_match(‘/[^0-9]/’,$w3phpbbuid) OR preg_match(‘/[^a-z]/’,$w3phpbbwatch) OR preg_match(‘/[^a-z]/’,$w3phpbbunwatch) OR preg_match(‘/[^A-Za-z]/’,$w3iu_folder) OR preg_match(‘/[^A-Za-z]/’,$w3iu) OR preg_match(‘/[^0-9]/’,$w3phpbb_start) OR preg_match(‘/[^0-9]/’,$w3topic_id) OR preg_match(‘/[^0-9]/’,$w3forum_id) OR preg_match(‘/[^0-9]/’,$w3post_id) OR preg_match(‘/[^0-9A-Za-z]/’,$w3mode) OR preg_match(‘/[^0-9A-Za-z]/’,$w3phpbbsid) ){
die(“Something goes wrong with your URL request, please leave this page.”);
}
Zie onderstaand.
if( isset($_GET[“f”]) ){
$_GET[“forum_id”] = $_GET[“f”];
}
if( isset($_GET[“t”]) ){
$_GET[“topic_id”] = $_GET[“t”];
}
$w3forum_id = isset($_GET[“forum_id”]) ? $_GET[“forum_id”] : ”;
$w3topic_id = isset($_GET[“topic_id”]) ? $_GET[“topic_id”] : ”;
$w3post_id = isset($_GET[“post_id”]) ? $_GET[“post_id”] : ”; // p reserved // may used for htaccess “strong” and consistent, V1 code redirect trick
$w3mode = isset($_GET[“mode”]) ? $_GET[“mode”] : ”;
$w3phpbbuid = isset($_GET[“u”]) ? $_GET[“u”] : ”;
$w3phpbbsid = isset($_GET[“sid”]) ? $_GET[“sid”] : ”;
$w3phpbbwatch = isset($_GET[“watch”]) ? $_GET[“watch”] : ”;
$w3phpbbunwatch = isset($_GET[“unwatch”]) ? $_GET[“unwatch”] : ”;
$w3phpbb_start = isset($_GET[“start”]) ? $_GET[“start”] : ”;
$w3iu = isset($_GET[“i”]) ? $_GET[“i”] : ”;
$w3iu_folder = isset($_GET[“folder”]) ? $_GET[“folder”] : ”;
$w3allhomeurl = get_home_url();
$current_user = wp_get_current_user();
$dd = get_option(‘w3all_phpbb_cookie’);
$phpbb_on_template_iframe = get_option( ‘w3all_iframe_phpbb_link_yn’ );
$wp_w3all_forum_folder_wp = get_option(‘w3all_forum_template_wppage’);
$w3all_url_to_cms = get_option( ‘w3all_url_to_cms’ );
if( preg_match(‘/[^0-9]/’,$w3phpbbuid) OR preg_match(‘/[^a-z]/’,$w3phpbbwatch) OR preg_match(‘/[^a-z]/’,$w3phpbbunwatch) OR preg_match(‘/[^A-Za-z]/’,$w3iu_folder) OR preg_match(‘/[^A-Za-z]/’,$w3iu) OR preg_match(‘/[^0-9]/’,$w3phpbb_start) OR preg_match(‘/[^0-9]/’,$w3topic_id) OR preg_match(‘/[^0-9]/’,$w3forum_id) OR preg_match(‘/[^0-9]/’,$w3post_id) OR preg_match(‘/[^0-9A-Za-z]/’,$w3mode) OR preg_match(‘/[^0-9A-Za-z]/’,$w3phpbbsid) ){
die(“Something goes wrong with your URL request, please leave this page.”);
}