query("SELECT * FROM " . TABLE_PREFIX . "games WHERE shortname='alienhominid'"); if ($DB_site->num_rows($gameexists)==0) { print_form_header('alienhominid.game', 'stepone'); print_table_header("v3 Arcade - Alien Hominid"); print_description_row("This script will install Alien Hominid for your v3 Arcade.

Make sure you upload the following files:
alienhominid1.gif -> /images/arcade/alienhominid1.gif
alienhominid2.gif -> /images/arcade/alienhominid2.gif
alienhominid.swf -> /games/alienhominid.swf

Click on \"Install Alien Hominid\" to begin the installation."); print_submit_row("Install Alien Hominid", 0); } else { print_form_header('alienhominid.game', 'stepone'); print_table_header("v3 Arcade - Alien Hominid"); print_description_row("Alien Hominid is already installed!"); } } // ############################################################################# // step 1 if ($_POST['do'] == "stepone") { $DB_site->query("INSERT INTO " . TABLE_PREFIX . "games (shortname, gameid, title, descr, file, width, height, miniimage, stdimage, gamesettings, highscorerid, highscore) VALUES ('alienhominid', NULL, 'Alien Hominid', 'Your UFO has crash landed, and the FBI is out to get you.. Time to take them out!', 'alienhominid.swf', 550, 420, 'alienhominid2.gif', 'alienhominid1.gif', 29, NULL, NULL)"); $DB_site->query(" INSERT INTO " . TABLE_PREFIX . "gamenews (newstext,newstype,datestamp) VALUES ('New game installed, Alien Hominid','newgame'," . TIMENOW . ") "); print_form_header('alienhominid.game', ''); print_table_header("v3 Arcade - Alien Hominid"); print_description_row("Installation Complete! (PLEASE DELETE THIS FILE.)"); } /*======================================================================*\ || #################################################################### || # Downloaded: 13:43, Tue Jan 6th 2004 || # CVS: $RCSfile: usertitle.php,v $ - $Revision: 1.35 $ || #################################################################### \*======================================================================*/ ?>