<BR><BR>
<div class="row">
	<div class="col-md-6 col-md-offset-3" style="background: #fff; border-radius: 5px; color: #000; opacity: 6.5; z-index: 999;">
		<h2 class="text-center" style="color: #a79f97"><?= APP_NAME; ?> Payment</h2>
		<br>
		<?php
		$tempdata = $this->session->flashdata('tempdata');
		$alert = "info";
		if (strpos(strtoupper($tempdata), "SORRY") > -1)
			$alert = "danger";
		if (isset($tempdata) && !empty($tempdata)) {
		?>
			<br>
			<div class="alert alert-<?= $alert; ?> alert-dismissible" role="alert">
				<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
				<h5 class="text-center"> <?= $tempdata; ?></h5>
			</div>
		<?php   }    ?> 
		<form action="" method="post">
			<input type="hidden" name="amount" value="<?= $amount ?>">
			<input type="hidden" name="type" value="MERCHANT" readonly="readonly" />
			<h4><?=$name;?></h4>
			<h4><?=$phone;?></h4>
			<h5>Payment Amount ksh : <?= $amount ?></h5> <br>
			<button type="button" onclick="alert('Payment integration pending.');" class="btn btn-primary">Make Payment</button>
		</form>
		<br><br>
		<img src="/_public/images/payments.png" width="100%">
	</div>
</div>

<script src="/_public/js/landing.page.skin.js" type="text/javascript"></script>