<{if $yd_param.mode=="friends"}>

<{$yd_uname}><{$smarty.const._MD_DIARY_FRIENDS}><{$smarty.const._MD_DIARY_TITLENAME}>

<{else}>

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

<{/if}>
<{if $yd_layout=="left"}>
<{else}>
<{/if}>
<{if $mod_config.use_tag>0 && $yd_param.mode!="friends"}>
<{$smarty.const._MD_TAG_CROUD}>
<{foreach from=$tagCloud item=tags}> <{$tags.tag}> <{/foreach}>
<{/if}>
<{$lang_datanum}>
<{$lang_pagelist}>
<{if $yd_param.mode=="date"}> <{$yd_param.year}><{$smarty.const._MD_DATE_YEAR}><{$yd_param.month}><{$smarty.const._MD_DATE_MONTH}><{$yd_param.day}><{$smarty.const._MD_DATE_DAY}> <{$smarty.const._MD_LIST_VIEW}> <{elseif $yd_param.mode=="month"}> <{$yd_param.year}><{$smarty.const._MD_DATE_YEAR}><{$yd_param.month}><{$smarty.const._MD_DATE_MONTH}> <{$smarty.const._MD_LIST_VIEW}> <{elseif $yd_param.mode=="category"}> <{$smarty.const._MD_CATEGORY}>:<{$yd_param.cname}> <{$smarty.const._MD_LIST_VIEW}> <{else}>  <{$smarty.const._MD_DIARY_RECENT}> <{/if}>
<{if $yd_data[0].year>0}> <{section name=num loop=$yd_data}> <{if $yd_data[num].can_disp}>
<{$yd_data[num].b_month}>
<{$yd_data[num].day}><{* $smarty.const._MD_DATE_DAY *}> (<{$yd_data[num].week}>)
<{* div class="boxdate_spacer">
<{if $yd_data[num].other>0}> <{$yd_data[num].title}>  <{if $yd_data[num].cname|count_characters>0}>[<{$yd_data[num].cname}>]<{/if}> <{else}> <{$yd_data[num].title}> <{/if}> <{if $yd_data[num].openarea <> 0}><{/if}>
<{if $yd_param.mode=="friends"}> by <{$yd_data[num].uname}> <{/if}> <{if $yd_data[num].cname|count_characters>0}> <{$smarty.const._MD_CATEGORY}>  [<{$yd_data[num].cname}>] <{/if}>
<{$yd_data[num].diary}>
<{if $yd_data[num].photo.0.pname|count_characters>0}>
<{foreach from=$yd_data[num].photo key="num2" item="photo" name="list"}> <{if $num2<2}> <{if $yd_data[num].photo|@count==1}>
<{elseif $num2==0}>
<{else}>
<{/if}>
<{/if}> <{/foreach}>
<{* div style="clear:right" *}>
<{/if}>

<{if $yd_data[num].other<=0}> <{if $mod_config.comment_dirname}> <{d3comment mode="count" var="comcount" mydirname=$mydirname id=$yd_data[num].bid class="d3diaryD3commentContent"}> <{if $comcount}> <{$smarty.const._MD_EXIST_COMMENTS}> (<{$comcount}>) | <{/if}> <{else}> <{$smarty.const._MD_EXIST_COMMENTS}> <{$yd_data[num].comment_num}> | <{/if}> <{$smarty.const._MD_DIARY_READDESC}> <{if $yd_editperm==1}> | <{$smarty.const._MD_T_EDIT}>  <{/if}> <{if $yd_param.mode=="category" && $yd_editperm==1}> | <{/if}> <{else}>  <{/if}>
<{/if}> <{/section}> <{else}> <{if $yd_param.mode=="all"}> <{$smarty.const._MD_NODIARY}> <{else}> <{$smarty.const._MD_NOENTRY}> <{/if}> <{/if}> <{if $yd_param.mode=="category" && $yd_editperm==1}>
<{$smarty.const._MD_DIARY_SWAPCAT}>  | <{$smarty.const._MD_DIARY_SWAPTO}> <{$smarty.const._MD_DIARY_CHKALL}>
<{/if}> <{$lang_datanum}>
<{$lang_pagelist}>
<{* /div *}>
<{if $yd_layout=="left"}>
<{else}>
<{/if}> <{include file="db:`$mydirname`_rightarea.html"}>
<{include file='db:system_notification_select.html'}>