[ Index ]
 

Code source de e107 0.7.8

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

title

Body

[fermer]

/e107_plugins/chatbox_menu/ -> e_notify.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/chatbox_menu/e_notify.php,v $
  14  |     $Revision: 1.8 $
  15  |     $Date: 2006/02/12 19:14:44 $
  16  |     $Author: mcfly_e107 $
  17  +----------------------------------------------------------------------------+
  18  */
  19  
  20  if (!defined('e107_INIT')) { exit; }
  21  
  22  if(defined('ADMIN_PAGE') && ADMIN_PAGE === true)
  23  {
  24      include_lan(e_PLUGIN."chatbox_menu/languages/".e_LANGUAGE."/".e_LANGUAGE.".php");
  25      $config_category = NT_LAN_CB_1;
  26      $config_events = array('cboxpost' => NT_LAN_CB_2);
  27  }
  28  
  29  
  30  if (!function_exists('notify_cboxpost')) {
  31  	function notify_cboxpost($data) {
  32          global $nt;
  33          include_lan(e_PLUGIN."chatbox_menu/languages/".e_LANGUAGE."/".e_LANGUAGE.".php");
  34          $message = NT_LAN_CB_3.': '.USERNAME.' ('.NT_LAN_CB_4.': '.$data['ip'].' )<br />';
  35          $message .= NT_LAN_CB_5.':<br />'.$data['cmessage'].'<br /><br />';
  36          $nt -> send('cboxpost', NT_LAN_CB_6, $message);
  37      }
  38  }
  39  
  40  ?>


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