[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
xampp182
/
htdocs
/
simpeg
/
administrator
/
chat_person
/
[
Home
]
File: frame_kanan.php
<?php require_once("../../lib/konek.php"); require_once("../../lib/konfigurasi_semua.php"); require_once("../../lib/cur.php"); require_once("../../lib/function_tanggal.php"); $sql = "select pgw_nama,chat_wkt,chat_ket from chat_person a left join hrd_pgw b on a.id_pgw = b.pgw_id where chat_tgl = '".$skr."' and ((id_pgw = ".$pgw_id." and id_pgw_tujuan = ".$_SESSION["id_pgw_tujuan"].") or (id_pgw_tujuan = ".$pgw_id." and id_pgw = ".$_SESSION["id_pgw_tujuan"].")) order by chat_id desc"; $QdataForm = mysql_query($sql); // echo $sql; ?> <html> <head> <title>Untitled Document</title> </head> <body bgcolor="#efefef"> <?php while($dataForm=mysql_fetch_array($QdataForm)) {?> <?php echo $defFont;?><?php echo $dataForm["chat_wkt"];?> || [<?php echo $dataForm["pgw_nama"];?>] : <?php echo $dataForm["chat_ket"];?></br> <?php } ?> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <script language="JavaScript"> //Refresh page script- By Brett Taylor (glutnix@yahoo.com.au) //Modified by Dynamic Drive for NS4, NS6+ //Visit http://www.dynamicdrive.com for this script //configure refresh interval (in seconds) var countDownInterval=10; //configure width of displayed text, in px (applicable only in NS4) var c_reloadwidth=200 </script> <ilayer id="c_reload" width=&{c_reloadwidth}; ><layer id="c_reload2" width=&{c_reloadwidth}; left=0 top=0></layer></ilayer> <script> var countDownTime=countDownInterval+1; function countDown(){ countDownTime--; if (countDownTime <=0){ countDownTime=countDownInterval; clearTimeout(counter) window.location.reload() return } if (document.all) //if IE 4+ document.all.countDownText.innerText = countDownTime+" "; else if (document.getElementById) //else if NS6+ document.getElementById("countDownText").innerHTML=countDownTime+" " else if (document.layers){ //CHANGE TEXT BELOW TO YOUR OWN document.c_reload.document.c_reload2.document.write('<font bgcolor="#efefef" id="countDownText">'+countDownTime+'</font>') document.c_reload.document.c_reload2.document.close() } counter=setTimeout("countDown()", 1000); } function startit(){ if (document.all||document.getElementById) //CHANGE TEXT BELOW TO YOUR OWN document.write('<font bgcolor="#efefef" id="countDownText">'+countDownTime+'</font>') countDown() } if (document.all||document.getElementById) startit() else window.onload=startit this.form.submit(); </script> </body> </html>