{$yd_uname}><{$smarty.const._MD_DIARY_PERSON}>
<{if $preview}>
<{$smarty.const._MD_PREVIEW}>
<{$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_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}>
<{$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_NOCNAME}>
<{section name=num loop=$catopt}> <{if $catopt[num].cid <= 10000}>
selected<{/if}> value="<{$catopt[num].cid}>"><{$catopt[num].cname}><{if $catopt[num].dohtml=="1"}> HTML<{/if}>
<{/if}> <{/section}> <{section name=num loop=$catopt}> <{if $catopt[num].cid > 10000}>
selected<{/if}> value="<{$catopt[num].cid}>"><{$catopt[num].cname}><{if $catopt[num].dohtml=="1"}> HTML<{/if}>
<{/if}> <{/section}>
selected<{/if}> value="-1"><{$smarty.const._MD_CATEGORY_ADD}>
<{if $yd_use_open_entry}>
<{$smarty.const._MD_CONF_OPENAREA}>
selected<{/if}> value="0"><{$smarty.const._MD_CONF2_FOLLOW}>
<{if $yd_openarea==0}>
selected<{/if}> value="1"><{$smarty.const._MD_CONF2_1OLOSE}>
<{/if}> <{if $yd_use_friend>=1 && $yd_openarea<=1}>
selected<{/if}> value="3"><{$smarty.const._MD_CONF2_3FRIEND2}>
<{/if}> <{if $yd_use_friend>=1 && ($yd_openarea<=1 || $yd_openarea==3)}>
selected<{/if}> value="2"><{$smarty.const._MD_CONF2_2FRIEND}>
<{/if}> <{if $yd_openarea<=3}>
selected<{/if}> value="100"><{$smarty.const._MD_CONF2_100HIDE}>
<{/if}>
<{if $yd_data.openarea==100}>
<{$smarty.const._MD_DIARY_UPDATE_TIME}><{/if}> <{if $yd_data.openarea <> 0}>
<{/if}>
<{/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}>
<{$yd_data.diary4edit}>
<{$smilylist}> <{/if}>
<{$smarty.const._MD_YT_URL}>
<{if $allow_html}>
<{$smarty.const._MD_DO_HTML}>
checked<{/if}> />
<{else}>
<{/if}> <{if $mod_config.use_tag>0}>
<{$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}>
<{/if}> <{foreach from=$yd_photo key="num" item="photo" name="list"}>
<{$smarty.const._MD_PHOTO}><{$num+1}>
<{$smarty.const._MD_T_DEL}>
<{/foreach}>
<{$smarty.const._MD_PHOTO_SELECT}>(gif/jpeg)
MAX<{$yd_photo_maxpics}><{$smarty.const._MD_PHOTO_SHRINK}>
[<{$smarty.const._MD_PHOTO_ADD}>]
<{if $mod_config.use_updateping}>
<{$smarty.const._MD_DIARY_UPDATE_PING}>
<{else}>
<{/if}>
<{$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}>