[ Index ]
 

Code source de e107 0.7.8

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

title

Body

[fermer]

/e107_plugins/pm/ -> pm_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/pm/pm_update_check.php,v $
  14  |     $Revision: 1.3 $
  15  |     $Date: 2006/11/19 22:52:16 $
  16  |     $Author: mcfly_e107 $
  17  +----------------------------------------------------------------------------+
  18  */
  19  if (!defined('e107_INIT')) { exit; }
  20  
  21  include_lan(e_PLUGIN."pm/languages/admin/".e_LANGUAGE.".php");
  22  $dbupdatep['pm_07'] =  LAN_UPDATE_8." .617 ".ADLAN_PM_58." ".LAN_UPDATE_9." .7 ".ADLAN_PM_58;
  23  function update_pm_07($type) {
  24      global $sql, $mySQLdefaultdb;
  25      if ($type == 'do') {
  26              include_once(e_PLUGIN.'pm/pm_update.php');
  27      } else {
  28          if ($sql -> db_Select("plugin", "*", "plugin_path = 'pm_menu' AND plugin_installflag='1'")) {
  29               if ($sql -> db_Count('pm_messages', '(*)')) {
  30                  return FALSE;
  31              } else {
  32                  return TRUE;
  33              }
  34          } else {
  35              return TRUE;
  36          }
  37      }
  38  }
  39  
  40  ?>        


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