| [ Index ] |
PHP Cross Reference of Nuke-Evolution v2.0.5 |
[Summary view] [Print] [Text view]
1 <?php 2 /*======================================================================= 3 Nuke-Evolution Basic: Enhanced PHP-Nuke Web Portal System 4 =======================================================================*/ 5 6 /********************************************************/ 7 /* NukeSentinel(tm) */ 8 /* By: NukeScripts Network (webmaster@nukescripts.net) */ 9 /* http://www.nukescripts.net */ 10 /* Copyright (c) 2000-2005 by NukeScripts Network */ 11 /********************************************************/ 12 13 /*****[CHANGES]********************************************************** 14 -=[Base]=- 15 Nuke Patched v3.1.0 06/26/2005 16 ************************************************************************/ 17 18 if(!defined('NUKE_EVO')) exit; 19 20 global $prefix, $db, $user, $admin, $ab_config; 21 $content = ""; 22 $result = $db->sql_query("SELECT `ip_addr`, `reason` FROM `".$prefix."_nsnst_blocked_ips` ORDER BY `date` DESC LIMIT 10"); 23 while (list($ip_addr, $ip_reason) = $db->sql_fetchrow($result)) { 24 if((is_admin() AND $ab_config['display_link']==1) OR ((is_user() OR is_admin()) AND $ab_config['display_link']==2) OR $ab_config['display_link']==3) { 25 $lookupip = str_replace("*", "0", $ip_addr); 26 $content .= "<strong><big>·</big></strong> <a href=\"".$ab_config['lookup_link']."$lookupip\" target=\"_blank\">$ip_addr</a>\n"; 27 } else { 28 $content .= "<strong><big>·</big></strong> $ip_addr\n"; 29 } 30 if((is_admin() AND $ab_config['display_reason']==1) OR ((is_user() OR is_admin()) AND $ab_config['display_reason']==2) OR $ab_config['display_reason']==3) { 31 $result2 = $db->sql_query("SELECT `reason` FROM `".$prefix."_nsnst_blockers` WHERE `blocker`='$ip_reason'"); 32 list($reason) = $db->sql_fetchrow($result2); 33 $db->sql_freeresult($result2); 34 $reason = str_replace("Abuse-","",$reason); 35 $content .= " - $reason\n"; 36 } 37 $db->sql_freeresult($result2); 38 $content .= "<br />\n"; 39 } 40 $db->sql_freeresult($result); 41 $content .= "<hr /><div align=\"center\"><a href=\"http://www.nukescripts.net\">"._AB_NUKESENTINEL." ".$ab_config['version_number']."</a></div>\n"; 42 43 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Jun 6 11:38:01 2007 | Cross-referenced by PHPXref 0.7 |