* @author Andreas 'Redunzl' Mueller * @copyright (c)2011 PHP-Backoffice * @copyright (c)2005-2009 kopfhoch-studio * @link http://www.php-backoffice.de/projects/semmelstatzR * @link http://sourceforge.net/projects/semmelstatz/ * @license http://www.gnu.org/licenses/gpl-2.0.html * * $Id$ */ if(!current_user_can('manage_statz')) { die('Zugriff verweigert'); } ### ANZEIGE LOG global $wpdb; $sem_options = get_option('semmelstatzR_options'); ### optionsarray auslesen $limit = $sem_options["statz_datarecs_limit"]; $mask = $sem_options["statz_mask_referer"]; $completerecords = $wpdb->get_results("SELECT id, ip, time, referer, page, username FROM ".$wpdb->statz." ORDER BY time DESC LIMIT 0, ".$limit); print "
Datum | "; print "TCP/IP | "; print "Referer | "; print "Suchbegriff | "; print "Post/Page | "; print "Username | "; print "
---|---|---|---|---|---|
".$date." | "; print ""; print " | "; if ($referer == "--") { print "-- | "; } else { if($mask != true) { print "".$printreferer.""; } else { $referer = htmlspecialchars($referer, ENT_QUOTES); print "".$printreferer.""; } } print "".$keyword." | "; print "".$title." | "; print "".$username." | "; print "