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

<{if $preview}>

<{$smarty.const._MD_PREVIEW}>

<{$yd_data.title}>
<{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}>
<{/if}>
<{$smarty.const._MD_DIARY_EDIT}>
<{if $yd_data.error|count_characters > 0}> <{$smarty.const._MD_INPUT_ERR}>
<{$yd_data.error}>


<{/if}>
<{if $yd_use_open_entry}> <{/if}> <{if $allow_html}> <{else}> <{/if}> <{if $mod_config.use_tag>0}> <{/if}> <{foreach from=$yd_photo key="num" item="photo" name="list"}> <{/foreach}> <{if $mod_config.use_updateping}> <{else}> <{/if}>
<{$smarty.const._MD_DIARY_TITLE}> <{if $yd_data.bid>0}> <{$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}><{/if}>
<{$smarty.const._MD_CATEGORY}>
<{$smarty.const._MD_CONF_OPENAREA}>  <{if $yd_data.openarea==100}><{$smarty.const._MD_DIARY_UPDATE_TIME}><{/if}> <{if $yd_data.openarea <> 0}><{/if}>
<{$smarty.const._MD_DIARY_TEXT}> <{if $mod_config.body_htmleditor=="common_fckeditor"}> <{/if}> <{if $mod_config.body_editor=="xoopsdhtml"}> <{xoopsdhtmltarea name='diary' id='diary' cols=70 rows=15 value=$yd_data.diary4edit}> <{else}>
<{$smilylist}> <{/if}>
<{$smarty.const._MD_YT_URL}>
<{$smarty.const._MD_DO_HTML}> checked<{/if}> />
<{$smarty.const._MD_TAG}> <{$smarty.const._MD_TAG_DESC}>

<{$smarty.const._MD_LANG_MY_TAGS}> <{foreach from=$myTagArr item=mytag}> <{$mytag}> <{/foreach}> <{if $allowUseredit!="0"}>
<{$smarty.const._MD_LANG_POPULAR_TAGS}> <{foreach from=$popTagArr item=poptag}> <{$poptag}> <{/foreach}> <{/if}>
<{$smarty.const._MD_PHOTO}><{$num+1}>
<{$smarty.const._MD_T_DEL}>

MAX<{$yd_photo_maxpics}><{$smarty.const._MD_PHOTO_SHRINK}>
<{$smarty.const._MD_DIARY_UPDATE_PING}>
<{$smarty.const._MD_PHOTO_MAXSIZE}><{$yd_photo_maxsize}>KB
<{if $yd_useresize > 0}> <{$smarty.const._MD_PHOTO_SHRINK2}>
<{/if}>


<{if $yd_data.bid>0}>
<{$smarty.const._MD_DIARY_DEL}>
<{$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_DIARY_TITLE}> <{$yd_data.title}>
<{$smarty.const._MD_DIARY_DELDEC}>
<{/if}>