= '4.0.4pl1' && strstr($HTTP_SERVER_VARS['HTTP_USER_AGENT'],'compatible') ) { if ( extension_loaded('zlib') ) { ob_start('ob_gzhandler'); } } else if ( $phpver > '4.0' ) { if ( strstr($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip') ) { if ( extension_loaded('zlib') ) { $do_gzip_compress = TRUE; ob_start(); ob_implicit_flush(0); header('Content-Encoding: gzip'); } } } } include($include."/user_global.inc.php"); include($include."/umfrage.inc.php"); if ( isset($HTTP_POST_VARS['system']) || isset($HTTP_GET_VARS['system']) ) { $system = ( isset($HTTP_POST_VARS['system']) ) ? $HTTP_POST_VARS['system'] : $HTTP_GET_VARS['system']; $system = htmlspecialchars($system); } else { $system = $medium[$standard_medium]['Name']; } if ( isset($HTTP_POST_VARS['act']) || isset($HTTP_GET_VARS['act']) ) { $act = ( isset($HTTP_POST_VARS['act']) ) ? $HTTP_POST_VARS['act'] : $HTTP_GET_VARS['act']; $act = htmlspecialchars($act); } else { $act = 'liste'; } // SEO: transfer variable if ( $act == "game" ) { $act = "spiel"; } if ( $act == "cheats" ) { $act = "detail1"; } if ( $act == "files" ) { $act = "detail2"; } if ( $act == "gamefaqs" ) { $act = "detail3"; } if ( isset($HTTP_POST_VARS['id']) || isset($HTTP_GET_VARS['id']) ) { $id = ( isset($HTTP_POST_VARS['id']) ) ? $HTTP_POST_VARS['id'] : $HTTP_GET_VARS['id']; $id = htmlspecialchars($id); } else { $id = 0; } if ( isset($HTTP_POST_VARS['comment']) || isset($HTTP_GET_VARS['comment']) ) { $comment = ( isset($HTTP_POST_VARS['comment']) ) ? $HTTP_POST_VARS['comment'] : $HTTP_GET_VARS['comment']; $comment = htmlspecialchars($comment); } else { $comment = 'show'; } $com_name = isset($HTTP_POST_VARS['com_name']) ? trim($HTTP_POST_VARS['com_name']) : $userid; $com_email = isset($HTTP_POST_VARS['com_email']) ? trim($HTTP_POST_VARS['com_email']) : $user_data['email']; $com_header = isset($HTTP_POST_VARS['com_header']) ? trim($HTTP_POST_VARS['com_header']) : ''; $message = isset($HTTP_POST_VARS['message']) ? trim($HTTP_POST_VARS['message']) : ''; $vote = isset($HTTP_GET_VARS['vote']) ? $HTTP_GET_VARS['vote'] : 'show'; $vote = isset($HTTP_POST_VARS['vote']) ? trim($HTTP_POST_VARS['vote']) : trim($vote); $error_message = isset($HTTP_GET_VARS['error_message']) ? $HTTP_GET_VARS['error_message'] : 'show'; $error_message = isset($HTTP_POST_VARS['error_message']) ? trim($HTTP_POST_VARS['error_message']) : trim($error_message); // // ############# Prüfung des Gametyps ############### // $sys_found = false; while (list($key, $val) = each($medium)) { if (strtolower($medium[$key]['Name']) == strtolower($system)) { $gametyp = strtolower($key); $sys_found = true; } } if ( $sys_found != true ) { $sys_not_found = str_replace("%s", $system, $lang['script_error28']); message_die( GENERAL_MESSAGE, $sys_not_found . ' ' . $lang['script_eingabe_error2']); } if ( $portal_config['portal_useronly'] == 1 && trim( $userid ) == "" ) { include ($include."/do_register.inc.php"); } elseif ( $act == "liste" ) { include ($include."/daten.liste.inc.php"); } elseif ( $act == "spiel" ) { include ($include."/daten.spiel.inc.php"); } elseif ( $act == "detail1" || $act == "detail2" || $act == "detail3" ) { include ($include."/daten.show.inc.php"); } else { message_die( GENERAL_MESSAGE, $lang['script_error01'] ); } include($include."/page_footer1.inc.php"); include($include."/page_footer2.inc.php"); } else { include ($include."/error.inc.php"); } ?>