<{$yd_uname}><{$smarty.const._MD_DIARY_PERSON}>

<{if $yd_layout=="left"}>
<{else}>
<{/if}>
<{$yd_data.year}><{* $smarty.const._MD_DATE_YEAR *}>
<{$yd_data.b_month}><{ *$smarty.const._MD_DATE_MONTH *}> <{$yd_data.day}><{* $smarty.const._MD_DATE_DAY *}>
(<{$yd_data.week}>)
<{* div class="itemFoot"><{$yd_data.time}><{* /span>
<{$yd_data.title}>
<{if $yd_before.bid >0}> <{$smarty.const._MD_DIARY_LAST}> <{/if}> <{if $yd_after.bid >0}> <{$smarty.const._MD_DIARY_NEXT}> <{/if}>
<{$smarty.const._MD_CATEGORY}>  <{$yd_data.cname}> <{if $mod_config.use_tag>0}>
<{$smarty.const._MD_TAG}>  <{foreach from=$bTagArr item=tags}> <{$tags.tag}> <{/foreach}> <{/if}>
<{$smarty.const._MD_DIARY_TEXT}>
<{$yd_data.diary}>
<{if $yd_photo.0.pid|count_characters>0}>
<{foreach from=$yd_photo key="num" item="photo" name="list"}> <{if $yd_photo|@count==1}>
<{elseif ($yd_photo|@count==2)&&$num==1}>
<{else}>
<{/if}> <{*

<{$smarty.const._MD_PHOTO}><{$num+1}>

*}>
<{/foreach}>

<{/if}>
<{if $yd_editperm==1}> <{$smarty.const._MD_T_EDIT}> <{/if}>
<{if $mod_config.comment_dirname}> <{d3comment mydirname=$mydirname id=$yd_data.bid subject=$yd_data.title class="d3diaryD3commentContent"}> <{else}> <{if $yd_use_simplecomment == 0}> <{$commentsnav}>
<{$lang_notice}>
<{if $comment_mode == "flat"}> <{include file="db:system_comments_flat.html"}> <{elseif $comment_mode == "thread"}> <{include file="db:system_comments_thread.html"}> <{elseif $comment_mode == "nest"}> <{include file="db:system_comments_nest.html"}> <{/if}> <{else}> <{if $comments.0.id >0}>
<{$smarty.const._MD_CATEGORY}>
<{include file="db:system_comments_flat.html"}>

<{/if}>
<{$smarty.const._MD_COM_WRITE}>
<{if $xoops_isuser==1}> <{$yr_comment_form}> <{else}> <{$smarty.const._MD_COM_HOWTOWRITE1}><{$smarty.const._MD_COM_HOWTOWRITE2}><{$smarty.const._MD_COM_HOWTOWRITE3}>
<{/if}>
<{/if}> <{/if}>
<{if $yd_layout=="left"}>
<{else}>
<{/if}> <{include file="db:`$mydirname`_rightarea.html"}>
<{include file='db:system_notification_select.html'}>