$logout = mysql_query("UPDATE log SET jamout='{$jam}',\r\n status='offline'\r\n WHERE username = '******'username']}' AND jamout='logged' AND status='online'"); // mysql_query("INSERT INTO historybcf15(namaaksi,tanggalaksi,nama_user,nip_user,userdiupdate,nipuserdiupdate)VALUES('logout','$tglkini','".$_SESSION['nm_lengkap']."','".$_SESSION['nip_baru']."','".$_SESSION['nm_lengkap']."','".$_SESSION['nip_baru']."')"); if ($logout) { session_destroy(); session_unset(); echo '<script type="text/javascript">window.location="login.php?act=1"</script>'; } else { echo "tidak jalan scriptnya"; } } ?> <script type="text/javascript" language="javascipt" src="http://128.199.113.41/sitampan/sitampanbtd/freichat/client/main.php?id=<?php echo $ses; ?> &xhash=<?php echo freichatx_get_hash($ses); ?> "></script> <link rel="stylesheet" href="http://128.199.113.41/sitampan/sitampanbtd/freichat/client/jquery/freichat_themes/freichatcss.php" type="text/css"> <!--===========================FreiChatX=======END=========================--> <?php ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>SITAMPAN-Sistem Informasi Tempat Penimbunan Pabean</title> <link type="text/css" rel="stylesheet" href="themes/main.css" /> <link rel="shortcut icon" href="favicon.jpg" /> <script type="text/javascript">
$document = JFactory::getDocument(); $session = JSession::getInstance("none",array()); $ses=$session->getId(); if(!function_exists("freichatx_get_hash")){ function freichatx_get_hash($ses){ if(is_file(JPATH_SITE."/freichat/hardcode.php")){ require(JPATH_SITE.'/freichat/hardcode.php'); $temp_id = $ses . $uid; return md5($temp_id); } else { echo "<script>alert('module freichatx says: arg.php file not found!');</script>"; } return 0; } } $document->addScript($host.'freichat/client/main.php?id='.$ses.'&xhash='.freichatx_get_hash($ses)); $document->addStyleSheet($host.'freichat/client/jquery/freichat_themes/freichatcss.php'); ?>