<?php 
	$set 		= $this->db->query("SELECT * FROM pengaturan WHERE id='2' ")->row();
	$nik_data 	= $this->session->userdata('nik');
	$nama_data 	= $this->session->userdata('nama');
	$jk_data 	= $this->session->userdata('jk');
	if($jk_data == 'L'){
		$yth = ' Bapak ';
		}else if($jk_data == 'P'){
		$yth = ' Ibu ';
		}else{
		$yth = '';
	}
	
	$link_ptsp = $this->uri->segment('2');
	
?>
<style type="text/css">
	h1{
	text-align: center;
	}
	
	p{
	text-align: center;
	}
	
	a{
	color: #232323;
	text-decoration: none;
	font-weight: 500;
	}
	
	a:hover{
	text-decoration: underline;
	}
	
	.zoom-effect {  
	position: relative;
	width: 100%;
	height: 330px;
	margin: 0 auto;
	overflow: hidden;  
	}
	
	.kotak {
	position: absolute;
	top: 0;
	left: 0;
	
	}
	
	.kotak img {
	-webkit-transition: 0.4s ease;
	transition: 0.4s ease;
	}
	
	.zoom-effect:hover .kotak img {
	-webkit-transform: scale(1.3);
	transform: scale(1.3);
	}	
</style>
<!-- Outer Row -->
<div class="row justify-content-center" style="margin-top:50px">
	<div class="col-md-1"></div>
	<div class="col-md-10 background-tutup shadow-lg p-3 mb-5 rounded" style="min-height:550px;">
		<div class="row">
			<div class="col-md-1"></div>
			<div class="col-md-10">
				<div class="card o-hidden border-0 my-5">
					<div class="card-body p-8 background-tutup-merah shadow-lg" style="border:2px solid red;border-radius:5px;">
						<!-- Nested Row within Card Body -->
						<div class="row">
							<div class="col-lg-12" style="color:white;">
								<div class="p-1 text-center">
								<h3>Maaf layanan kami sedang <b>tutup</b></h3>
									<table class="table">
										<tr>
											<td style="color:black;">
											<img src="<?=base_url('sb/img/weareclose.png');?>" class="img img-fluit img-fluid img-responsive"><br/><br/>
											<h5 style="color:white;font-weight:bold;">Silahkan kembali lagi pada jam layanan</h5>
											<a href="<?=base_url('beranda');?>" class="btn-lg btn btn-danger" target="_parent"><?=date('H:i',strtotime($jam_mulai)).' - '.date('H:i',strtotime($jam_selesai));?> WIB</a>
											<?php if($info != ''){ ?>
											<hr/>
											<div class="alert alert-warning" style="border-radius:20px;"><?=$info;?></div>
											<?php } ?>
											</td>	
										</tr>	
									</table>
								</div>
							</div>
						</div>
					</div>
				</div>	
			</div>
			<div class="col-md-1"></div>
		</div>					
		
	</div>
	<div class="col-md-1"></div>
</div>
<!-- Outer Row -->


