[ Index ]
 

Code source de e107 0.7.8

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

title

Body

[fermer]

/e107_plugins/blogcalendar_menu/ -> functions.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/blogcalendar_menu/functions.php,v $
  14  |     $Revision: 1.3 $
  15  |     $Date: 2005/12/14 19:28:43 $
  16  |     $Author: sweetas $
  17  +----------------------------------------------------------------------------+
  18  */
  19      
  20  if (!defined('e107_INIT')) { exit; }
  21  
  22  // format a date as yyyymmdd
  23  function formatDate($year, $month, $day = "") {
  24      $date = $year;
  25      $date .= (strlen($month) < 2)?"0".$month:
  26      $month;
  27      $date .= (strlen($day) < 2 && $day != "")?"0".$day:
  28      $day;
  29      return $date;
  30  }
  31  ?>


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