Server IP : 103.6.199.200 / Your IP : 3.145.63.131 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"; if (isset($_POST['edtP'])){ $r=mysqli_query($paut, "SELECT * FROM nms");while($r1=mysqli_fetch_array($r)){$rt=$r1['un'];} if(@$_POST['Pass']!=@$_POST['Pass2']){?> <div style="border: 1px solid rgb(207, 207, 207); padding: 10px; margin: 10px;"> <div align="center"><span class="t_bold_blue"><strong><font color="red">Kata Laluan tidak Padan!!! </font></strong></span></div> </div> <?php }elseif(@$_POST['UserName']==NULL ||@ $_POST['Pass']==NULL || @$_POST['Pass2']==NULL){?> <div style="border: 1px solid rgb(207, 207, 207); padding: 10px; margin: 10px;"> <div align="center"><span class="t_bold_blue"><strong><font color="red">Anda hendaklah mengisi semua ruangan kosong!! </font></strong></span></div> </div> <?php }elseif($rt==@$_POST['UserName']){?> <div style="border: 1px solid rgb(207, 207, 207); padding: 10px; margin: 10px;"> <div align="center"><span class="t_bold_blue"><strong><font color="red">Username telah digunakan!! </font></strong></span></div> </div> <?php }else{ $w=mysqli_query($paut, "UPDATE nms SET nopin='".@$_POST['Pass']."',un='".@$_POST['UserName']."',dU='".date("d")."',mU='".date("M")."',yU='".date("Y")."',tU='".date("h:i A")."' WHERE ids='".@$_SESSION['UserID']."'");?> </span> <div style="border: 1px solid rgb(207, 207, 207); padding: 10px; margin: 10px;"> <div align="left"><span class="t_bold_blue"><font color="green"> Akaun <strong>PENGGUNA </strong>telah <strong>DIKEMASKINI</strong>. Berikut maklumat yang telah diKEMASKINIkan:</font></span> </div> <br> <p class="t_bold_blue"> <u>Maklumat Akaun anda:</u><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></center> </strong><br>";}?></div></p> <?php }?> <div style="border: 1px solid rgb(70, 70, 0); padding: 10px; background-color: rgb(235, 235, 214); margin: 5px;"> <p><h2>KEMASKINI MAKLUMAT PENGGUNA </h2></p><br /> <form id="frm" name="frm" method="post" action="<?php echo $_SERVER['PHP_SELF'];?>"> <?php $j=mysqli_query($paut, "SELECT * FROM nms WHERE ids='".$_SESSION['UserID']."'")or die("FAILED!!!");while($j1=mysqli_fetch_array($j)){ echo "<strong><font color='PURPLE' size='4'>".$j1['Nms']."</font></strong><br /><br />"; if($j1['ad']==0){echo "<strong><font color='blue' size='3'>STAF AKADEMIK</font></strong><br /><br />"; } if($j1['ad']==1){echo "<strong><font color='GREEN' size='3'>ADMINISTRATOR</font></strong><br /><br />"; } if($j1['ad']==2){echo "<strong><font color='FF3399' size='3'>STAF SOKONGAN</font></strong><br /><br />"; } if($j1['Stat']==0){echo "<strong><font color='blue' size='3'>AKTIF DI KOLEJ KOMUNITI</font></strong><br />"; } if($j1['Stat']==1){echo "<strong><font color='RED' size='3'>BERTUKAR KOLEJ KOMUNITI</font></strong><br />"; } if($j1['Stat']==2){echo "<strong><font color='FF3399' size='3'>CUTI BELAJAR</font></strong><br />"; } if($j1['Stat']==3){echo "<strong><font color='blue' size='3'>CUTI BERSALIN</font></strong><br />"; } if($j1['Stat']==4){echo "<strong><font color='purple' size='3'>SANGKUTAN INDUSTRI PENSYARAH (SIP)</font></strong><br />"; } ?> <br /><br /> <font color="red">*</font><font color="#000">Masukkan Nama Pengguna Baru:</font><br /> <input class="carian" name="UserName" type="text" id="UserName" size="60" value="<?php echo $j1['un'];?>" maxlength="100" title="Kemaskini NAMA PENGGUNA anda.." /> <br /><br /> <font color="red">* </font><font color="#000">Masukkan Kata Laluan Baru:</font><br /> <input class="carian" name="Pass" maxlength="100" id="Pass" size="40" value="<?php echo $j1['nopin'];?>" type="password" title="Kemaskini KATA LALUAN anda.." /> <br /><br /> <font color="red">*</font><font color="#000">Ulang Kata Laluan Baru:</font><br /> <input class="carian" name="Pass2" maxlength="100" id="Pass2" size="40" value="<?php echo $j1['nopin'];?>" type="password" title="Ulang KATA LALUAN anda.." /> <?php }?> <br /> <div align="center"><br /><br /> <input class="btn-carian" type='submit' name='edtP' id='edtP' value='Kemaskini Maklumat Staf' /> <input class="btn-carian" type="reset" name="edt2P" value="Semula" /> </div> </form> </div> <?php include"f.php";?> <style> img { max-width: 100%; } p{ color: #000000; } .carian{ max-width: 100% } .slc-carian{ max-width: 100% } </style>