Here, I'll just insert the code..
It's called from temp.php
like:
build_menu_system("shot","",$menu_style);
Menu System
function build_menu_system($menu_selection, $item_checked, $menu_style)
{
build_file_connection("menu/$menu_selection.menu");
echo "<select name=\"$menu_selection\" $menu_style> \n\n";
for($num = 0; $num < count($file_array); $num++)
{
##### Split the entrys #####
$database_entry = explode("|",$file_array[$num]);
print("crap | $database_entry[0], $database_entry[1] count($file_array)");
##### Now, check for types of selections in menu #####
if($database_entry[0]) { echo "<option name=\"null\" value=\"null\" title=\"$database_entry[1]\">-->$database_entry[1]"; }
if($database_entry[0] == "") { echo "<option name=\"$database_entry[1]\" value=\"$database_entry[1]\" title=\"$database_entry[1]\">"; }
} /* end for */
echo "</select>\n\n";
} /* end function */
File Connection
function build_file_connection($file_name)
{
global $file_opened;
global $file_array;
$file_opened = $file_name;
$file_array = file($file_name);
}