</a> <a href="rss/blog/tags/Community%20News%20for%20the%20frontpage"><img src="images/icons/feed.png" alt="<?php echo $words->getSilent('GetRSSFeed'); ?> "></a><?php echo $words->flushBuffer(); ?> </h3> <div class="floatbox"> <?php $i = 1; foreach ($postIt as $blog) { $i++; if ($i <= 3) { $Blog = new Blog(); $View = new BlogView($Blog); $txt = $View->blogText($blog->blog_text); ?> <h4 class="news"><a href="blog/<?php echo $blog->user_handle; ?> /<?php echo $blog->blog_id; ?> "><?php echo htmlentities($blog->blog_title, ENT_COMPAT, 'utf-8'); ?> </a></h4> <span class="small grey"><?php echo $words->get('written_by'); ?> <a href="user/<?php
?> <?php if ($blog->flags & Blog::FLAG_VIEW_PRIVATE) { echo ' <img src="images/icons/lock.png" alt="' . $words->get('is_private') . '" title="' . $words->get('is_private') . '" />'; } elseif ($blog->flags & Blog::FLAG_VIEW_PROTECTED) { echo ' <img src="images/icons/shield.png" alt="' . $words->get('is_protected') . '" title="' . $words->get('is_protected') . '" />'; } ?> </div> <div class="floatbox"> <div class="text"> <?php $Blog = new Blog(); $View = new BlogView($Blog); $txt = $View->blogText($blog->blog_text, false); $tags = $Blog->getPostTagsIt($blog->blog_id); if ($tags->numRows() > 0) { ?> <div class="tags"> <span><?php echo $words->get('tagged_with'); ?> :</span> <?php foreach ($tags as $tag) { echo ' <a href="blog/tags/' . rawurlencode($tag->name) . '">' . htmlentities($tag->name, ENT_COMPAT, 'utf-8') . '</a> '; } ?> </div> <?php