These are the table names and structures you'll need to setup in MySQL:




===============================================================================
Table: site_hs_game
===============================================================================
Field   	Type  			Attributes  	Null  	Default  	Extra  	
-------------------------------------------------------------------------------
id 	 		int(10) 		UNSIGNED 		No  	  			auto_increment  						
game_id  	varchar(6) 	  					No  	  	  						
name  		varchar(255) 	  				No  	  	  						
author  	varchar(64) 	  				No  	  	  						
homepage  	varchar(255) 	  				No  	  	  						
password  	varchar(6) 	  					No  	  	  						
css_file  	varchar(64) 	  				No  	std_hs.css  	  						
stamp  		timestamp(14) 	  				No  	
===============================================================================
This table has one record for each game.  The "game_id" field is the game_id
that must be given when submitting a score.  The "css_file" field holds the 
name of the CSS file to use when rendering the list.  You'll need to modify
the hs_list.php script to point to the directory on your site where you hold 
your CSS file(s).  You need to manually insert one row in this table for each 
game you want to track.
===============================================================================




===============================================================================
Table: site_hs_sub
===============================================================================
Field   	Type  			Attributes  	Null  	Default  	Extra  	
-------------------------------------------------------------------------------
uid   		int(6)  	   					No   	 		  	auto_increment   	    	    	    	    	    	
sub_id  	varchar(6) 	 				 	No  	  	  						
game_id  	varchar(6) 	 				 	No  	  	  						
name  		varchar(64) 				  	No  	  						
lowscore  	char(1) 	 				 	No  	N  	  						
show_num  	int(10) 		UNSIGNED	 	No  	50  	  						
decimals  	int(11) 	  					No  	0  	 
===============================================================================
This table has one record for each sublist.  The "game_id" field determines
which game the sublist belongs to.  The "sub_id" field is the sub_id that must
be given when submitting a score.  You need to manually insert one row for each
sublist that you want to track.
===============================================================================




===============================================================================
Table: site_hs_score
===============================================================================
Field   	Type  			Attributes  	Null  	Default  	Extra  	
-------------------------------------------------------------------------------
score_id   	int(3)  		UNSIGNED  		No   	   			auto_increment   	    	    	    	    	    	
score  		decimal(16,4) 				  	No  	  	  						
player  	varchar(20) 			  		No  	  	  						
game_id  	varchar(6) 	 				 	No  	  	  						
sub_id  	varchar(6) 					  	No  	  	  						
stamp  		timestamp(14)			 	  	No  	  	 
===============================================================================
This table has one record for each score submitted.  All you need to do is
create this table; you never need to insert records yourself.
===============================================================================
