<?php require view('theme/header'); ?>

<div class="container">
	<div class="row">
		<div class="col-md-8 col-md-offset-2">
			<div class="well">
				<?= htmlspecialchars_decode($page_content['page_content']) ?>
			</div>
			<div class="well">
				<form id="create_ticket" onsubmit="return false;">
					<div class="form-group">
						<label>{TICKET_FORM_TITLE}:</label>
						<input type="text" name="title" class="form-control"/>
					</div>
					<div class="form-group">
						<label>{TICKET_FORM_MESSAGE}:</label>
						<textarea name="message" rows="6" class="form-control"></textarea>
					</div>
					<div class="form-group">
						<button type="submit" class="btn btn-primary">{TICKET_SUBMIT}</button>
					</div>
				</form>
			</div>
			<div class="well">
				<table class="table">
					<thead>
						<tr>
							<th>ID</th>
							<th>{TICKETS_TABLE_TITLE}</th>
							<th>{TICKETS_TABLE_STATUS}</th>
						</tr>
					</thead>
					<tbody>
						{TICKETS}
					</tbody>
				</table>
			</div>
		</div>
	</div>
</div>
<?php require view('theme/footer'); ?>