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

	<div class="row">
		<div class="col-md-12">
			<div class="card">
				<div class="card-body">
					<?= htmlspecialchars_decode($page_content['page_content']) ?>
				</div>
			</div>
			<div class="card">
				<div class="card-body">
					<form id="create_ticket" onsubmit="return false;">
						<div class="form-group mb-3">
							<label><b>{TICKET_FORM_TITLE}:</b></label>
							<input type="text" name="title" class="form-control"/>
						</div>
						<div class="form-group mb-3">
							<label><b>{TICKET_FORM_MESSAGE}:</b></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>
			<div class="card">
				<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>
	
<?php require view('theme/footer'); ?>