{$yd_uname}><{$smarty.const._MD_DIARY_PERSON}>
<{if $preview}>
<{$smarty.const._MD_PREVIEW}>
<{$yd_data.year}><{* $smarty.const._MD_DATE_YEAR *}>
<{$yd_data.b_month}><{ *$smarty.const._MD_DATE_MONTH *}>
<{$yd_data.day}><{* $smarty.const._MD_DATE_DAY *}>
(<{$yd_data.week}>)
<{* div class="itemFoot">
<{$yd_data.time}><{* /span>
<{$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_CATEGORY}>
<{$yd_data.cname}>
<{if $mod_config.use_tag>0}>
<{$smarty.const._MD_TAG}> <{foreach from=$bTagArr item=tags}>
<{$tags.tag}>
<{/foreach}> <{/if}>
<{$smarty.const._MD_DIARY_TEXT}>
<{$yd_data.diary}>
<{if $yd_photo.0.pid|count_characters>0}>
<{foreach from=$yd_photo key="num" item="photo" name="list"}> <{if $yd_photo|@count==1}>
<{elseif ($yd_photo|@count==2)&&$num==1}>
<{else}>
<{/if}> <{*
<{$smarty.const._MD_PHOTO}><{$num+1}>
*}>
<{/foreach}>
<{/if}>
<{if $yd_editperm==1}>
<{$smarty.const._MD_T_EDIT}>
<{/if}>
<{/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=50 rows=15 value=$yd_data.diary4edit}> <{else}>
<{$yd_data.diary4edit}>
<{$smilylist}> <{/if}>
<{$smarty.const._MD_YT_URL}>
<{$smarty.const._MD_DIARY_OPTION}>
<{if $allow_html}>
checked<{/if}> /> <{$smarty.const._MD_DO_HTML}>
<{else}>
<{/if}> <{if $allow_regdate}>
checked<{/if}>/> <{$smarty.const._MD_DIARY_REG_TIME}> <{html_select_date time=$yd_data.create_time_unformat start_year="-1" end_year="+2" month_format="%m" day_format="%d" field_order="YMD" field_array="published"}> <{html_select_time time=$yd_data.create_time_unformat minute_interval="10" display_seconds=false field_array="published"}>
<{else}>
<{/if}> <{if $mod_config.use_updateping}>
<{$smarty.const._MD_DIARY_UPDATE_PING}>
<{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}>]
<{$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}>