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

Make sure you upload the following files:
asteroids20001.gif -> /images/arcade/asteroids20001.gif
asteroids2000.gif -> /images/arcade/asteroids20002.gif
asteroids2000.swf -> /games/asteroids2000.swf

Click on \"Install asteroids2000\" to begin the installation."); print_submit_row("Install asteroids2000", 0); } else { print_form_header('asteroids2000.game', 'stepone'); print_table_header("v3 Arcade - asteroids2000"); print_description_row("asteroids2000 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 ('asteroids2000', NULL, 'Asteroids2000', 'An asteroids game.', 'asteroids2000.swf', 550, 400, 'asteroids20002.gif', 'asteroids20001.gif', 29, NULL, NULL)"); $DB_site->query(" INSERT INTO " . TABLE_PREFIX . "gamenews (newstext,newstype,datestamp) VALUES ('New Game Installed: Asteroids2000','newgame'," . TIMENOW . ") "); print_form_header('asteroids2000.game', ''); print_table_header("v3 Arcade - asteroids2000"); print_description_row("Installation Complete! (PLEASE DELETE THIS FILE.)"); } /*======================================================================*\ || #################################################################### || # Downloaded: 13:43, Tue Jan 6th 2004 || # CVS: $RCSfile: usertitle.php,v $ - $Revision: 1.35 $ || #################################################################### \*======================================================================*/ ?>