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

<{if $yd_layout=="left"}>
<{else}>
<{/if}>
<{$yd_data.title}>
<{if $yd_editperm==1}> <{/if}>
<{if $yd_before.bid >0}> <{/if}> <{if $yd_after.bid >0}> <{/if}>
<{$smarty.const._MD_DIARY_LAST}> <{$smarty.const._MD_DIARY_NEXT}>
<{$smarty.const._MD_DIARY_DATE}> <{$yd_data.year}><{$smarty.const._MD_DATE_YEAR}><{$yd_data.month}><{$smarty.const._MD_DATE_MONTH}><{$yd_data.day}><{$smarty.const._MD_DATE_DAY}><{$yd_data.time}>    <{$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}>
<{if $yd_photo.0.pid|count_characters>0}> <{foreach from=$yd_photo key="num" item="photo" name="list"}> <{if $yd_photo|@count==1}>
<{elseif $num==2 || $num==5 || $num==8 || ($yd_photo|@count==2)&&$num==1}>
<{else}>
<{/if}>

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

<{if $num==2 || $num==5 || $num==8}>
<{/if}> <{/foreach}>

<{/if}> <{$yd_data.diary}>
<{$smarty.const._MD_T_EDIT}>


<{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'}>