} } // Prevent errors if (!isset($_GET['act'])) { $_GET['act'] = ""; } // We cannot allow a user to start the frameset without choosing a room if ($_GET['act'] == "frame" && $x7c->room_name == "") { $_GET['errore'] = "noroom"; } // Test to see if server is running in single room mode if ($x7c->settings['single_room_mode'] != "") { // Set the room name $_GET['room'] = $x7c->settings['single_room_mode']; // Fix problems with room passwords $x7c->room_info($_GET['room']); // Set action to frameset if ($_GET['act'] == "") { $_GET['act'] = "frame"; } } // See if the room is password protected if (isset($_GET['room'])) { include_once "./sources/room_password.php"; $cookie_name = "rpw_" . $x7c->room_data['id']; // See if a cookie password is set if (!isset($_COOKIE[$cookie_name])) { $_COOKIE[$cookie_name] = ""; } // See if the password form was filled out if (isset($_POST['room_pw'])) {