<div id="p{{tpl:EntryID}}" class="post simple">
	<h2 class="post-title">{{tpl:EntryTitle encode_html="1"}}</h2>
	
	<div class="post-attr">
		<p class="post-info">
			<span class="post-author">{{tpl:lang By}} {{tpl:EntryAuthorLink}}, </span>
			<span class="post-date">{{tpl:EntryDate}}. </span>
			<span class="permalink"><a href="{{tpl:EntryURL}}">{{tpl:lang Permalink}}</a></span>
			<tpl:EntryIf has_category="1">
				<span class="post-cat"><tpl:EntryCategoriesBreadcrumb><a 
				href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> › </tpl:EntryCategoriesBreadcrumb><a 
				href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a></span>
			</tpl:EntryIf>
		</p>
		
		<tpl:EntryTags>
			<tpl:TagsHeader>
				<ul class="post-tags">
			</tpl:TagsHeader>
				<li><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li> 
			<tpl:TagsFooter>
				</ul>
			</tpl:TagsFooter>
		</tpl:EntryTags>
	</div>    
	
	<!-- # --BEHAVIOR-- publicEntryBeforeContent -->
	{{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
	
	<!-- # Entry with an excerpt -->
	<tpl:EntryIf extended="1">
		<div class="post-excerpt">{{tpl:EntryExcerpt}}</div>
	</tpl:EntryIf>
	
	<div class="post-content">{{tpl:EntryContent}}</div>
	
	<!-- # --BEHAVIOR-- publicEntryAfterContent -->
	{{tpl:SysBehavior behavior="publicEntryAfterContent"}}
</div>

<!-- # Attachments -->
<tpl:Attachments>
	<tpl:AttachmentsHeader>
		<div id="attachments">
			<h3>{{tpl:lang Attachments}}</h3>
			<ul>
	</tpl:AttachmentsHeader>
				<li class="{{tpl:AttachmentType}}">
					<tpl:AttachmentIf is_mp3="1">
						{{tpl:include src="_mp3_player.html"/}} - 
					</tpl:AttachmentIf>
					<tpl:AttachmentIf is_flv="1">
						{{tpl:include src="_flv_player.html"/}}
					</tpl:AttachmentIf>
					<tpl:AttachmentIf is_flv="0">
						<a href="{{tpl:AttachmentURL}}"
						 title="{{tpl:AttachmentFileName}} ({{tpl:AttachmentSize}})">{{tpl:AttachmentTitle}}</a>
					</tpl:AttachmentIf>
				</li>
	<tpl:AttachmentsFooter>
			</ul>
		</div>
	</tpl:AttachmentsFooter>
</tpl:Attachments>

<!-- # Comments -->
<tpl:EntryIf show_comments="1">
	<tpl:Comments with_pings="1">
		<tpl:CommentsHeader>
			<div id="comments">
				<h3>{{tpl:EntryCommentCount count_all="1" none="no reactions" one="one reaction" more="%s reactions"}}</h3>
				<ul>
		</tpl:CommentsHeader>
					<tpl:CommentIf is_ping="0">
						<li id="c{{tpl:CommentID}}" class="comment {{tpl:CommentIfMe}} {{tpl:CommentIfOdd}} {{tpl:CommentIfFirst}}">
					</tpl:CommentIf>
					<tpl:CommentIf is_ping="1">
						<li id="c{{tpl:PingID}}" class="ping {{tpl:PingIfOdd}} {{tpl:PingIfFirst}}">
					</tpl:CommentIf>
							<p class="comment-info"><a href="#c{{tpl:CommentID}}" class="comment-number">{{tpl:CommentOrderNumber}}</a>
								{{tpl:lang From}} {{tpl:CommentAuthorLink}} - {{tpl:CommentDate format="%d"}}/{{tpl:CommentDate format="%m"}}/{{tpl:CommentDate format="%Y"}}, {{tpl:CommentTime}}
							</p>
							<div class="comment-content">
								<!-- # --BEHAVIOR-- publicCommentBeforeContent -->
								{{tpl:SysBehavior behavior="publicCommentBeforeContent"}}
								
								{{tpl:CommentContent}}
								
								<!-- # --BEHAVIOR-- publicCommentAfterContent -->
								{{tpl:SysBehavior behavior="publicCommentAfterContent"}}
							</div>
						</li>
		<tpl:CommentsFooter>
					</ul>
				</div>
		</tpl:CommentsFooter>
	</tpl:Comments>
</tpl:EntryIf>

<tpl:EntryIf operator="or" comments_active="1" pings_active="1">
	<p id="comments-feed"><a class="feed" href="{{tpl:BlogFeedURL type="atom"}}/comments/{{tpl:EntryID}}"
		 title="{{tpl:lang This post's comments Atom feed}}">{{tpl:lang This post's comments feed}}</a></p>
</tpl:EntryIf>

<tpl:EntryIf comments_active="1">    
	<tpl:SysIfFormError>
		<p class="error" id="pr">{{tpl:SysFormError}}</p>
	</tpl:SysIfFormError>
	
	<tpl:SysIfCommentPublished>
		<p class="message" id="pr">{{tpl:lang Your comment has been published.}}</p>
	</tpl:SysIfCommentPublished>
	
	<tpl:SysIfCommentPending>
		<p class="message" id="pr">{{tpl:lang Your comment has been submitted and will be reviewed for publication.}}</p>
	</tpl:SysIfCommentPending>
	
	<!-- # Comment form -->
	<form action="{{tpl:EntryURL}}#pr" method="post" id="comment-form">
		<tpl:IfCommentPreview>
			<div id="pr">
				<h3>{{tpl:lang Your comment}}</h3>
				<div class="comment-preview">{{tpl:CommentPreviewContent}}</div>
				<p class="buttons"><input type="submit" class="submit" value="{{tpl:lang send}}" /></p>
			</div>
		</tpl:IfCommentPreview>
		
		<h3>{{tpl:lang Add a comment}}</h3>
		<fieldset>
			<!-- # --BEHAVIOR-- publicCommentFormBeforeContent -->
			{{tpl:SysBehavior behavior="publicCommentFormBeforeContent"}}
			
			<p class="field"><label for="c_name">{{tpl:lang Name or nickname}}&nbsp;:</label>
				<input name="c_name" id="c_name" type="text" size="30" maxlength="255"
				 value="{{tpl:CommentPreviewName encode_html="1"}}" />
			</p>
			
			<p class="field"><label for="c_mail">{{tpl:lang Email address}}&nbsp;:</label>
				<input name="c_mail" id="c_mail" type="text" size="30" maxlength="255"
				 value="{{tpl:CommentPreviewEmail encode_html="1"}}" />
			</p>
			
			<p class="field"><label for="c_site">{{tpl:lang Website}} ({{tpl:lang optional}})&nbsp;:</label>
				<input name="c_site" id="c_site" type="text" size="30" maxlength="255"
				 value="{{tpl:CommentPreviewSite encode_html="1"}}" />
			</p>
			
			<p style="display:none">
				<input name="f_mail" type="text" size="30" maxlength="255" value="" />
			</p>
			
			<p class="field"><label for="c_content">{{tpl:lang Comment}}&nbsp;:</label>
				<textarea name="c_content" id="c_content" cols="35"
				 rows="7">{{tpl:CommentPreviewContent raw="1" encode_html="1"}}</textarea>
			</p>
			
			<p class="form-help">{{tpl:CommentHelp}}</p>
			
			<!-- # --BEHAVIOR-- publicCommentFormAfterContent -->
			{{tpl:SysBehavior behavior="publicCommentFormAfterContent"}}
		</fieldset>
		
		<fieldset>
			<p class="buttons">
				<input type="submit" class="preview" name="preview" value="{{tpl:lang preview}}" />
				<tpl:IfPreviewIsNotMandatory>
					<input type="submit" class="submit" value="{{tpl:lang send}}" />
				</tpl:IfPreviewIsNotMandatory>
			</p>
		</fieldset>
	</form>
</tpl:EntryIf>
  
<tpl:EntryIf pings_active="1">
	<div id="ping-url">
		<h3>{{tpl:lang Add ping}}</h3>
		<p>{{tpl:lang Trackback URL}}&nbsp;: {{tpl:EntryPingLink}}</p>
	</div>
</tpl:EntryIf>