<?php
	
	defined('BASEPATH') OR exit('No direct script access allowed');
	
	$this->load->view("admin_includes/head");
	
	$this->load->view("admin_includes/header");
	
	$this->load->view("admin_includes/sidebar");
	
?>

<div class="pcoded-content">
	<div class="pcoded-inner-content">
		<!-- Main-body start -->
		<div class="main-body">
			<div class="page-wrapper">
				
				<div class="page-body">
					<div class="row">
						<div class="col-sm-12"> 
							<div class="card">
								<div class="card-header">
									<h5>Clinic Details			 </h5> 
								</div>
								<div class="card-block"> 
                                	
									<?php 
										foreach ($viewClinic as $key => $data) {
											
										?>
										
										
										
										<h5 class="card-title"> View Regisration (  Clinic:  <?php echo $data['clinicEmail']; ?> 	 ) <a  href = "javascript:window.history.go(-1);"  class="btn waves-effect waves-light grey darken-4 pull-right" type="submit" name="action">Back
											
										</a></h5>
									
									</br>
									
									<div class="message-box">
										
										<div class="message-widget message-scroll scrollable" >
											
											<p>
												 
												<div class="mail-contnet"> 
													
													<h6><b>Name: </b><?php echo $data['contactPerson']; ?></h6> 
													
													<h6><b>Mob.No:</b> <?php  echo $data['contactNumber']; ?></h6> 
													
													<h6><b>Email: </b><?php echo $data['contactEmail']; ?></h6>  
													<h6><b>Website: </b><?php echo $data['clinicWebsite']; ?></h6><h6><b>Clinic Info: </b><?php echo $data['clinicInfo']; ?></h6>  
													
													
													
													
													
												</div>
												
											</p>
											
											
											
										</div>
										
									</div>
									
						</div><?PHP } ?>
						
						<div class="divider"></div>
						
						<div class="card-content col-md-12">
							
							<h6 class="font-medium">Login Details</h6>
							
							<div class="message-box">
								
								<div class="message-widget message-scroll scrollable" >
									
									<p> 
										
										<div class="mail-contnet"> 
											
											<h6><b>clinic Username: </b><?php echo $data['clinicUsername']; ?></h6> 
											
											<h6><b>Clinic Password </b> <?php  echo $data['clinicPassword']; ?></h6>   
										</div>
										
									</p>
									 
									
								</div>
								
							</div>
							
						</div>
						
						
						
						<div class="divider"></div>
						
							<div class="card-content col-md-12">
							
							<h6 class="font-medium"> Branch Details</h6>
							
							<div class="message-box">
								
								<div class="message-widget message-scroll scrollable" >
									
									<p> <?php 
										
										foreach ($branchdata as $key => $kdata) {
											
										?>
										
										<div class="mail-contnet"> 
											
											<h6><b>Branch Name: </b><?php echo $kdata['branchName']; ?></h6> 
											
											<h6><b>Mob.No:</b> <?php  echo $kdata['branchContact']; ?></h6> 
											
											<h6><b>Email: </b><?php echo $kdata['branchEmail']; ?></h6>  
											 
											<h6><b>Branch code: </b><?php echo $kdata['branchCode']; ?></h6>  
											
											<h6><b> Branch Address: </b><?php echo $kdata['branchAddress']; ?></h6>
											
											
											
											
											
										</div><hr>
										
									<?php } ?>
									
									</p>
									
									
									
								</div>
								
							</div>
							
						</div>
						
						
						
						
						
						
						
						
						
						
						
						
						
						
						
				</div>
				
			</div>
			
		</div>
		
	</div>
	
</div>

</div>



</div>



<?php
	
	$this->load->view("admin_includes/footer");
	
?>				

</div>

