<table cellspacing="0" width="100%">
  <tr>
    <td><b><{$page_title}> - <{$page_subtitle}></b><hr></td>
  </tr>
  <{if $rss_show eq 1}>
  <tr>
    <td align="right" valign="middle">
	<a href="<{$rss_feeder}>"><img src="images/rss.gif" border="0" ></a>
	<a href="<{$rdf_feeder}>"><img src="images/rdf.gif" border="0" ></a>
	&nbsp;<{$lang_rss}></td>
  </tr>
  <{/if}>
</table><br />
<{$rdf_desc}>
<div class="blogDate"><{$created_date}></div>
<div class="blogEntry">
<table class="blogHeader">
<tr>
<{if $use_avatar == 1}>
<td width="5%"><img src="<{$avatar_img}>"/></td>
<{/if}>
<td>
<div class="blogTitle"><{$title}></div>
<div class="blogCategory"><b><a href="<{$weblog_topurl}>"><{$lang_category}></a>:</b> <{$category}></div>
<hr>
<div class="blogShoulder"><{$lang_author}>: <a href="<{$profileUri}>"><{$uname}></a> (<{$created_time}>)</div>
</td>
</tr>
</table>
<table>
<tr><td><div class="blogContents"><{$contents}></div></td></tr>
</table>
<div class="blogFooter">
<{if $is_private eq 1}>
<b><i><{$private}>:</i></b>
<{/if}>
<{$read_users_blog}>
<{if $provide_edit_link eq 1}>
 | <a href="post.php?blog_id=<{$blog_id}>&edit=1"><{$lang_edit}></a>
<{/if}>
 | <{$lang_comments}> (<{$comments_num}>)
 | <{$lang_trackbacks}> (<{$trackbacks}>)
 | <{$lang_reads}> (<{$reads}>)
 <div class="blogindicate">
<{if $prev_blogentry}><a href="<{$prev_blogentry}>"><{$prev}></a><{/if}> | 
<{if $next_blogentry}><a href="<{$next_blogentry}>"><{$next}></a><{/if}>
</div>
</div>
</div>

<!-- Trackbacks -->
<a name="trackback"></a>
<div class="blogTrackbackAnounce"><{$lang_trackback_anounce}></div>
<div class="blogShowTrackbackURL"><{$weblog_trackback_url}></div>

<{if $trackback_transmit}>
<div class="blogTrackbackTransmit"><{$lang_trackback_transmit}></div>
<{foreach from=$trackback_transmit item=trackback}>
	<{if $trackback.title}><span class="blogTrackbackTitle"><a href="<{$trackback.link}>" target="_blank"><{$trackback.title}></a></span><{/if}>
	<{if $trackback.description}><div class="blogTrackbackDescription"><{$trackback.description}><a href="<{$trackback.link}>" target="_blank">...more</a></div><{/if}>
	<{if $trackback.blog_name}><div class="blogTrackbackBlogname">&nbsp;--&nbsp;<a href="<{$trackback.link}>"><{$trackback.blog_name}></a>&nbsp;--&nbsp;</div><{/if}>
	<div class="blogTrackbackURL"><a href="<{$trackback.tb_url}>" target="_blank"><{$trackback.tb_url}></a></div>
	<div class="blogTrackbackCreated"><{$trackback.trackback_created}></div>
<{/foreach}>
<{/if}>

<{if $trackback_recieved}>
<div class="blogTrackbackRecieved"><{$lang_trackback_recieved}></div>
<{foreach from=$trackback_recieved item=trackback}>
	<{if $trackback.title}><div class="blogTrackbackTitle"><a href="<{$trackback.tb_url}>" target="_blank"><{$trackback.title}></a></div><{/if}>
	<{if $trackback.description}><div class="blogTrackbackDescription"><{$trackback.description}><a href="<{$trackback.tb_url}>" target="_blank">...more</a></div><{/if}>
	<{if $trackback.blog_name}><div class="blogTrackbackBlogname">&nbsp;--&nbsp;<a href="<{$trackback.tb_url}>" target="_blank"><{$trackback.blog_name}></a>&nbsp;--&nbsp;</div><{/if}><div class="blogTrackbackCreated"><{$trackback.trackback_created}></div>
<{/foreach}>
<{/if}>

<!--  printer and friend icons -->
<div style="padding: 5px; text-align: right;
margin-right:3px;">
<a href="<{$print_link}>"><img
src="images/print.gif" border="0"
alt="<{$lang_printerpage}>" /></a> <a target="_top"
href="<{$mail_link}>"><img src="images/friend.gif"
border="0" alt="<{$lang_sendstory}>" /></a>
</div>


<!-- Comments -->
<a name="comment"></a>
<div style="text-align: center; padding: 3px; margin: 3px;">
<{$commentsnav}>
<{$lang_notice}>
</div>

<div style="margin: 3px; padding: 3px;">
<!-- start comments loop -->
<{if $comment_mode == "flat"}>
  <{include file="db:system_comments_flat.html"}>
<{elseif $comment_mode == "thread"}>
  <{include file="db:system_comments_thread.html"}>
<{elseif $comment_mode == "nest"}>
  <{include file="db:system_comments_nest.html"}>
<{/if}>
<!-- end comments loop -->
</div>

<{include file='db:system_notification_select.html'}>
