require '../members/check.php'; ?>
TigerRoar.com - Total LSU Fan interaction
include '../headers/header2007.php';
if (isset($_SESSION['login'])) {
$login = $_SESSION['login'];
}
require 'config.php';
include 'post_variables.php';
include 'mysql_connect.php';
$link = mysql_connect ($db_hostname, $db_username, $db_password) or die ("Unable to connect to database.");
switch ($id_sport) {
case "1":
$sportname = "LSU Football";
$gamequery = "SELECT * FROM football_games ORDER BY date asc";
break;
case "2":
$sportname = "Saints Football";
$gamequery = "SELECT * FROM saints_games ORDER BY date asc";
break;
case "3":
$sportname = "Men's Basketball";
$gamequery = "SELECT * FROM mbb_games ORDER BY date asc";
break;
case "4":
$sportname = "Women's Basketball";
$gamequery = "SELECT * FROM wbb_games ORDER BY date asc";
break;
case "5":
$sportname = "Baseball";
$gamequery = "SELECT * FROM baseball_games ORDER BY date asc";
break;
case "6":
$sportname = "Softball";
$gamequery = "SELECT * FROM softball_games ORDER BY date asc";
break;
}
$gameresult = mysql_db_query ($db_name, $gamequery, $link);
// return $sportname;
include 'directory_actions.php';
if($a=="t") {
// ------------- OPEN THE TICKET EXCHANGE MANAGER FOR MEMBERS --------------------//
#print "TEST LINE: $id_sport";
include 'manager.php';
}
mysql_close ($link);
include '../headers/footer2007.php';
?>