[ Index ] |
|
Code source de e107 0.7.8 |
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/comment_menu/comment_menu.php,v $ 14 | $Revision: 1.20 $ 15 | $Date: 2006/06/22 19:13:41 $ 16 | $Author: lisa_ $ 17 +----------------------------------------------------------------------------+ 18 */ 19 20 if (!defined('e107_INIT')) { exit; } 21 22 require_once(e_PLUGIN."comment_menu/comment_menu_shortcodes.php"); 23 require_once(e_HANDLER."comment_class.php"); 24 $cobj = new comment; 25 26 if (file_exists(THEME."comment_menu_template.php")){ 27 require_once (THEME."comment_menu_template.php"); 28 }else{ 29 require_once(e_PLUGIN."comment_menu/comment_menu_template.php"); 30 } 31 32 $data = $cobj->getCommentData(intval($menu_pref['comment_display'])); 33 34 $text = ''; 35 // no posts yet .. 36 if(empty($data) || !is_array($data)){ 37 $text = CM_L1; 38 } 39 40 global $row; 41 foreach($data as $row){ 42 $text .= $tp->parseTemplate($COMMENT_MENU_TEMPLATE, true, $comment_menu_shortcodes); 43 } 44 45 $ns->tablerender($menu_pref['comment_caption'], $text, 'comment'); 46 47 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Apr 1 01:23:32 2007 | par Balluche grâce à PHPXref 0.7 |