"info-home.php", 'videos' => "info-videos.php", 'about' => "info-about.php", 'screenshots' => "info-screenshots.php", 'twitteroff' => "info-twitteroff.php", 'playerguide' => "info-playerguide.php" ); $ga_names = array( 'home' => '/home/no-flash', 'videos' => '/videos/no-flash', 'about' => '/about/no-flash', 'screenshots' => '/screenshots/no-flash', 'twitteroff' => '/twitteroff/no-flash', 'playerguide' => '/pg/no-flash', 'facebook' => '/facebook/widget', 'twitter' => '/twitter/widget' ); $map_icons = array( 'Videos' => array( 'content'=>"videos", 'image'=>"images/map-videos.png", 'style'=>"left:283px;top:93px;"), 'About Luxor' => array( 'content'=>"about", 'image'=>"images/map-about.png", 'style'=>"left:150px;top:108px;"), 'Screenshots' => array( 'content'=>"screenshots", 'image'=>"images/map-screenshots.png", 'style'=>"left:221px;top:222px;"), 'Twitteroff' => array( 'content'=>"twitteroff", 'image'=>"images/map-twitteroff.png", 'image_disabled'=>"images/map-twitteroff-disabled.png", 'style'=>"left:355px;top:118px;"), 'Player Guide' => array( 'content'=>"playerguide", 'image'=>"images/map-playerguide.png", 'image_disabled'=>"images/map-playerguide-disabled.png", 'style'=>"left:325px;top:274px;"), ); // Append this to the end of the image filename to get the hover image $hover_suffix = "-highlight"; // Load the XML configuration file $xml = simplexml_load_file('luxor.xml'); // Disable the prelaunch icons if necessary if ($xml->prelaunch == 1) { $map_icons['Twitteroff']['disabled'] = true; $map_icons['Twitteroff']['style'] .= "cursor:default;"; $map_icons['Player Guide']['disabled'] = true; $map_icons['Player Guide']['style'] .= "cursor:default;"; } // Determine what page the user is on $cur_page = 'home'; if ($content_links[$_GET['page']]) $cur_page = $_GET['page']; // Determine which widget is active $cur_widget = 'twitter'; if ($_GET['widget'] == 'facebook') $cur_widget = 'facebook'; function display_map_icons() { global $url_prefix; global $map_icons; global $content_links; global $hover_suffix; global $cur_page; $i = 0; foreach ($map_icons as $alt => $info) { echo "\n
"; if (!$info['disabled']) { $url = $info['content']; $image = $info['image']; // Add the hover suffix to this image if ($cur_page == $url) { $index = strrpos($image, '.'); $image = substr($image, 0, $index) . $hover_suffix . substr($image, $index); } echo ""; echo "\"$alt\"/"; echo ""; } else { echo "\"$alt\"/"; } echo "
"; $i++; } echo "\n"; } ?> LUXOR for iPhone and iPod touch - MumboJumbo '; else if (eregi('MSIE', $agent)) echo ''; else echo ''; ?>
LUXOR Luxor prelaunch != 1) { $appstore_url = $xml->appstore_url; ?>