[ Index ]
 

Code source de e107 0.7.8

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/e107_plugins/log/ -> log_update_check.php (source)

   1  <?php
   2  /*
   3  + ----------------------------------------------------------------------------+
   4  |     e107 website system
   5  |
   6  |     ©Steve Dunstan 2001-2002
   7  |     http://e107.org
   8  |     jalist@e107.org
   9  |
  10  |     Released under the terms and conditions of the
  11  |     GNU General Public License (http://gnu.org).
  12  |
  13  |     $Source: /cvsroot/e107/e107_0.7/e107_plugins/log/log_update_check.php,v $
  14  |     $Revision: 1.3 $
  15  |     $Date: 2005/12/14 19:28:44 $
  16  |     $Author: sweetas $
  17  +----------------------------------------------------------------------------+
  18  */
  19  if (!defined('e107_INIT')) { exit; }
  20  
  21  $dbupdatep['log_07'] =  LAN_UPDATE_8." .617 statistics ".LAN_UPDATE_9." .7 statistics";
  22  function update_log_07($type) {
  23      global $sql, $mySQLdefaultdb;
  24      if ($type == 'do') {
  25              include_once(e_PLUGIN.'log/log_update.php');
  26      } else {
  27          if ($sql -> db_Query("SHOW COLUMNS FROM ".MPREFIX."stat_info") && $sql -> db_Select("plugin", "*", "plugin_path = 'log' AND plugin_installflag='1'")) {
  28               if ($sql -> db_Count('stat_info','(*)',"WHERE info_type='99'") < 7) {
  29                  return FALSE;
  30              } else {
  31                  return TRUE;
  32              }
  33          } else {
  34              return TRUE;
  35          }
  36      }
  37  }
  38  
  39  ?>        


Généré le : Sun Apr 1 01:23:32 2007 par Balluche grâce à PHPXref 0.7