query(
"SELECT dj.devj_id, dj.devj_date, dj.devj_content, dj.devj_threadid, u.user_username, u.profile_title, ut.ut_name FROM ff_devj dj
LEFT JOIN ff_users u ON u.user_id = dj.devj_posterid
LEFT JOIN ff_users_titles ut ON u.profile_title = ut.ut_id
WHERE dj.devj_approved = '1'$where
ORDER BY dj.devj_date DESC LIMIT $start,$limit"
);
$all_devj = $query->fetchAll();
foreach($all_devj as $devj)
{
extract($devj);
$devj_title = "Developer Journal: $user_username";
$devj_content = ParseBBCode($devj_content);
$devj_content = str_replace("\n", "
", $devj_content);
?>
Posted =ElapsedTime($devj_date)?> =$ut_name?>
=$devj_content?>
if ($devj_threadid != 0) { ?>
Discuss on the forums → } ?>
if ($single_post) { ?>
" class="pull-right">View all developer journals } ?>
getHTML($paginator->getPages());
}
?>