In looking that over, it should output a table with weapons, and a table with food, from which a person playing this game can select. Although, it seems as though this script won't fire because of the WHERE clause in the SQL statement.
"SELECT * FROM `store_food` WHERE `available`='1' AND `[B]store_user`=\"$user\"[/B] AND `site`=\"$Z\" ORDER BY `item` ASC"
$user, which I'm pretty sure is propagated via the URL or POST data, needs to match the value in "store_food." If it doesn't then that query doesn't fire. If you open up the database this is attached to and look at that table, see if the right data is being sent to it by dropping an echo $user; before that SQL statement.
And.. you bought this set of scripts? May I ask how much they were?