%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
<?php include("includes/header.php"); error_reporting(0); ?> <style> #restbutton { color: #f47436; padding: 6px 0px 5px 5px; float: right; font-weight: bold; font-size:11px; } #restbutton2 { color: #f47436; padding: 6px 0px 5px 5px; float: right; font-weight: bold; font-size:11px; } </style> <section id="breadcrumbs"> <div class="container"> <div class="row"> <div class="col-md-12"> <h1>Meet our Doctors</h1> <div class='loader'> </div> </div> <div class="col-md-12"> <ul> <li><a href="/">Sharda Hospital</a></li> <li>Meet our Doctors</li> </ul> </div> </div> </div> </section> <section id="main"> <div class="container"> <div class="row"> <div id="meet-doctor_page"> <div class="col-md-3 col-sm-3"> <div class="row"> <div class="col-md-12 col-sm-12"> <div id="left_nav"> <form id="get_search" name="get_search" method="post" > <h2>Doctor Designation <a href="#" id="restbutton"> Reset all</a></h2> <span class="line"> </span> <ul class="list-unstyled input scrollbar" id="style-4"> <?php $showdesignation = $this->db->query("SELECT * FROM `SH_Designations` order by DesignationRank ASC")->result_array(); foreach($showdesignation as $drdesignation){ ?> <li> <input type="radio" name="designation" id="<?php echo $drdesignation['DesignationID'];?>" <?php if($drdesignation['DesignationID']==$_GET['designation']){ echo "checked";}?> value="<?php echo $drdesignation['DesignationID'];?>"><span><?php echo $drdesignation['DesignationTitle'];?></span></li> <?php } ?> </ul> <h2>Department <a href="#" id="restbutton2"> Reset all</a></h2> <span class="line"></span> <ul class="list-unstyled input scrollbar02" id="style-5"> <?php foreach($departments_list as $dep) { ?> <li><input type="radio" name="department" id='<?php echo $dep['DepartmentID']?>' value="<?php echo $dep['DepartmentID']?>" <?php if($dep['DepartmentID']==$_GET['department']){ echo "checked";}?>> <span><?php echo $dep['DepartmentName'] ?> </span></li> <?php } ?> </ul> <h2>Gender</h2> <span class="line"></span> <ul class="list-unstyled input"> <li> <input type="radio" name="gender" id='M' value="M" <?php if($_GET['gender']=='M'){ echo "checked";}?>> <span>Male</span></li> <li> <input type="radio" name="gender" id='F' value="F" <?php if($_GET['gender']=='F'){ echo "checked";}?>> <span>Female</span></li> </ul> <!--<h2>Languages Spoken</h2> <span class="line"></span> <ul class="list-unstyled input"> <li> <input type="radio" name="language" id='English' value="English" <?php //if($language=='English'){ echo "checked";}?>> <span>English</span></li> <li> <input type="radio" name="language" id='Hindi' value="Hindi" <?php //if($language=='Hindi'){ echo "checked";}?>> <span>Hindi</span></li> <li> <input type="radio" name="language" id='Arabic' value="Arabic" <?php //if($language=='Arabic'){ echo "checked";}?>> <span>Arabic & Urdu</span></li> <li> <input type="radio" name="language" id='Bengali' value="Bengali" <?php //if($language=='Bengali'){ echo "checked";}?>> <span>bengali</span></li> </ul> --> </form> </div> </div> </div> </div> <div class="col-md-9 col-sm-9"> <div class="row"> <?php $vcount = count($doctors); $depid = $_GET['department']; $data = $this->db->query("select `DepartmentName` from `SH_Departments` where DepartmentID='".$depid."'")->result_array(); foreach ($data as $row) { $Department_Names = $row['DepartmentName']; if($Department_Names) { } ?> <p style="font-size:14px; font:Arial, Helvetica, sans-serif; text-align:left;">Showing results for Department: - <?php echo "<font color='#000000'><strong>".$Department_Names." (".$vcount.")".'</strong></font>' ; ?> </p> <?php } ?> <span id='my_result'> </span> <?php foreach($doctors as $doctor){ // if($_SERVER["QUERY_STRING"]){ // $doc_departments = $doctor['DepartmentName']; // } else { $doc_departments = $doctor['DepartmentNames']; } if(!empty($doctor['DepartmentName'])){ $doc_departments = $doctor['DepartmentName']; } else { $doc_departments = $doctor['DepartmentNames']; } ?> <div class="col-md-4 col-xs-12 col-sm-4 width"> <div class="color-change"> <div class="item"> <a> <span class="img-height"><img src="<?php echo base_url();?>uploads/doctor/<?php if(!$doctor['DoctorProfilePic']){echo 'default.jpg';}else{ echo $doctor['DoctorProfilePic'];}?>" class="img-responsive"></a></span> <div class="item-overlay top"></div> </div> <h2><a href="<?php echo base_url();?>meetourdoctors/<?php echo $doctor['DoctorPageURL']?>"><?php echo $doctor['DoctorTitle'].' '.$doctor['DoctorName']?></a></h2> <p><?php if($doctor['DoctorDesignation']<=2){ echo $doctor['DesignationTitle']; }else{ echo $doctor['DesignationTitle'].', '.$doc_departments; }?></p> <ul class="storybox"> <li> <a href="<?php echo base_url();?>meetourdoctors/<?php echo $doctor['DoctorPageURL']?>" class="hosBtn"><svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="0.433071in" height="0.298622in" viewBox="0 0 433 299" xmlns:xlink="http://www.w3.org/1999/xlink"> <path d="M289 7c-9,-9 -24,-9 -34,0 -9,9 -9,24 0,34l86 85 -317 0c-13,0 -24,10 -24,23 0,13 11,24 24,24l317 0 -86 85c-9,9 -9,24 0,34 5,4 11,7 17,7 6,0 13,-3 17,-7l144 -143 -144 -142z"/> </svg></a> <span class="storyshowhide">Visit Profile</span> </li> </ul> <div class="clearfix"></div> </div> </div> <?php } ?> </div> </div> </div> </div> </div> </section> <!--MainDIV-End--> <script type="text/javascript"> $(document).ready(function(){ $('#restbutton').click(function(){ window.location.href='meetourdoctors'; }); $('#restbutton2').click(function(){ window.location.href='meetourdoctors'; }); $('input[name=designation]').click(function(){ var ids = []; $('input[name=designation]:checked').each(function() { ids.push($(this).attr('id')); }); ids = ids.join(","); var data_pk = 'ids='+ids; var department= '<?php echo $_GET['department'];?>'; if((ids) && (department)){ window.location='meetourdoctors?designation='+ids; } else { window.location='meetourdoctors?designation='+ids; } }); $('input[name=department]').click(function(){ var did = []; $('input[name=department]:checked').each(function() { did.push($(this).attr('id')); }); did = did.join(","); var designation_st ='<?php echo $_GET['designation'];?>'; var data_pk = 'did='+did+'&designation_st='+designation_st; if((did) && (designation_st)){ window.location = 'meetourdoctors?department='+did; } else { window.location = 'meetourdoctors?department='+did; } }); /******************************** Gender Search ***********/ $('input[name=gender]').click(function(){ var genderid = []; $('input[name=gender]:checked').each(function() { genderid.push($(this).attr('id')); }); genderid = genderid.join(","); var gender = 'genderid='+genderid; var did = '<?php echo $_GET['department'];?>'; var ids = '<?php echo $_GET['designation'];?>'; var url = 'meetourdoctors?department='+did+'&designation='+ids+'&gender='+genderid; window.location='meetourdoctors?department='+did+'&designation='+ids+'&gender='+genderid; /*if((gender) && (ids)){ window.location='MeetOurDoctors?designation='+ids+'&gender='+genderid; } if((gender) && (did)){ window.location='MeetOurDoctors?department='+did+'&gender='+genderid; } if(gender){ window.location='MeetOurDoctors?gender='+genderid; }*/ }); /*$('input[name=language]').click(function(){ var lang = []; $('input[name=language]:checked').each(function() { lang.push($(this).attr('id')); }); lang = lang.join(","); var data_pk = 'lang='+lang; alert(data_pk); alert("HH"); var did = '<?php //echo $_GET['department'];?>'; var ids = '<?php //echo $_GET['designartion'];?>'; var gender = '<?php //echo $_GET['gender'];?>'; });*/ /************************* END **************/ $('#drName').keyup(function(){ var drName = $('#drName').val(); var data_pk = 'drName='+drName; $.ajax({ url: "searchmeet", async: false, type: "GET", data: data_pk, dataType: "html", success: function(data) { if(data!='') { $('#my_result').html(data); } } }) }); /*********************** Search key ***************/ }); </script> <?php include('includes/quick_links.php') ?> <?php include('includes/subscribe.php') ?> <?php include("includes/footer.php"); ?>