static function ListItem Id Title Date Author Comments Bookmark null g

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
static function ListItem($Id, $Title, $Date, $Author, $Comments, $Bookmark = null)
{
global $Language;
global $Module;
echo "<tr><td>".$Bookmark." <a href=\"?module=".$Module."&id=".$Id."\">".$Title;
if(IsNew($Date))
{
echo " <img src=\"images/modules/new.png\" border=\"0\">";
}
echo "</a></td><td><img src=\"images/modules/date.png\" align=\"absmiddle\"> ".MakeDate($Date)."</td><td></td><td>";
if(!empty($Author))
{
echo "<a href=\"?module=profiles&id=".$Author['id']."\"><img src=\"images/modules/user.png\" align=\"absmiddle\" border=\"0\"> ".$Author['login']."</a>";
} else {
echo "<img src=\"images/modules/guest.png\" align=\"absmiddle\" border=\"0\">".$Language[173];
}
echo "</td><td><a href=\"?module=".$Module."&id=".$Id."#Comments\"><img src=\"images/modules/comment.png\" align=\"absmiddle\"> ".$Language[6]."(".$Comments.")"."</a></td></tr>\n";
}