[ Index ]

PHP Cross Reference of Nuke-Evolution v2.0.5

title

Body

[close]

/blocks/ -> block-Hacker_Beware.php (source)

   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  /* Hacker Beware center block        (SQL Programing)   */
  13  /* By: Stephen2417 (Orignal Code) &    xfsunolesphp     */
  14  /* http://stephen2417.com          http://xfsunoles.com */
  15  /* Copyright (c) 2004 by Stephen2417 & xfsunolesphp       */
  16  /********************************************************/
  17  
  18  /*****[CHANGES]**********************************************************
  19  -=[Base]=-
  20        Nuke Patched                             v3.1.0       06/26/2005
  21   ************************************************************************/
  22  
  23  if(!defined('NUKE_EVO')) exit;
  24  
  25  global $admin_file, $db, $prefix, $ab_config, $currentlang;
  26  
  27  $result = $db->sql_query("SELECT * FROM `".$prefix."_nsnst_blocked_ips`");
  28  $total_ips = $db->sql_numrows($result);
  29  $db->sql_freeresult($result);
  30  if(!$total_ips) { $total_ips = 0; }
  31  global $admin;
  32  if(is_admin()) {
  33      $total_ips = '<strong><u><a href="'.$admin_file.'.php?op=ABBlockedIP">'.intval($total_ips).'</a></u></strong>';
  34  } else {
  35      $total_ips = intval($total_ips);
  36  }
  37  $content  = "<center><img src=\"images/nukesentinel/Sentinel_Large.png\" alt=\" "._AB_WARNED."\" title=\" "._AB_WARNED."\"><br />"._AB_CAUGHT." ".$total_ips." "._AB_SHAME."</center>";
  38  $content .= "<hr /><center><a href=\"http://www.nukescripts.net\">"._AB_NUKESENTINEL." ".$ab_config['version_number']."</a></center>\n";
  39  
  40  ?>


Generated: Wed Jun 6 11:38:01 2007 Cross-referenced by PHPXref 0.7