
cid
$items[$comment->timestamp] = " ".l($comment->subject,"node/".$comment->nid)." ".t("by")." ".theme('username',$comment)." - ".format_date($comment->timestamp, "medium")." - new comment or forum reply";
}
$result = db_query_range("SELECT n.changed, n.title, n.nid, n.nid, u.uid, u.name, n.type
FROM node n INNER JOIN users u ON u.uid = n.uid
WHERE ( ( n.status >0 ) and ( n.type = 'forum' ) ) ORDER BY n.changed
DESC ",0,$nlimit);
while ($comment = db_fetch_object($result)) {
$items[$comment->changed] = " ".l($comment->title,"node/".$comment->nid)." ".t("by")." ".theme('username',$comment)." - ".format_date($comment->changed, "medium")." - updated or new ".$comment->type." post";
}
krsort($items);
//$items2=substr($items, 20);
print theme("item_list",$items);
?>
Click here to read more - if you want to be a part of ITB, sign up it is free to sign up and chat on line