include 'globals.php';
include 'database.php';
?>
	<?php 
$database = new Database();
/*
for each value in the array display as a brick
*/
?>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title><?php 
echo $title = $database->getBrickTitle($_GET['id']);
?>
</title>
	<link rel="stylesheet" href="../css/style.css">
	<link rel="stylesheet" href="../fonts/glyphicons-halfings-regular.svg">
	<link rel="stylesheet" href="../fonts/glyphicons-halfings-regular.ttf">
	<script src="../js/jquery.min.js"></script>
	<script src="../js/bootstrap.min.js"></script>
	<script src="../js/tinymce/tinymce.min.js"></script>

</head>
<body>
<!-- show the comments previously posted. This will include the date, person who posted -->

<?php 
include_once 'navbar.php';