[ * Include the base template, which sets up some of our variables * ] [ include file="../templates/default/base.tpl.html" ] [ * Include the channel header template * ] [ include file="../templates/default/header.tpl.html" ] [ * Include the sidebar * ] [ include file="../templates/default/sidebar.tpl.html" ]
[ * Loop through each post retrieved for this view (up to the maximum number of posts * ] [ section name=POSTERBOARD loop=$POST_COUNT ] [ * Retrieve the next post * ] [ posts->Next assign=post ] [ * Display the actual content of the post * ] [ * If this post has extra fields, display them beneath the post * ] [ if $post.Extra ne "" ] [ foreach key=key item=value from=$post.Extra name="postExtras" ] [ /foreach ] [ /if ]
[ $post.Title ]
[ $post.Content ]
[ $key ]: [ $value ]
[ * If the user is allowed to write replies to this channel, embed the Reply form directly underneath each post * ] [ LIVEDATA ] [ if $SUBSCRIPTION|indexOf:"y" !== false ] [ /if ] [ /LIVEDATA ] [ * If there are no posts to display, display that fact * ] [ sectionelse ]
Welcome to [ $siteConfig.Defaults.SiteName ]!

Welcome to [ $siteConfig.Defaults.SiteName ]. At the moment, "[ $thisChannel.ChannelName ]" (this particular channel) does not have any posts in it, so there is nothing to display except this default message — however, you can change this if you are a registered user by logging in and posting something here.

Alternatively, you can browse the other channels or search the site for something specific; or, if you have questions, you can [ mailto address=$siteConfig.Defaults.Webmaster text="contact the webmaster" encode="javascript_charcode" extra="title='Contact the webmaster'" ].

[ /section ] [ include file="../templates/default/footer.tpl.html" ]