({if $mbcode == "1"})
    ({if $width >= "220"})
        ({ext_include file="new_templates/h_home.tpl"})
    ({/if})
({elseif $mbcode == "2"})
    ({if $width >= "220"})
        ({ext_include file="new_templates/h_home.tpl"})
    ({/if})
({else})

({$inc_ktai_header|smarty:nodefaults})

<center><font color="orange">({$c_member.nickname|t_body:'name'})さんのﾎｰﾑ</font></center>
<hr>
({if $birthday_flag})
☆Happy Birthday☆<br>
お誕生日おめでとうございます
<hr>
({/if})

({if $c_siteadmin})
({$c_siteadmin|smarty:nodefaults})
<hr>
({/if})

({if $num_f_confirm_list})
<a href="({t_url m=ktai a=page_h_confirm_list})&amp;({$tail})"><font color="red">★承認待ちのﾒﾝﾊﾞｰ({$num_f_confirm_list})名</font></a><br>
({/if})

({if $num_message_not_is_read})
<a href="({t_url m=ktai a=page_h_message_box})&amp;({$tail})"><font color="red">★新着ﾒｯｾｰｼﾞ({$num_message_not_is_read})件</font></a></font><br>
({/if})

({if $num_diary_not_is_read})
<a href="({t_url m=ktai a=page_fh_diary})&amp;target_c_diary_id=({$first_diary_read})&amp;({$tail})"><font color="red">★({$num_diary_not_is_read})件日記に新着ｺﾒﾝﾄ</font></a><br>
({/if})

({if $num_h_confirm_list })
<a href="({t_url m=ktai a=page_h_confirm_list})&amp;({$tail})"><font color="red">★ｺﾐｭﾆﾃｨ参加承認待ち({$num_h_confirm_list})名</font></a><br>
({/if})

({if $anatani_c_commu_admin_confirm_list})
<a href="({t_url m=ktai a=page_h_confirm_list})&amp;({$tail})"><font color="red">★ｺﾐｭﾆﾃｨ管理人交代依頼({$num_anatani_c_commu_admin_confirm_list})件</font></a><br>
({/if})

({if $anatani_c_commu_admin_confirm_list||$num_f_confirm_list||$num_message_not_is_read||$num_diary_not_is_read||$num_h_confirm_list||$anatani_c_commu_admin_confirm_list})
<br>
({/if})

◆<a href="({t_url m=ktai a=page_h_message_box})&amp;({$tail})">ﾒｯｾｰｼﾞBOX</a><br>
◆<a href="({t_url m=ktai a=page_h_ashiato})&amp;({$tail})">あしあと</a><br>
◆<a href="({t_url m=ktai a=page_h_confirm_list})&amp;({$tail})">承認待ちリスト</a><br>
◆<a href="({t_url m=ktai a=page_fh_diary_list})&amp;({$tail})">my日記</a><br>
<a href="({t_url m=ktai a=page_h_diary_edit})&amp;({$tail})">→日記を書く</a><br>
◆<a href="({t_url m=ktai a=page_h_diary_list_all})&amp;({$tail})">最新日記</a><br>
◆<a href="({t_url m=ktai a=page_h_bookmark_list})&amp;({$tail})">お気に入り</a><br>
◆<a href="({t_url m=ktai a=page_h_ranking})&amp;({$tail})">ランキング</a><br>
◆<a href="({t_url m=ktai a=page_fh_intro})&amp;({$tail})">紹介文</a><br>
◇<a href="({t_url m=ktai a=page_fh_dengon})&amp;target_c_member_id_to=({$c_member.c_member_id})&amp;({$tail})">伝言板へ</a><br>
<br>

({if $c_diary_friend_list})
<font color="green">[({$WORD_FRIEND_HALF})最新日記]</font><br>
({foreach from=$c_diary_friend_list item=item})
({$item.r_date|date_format:"%m/%d"})(({$item.nickname|t_truncate:20:""|t_body:'name'}))<br>
<a href="({t_url m=ktai a=page_fh_diary})&amp;target_c_diary_id=({$item.c_diary_id})&amp;({$tail})">({$item.subject|t_truncate:20:".."|t_body:'title'})</a>
<div align="right"><font size="1" color="blue">(ｺﾒﾝﾄ:({$item.comment_count})|閲覧:({$item.etsuran_count}))</font></div>({if $item.image_filename_1 || $item.image_filename_2 || $item.image_filename_3})({/if})<br>
({/foreach})
<a href="({t_url m=ktai a=page_h_diary_list_friend})&amp;({$tail})">→もっと見る</a><br>

