cellheading2; $user = get_record("user", "id", $entry->userid); $strby = get_string("writtenby", "glossary"); echo "\n
"; if ($entry) { print_user_picture($user->id, $course->id, $user->picture); } echo " | "; echo "cellheading\" class=\"forumpostheader\">";
if ($entry) {
echo "$entry->concept "; echo "$strby $user->firstname $user->lastname"; echo " (".get_string("lastedited").": ". userdate($entry->timemodified).")"; } echo " |
cellcontent\" class=\"forumpostmessage\">";
if ($entry) {
if ($entry->attachment) {
$entry->course = $course->id;
if (strlen($entry->definition)%2) {
$align = "right";
} else {
$align = "left";
}
echo "
|