[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
14082024
/
Data
/
htdocs
/
htdocs
/
simpeg
/
administrator
/
[
Home
]
File: pesan_singkat_det.php
<?php require_once("../lib/konek.php"); require_once("../lib/konfigurasi_semua.php"); // $skr=date("Y-m-d"); require_once("../lib/cur.php"); require_once("../lib/function_tanggal.php"); //konfigurasi nama file $thisForm = "view.php"; $actionForm = "action.php"; //actionnya if($_POST["sms_id"]) $smsId = $_POST["sms_id"]; if($_POST["mode"]) $mode = $_POST["mode"]; if($_POST["btnKembali"]) { header("location:pesan_singkat_v.php"); } $dir_lib = "lib"; $dir_img = "img"; if($_GET["sms_id"]) { $_POST["sms_id"] = $_GET["sms_id"]; $sql = "update hrd_sms set sms_dibaca = 'sudah' where sms_id = ".$_POST["sms_id"]; $rs = mysql_query($sql); $sql = "select * from hrd_sms a left join hrd_pgw b on a.id_pgw_pemberi = b.pgw_id where sms_id = ".$_POST["sms_id"]; $QdataForm = mysql_query($sql); $dataForm=mysql_fetch_array($QdataForm); $_POST["sms_judul"] = $dataForm["sms_judul"]; $_POST["sms_isi"] = $dataForm["sms_isi"]; $id_pgw_pemberi = $dataForm["id_pgw_pemberi"]; $_POST["pgw_nama"] = $dataForm["pgw_nama"]; } //end $dir_img = "../img"; ?> <html> <head> <title>SimplySoft</title> </head> <meta http-equiv="Content-Language" content="en-us"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <!--meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"--> <link rel="stylesheet" type="text/css" href="<?php echo $dir_lib;?>/lib-style.css"> <script language="JavaScript" type="text/javascript" src="<?php echo $dir_lib;?>/ew.js"></script> <script language="JavaScript" type="text/javascript" src="<?php echo $dir_lib;?>/func_curr.js"></script> <script language="JavaScript" type="text/javascript" src="<?php echo $dir_lib;?>/elements.js"></script> <!-- calendar stylesheet --> <link rel="stylesheet" type="text/css" media="all" href="<?php echo $dir_lib;?>/jscalendar/css/calendar-system.css" title="calendar-system" /> <!-- calendar script --> <script type="text/javascript" src="<?php echo $dir_lib;?>/jscalendar/calendar.js"></script> <script type="text/javascript" src="<?php echo $dir_lib;?>/jscalendar/lang/calendar-en.js"></script> <script type="text/javascript" src="<?php echo $dir_lib;?>/jscalendar/calendar-setup.js"></script> <!-- end --> <body> <form name="frmEdit" method="POST" action="pesan_singkat_e.php"> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr> <td align="left" bgcolor="#000000" height="28" width="28"> <img src="<?php echo $dir_img;?>/RocketDock.png" width="28" height="28" border="0"> </td> <td align="left" valign="middle" bgcolor="#000000" height="28"> <font face="Verdana, Arial, Helvetica, sans-serif" size="4" color="white"> <?php echo $header;?></font> </td> </tr> <tr> <td colspan="2"> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr background="<?php echo $dir_img;?>/background.jpg" valign="middle" height="50"> <td height="50" width="48" align="center"> <input type="image" name="btnKembali" value="btnKembali" src="<?php echo $dir_img;?>/cancel_f2.png"> </td> <td height="50" width="5"> </td> <td height="50" width="48" align="center"> <a href="pesan_singkat_e.php?balas=<?php echo $id_pgw_pemberi;?>"><img src="<?php echo $dir_img;?>/add23.png" border="0" height="32" width="32"></a> </td> <td height="50" width="5"> </td> <td height="50" width="50" align="center"> </td> <td height="50" width="10"> </td> <td height="50" width="300"> </td> <td height="50" width="100"> </td> <td> <?php echo $defFont;?> </font> </td> <td height="50" width="5"> </td> </tr> <tr bgcolor="#FFF8DC" valign="middle"> <td width="48" align="center" onMouseOver="this.style.backgroundColor='#FF6666'" onMouseOut="this.style.backgroundColor='#FFF8DC'"> <?php echo $defFont;?>Kembali</font> </td> <td width="5"> </td> <td width="48" align="center" onMouseOver="this.style.backgroundColor='#FF6666'" onMouseOut="this.style.backgroundColor='#FFF8DC'"> <?php echo $defFont;?>Balas</font> </td> <td width="5"> </td> <td width="50" align="center" onMouseOver="this.style.backgroundColor='#FF6666'" onMouseOut="this.style.backgroundColor='#FFF8DC'"> </td> <td width="10"> </td> <td width="300"> </td> <td width="100"> </td> <td> </td> <td width="5"> </td> </tr> </table> </td> </tr> </table> <table border="0" cellspacing="0" cellpadding="0" width="100%" align="left"> <tr bgcolor="#FFF8DC"> <td align="right"><?php echo $defFont;?>Pengirim<?php echo $tFont;?></td> <td align="center" width="2%"><?php echo $defFont;?>:</td> <td><?php echo $defFont;?><?php echo $_POST["pgw_nama"];?><?php echo $tFont;?> </td> </tr> <tr bgcolor="#FFF8DC"> <td align="right"><?php echo $defFont;?> <?php echo $tFont;?></td> <td align="center" width="2%"><?php echo $defFont;?> </td> <td><?php echo $defFont;?>(<?php echo format_date_long($dataForm["sms_tgl"]);?> || <?php echo $dataForm["sms_wkt"];?>) <?php echo $tFont;?> </td> </tr> <tr bgcolor="#FFF8DC"> <td align="right" width="35%"><?php echo $defFont;?>Subjek <?php echo $tFont;?></td> <td align="center" width="2%"><?php echo $defFont;?>:</td> <td width="64%"> <?php echo $_POST["sms_judul"];?> </td> </tr> <tr bgcolor="#FFF8DC"> <td align="right"><?php echo $defFont;?>Isi <?php echo $tFont;?></td> <td align="center" width="2%"><?php echo $defFont;?>:</td> <td> <?php echo nl2br($_POST["sms_isi"]);?> </td> </tr> <tr bgcolor="#FFF8DC"> <td align="right"><?php echo $defFont;?> <?php echo $tFont;?></td> <td align="center" width="2%"><?php echo $defFont;?> </td> <td> </td> </tr> </table> </form> </body> </html>