[ Index ]
 

Code source de e107 0.7.8

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

title

Body

[fermer]

/e107_files/shortcode/batch/ -> news_archives.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  +----------------------------------------------------------------------------+
  14  */
  15  if (!defined('e107_INIT')) { exit; }
  16  include_once(e_HANDLER.'shortcode_handler.php');
  17  $news_archive_shortcodes = $tp -> e_sc -> parse_scbatch(__FILE__);
  18          
  19  /*
  20  SC_BEGIN ARCHIVE_BULLET
  21  global $news2;
  22  return "<img src='".THEME."images/".(defined("BULLET") ? BULLET : "bullet2.gif")."' style='border:0px' alt='' />";
  23  SC_END
  24  
  25  SC_BEGIN ARCHIVE_LINK
  26  global $news2;
  27  return "<a href='news.php?item.".$news2['news_id']."'>".$news2['news_title']."</a>";
  28  SC_END
  29  
  30  
  31  SC_BEGIN ARCHIVE_AUTHOR
  32  global $news2;
  33  return "<a href='".e_BASE."user.php?id.".$news2['user_id']."'>".$news2['user_name']."</a>";
  34  SC_END
  35  
  36  
  37  SC_BEGIN ARCHIVE_DATESTAMP
  38  global $news2;
  39  return $news2['news_datestamp'];
  40  SC_END
  41  
  42  SC_BEGIN ARCHIVE_CATEGORY
  43  global $news2;
  44  return $news2['category_name'];
  45  SC_END
  46  
  47  */
  48  ?>


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