{!# generic index.php template - weblog format !}
{!set no_title TRUE!} {!# this turns off the front page title !}

<div id="weblog">
{BEGIN:doc_days 14}
<h2 class="date">{!date '{site_date_format}' '{day}'!}</h2>

  {BEGIN:day_docs day}
  <h3 class="title">{doc_title}</h3>
  {!case '{doc_type}'

    'Image'   '<a href="{site_path}/document.php?id={doc_id}"
              ><img src="{doc_file_400}" alt="{doc_title}"/></a>'

    'Poll'    '{poll_display}'

    'Link'    'Link: <a href="{doc_link_url}">{doc_link_url}</a>'

  !}
  {!if defined(doc_summary)
    '{doc_summary}
     <p>&raquo;&nbsp;<a href="{site_path}/document.php?id={doc_id}">Click 
     here for entire document</a></p>'
    '{doc_body}'
  !}
  <p class="info">
  Posted by {!user '{doc_user_id}'!}
  at {!date '{site_time_format}' '{doc_created}'!}
  {!if '{doc_folder_id}'
    'in <a href="{site_path}/folder.php?id={doc_folder_id}">{doc_folder_name}</a>'
  !}
  {sep}
  <a href="{site_path}/document.php?id={doc_id}">permanent link</a>
  {!if '{allow_comments}+0'
    '{sep} <a href="#" onClick="window.open(&#34;{site_path}/comments.php?id={doc_id}&#34;, &#34comments&#34;, &#34;height=500,width=350,scrollbars=yes&#34;);">{doc_comment_count:%d} comment(s)</a>'
  !}
  </p>
  {END:day_docs}

{END:doc_days}
</div><!-- weblog -->

<a href="http://siteframe.org"><img src="{site_path}/images/siteframepower.gif" alt="Siteframe {siteframe_version}"/></a>