Server IP : 103.6.199.200 / Your IP : 3.141.47.163 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> <script type="text/JavaScript"> <!-- function confirm_delete() { if (confirm("Hapus maklumat kunci Bilik/Makmal/Bengkel ini?")==true) return true; else return false; } </script> <?php if(isset($_POST['Hant'])) { $ToEmail = "shim_apekfan@yahoo.com.my"; $EmailSubject = "CADANGAN PENAMBAHBAIKAN SISTEM MAKLUMAT KUNCI"; $mailheader = "From: ".$_POST["Name"]."\r\n"; $mailheader .= "Reply-To: ".$_POST["Email"]."\r\n"; $mailheader .= "Subjek Emel: ".$_POST["Subject"]."\r\n"; $mailheader .= "Content-type: text/html; charset=iso-8859-1\r\n"; $MESSAGE_BODY = "Nama Pengirim: <strong>".$_POST["Name"]."</strong><br>"; //$MESSAGE_BODY .= "Cadangan/Mesej: ".nl2br($_POST["Message"]).""; //mail($ToEmail, $EmailSubject, $MESSAGE_BODY, $mailheader) or die ("GAGAL mengakses talian INTERNET"); $s=mysqli_query($paut, "INSERT INTO cdg (Nme,Em,Sub,Cdg,de,me,ye,te) VALUES ('".$_POST["Name"]."','".$_POST["Email"]."','".$_POST["Subject"]."','".$_POST["Message"]."','".date("d")."','".date("M")."','".date("Y")."','".date("h:i A")."')"); echo "<div style='border: 1px solid rgb(207, 207, 207); padding: 10px; top: 0px;'><font color='green'><center><strong>CADANGAN/MESEJ ANDA TELAH DIHANTAR</strong></center></font></div><br><br>"; } ?> <p> <div align="center"> <table width="789" height="36" align="center"> <tr> <td width="789" height="30" align="center" valign="top"><h2>CADANGAN PENAMBAHBAIKAN DARI PENGGUNA </h2></td> </tr> </table> <div align="center"> <table width="763" height="3" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="753" height="1" align="center" valign="middle"> </td> </tr> <tr> <td height="1" align="center" valign="middle"><table width="86%" border="0" align="center" cellpadding="0" cellspacing="0"> <tbody> <tr> <td align="left" valign="center"></p></td> </tr> <tr> <td height="173" align="left" valign="center"><form action="<?php echo $_SERVER['PHP_SELF'];?>" method="post" name="form2" id="form2"> <?php $r=1;$g=mysqli_query($paut, "SELECT * FROM cdg ORDER BY idc DESC");while($g1=mysqli_fetch_array($g)){?> <table width="828" height="148" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="20"> </td> <td width="17"> </td> <td width="13"> </td> <td colspan="2"> </td> </tr> <tr> <td align="left" valign="middle"><?php echo $r.".";?></td> <td colspan="3" align="left" valign="middle"><?php echo "<font color='#000'>Penghantar:</font> <font color='blue'>".$g1['Nme'];?></font></td> <td width="244" align="left" valign="middle"><div align="right"><?php echo "<font color='#006600'>".$g1['de']." ".$g1['me']." ".$g1['ye']." (".$g1['te'].")</font>";?></div></td> </tr> <tr> <td align="left" valign="top"> </td> <td colspan="4" align="left" valign="middle"><?php echo "<font color='#000'>Alamat Emel:</font> <font color='blue'>".$g1['Em']."</font><br>";?></td> </tr> <tr> <td height="37" align="left" valign="top"> </td> <td align="left" valign="middle"> </td> <td colspan="3" align="left" valign="middle"> <div style="border: 1px solid rgb(70, 70, 0); padding: 10px; background-color: rgb(204, 255, 255); top: 0px;"> <?php echo " <font color='#000'>".$g1['Sub']."</font>";?></div></td> </tr> <tr> <td align="left" valign="top"> </td> <td align="left" valign="middle"> </td> <td colspan="3" align="left" valign="middle" bgcolor="#FFFFCC"><?php echo " <font color='#000'>".$g1['Cdg']."</font><br><br>";?></td> </tr> </table> </form></td> </tr> </tbody> </table> <?php $r++;}?></td> </tr> </table> </div> </div> </p> <?php include"f.php";?> <style> img { max-width: 100%; } </style>