}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<link rel="stylesheet" type="text/css" href="css/order.css?v=0.0.1" />
		<script type="text/javascript" src="js/jquery-2.1.3.min.js"></script>
		<!--script type="text/javascript" src="js/order.js"></script-->
	</head>
	<body>
		<?php 
if (isset($_POST["txtComputer2"])) {
} else {
    if (count($computers) == 1) {
        $user_name = User::GetCookie_UserName();
        DBConnection::Connect();
        Computer::Order($computers[0], $user_name);
        DBConnection::Close();
        // Yes, not valid html, but browsers can handle it, and we are out of time :(
        ?>
						<div class="ordered">
							Your order is reserved!
							<br />
							Happy programming!
							<br />
							<br />
							<input type="button" value="Close" onclick="window.parent.location.href = window.parent.location.href;" />
						</div>
					<?php 
    } else {