{php} include "some/php/file.php"; foreach ($rows as $row) { echo $row; } {/php} {* smarty comment *} {serendipity_hookPlugin hook="entries_header" addData="$entry_id"} {foreach from=$entries item="dategroup"}
{if $dategroup.is_sticky}

### {$CONST.STICKY_POSTINGS}

{else}

### {$dategroup.date|@formatTime:DATE_FORMAT_BARSINISTER}

{/if} {foreach from=$dategroup.entries item="entry"}

#### {$entry.title}

{if $entry.categories} {foreach from=$entry.categories item="category"} {if $category.category_icon} {/if} {/foreach} {/if}
{$entry.body}
{if $entry.is_extended}
{$entry.extended}
{/if} {if $entry.has_extended and not $is_single_entry and not $entry.is_extended}

{$CONST.VIEW_EXTENDED_ENTRY|@sprintf:$entry.title}

{/if}
{$CONST.POSTED_BY} {$entry.author} {if $entry.categories} {$CONST.IN} {foreach from=$entry.categories item="category" name="categories"}{$category.category_name|@escape}{if not $smarty.foreach.categories.last}, {/if}{/foreach} {/if} {if $entry.has_comments} {if $use_popups} | {$entry.label_comments} ({$entry.comments}) {else} | {$entry.label_comments} ({$entry.comments}) {/if} {/if} {if $entry.has_trackbacks} {if $use_popups} | {$entry.label_trackbacks} ({$entry.trackbacks}) {else} | {$entry.label_trackbacks} ({$entry.trackbacks}) {/if} {/if} {if $entry.is_entry_owner and not $is_preview} | {$CONST.EDIT_ENTRY} {/if} {$entry.add_footer}
{$entry.plugin_display_dat} {if $is_single_entry and not $use_popups and not $is_preview} {if $CONST.DATA_UNSUBSCRIBED}
{$CONST.DATA_UNSUBSCRIBED|@sprintf:$CONST.UNSUBSCRIBE_OK}
{/if} {if $CONST.DATA_TRACKBACK_DELETED}
{$CONST.DATA_TRACKBACK_DELETED|@sprintf:$CONST.TRACKBACK_DELETED}
{/if} {if $CONST.DATA_TRACKBACK_APPROVED}
{$CONST.DATA_TRACKBACK_APPROVED|@sprintf:$CONST.TRACKBACK_APPROVED}
{/if} {if $CONST.DATA_COMMENT_DELETED}
{$CONST.DATA_COMMENT_DELETED|@sprintf:$CONST.COMMENT_DELETED}
{/if} {if $CONST.DATA_COMMENT_APPROVED}
{$CONST.DATA_COMMENT_APPROVED|@sprintf:$CONST.COMMENT_APPROVED}
{/if} {/if} {if $is_single_entry and not $is_preview}
{$CONST.TRACKBACKS}
{$CONST.TRACKBACK_SPECIFIC}
{serendipity_printTrackbacks entry=$entry.id}
{$CONST.COMMENTS}
{$CONST.DISPLAY_COMMENTS_AS} {if $entry.viewmode eq $CONST.VIEWMODE_LINEAR} ({$CONST.COMMENTS_VIEWMODE_LINEAR} | {$CONST.COMMENTS_VIEWMODE_THREADED}) {else} ({$CONST.COMMENTS_VIEWMODE_LINEAR} | {$CONST.COMMENTS_VIEWMODE_THREADED}) {/if}
{serendipity_printComments entry=$entry.id mode=$entry.viewmode} {if $entry.is_entry_owner} {if $entry.allow_comments}
({$CONST.COMMENTS_DISABLE})
{else}
({$CONST.COMMENTS_ENABLE})
{/if} {/if} {foreach from=$comments_messagestack item="message"}
{$message}
{/foreach} {if $is_comment_added}
{$CONST.COMMENT_ADDED}
{elseif $is_comment_moderate}
{$CONST.COMMENT_ADDED}
{$CONST.THIS_COMMENT_NEEDS_REVIEW}
{elseif not $entry.allow_comments}
{$CONST.COMMENTS_CLOSED}
{else}
{$CONST.ADD_COMMENT}
{$COMMENTFORM} {/if}
{/if} {$entry.backend_preview} {/foreach}
{foreachelse} {if not $plugin_clean_page} {$CONST.NO_ENTRIES_TO_PRINT} {/if} {/foreach} {if $footer_info}
{if $footer_info} {if $footer_prev_page} « {$CONST.PREVIOUS_PAGE} {else} {/if} {else} {/if} {if $footer_info} ({$footer_info}) {/if} {if $footer_info} {if $footer_next_page} {$CONST.NEXT_PAGE} » {else} {/if} {else} {/if}
{/if} {serendipity_hookPlugin hook="entries_footer"}