rendered paste body{include file="header.tpl"}{if $blog_posts != false} <table class="blog_posts_table" cellpadding="0" cellspacing="0"> {section name=i loop=$blog_posts} <tr> <td class="blog_title">{$blog_posts[i].blog_title}</td> </tr> <tr> <td class="blog_info">Posted on {$blog_posts[i].blog_date|date_format} by {$blog_posts[i].blog_author}</td> </tr> <tr> <td class="blog_body">{$blog_posts[i].blog_body|nl2br|wordwrap}</td> </tr> <tr> <td class="blog_links"> <a href="?page=blog_view&blog_id={$blog_posts[i].blog_id}">Link directly to this blog post</a><br /> {if $user_valid == true}<a href="?page=blog_edit&blog_id={$blog_posts[i].blog_id}">Edit this blog post</a>{/if} </td> <tr> <td class="blog_spacer"> </td> </tr> {/section} </table> <hr /> {if $comments != false} <table class="blog_comments" cellpadding="0" cellspacing="0"> {section name=i loop=$comments} <tr> <td class="comment_info"> Posted {$comments[i].com_date|date_format} by {$comments[i].com_user_name}<br /> <font size="1">{$comments[i].user_ip}</font><br /> </td> </tr> <tr> <td class="comment_text"> {$comments[i].com_text|nl2br} </td> </tr> <tr> <td class="comment_spacer"><hr /></td> </tr> <tr> <td class="comment_spacer"> </td> </tr> {/section} </table> {else} No comments yet. Why don't you post one? :) {/if} <br /><br /> {include file="comments_form.tpl"}{else} This blog post doesn't exist.{/if}{include file="footer.tpl"}