	 <?php 
	 					 //echo "<pre>";
						 //print_r($searchdata);
						 if(!empty($doctors_list)){
						 //print_r($doctors_list);
						 }

						 // $all_doctors_loc=array();
						 if(!empty($doctors_list))
						 {
						 	//$all_price=array();
						 	//$all_distance=array();
						 foreach ($doctors_list as $key => $value) {
			    ?>
			    	
		       
						<li>
							<div class="ip_search_pic">
								<?php if(!empty($value['doctor_photo'])){?>
								<img src="<?php echo base_url().$value['doctor_photo']?>">
								<?php }
								else
								{ ?>
								<img src="<?php echo base_url()?>assets/images/doctor-background.jpg">
								<?php }?>	
							</div>
							<div class="ip_search_detail">
								<h5><?php echo $value['name']?></h5>
								<p><?php echo $value['specialization']?></p>
								<h6><?php echo $value['clinic_name']?>,
									<?php if($value['clinic_name'] == 'Default'){?>
									<?php echo decrypt_data($value['clinic_street_address']);?>
									-<?php echo decrypt_data($value['clinic_locality']);?>
										<?php } else{ ?>
									<?php echo $value['clinic_street_address']?>
									-<?php echo $value['clinic_locality']?>
										<?php } ?>
									</h6>
							</div>
							<div class="ip_search_ratting_price">
							<p><!-- R$ <?php echo $value['price']?> --></p>
						<!-- 	<fieldset class="ip_rating">
								<input type="radio" id="star5" name="rating" value="5" /><label class = "full" for="star5" title="Awesome - 5 stars"></label>
								<input type="radio" id="star4half" name="rating" value="4 and a half" /><label class="half" for="star4half" title="Pretty good - 4.5 stars"></label>
								<input type="radio" id="star4" name="rating" value="4" /><label class = "full" for="star4" title="Pretty good - 4 stars"></label>
								<input type="radio" id="star3half" name="rating" value="3 and a half" /><label class="half" for="star3half" title="Meh - 3.5 stars"></label>
								<input type="radio" id="star3" name="rating" value="3" /><label class = "full" for="star3" title="Meh - 3 stars"></label>
								<input type="radio" id="star2half" name="rating" value="2 and a half" /><label class="half" for="star2half" title="Kinda bad - 2.5 stars"></label>
								<input type="radio" id="star2" name="rating" value="2" /><label class = "full" for="star2" title="Kinda bad - 2 stars"></label>
								<input type="radio" id="star1half" name="rating" value="1 and a half" /><label class="half" for="star1half" title="Meh - 1.5 stars"></label>
								<input type="radio" id="star1" name="rating" value="1" /><label class = "full" for="star1" title="Sucks big time - 1 star"></label>
								<input type="radio" id="starhalf" name="rating" value="half" /><label class="half" for="starhalf" title="Sucks big time - 0.5 stars"></label>
							</fieldset> -->
							</div>
							<div class="ip_know_more">
								<button class="ip_know_more_btn " data-toggle="collapse"  data-target="#ip_detail<?php echo $key?>"><?php load_language('know_more');?></button>
							</div>
							<div class="clear"></div>

							<div id="ip_detail<?php echo $key?>" class="collapse cus-map">
								<div class="ip_know_more_detail">
									<div class="row">
										<div class="col-md-7">
											<div class="ip_detailed_tab">
												<div class="ip_detailed_tab_head">
													<ul>
															<li class="active" data-toggle="tab" href="#biography<?php echo $key?>"><?php load_language('biography');?></li>
															<li data-toggle="tab" href="#specialization<?php echo $key?>"><?php load_language('specialization');?></li>
													</ul>
												</div>
												<div class="ip_detailed_tab_content">
													<div class="tab-content">
														<div id="biography<?php echo $key?>" class="tab-pane fade in active">
															<p><?php echo decrypt_data($value['biography'])?></p>
															<!-- <p>Lorem Ipsum is simply dummy text of the printing and
															typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer</p> -->

														</div>
														<div id="specialization<?php echo $key?>" class="tab-pane fade">
															<p><?php echo $value['specialization']?></p>
															<!-- <p> Ipsum is that
																 it has a more-or-less normal distribution of letters, as opposed to using 'Content here,
																 content here', making it look like readable English.</p> -->
														</div>
													</div>
												</div>
											</div>
										</div>
										<div class="col-md-5">
											<div class="ip_detailed_map">
												<div  class="ip_location_map_head">
													<?php load_language('location');?>
												</div>
												<div class="ip_location_map_area map_data" data-lat="<?php echo $value['clinic_lat']?>" data-lng="<?php echo $value['clinic_lng']?>" id="doctor_location<?php echo $key?>" >
												</div>
											</div>
										</div>
									</div>
									<div class="row">
										<div class="col-md-12">
											<div class="ip_knw_more_btn_bay">
												<a href="<?php echo base_url()?>Searchdoctor/doctorprofile/<?php echo $value["doctorid"]?>/<?php echo $value["clinic_id"]?>">
													<button class="ip_knwmore_detail_btn floatLeft ip_knw_more_btn_1" type="button"><?php load_language('view_complete_profile');?></button>
												</a>
												
												<a href="<?php echo base_url()?>Searchdoctor/confirmbooking/<?php echo $value["doctorid"]?>/<?php echo $value["clinic_id"]?>">
													<button class="ip_knwmore_detail_btn floatRight ip_knw_more_btn_2" type="button"><?php load_language('mark_consultation');?></button>
												</a>
												

												<div class="clear"></div>
											</div>
										</div>
									</div>
								</div>
							</div>

						</li>
						 <?php	
					
					//array_push($all_price,$value['price']);
					//array_push($all_distance,$value['clinic_distance']);

		        }
		        //print_r($all_price);
		        //print_r($all_distance);
		    }
		    else
		    {
		        ?>
		        <li>
		        	<p class="textCenter"><?php load_language('no_records_found');?></p>
		        </li>
		    <?php }  ?>

		    <script>
	    		var pass = '<?php echo json_encode($searchdata);?>';
	    	    setTimeout(function(){load_filterdata(pass)},1000); //function in custom script
		    </script>

