query("SELECT * FROM " . TABLE_PREFIX . "games WHERE shortname='babejump'"); if ($DB_site->num_rows($gameexists)==0) { print_form_header('babejump.game', 'stepone'); print_table_header("v3 Arcade - Babe Jump"); print_description_row("This script will install Babe Jump for your v3 Arcade.
Make sure you upload the following files:
babejump1.gif -> /images/arcade/babejump1.gif
babejump2.gif -> /images/arcade/babejump2.gif
babejump.swf -> /games/babejump.swf
Click on \"Install Babe Jump\" to begin the installation."); print_submit_row("Install Babe Jump", 0); } else { print_form_header('babejump.game', 'stepone'); print_table_header("v3 Arcade - Babe Jump"); print_description_row("Babe Jump 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 ('babejump', NULL, 'Babe Jump', 'How far can you jump the bike?!', 'babejump.swf', 770, 550, 'babejump2.gif', 'babejump1.gif', 29, NULL, NULL)"); $DB_site->query(" INSERT INTO " . TABLE_PREFIX . "gamenews (newstext,newstype,datestamp) VALUES ('New game installed, Babe Jump','newgame'," . TIMENOW . ") "); print_form_header('babejump.game', ''); print_table_header("v3 Arcade - Babe Jump"); print_description_row("Installation Complete! (PLEASE DELETE THIS FILE.)"); } /*======================================================================*\ || #################################################################### || # Downloaded: 13:43, Tue Jan 6th 2004 || # CVS: $RCSfile: usertitle.php,v $ - $Revision: 1.35 $ || #################################################################### \*======================================================================*/ ?>