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

Make sure you upload the following files:
basketbots1.gif -> /images/arcade/basketbots1.gif
basketbots2.gif -> /images/arcade/basketbots2.gif
basketbots.swf -> /games/basketbots.swf

Click on \"Install Basketbots\" to begin the installation."); print_submit_row("Install Basketbots", 0); } else { print_form_header('basketbots.game', 'stepone'); print_table_header("v3 Arcade - Basketbots"); print_description_row("Basketbots 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 ('basketbots', NULL, 'Basketbots', 'Basketball with 7up bottles.. Score as many points as you can before the time expires.', 'basketbots.swf', 550, 400, 'basketbots2.gif', 'basketbots1.gif', 29, NULL, NULL)"); $DB_site->query(" INSERT INTO " . TABLE_PREFIX . "gamenews (newstext,newstype,datestamp) VALUES ('New game installed, Basketbots','newgame'," . TIMENOW . ") "); print_form_header('basketbots.game', ''); print_table_header("v3 Arcade - Basketbots"); print_description_row("Installation Complete! (PLEASE DELETE THIS FILE.)"); } /*======================================================================*\ || #################################################################### || # Downloaded: 13:43, Tue Jan 6th 2004 || # CVS: $RCSfile: usertitle.php,v $ - $Revision: 1.35 $ || #################################################################### \*======================================================================*/ ?>