<{* $Id: popnupblog_view.html,v 1.2 2005/09/03 11:38:11 yoshis Exp $ *}>

<{$blog_title}>

  • <{$blog_desc}>
  • <{if $popnupblog_votable eq true}> <{$smarty.const._MD_POPNUPBLOG_VOTERANKING}> <{/if}> <{if $popnupblog_editable eq true}> <{$smarty.const._MD_POPNUPBLOG_WRITE}> <{/if}>
    <{if count($popnupblog_blogdata) gt 0 }> <{foreach from=$popnupblog_index item=year key=key}>
    <{$key}> <{foreach from=$year item=month }> | <{$month.month}><{/foreach}>
    <{/foreach}> <{foreach item=i from=$popnupblog_blogdata}>
    <{if count($popnupblog_blogdata) eq 1 and $i.url|regex_replace:'/.*-/':''|count_characters eq 14}> <{/if}>

    <{$i.title}> <{if $popnupblog_editable eq true}> <{if $i.uid eq $xoops_userid || $blog_uid eq $xoops_userid || $popnupblog_admin eq true }> [<{$smarty.const._MD_POPNUPBLOG_LINK_EDIT}>] <{/if}> <{/if}>

    <{$i.uname}>  <{$i.date_str}> <{$i.hours}>:<{$i.minutes}>  
    <{$i.post_text|replace:"
    <{if $popnupblog_commentable eq true or $popnupblog_votable eq true}>
    <{/if}> <{if count($i.comments) gt 0 }>
    <{foreach item=j from=$i.comments}>
    <{$j.create_date_m}> <{if $j.comment ne '' or ($j.uid eq $popnupblog_uid)}> <{$j.name}>  <{if $j.commentedit==true }> [<{$smarty.const._MD_POPNUPBLOG_LINK_EDIT}>] <{/if}> <{if ($j.vote ne 0) }> <{if ($j.uid eq $popnupblog_uid) }> <{$smarty.const._MD_POPNUPBLOG_FORM_VOTE}>: <{if $j.vote eq 1}><{$smarty.const._MD_POPNUPBLOG_FORM_YES}><{/if}> <{if $j.vote eq -1}><{$smarty.const._MD_POPNUPBLOG_FORM_NO}><{/if}> <{else}> <{$smarty.const._MD_POPNUPBLOG_VOTED}>: <{/if}> <{/if}>
    <{$j.comment}>
    <{/if}> <{/foreach}> <{/if}> <{if $i.votes_all gt 0 }> <{$smarty.const._MD_POPNUPBLOG_VOTEREASULT}> <{$i.votes_all}><{$smarty.const._MD_POPNUPBLOG_VOTEALL}> <{$smarty.const._MD_POPNUPBLOG_FORM_YES}> <{if $i.votes_yes_par gt 0 }>
    (<{$i.votes_yes}>) <{$i.votes_yes_par}>%
    <{/if}> <{$smarty.const._MD_POPNUPBLOG_FORM_NO}> <{if $i.votes_no_par gt 0 }>
    (<{$i.votes_no}>) <{$i.votes_no_par}>%
    <{/if}> <{/if}> <{if $popnupblog_commentable eq true}>
    [<{$smarty.const._MD_POPNUPBLOG_LEAVEACOMMENT}>]
    <{/if}>
    <{if $popnupblog_votable eq true}> <{$smarty.const._MD_POPNUPBLOG_FORM_VOTE}>: <{$smarty.const._MD_POPNUPBLOG_FORM_YES}> <{$smarty.const._MD_POPNUPBLOG_FORM_NO}> <{/if}> <{if $popnupblog_commentable eq true or $popnupblog_votable eq true}> <{/if}>
    <{if count($i.trackbacks) gt 0 }>
    <{$smarty.const._MD_POPNUPBLOG_TRACKBACK}>  (<{$i.tb_count}>) <{/if}> <{if $i.trackback_url }>
    [TrackBack]
    <{/if}>
    <{/foreach}> <{else}> [ No blog ] <{/if}> <{$jump_url}>
    PopnupBlog <{$POPNUPBLOG_VERSION}> created by Bluemoon inc.   <{include file='db:system_notification_select.html'}>