Server IP : 162.240.98.243 / Your IP : 3.15.219.130 Web Server : Apache System : Linux server.bti.yaw.mybluehostin.me 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : btiyawmy ( 1003) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/btiyawmy/public_html/login.easenup.in/ |
Upload File : |
<?php session_start(); require_once('../DBManager.php'); require_once('../LoginManager.php'); include 'menu.php'; include 'header.php'; ?> <?php session_start(); require_once('../DBManager.php'); require_once('../LoginManager.php'); include 'header.php'; $DisplayForm=True; $narayan=LoginManager::currentUser(); $hari=LoginManager::getUserTypeByuname("$narayan"); $sql ="SELECT * FROM clinicspc WHERE adminid='$hari'"; $qsql = mysqli_query($con,$sql); if($rh = mysqli_fetch_array($qsql)) { $DisplayForm=False; echo "<script>window.location='showclinic_Specialties.php'</script>"; } if($DisplayForm) { ?> <?php session_start(); require_once('../DBManager.php'); require_once('../LoginManager.php'); include 'headers.php'; if(isset($_POST['signup'])) { $narayan=LoginManager::currentUser(); $hari=LoginManager::getUserTypeByuname("$narayan"); $adminid=$hari; $Ayurveda=$_POST['Ayurveda']; $Homeopathy=$_POST['Homeopathy']; $Panchakarma=$_POST['Panchakarma']; $Unani=$_POST['Unani']; $Physician=$_POST['Physician']; $Dermatology=$_POST['Dermatology']; $Generalmed=$_POST['Generalmed']; $Geriatics=$_POST['Geriatics']; $Cardiology=$_POST['Cardiology']; $ENT=$_POST['ENT']; $Endocrinology=$_POST['Endocrinology']; $Gastroenterology=$_POST['Gastroenterology']; $Gynaecology=$_POST['Gynaecology']; $Hepatology=$_POST['Hepatology']; $Internal=$_POST['Internal']; $Immunology=$_POST['Immunology']; $Nephrology=$_POST['Nephrology']; $Neurology=$_POST['Neurology']; $Opthalmology=$_POST['Opthalmology']; $Orthopaedics=$_POST['Orthopaedics']; $Oncology=$_POST['Oncology']; $Paediatrics=$_POST['Paediatrics']; $Psychiatry=$_POST['Psychiatry']; $Rheumatology=$_POST['Rheumatology']; $Respiratory=$_POST['Respiratory']; $Dental=$_POST['Dental']; $Physiotherapy=$_POST['Physiotherapy']; $msg=mysqli_query($con,"insert into clinicspc(Ayurveda,Homeopathy,Panchakarma,Unani,Physician,Dermatology,Generalmed,Geriatics,Cardiology,Endocrinology,Gastroenterology,Gynaecology,Hepatology,Internal,Immunology,Nephrology,Neurology,Opthalmology,Orthopaedics,Oncology,Paediatrics,Psychiatry,Rheumatology,Respiratory,Dental,Physiotherapy)values('$Ayurveda','$Homeopathy','$Panchakarma','$Unani','$Physician','$Dermatology','$Generalmed','$Geriatics','$Cardiology','$ENT','$Endocrinology','$Gastroenterology','$Gynaecology','$Hepatology','$Internal','$Immunology','$Nephrology','$Neurology','$Orthopaedics','$Oncology','$Paediatrics','$Psychiatry','$Rheumatology','$Respiratory','$Dental','$Physiotherapy')"); if($msg) { echo "<script>alert('Register successfully');</script>"; } } ?> <!DOCTYPE html> <html> <title>Testing new </title> <meta name="viewport" content="width=device-width, initial-scale=1"> <script> $('input[type="checkbox"]').change(function(e) { var checked = $(this).prop("checked"), container = $(this).parent(), siblings = container.siblings(); container.find('input[type="checkbox"]').prop({ indeterminate: false, checked: checked }); function checkSiblings(el) { var parent = el.parent().parent(), all = true; el.siblings().each(function() { let returnValue = all = ($(this).children('input[type="checkbox"]').prop("checked") === checked); return returnValue; }); if (all && checked) { parent.children('input[type="checkbox"]').prop({ indeterminate: false, checked: checked }); checkSiblings(parent); } else if (all && !checked) { parent.children('input[type="checkbox"]').prop("checked", checked); parent.children('input[type="checkbox"]').prop("indeterminate", (parent.find('input[type="checkbox"]:checked').length > 0)); checkSiblings(parent); } else { el.parents("li").children('input[type="checkbox"]').prop({ indeterminate: true, checked: false }); } } checkSiblings(container); }); </script> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <form name="signup" method="post"> <h2 class="w3-center"> Specialties </h2> <div class="account-details"> <div class="checkbox"> <input type="checkbox" name="Ayurveda"> <span>Ayurveda </span> </div> <div class="checkbox"> <input type="checkbox" name="Homeopathy"> <span>Homeopathy</span> </div> <div class="checkbox"> <input type="checkbox" name="Panchakarma"> <span>Panchakarma</span> </div> <div class="checkbox"> <input type="checkbox" name="Unani"> <span>Unani</span> </div> <div class="checkbox"> <input type="checkbox" name="Physician" id="Orthopaedics"> <span>General Practitioner /Family Physician </span> </div> <div class="checkbox"> <input type="checkbox" name="Dermatology" id="Cardi"> <span>Dermatology </span> </div> <div class="checkbox"> <input type="checkbox" name="Generalmed" id="Cardi"> <span>General Medicine</span> </div> <div class="checkbox"> <input type="checkbox" name="Geriatics"> <span>Geriatics </span> </div> <div class="checkbox"> <input type="checkbox" name="Cardiology" id="Neuro"> <span>Cardiology</span> </div> <div class="checkbox"> <input type="checkbox" name="ENT" id="Surgical"> <span>Ear, Nose, Throat (ENT) </span> </div> <div class="checkbox"> <input type="checkbox" name="Endocrinology" id="Medical"> <span>Endocrinology </span> </div> <div class="checkbox"> <input type="checkbox" name="Gastroenterology" id="Radiation"> <span>Gastroenterology </span> </div> <div class="checkbox"> <input type="checkbox" name="Gynaecology" id="Burns"> <span>Gynecology and Obstetrics </span> </div> <div class="checkbox"> <input type="checkbox" name="Hepatology" id="Polytrauma"> <span>Hepatology </span> </div> <div class="checkbox"> <input type="checkbox" name="Internal" id="Dental"> <span>Internal Medicine </span> </div> <div class="checkbox"> <input type="checkbox" name="Immunology" id="Paedi"> <span>Immunology </span> </div> <div class="checkbox"> <input type="checkbox" name="Nephrology" id="Critical"> <span>Nephrology</span> </div> <div class="checkbox"> <input type="checkbox" name="Neurology" id="General"> <span>Neurology </span> </div> <div class="checkbox"> <input type="checkbox" name="Opthalmology" id="Paediatr"> <span>Opthalmology </span> </div> <div class="checkbox"> <input type="checkbox" name="Orthopaedics"> <span>Orthopaedics </span> </div> <div class="checkbox"> <input type="checkbox" name="Oncology" id="Cardiology"> <span>Oncology </span> </div> <div class="checkbox"> <input type="checkbox" name="Paediatrics" id="Nephrology"> <span>Paediatrics </span> </div> <div class="checkbox"> <input type="checkbox" name="Psychiatry" id="Neurology"> <span>Psychiatry </span> </div> <div class="checkbox"> <input type="checkbox" name="Rheumatology" id="Pulmonology"> <span>Rheumatology </span> </div> <div class="checkbox"> <input type="checkbox" name="Respiratory" id="Pulmonology"> <span>Respiratory </span> </div> <div class="checkbox"> <input type="checkbox" name="Dental" id="Pulmonology"> <span>Dental </span> </div> <div class="checkbox"> <input type="checkbox" name="Physiotherapy" id="Pulmonology"> <span>Physiotherapy </span> </div></div> <input type="submit" name="signup"> </div> </div> </form> </body> </html> <?php } ?>