session_start();
//------------------------------------------------------------------------------------
//
// File: pzgren.php
//
// Created: 29-Mar-2003
// Author: Mark Robbins
//
//------------------------------------------------------------------------------------
?>
Panzer Grenadier
global $UserID;
global $Password;
global $Status;
global $GCode;
//$server = "thewargamer.com";
$database = "PzG";
$server = "Localhost";
$database = "PzG";
$Status = $_REQUEST['Status'];
$Password = $_SESSION["password"];
$UserID = $_SESSION["userid"];
if ( $UserID == "" )
{
$Password = $_REQUEST['Password'];
$UserID = $_REQUEST['UserID'];
}
if ( $UserID == "" )
{ // Still nothing, hardcode it
$Password = 'pzg';
$UserID = 'pzg';
}
$GCode = $_REQUEST['gc'];
$SN = $_REQUEST['sn'];
$_SESSION["userid"] = $UserID;
$_SESSION["password"] = $Password;
if ( $_REQUEST["mod"] == "unit" )
{
include "pzgren_units.php";
}
elseif ( $_REQUEST["mod"] == "lead" )
{
include "pzgren_leaders.php";
}
elseif (strlen($GCode) > 0)
{
include "pzgren_srs.php";
}
else
{
include "menu.php";
}
printf("
");
?>
Jonathan Arnold <jdarnold@buddydog.org>
Last modified: Mon Apr 07 22:53:54 Eastern Daylight Time 2003