/**/ ?> ob_start(); include("include/dbconn.php"); include("include/config.php"); #header("Pragma: no-cache"); #Header("Cache-control: private, no-store, no-cache, must-revalidate"); #header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // NAPLÓZÁS: //----------------------------------------------------------------------------------------------------------------- $ipcim = $HTTP_SERVER_VARS['REMOTE_ADDR']; $client = $HTTP_SERVER_VARS['HTTP_USER_AGENT']; $idopont = date("Y-m-d H:i:s"); $bongeszo = bongeszotip($client); $platform = platformtip($client); $mareggel = date("Y-m-d",time()) . " 00:00:00"; $sql = "select * from naplo_milonga where ipcim='$ipcim' and idopont>='$mareggel'"; $eredmeny = mysql_query($sql); if (mysql_num_rows($eredmeny)==0) { $sql = "insert into naplo_milonga (idopont,bongeszo,platform,ipcim) values ('$idopont','$bongeszo','$platform','$ipcim')"; mysql_query($sql); } $sql = "select max(post_date) as utolso from wp_posts where post_status='publish'"; $eredmeny = mysql_query($sql); $egysor = mysql_fetch_array($eredmeny); $utolso = $egysor["utolso"]; ?>
![]() |
![]() |