<{$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}>
*}>
<{if $mod_config.photo_useinfo==1 && $photo.info}>
<{$photo.info}>
<{/if}>
<{* <{if $num==2 || $num==5 }>
<{/if}> *}>
<{* <{if $num==1 || $num==3 || $num==5 || $num==7 }>
<{/if}> *}>
<{/foreach}>
<{/if}>
<{if $mod_config.comment_dirname}>
<{d3comment mydirname=$mydirname id=$yd_data.bid subject=$yd_data.title class="d3diaryD3commentContent" posts_num=$mod_config.comment_posts_num}>
<{else}>
<{if $mod_config.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}>