| [ 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, $currentlang; 21 22 $usemarquee = 1; 23 $scrolldirection = "Down"; 24 $content = ""; 25 $content .= "<table border=1><tr><td align=\"center\" valign=\"top\"> "._AB_LIST."</td></tr></table><hr />\n"; 26 $content .= "<marquee Behavior=\"Scroll\" Direction=\"$scrolldirection\" Height=\"150\" ScrollAmount=\"1\" ScrollDelay=\"75\" onMouseOver=\"this.stop()\" onMouseOut=\"this.start()\"><br />"; 27 $result = $db->sql_query("SELECT `ip_addr`, `reason` FROM `".$prefix."_nsnst_blocked_ips` ORDER BY `date` DESC LIMIT 30"); 28 while (list($ip_addr, $ip_reason) = $db->sql_fetchrow($result)) { 29 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) { 30 $lookupip = str_replace("*", "0", $ip_addr); 31 $content .= "<strong><big>·</big></strong> <a href=\"".$ab_config['lookup_link']."$lookupip\" target=\"_blank\">$ip_addr</a>\n"; 32 } else { 33 $content .= "<strong><big>·</big></strong> $ip_addr\n"; 34 } 35 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) { 36 $result2 = $db->sql_query("SELECT `reason` FROM `".$prefix."_nsnst_blockers` WHERE `blocker`='$ip_reason'"); 37 list($reason) = $db->sql_fetchrow($result2); 38 $db->sql_freeresult($result2); 39 $reason = str_replace("Abuse-","",$reason); 40 $content .= " - $reason\n"; 41 } 42 $content .= "<br />\n"; 43 } 44 $db->sql_freeresult($result); 45 $content .= "</marquee><br />"; 46 $content .= "<hr /><center><a href=\"http://www.nukescripts.net\" target=\"_blank\">"._AB_NUKESENTINEL." ".$ab_config['version_number']."</a></center>\n"; 47 48 ?>
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 |