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

<{if $yd_layout=="left"}> <{/if}> <{if $yd_layout=="right"}> <{/if}>
<{include file="db:`$mydirname`_rightarea.html"}>
<{$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 $yd_photo.0.pid|count_characters>0}> <{foreach from=$yd_photo key="num" item="photo" name="list"}> <{if $num==0 || $num==3 || $num==6}><{/if}> <{if (($yd_photo|@count)>3 && $num==2) || (($yd_photo|@count)>6 && $num==5)}><{/if}> <{/foreach}>
<{$smarty.const._MD_PHOTO}><{$num+1}>

<{/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}>
<{include file='db:system_notification_select.html'}>
<{include file="db:`$mydirname`_rightarea.html"}>