<div class="container-fluid">
	<!-- ============================================================== -->
	<!-- Start Page Content -->
	<!-- ============================================================== -->
	<div class="row ">
		<div class="col-12">
			<div class="card card-outline-info">
				<div class="card-header">
					<h6 class="m-b-0 text-white">Message</h6>
					<?php
					$csrf = array(
						'name' => $this->security->get_csrf_token_name(),
						'hash' => $this->security->get_csrf_hash()
					);
					?>
					<input type="hidden" name="<?= $csrf['name']; ?>" id="token_key" value="<?= $csrf['hash']; ?>" class="form-control login_style" readonly>

				</div>

				<div class="card-body">
					<div class="table-responsive">
						<table id="contactTable" class="table">
							<thead>
								<tr>
									<th width="20%">Time</th>
									<th width="30%">Subject</th>
									<th width="15%">Sender</th>
									<th width="15%">Email</th>
									<th width="10%">Status</th>
									<th width="10%">Action</th>
								</tr>
							</thead>
							<tbody>

							</tbody>
						</table>
					</div>


					<!--Modal Start-->
					<div class="modal fade" id="view_update_data" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel1">
						<div class="modal-dialog" role="document">
							<div class="modal-content">
								<div class="modal-header">
									<h4 class="modal-title" id="exampleModalLabel1">View Message</h4>
									<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
								</div>
								<form id="updateForm" method="post">
									<div class="modal-body">
										<div class="form-group">
											<label class="control-label">Sender Name</label>
											<input type="text" name="sender_name" id="modal_sender_name" class="form-control" readonly>
										</div>
										<div class="form-group">
											<label class="control-label">Sender Phone</label>
											<input type="text" name="sender_phone" id="modal_sender_phone" class="form-control" readonly>
										</div>
										<div class="form-group">
											<label class="control-label">Sender Email</label>
											<input type="text" name="sender_email" id="modal_sender_email" class="form-control" readonly>
										</div>
										<div class="form-group">
											<label class="control-label">Subject</label>
											<input type="text" name="message_subject" id="modal_message_subject" class="form-control" readonly>
										</div>

										<div class="form-group">
											<label for="">Message</label>
											<textarea class="form-control" name="message_body" id="modal_message_body" rows="4" readonly></textarea>
										</div>

									</div>
									<div class="modal-footer">
										<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
									</div>
								</form>
							</div>

						</div>
					</div>
					<!--Modal End-->
				</div>
			</div>
		</div>
		<!-- ============================================================== -->
	</div>

</div>