[ 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_user.php,v $ 14 | $Revision: 1.3 $ 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 = 'profile'; 24 $comments_return['user'] = "u.user_name"; 25 $comments_table['user'] = "LEFT JOIN #user AS u ON c.comment_type='profile' AND u.user_id = c.comment_item_id"; 26 function com_search_profile($row) { 27 global $con; 28 $datestamp = $con -> convert_date($row['comment_datestamp'], "long"); 29 $res['link'] = "user.php?id.".$row['comment_item_id']; 30 $res['pre_title'] = LAN_SEARCH_77.": "; 31 $res['title'] = $row['user_name']; 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 |