Server IP : 103.6.199.200 / Your IP : 3.144.21.206 Web Server : Microsoft-IIS/10.0 System : Windows NT EMPUSA 10.0 build 20348 (Windows Server 2016) i586 User : EMPUSA$ ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Domains/feenixmy/kunci.feenix.my/wwwroot/ |
Upload File : |
<?php include "h.php";?> <style> p{ color: #000000; } </style> <?php if(isset($_POST['daf'])){ $r=mysqli_query($paut, "SELECT * FROM nms");while($r1=mysqli_fetch_array($r)){$rt=$r1['un'];} if($_POST['Pass']!=$_POST['Pass2']){?> <div align="center" style="border: 1px solid rgb(207, 207, 207); padding: 10px; margin: 10px;"> <strong><font color="red">Kata Laluan tidak Padan!!! </font></strong> </div> <?php }elseif($_POST['UserName']==NULL || $_POST['Pass']==NULL || $_POST['Pass2']==NULL || $_POST['NamaP']==NULL){?> <div align="center" style="border: 1px solid rgb(207, 207, 207); padding: 10px; margin: 10px;"> <strong><font color="red">Anda hendaklah mengisi semua ruangan kosong!! </font></strong> </div> <?php }elseif($rt==$_POST['UserName']){?> <div align="center" style="border: 1px solid rgb(207, 207, 207); padding: 10px; margin: 10px;"> <strong><font color="red">Username telah digunakan!! </font></strong> </div> <?php }else{ $w=mysqli_query($paut, "INSERT INTO nms (Nms,Stat,nopin,un,ad,d,m,y,t,dU,mU,yU,tU,jawatan,emel1,emel2,notel,hlr,unit,lokasi,mkata,pix,kodinst) VALUES ('".@$_POST['NamaP']."','0','".@$_POST['Pass']."','".@$_POST['UserName']."','".$_POST['thpC']."','".date("d")."','".date("M")."','".date("Y")."','".date("h:i A")."','0','0','0','0','0','0','0','6".@$_POST['notel2']."','0','0','0','0','0','".@$_POST['inst2']."')");?> <div align="left"style="border: 1px solid rgb(207, 207, 207); padding: 10px; margin: 10px;"> <font color="green"> Akaun <strong>PENGGUNA BARU</strong> telah <strong>DICIPTA</strong>. Berikut maklumat yang telah diDAFTARkan:</font> <br> <p> <u>Maklumat Akaun anda:</u> </p> <p> Nama Penuh : <?php echo "<font color='blue'><strong>".$_POST['NamaP']."</strong></font><br>";?><br /> Username : <?php echo "<font color='blue'><strong>".$_POST['UserName']."</strong></font><br>";?><br /> Kata Laluan : <?php echo "<font color='blue'><strong>".$_POST['Pass']."</strong></font><br>";?><br /> Nombor Telefon : <?php echo "<font color='blue'><strong>".$_POST['notel2']."</strong></font><br>";?><br /> Status/Jawatan : <?php if ($_POST['thpC'] == 1) echo "<font color='blue'><strong>ADMINISTRATOR</strong></font><br>"; else if ($_POST['thpC'] == 0) echo "<font color='blue'><strong>STAF AKADEMIK</strong></font><br>"; else echo "<font color='blue'><strong>STAF SOKONGAN</strong></font><br>"; ?><br /> Nama Institusi : <?php /*$Rr=mysqli_query($paut, "SELECT * FROM inst");while($Rr1=mysqli_fetch_array($Rr)){$NMINST=$Rr1['nminst'];$SINGINST=$Rr1['singinst'];} if ($_POST['inst'] == 0) echo "<font color='blue'><strong>".$NMINST." (".$SINGINST.")</strong></font><br>"; else echo "<font color='blue'><strong>".$NMINST." (".$SINGINST.")</strong></font><br>";*/ if ($_POST['inst2'] == 0) echo "<font color='blue'><strong>KOLEJ KOMUNITI SEGAMAT 2</strong></font><br>"; else echo "<font color='blue'><strong>KOLEJ KOMUNITI BESUT</strong></font><br>"; ?></p> </div> <?php }}?> <br /> <br /> <div align="center" style="border: 1px solid rgb(70, 70, 0); padding: 10px; background-color: rgb(235, 235, 214); margin: 5px;"> <form action="<?php echo $_SERVER['PHP_SELF'];?>" method="post" name="form1" id="form1"> <h2><font color="#000">DAFTAR PENGGUNA BARU</font></h2><br> <p><input class="carian2" name="NamaP" id="NamaP" style="width: 500px;" type="text" placeholder="Masukkan NAMA PENUH pengguna baru.." /></p> <p><input class="carian2" name="UserName" id="UserName" style="width: 250px;" type="text" placeholder="Masukkan NAMA PENGGUNA.." /></p> <p> <input class="carian2" name="Pass" id="Pass" style="width: 250px;" type="text" placeholder="Masukkan KATA LALUAN.." /> </p> <p><input class="carian2" name="Pass2"id="Pass2" style="width: 250px;" type="password" placeholder="Ulang KATA LALUAN.." /></p> <p><input class="carian2" name="notel2"id="notel2" style="width: 250px;" type="text" placeholder="NOMBOR TELEFON.." /></p> <p> <select class="slc-carian2" name='thpC' size='1' id="thpC"> <option value="1">ADMINISTRATOR</option> <option value="0" selected>STAF AKADEMIK</option> <option value="2">STAF SOKONGAN</option> </select> </p> <p> <select class="slc-carian2" name='inst2' size='1' id="inst2"> <option value="0">KOLEJ KOMUNITI SEGAMAT 2</option> <option value="1" selected>KOLEJ KOMUNITI BESUT</option> </select> </p> <p> <input class="btn-carian" type="submit" name="daf" value="Daftar Pengguna" /> <input class="btn-carian" type="reset" name="RESET" value="Reset" /></p> </form> </div> <?php include "f.php";?> <style> img { max-width: 100%; } .carian2{ max-width: 100% } .slc-carian2{ max-width: 100% } </style>