[ Index ]
 

Code source de e107 0.7.8

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

title

Body

[fermer]

/e107_plugins/links_page/search/ -> search_comments.php (source)

   1  <?php
   2  
   3  if (!defined('e107_INIT')) { exit; }
   4  
   5  $comments_title = 'Links';
   6  $comments_type_id = 'links_page';
   7  $comments_return['links_page'] = "l.link_id, l.link_name";
   8  $comments_table['links_page'] = "LEFT JOIN #links_page AS l ON c.comment_type='links_page' AND l.link_id = c.comment_item_id";
   9  function com_search_links_page($row) {
  10      global $con;
  11      $datestamp = $con -> convert_date($row['comment_datestamp'], "long");
  12      $res['link'] = e_PLUGIN."links_page/links.php?comment.".$row['link_id'];
  13      $res['pre_title'] = 'Posted in reply to link: ';
  14      $res['title'] = $row['link_name'];
  15      $res['summary'] = $row['comment_comment'];
  16      preg_match("/([0-9]+)\.(.*)/", $row['comment_author'], $user);
  17      $res['detail'] = LAN_SEARCH_7."<a href='user.php?id.".$user[1]."'>".$user[2]."</a>".LAN_SEARCH_8.$datestamp;
  18      return $res;
  19  }
  20  
  21  ?>


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