<br>
({/if})

({if $c_diary_my_comment_list})
<font color="green">[日記ｺﾒﾝﾄ記入履歴]</font><br>
({foreach from=$c_diary_my_comment_list item=item})
({$item.r_datetime|date_format:"%m/%d"})(({$item.nickname|t_truncate:20:""|t_body:'name'}))<br>
<a href="({t_url m=ktai a=page_fh_diary})&amp;target_c_diary_id=({$item.c_diary_id})&amp;({$tail})">({$item.subject|t_truncate:20:".."|t_body:'title'})</a><div align="right"><font size="1" color="blue">(ｺﾒﾝﾄ:({$item.comment_count})|閲覧:({$item.etsuran_count}))</font></div>({if $item.image_filename_1 || $item.image_filename_2 || $item.image_filename_3})({/if})<br>
({/foreach})
<a href="({t_url m=ktai a=page_h_diary_comment_list})&amp;({$tail})">→もっと見る</a><br>
<br>
({/if})

({if $c_commu_topic_list})
<font color="green">[ｺﾐｭﾆﾃｨ最新書き込み]</font><br>
({foreach from=$c_commu_topic_list item=item})
({$item.r_datetime|date_format:"%m/%d"})(({$item.c_commu_name|t_truncate:20:""|t_body:'name'}))<br>
<a href="({t_url m=ktai a=page_c_bbs})&amp;target_c_commu_topic_id=({$item.c_commu_topic_id})&amp;({$tail})">({$item.c_commu_topic_name|t_truncate:20:".."|t_body:'name'})</a>(({$item.number}))({if $item.image_filename})({/if})<br>
({/foreach})
<a href="({t_url m=ktai a=page_h_com_comment_list})&amp;({$tail})">→もっと見る</a><br>
<br>
({/if})

<font color="green">[参加ｺﾐｭﾆﾃｨ({if $count_commu})(({$count_commu}))({/if})]</font><br>
({if $c_commu_list})
({foreach from=$c_commu_list item=commu})
<a href="({t_url m=ktai a=page_c_home})&amp;target_c_commu_id=({$commu.c_commu_id})&amp;({$tail})">({$commu.name|t_body:'name'})</a>(({$commu.count_members}))<br>
({/foreach})
<a href="({t_url m=ktai a=page_fh_com_list})&amp;({$tail})">→もっと見る</a><br>
({else})
参加していません<br>
({/if})
<br>
<a href="({t_url m=ktai a=page_h_com_find_all})&amp;({$tail})">→ｺﾐｭﾆﾃｨ検索</a><br>
<br>
({if $c_friend_list})
<font color="green">[({$WORD_MY_FRIEND_HALF})ﾘｽﾄ]</font><br>
({foreach from=$c_friend_list item=friend})
<a href="({t_url m=ktai a=page_f_home})&amp;target_c_member_id=({$friend.c_member_id_to})&amp;({$tail})">({$friend.nickname|t_body:'name'})</a>（({$friend.count_friend})）<br>
({/foreach})
<a href="({t_url m=ktai a=page_fh_friend_list})&amp;({$tail})">→もっと見る</a><br>
<a href="({t_url m=ktai a=page_h_manage_friend})&amp;({$tail})">→({$WORD_MY_FRIEND_HALF})管理</a><br>
({/if})
<br>
<a href="({t_url m=ktai a=page_h_friend_find_all})&amp;({$tail})">ﾒﾝﾊﾞｰ検索</a><br>
<hr>
({if $smarty.const.IS_USER_INVITE && ($smarty.const.OPENPNE_REGIST_FROM != $smarty.const.OPENPNE_REGIST_FROM_NONE)})
<a href="({t_url m=ktai a=page_h_invite})&amp;({$tail})">友人を招待</a><br>
<br>
({/if})
<a href="({t_url m=ktai a=page_h_config_prof})&amp;({$tail})">ﾌﾟﾛﾌｨｰﾙ変更</a><br>
<a href="({t_url m=ktai a=page_h_config_image})&amp;({$tail})">ﾌﾟﾛﾌｨｰﾙ写真変更</a><br>
<a href="({t_url m=ktai a=page_h_config})&amp;({$tail})">設定変更</a><br>
<br>

<a href="({t_url m=ktai a=page_o_sns_kiyaku})">利用規約</a><br>
<a href="({t_url m=ktai a=page_o_sns_privacy})">ﾌﾟﾗｲﾊﾞｼｰﾎﾟﾘｼｰ</a><br>

({$inc_ktai_footer|smarty:nodefaults})
({/if})
