[ 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_handlers/search/comments_news.php,v $ 14 | $Revision: 1.5 $ 15 | $Date: 2005/12/28 14:47:20 $ 16 | $Author: sweetas $ 17 +----------------------------------------------------------------------------+ 18 */ 19 20 if (!defined('e107_INIT')) { exit; } 21 22 $comments_title = LAN_98; 23 $comments_type_id = 0; 24 $comments_return['news'] = "n.news_title"; 25 $comments_table['news'] = "LEFT JOIN #news AS n ON c.comment_type=0 AND n.news_id = c.comment_item_id"; 26 function com_search_0($row) { 27 global $con; 28 $datestamp = $con -> convert_date($row['comment_datestamp'], "long"); 29 $res['link'] = "comment.php?comment.news.".$row['comment_item_id']; 30 $res['pre_title'] = $row['news_title'] ? LAN_SEARCH_71.": " : ""; 31 $res['title'] = $row['news_title'] ? $row['news_title'] : LAN_SEARCH_9; 32 $res['summary'] = $row['comment_comment']; 33 preg_match("/([0-9]+)\.(.*)/", $row['comment_author'], $user); 34 $res['detail'] = LAN_SEARCH_7."<a href='user.php?id.".$user[1]."'>".$user[2]."</a>".LAN_SEARCH_8.$datestamp; 35 return $res; 36 } 37 38 ?>
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 |