Server IP : 162.240.98.243 / Your IP : 3.144.17.137 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'; if(isset($_POST['signup'])) { $narayan=LoginManager::currentUser(); $hari=LoginManager::getUserTypeByuname("$narayan"); $adminid=$hari; $sql ="UPDATE emp SET NABH='$_POST[NABH]',Accreditationlevel='$_POST[NABH]',Validupto='$_POST[NABH]',identificationnumber='$_POST[NABH]',NABL='$_POST[NABH]',nablAccreditationlevel='$_POST[NABH]',nablValidupto='$_POST[NABH]',nablidentificationnumber='$_POST[NABH]',JCI='$_POST[NABH]',jciAccreditationlevel='$_POST[NABH]',jciValidupto='$_POST[NABH]',jciidentificationnumber='$_POST[NABH]',rsby='$_POST[NABH]',rsbynumber='$_POST[NABH]',esic='$_POST[NABH]',esicnumber='$_POST[NABH]',abpmjay='$_POST[NABH]',abpmjaynumber='$_POST[NABH]',Rohini='$_POST[NABH]',rohininumber='$_POST[NABH]',iso='$_POST[NABH]',isoaccredition='$_POST[NABH]',isoValidupto='$_POST[NABH]',isoidentificationnumber='$_POST[NABH]',iso14='$_POST[NABH]',iso14accredition='$_POST[NABH]',iso14Validupto='$_POST[NABH]',iso14identificationnumber='$_POST[NABH]',iso27='$_POST[NABH]',iso27accredition='$_POST[NABH]',iso27Validupto='$_POST[NABH]',iso27identificationnumber='$_POST[NABH]' WHERE adminid='$hari'"; if($qsql = mysqli_query($con,$sql)) { echo "<script>alert('Empanelment Update successfully');</script><script>window.location='empanelment.php'</script>;</script>"; } } ?> <?php if(isset($_POST['sig'])) { $narayan=LoginManager::currentUser(); $haril=LoginManager::getUserTypeByuname("$narayan"); $adminid=$haril; $newaccreditationboard=$_POST['newaccreditationboard']; $othervalidupto=$_POST['othervalidupto']; $otheridentificationnumber=$_POST['otheridentificationnumber']; $msg=mysqli_query($con,"insert into accreditationboard(adminid,newaccreditationboard,othervalidupto,otheridentificationnumber) values('$adminid','$newaccreditationboard','$othervalidupto','$otheridentificationnumber')"); if($msg) { } } ?> <?php if(isset($_POST['sib'])) $narayan=LoginManager::currentUser(); $harilal=LoginManager::getUserTypeByuname("$narayan"); { $adminid=$harilal; $Nameofempanelled=$_POST['Nameofempanelled']; $Identificationno=$_POST['Identificationno']; $msg=mysqli_query($con,"insert into empanelled(adminid,Nameofempanelled, Identificationno) values('$adminid','$Nameofempanelled','$Identificationno')"); if($msg) { } } ?> <!DOCTYPE html> <html> <title>Testing new </title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> <script> function myFunction() { var checkBox = document.getElementById("myCheck"); var text = document.getElementById("text"); if (checkBox.checked == true){ text.style.display = "block"; } else { text.style.display = "none"; } } function myFunction2() { var checkBox = document.getElementById("myCheck2"); var text = document.getElementById("text2"); if (checkBox.checked == true){ text.style.display = "block"; } else { text.style.display = "none"; } } function myFunction3() { var checkBox = document.getElementById("myCheck3"); var text = document.getElementById("text3"); if (checkBox.checked == true){ text.style.display = "block"; } else { text.style.display = "none"; } } function myFunction4() { var checkBox = document.getElementById("myCheck4"); var text = document.getElementById("text4"); if (checkBox.checked == true){ text.style.display = "block"; } else { text.style.display = "none"; } } function myFunction5() { var checkBox = document.getElementById("myCheck5"); var text = document.getElementById("text5"); if (checkBox.checked == true){ text.style.display = "block"; } else { text.style.display = "none"; } } function myFunction6() { var checkBox = document.getElementById("myCheck6"); var text = document.getElementById("text6"); if (checkBox.checked == true){ text.style.display = "block"; } else { text.style.display = "none"; } } function myFunction7() { var checkBox = document.getElementById("myCheck7"); var text = document.getElementById("text7"); if (checkBox.checked == true){ text.style.display = "block"; } else { text.style.display = "none"; } } function myFunction8() { var checkBox = document.getElementById("myCheck8"); var text = document.getElementById("text8"); if (checkBox.checked == true){ text.style.display = "block"; } else { text.style.display = "none"; } } function myFunction9() { var checkBox = document.getElementById("myCheck9"); var text = document.getElementById("text9"); if (checkBox.checked == true){ text.style.display = "block"; } else { text.style.display = "none"; } } function myFunction10() { var checkBox = document.getElementById("myCheck10"); var text = document.getElementById("text10"); if (checkBox.checked == true){ text.style.display = "block"; } else { text.style.display = "none"; } } function myFunction11() { var checkBox = document.getElementById("myCheck11"); var text = document.getElementById("text11"); if (checkBox.checked == true){ text.style.display = "block"; } else { text.style.display = "none"; } } function myFunction12() { var checkBox = document.getElementById("myCheck12"); var text = document.getElementById("text12"); if (checkBox.checked == true){ text.style.display = "block"; } else { text.style.display = "none"; } } function myFunction13() { var checkBox = document.getElementById("myCheck13"); var text = document.getElementById("text13"); if (checkBox.checked == true){ text.style.display = "block"; } else { text.style.display = "none"; } } function myFunction14() { var checkBox = document.getElementById("myCheck14"); var text = document.getElementById("text14"); if (checkBox.checked == true){ text.style.display = "block"; } else { text.style.display = "none"; } } </script> </head> <body> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <div class="content"> <div class="account-details"> <form name="signup" method="post"> Accreditation and Empanelment </legend> <div class="checkbox"> <input type="checkbox" name="NABH" id="myCheck2" onclick="myFunction2()"><span>NABH</span> </div> <p id="text2" style="display:none"> <label>Accreditation level</label> <select class="w3-select w3-border" name="Accreditationlevel"> <option value="" disabled selected>Accreditation level</option> <option value="Entry-level">Entry-level</option> <option value="Progressive-level">Progressive level</option> <option value="Final-level">Final-level</option> </select> <label>Valid upto</label> <input class="w3-input w3-border" name="Validupto" type="date" placeholder="Valid upto"> <label>Identification number</label> <input class="w3-input w3-border" name="identificationnumber" type="text" placeholder="Identification number"> </p> <div class="checkbox"> <input type="checkbox" name="NABL" id="myCheck9" onclick="myFunction9()"><span>NABL</span> </div> <p id="text9" style="display:none"> <label>Accreditation level</label> <select class="w3-select w3-border" name="nablAccreditationlevel"> <option value="" disabled selected>Accreditation level</option> <option value="Entry-level">Entry-level</option> <option value="Progressive-level">Progressive level</option> <option value="Final-level">Final-level</option> </select> <label>Valid upto</label> <input class="w3-input w3-border" name="nablValidupto" type="date" placeholder="Valid upto"> <label>Identification number</label> <input class="w3-input w3-border" name="nablidentificationnumber" type="text" placeholder="Identification number"> </p> <div class="checkbox"> <input type="checkbox" name="JCI" id="myCheck10" onclick="myFunction10()"><span>JCI</span> </div> <p id="text10" style="display:none"> <label>Accreditation level</label> <select class="w3-select w3-border" name="jciAccreditationlevel"> <option value="" disabled selected>Accreditation level</option> <option value="Entry-level">Entry-level</option> <option value="Progressive-level">Progressive level</option> <option value="Final-level">Final-level</option> </select> <label>Valid upto</label> <input class="w3-input w3-border" name="jciValidupto" type="date" placeholder="Valid upto"> <label>Identification number</label> <input class="w3-input w3-border" name="jciidentificationnumber" type="text" placeholder="Identification number"> </p> <div class="checkbox"> <input type="checkbox" name="rsby" id="myCheck4" onclick="myFunction4()"> <span>RSBY </span></div> <p id="text4" style="display:none"> <input class="w3-input w3-border" name="rsbynumber" type="text" placeholder="Registration Number"> </p> <div class="checkbox"> <input type="checkbox" name="esic" id="myCheck5" onclick="myFunction5()"> <span>ESIC </span></div> <p id="text5" style="display:none" class="w3-row-padding"> <input class="w3-input w3-border" name="esicnumber" type="text" placeholder="Registration Number"> </p> <div class="checkbox"> <input type="checkbox" name="abpmjay" id="myCheck6" onclick="myFunction6()"> <span>AB-PMJAY </span></div> <p id="text6" style="display:none" class="w3-row-padding"> <input class="w3-input w3-border" name="abpmjaynumber" type="text" placeholder="Registration Number"> </p> <div class="checkbox"> <input type="checkbox" name="Rohini" id="myCheck11" onclick="myFunction11()"> <span>Rohini </span></div> <p id="text11" style="display:none" class="w3-row-padding"> <input class="w3-input w3-border" name="rohininumber" type="text" placeholder="Registration Number"> </p> <div class="checkbox"> <input type="checkbox" name="iso" id="myCheck12" onclick="myFunction12()"> <span>ISO 9001 </span></div> <p id="text12" style="display:none" class="w3-row-padding"> <label>Accreditation Board</label> <input class="w3-input w3-border" name="isoaccredition" type="text" placeholder="Accreditation Board"> <label>Valid upto</label> <input class="w3-input w3-border" name="isoValidupto" type="date" placeholder="Valid upto"> <label>Identification number</label> <input class="w3-input w3-border" name="isoidentificationnumber" type="text" placeholder="Identification number"> </p> <div class="checkbox"> <input type="checkbox" name="iso14" id="myCheck13" onclick="myFunction13()"> <span>ISO 14001 </span></div> <p id="text13" style="display:none" class="w3-row-padding"> <label>Accreditation Board</label> <input class="w3-input w3-border" name="iso14accredition" type="text" placeholder="Accreditation Board"> <label>Valid upto</label> <input class="w3-input w3-border" name="iso14Validupto" type="date" placeholder="Valid upto"> <label>Identification number</label> <input class="w3-input w3-border" name="iso14identificationnumber" type="text" placeholder="Identification number"> </p> <div class="checkbox"> <input type="checkbox" name="iso27" id="myCheck14" onclick="myFunction14()"> <span>ISO 27001 </span></div> <p id="text14" style="display:none" class="w3-row-padding"> <label>Accreditation Board</label> <input class="w3-input w3-border" name="iso27accredition" type="text" placeholder="Accreditation Board"> <label>Valid upto</label> <input class="w3-input w3-border" name="iso27Validupto" type="date" placeholder="Valid upto"> <label>Identification number</label> <input class="w3-input w3-border" name="iso27identificationnumber" type="text" placeholder="Identification number"> </p> <input type="submit" value="Update" name="signup"> </form> </body> </html>