[ Index ]

PHP Cross Reference of Nuke-Evolution v2.0.5

title

Body

[close]

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

   1  <?php
   2  /*=======================================================================
   3   Nuke-Evolution Basic: Enhanced PHP-Nuke Web Portal System
   4   =======================================================================*/
   5  
   6  /************************************************************************/
   7  /* PHP-Nuke Block: Total Hits v0.1                                      */
   8  /*                                                                      */
   9  /* Copyright (c) 2001 by C. Verhoef (cverhoef@gmx.net)                  */
  10  /*                                                                      */
  11  /************************************************************************/
  12  /* This program is free software. You can redistribute it and/or modify */
  13  /* it under the terms of the GNU General Public License as published by */
  14  /* the Free Software Foundation; either version 2 of the License.       */
  15  /************************************************************************/
  16  /*         Additional security & Abstraction layer conversion           */
  17  /*                           2003 chatserv                              */
  18  /*      http://www.nukefixes.com -- http://www.nukeresources.com        */
  19  /************************************************************************/
  20  
  21  /*****[CHANGES]**********************************************************
  22  -=[Base]=-
  23        Nuke Patched                             v3.1.0       06/26/2005
  24   ************************************************************************/
  25  
  26  if(!defined('NUKE_EVO')) exit;
  27  global $prefix, $startdate, $db;
  28  
  29  list($hits) = $db->sql_fetchrow($db->sql_query("SELECT count FROM ".$prefix."_counter WHERE type='total' AND var='hits'"));
  30  $content = "<center><span class=\"tiny\">"._WERECEIVED."<br /><strong><a href=\"modules.php?name=Statistics\">$hits</a></strong><br />"._PAGESVIEWS." $startdate</span></center>";
  31  
  32  ?>


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