A D M I N L O G
".$sor['title']."
"; echo "".$sor['hun_title']."
"; echo "".$sor['year']."
"; if($sor['season']>0){ echo "".$sor['season'].". ".$txt['season']."
"; } } $customfilter="WHERE ((object_id=".$movie_id." AND action_id IN (10,11,12,80,81,60,61,90,70,71,100,110,150,160,170,180,190,200,333)) OR (object_2_id=".$movie_id." AND action_id IN (50,51,30,31,40,41,71)) )"; } if(strlen($_GET['admin'])>0){ if(strlen($customfilter)>0){ $customfilter.=" AND "; } else{ $customfilter.=" WHERE "; } $customfilter.=" nick='".$_GET['admin']."' "; } if(strlen($_GET['action'])>0){ if(strlen($customfilter)>0){ $customfilter.=" AND "; } else{ $customfilter.=" WHERE "; } $customfilter.=" action_id='".$_GET['action']."' "; } $counted="DISTINCT log_id"; $pagerquery = "SELECT COUNT(" . $counted . ") FROM admin_log ".$customfilter." "; include 'pager-invisible-adminlog.php'; $parancs = "SELECT * FROM admin_log ".$customfilter." ORDER BY datetime DESC LIMIT " . $kezd ." , " . $megjelenitett." ;"; $eredmeny = mysql_query($parancs, $conn) or die("Nem tudtam az adatokat lekérni. A hiba oka: ".mysql_error()); Print("| Mikor | Ki | "; print "Mit | "; print "|||
| ".daysAgo($sor["datetime"])." | "; echo "".substr($sor["datetime"],0,-9)." | "; print "".$sor["nick"]." | "; print "".$sor['value']." | "; //print "".$sor['object_id']." | "; print("