0) { $user = mysql_result($result, 0, "username"); $clear_pass = mysql_result($result, 0, "clear_password"); $md5_pass = mysql_result($result, 0, "md5_password"); } // checking if user is not authenticated if (!isset($userid) || $num_rows = 0 || $md5_pass != $md5_passwd) { // redirecting user to the login page header("Location: http://www.teknistar.com/login.php"); exit; } else { // this way we store the time when user authorized in $sess["time"] if (!isset($sess["time"])) $sess["time"] = time(); echo "

User '$userid' authorized at ".date("D M j G:i:s T Y", $sess["time"])."

"; } ?>

New Item Insert Form.

Enter The Description of The New Item.

ItemID:

Color:

Size:

Width:

Cost:

When New Item Descriptions Have been Entered Select Submit.

Return to main...