({$inc_html_header|smarty:nodefaults})
<body>
({ext_include file="inc_extension_pagelayout_top.tpl"})
<table class="mainframe" border="0" cellspacing="0" cellpadding="0">
    <tr>
        <td class="container inc_page_header">
        ({$inc_page_header|smarty:nodefaults})
        </td>
    </tr>
    ({if $inc_entry_point[1]})
    <tr>
        <td class="container">
        ({$inc_entry_point[1]|smarty:nodefaults})
        </td>
    </tr>
    ({/if})
    <tr>
        <td class="container inc_navi">
        ({$inc_navi|smarty:nodefaults})
        </td>
    </tr>
    ({if $inc_entry_point[2]})
    <tr>
        <td class="container">
        ({$inc_entry_point[2]|smarty:nodefaults})
        </td>
    </tr>
    ({/if})
    ({if $smarty.const.DISPLAY_SEARCH_HOME})
    <tr>
        <td class="container inc_search_box">
        ({ext_include file="inc_search_box.tpl"})
        </td>
    </tr>
    ({/if})
    ({if $birthday_flag})
    <tr>
        <td class="container" align="center">
        <div class="padding_s">
        <img src="({t_img_url_skin filename=birthday_h})">
        </div>
        </td>
    </tr>
    ({/if})
    <tr>
        <td class="container inc_info">
        ({ext_include file="inc_info.tpl"})
        </td>
    </tr>
    ({if $inc_entry_point[3]})
    <tr>
        <td class="container">
        ({$inc_entry_point[3]|smarty:nodefaults})
        </td>
    </tr>
    ({/if})
    <tr>
        <td class="container main_content">
        <table class="container" border="0" cellspacing="0" cellpadding="0">({*BEGIN:container*})
            <tr>
                <td style="width:5px;"><img src="./skin/dummy.gif" style="width:5px;" class="dummy"></td>({*<--spacer*})
                <td class="left_content" valign="top">
({********************************})
({**ここから：メインコンテンツ（左）**})
({********************************})

                ({if $inc_entry_point[4]})
                    ({$inc_entry_point[4]|smarty:nodefaults})
                ({/if})

                ({*自分のプロフィール写真などを取得、表示*})
                ({ext_include file="new_templates/my_prof_img.tpl"})
                ({*自分のプロフィール写真などを取得、表示  ここまで*})
                <img src="./skin/dummy.gif" class="v_spacer_m">

                ({if $inc_entry_point[5]})
                ({$inc_entry_point[5]|smarty:nodefaults})
                ({/if})

                ({ext_include file="new_templates/my_friend_list.tpl"})

                ({if $inc_entry_point[6]})
                ({$inc_entry_point[6]|smarty:nodefaults})
                ({/if})

                ({ext_include file="new_templates/my_commu_entry_list.tpl"})

                ({ext_include file="new_templates/bookmark_member_list.tpl"})

        <img src="./skin/dummy.gif" class="v_spacer_m">
        ({if $inc_entry_point[7]})
            ({$inc_entry_point[7]|smarty:nodefaults})
        ({/if})

({********************************})
({**ここまで：メインコンテンツ（左）**})
({********************************})
        </td>
        <td style="width:5px;"><img src="./skin/dummy.gif" style="width:5px;" class="dummy"></td>({*<--spacer*})
        <td class="right_content" valign="top">
({********************************})
({**ここから：メインコンテンツ（右）**})
({********************************})

        ({if $inc_entry_point[8]})
            ({$inc_entry_point[8]|smarty:nodefaults})
        ({/if})

        ({if $calendar})
<!-- ***************************** -->
<!-- ******ここから：週間予定****** -->
            ({t_form m=pc a=do_h_home_insert_c_schedule})
            <input type="hidden" name="sessid" value="({$PHPSESSID})">
            <input type="hidden" name="w" value="({$w})">

            <table border="0" cellspacing="0" cellpadding="0" style="width:440px;margin:0px auto;" class="border_07">
                <tr>
                    <td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
                    <td style="width:424px;" class="bg_00"><img src="./skin/dummy.gif" style="width:424px;height:7px;" class="dummy"></td>
                    <td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
                </tr>
                <tr>
                    <td class="bg_00"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
                    <td class="bg_01" style="width:424px;">
<!-- ここから：主内容＞＞カレンダー -->
                        ({if $msg})
                        <div class="border_01 bg_02">
                            <div class="padding_s" align="left">
                            <span class="caution">({$msg})</span>
                            </div>
                        </div>
                        ({/if})
                        <div class="border_01 bg_02 padding_s" align="left">
                        予定 <input type="text" name="title" value="" size="24">
                        <select name="start_date">
                        ({foreach from=$calendar item=item})
                            <option value="({$item.year})-({$item.month})-({$item.day})"({if $item.now}) selected="selected"({/if})>({$item.month})/({$item.day})(({$item.dayofweek}))</option>
                        ({/foreach})
                        </select>
                        <input type="submit" class="submit" value="追加">
                        &nbsp;
                        <a href="({t_url m=pc a=page_h_home})&amp;w=({$w-1})" title="前の週">＜</a>
                        <a href="({t_url m=pc a=page_h_home})" title="今週">■</a>
                        <a href="({t_url m=pc a=page_h_home})&amp;w=({$w+1})" title="次の週">＞</a>
                        </div>
                        <table border="0" cellspacing="0" cellpadding="0" style="width:424px;">
                            <tr>
                            ({foreach from=$calendar item=item name=calendar})
                                <td style="width:({if $smarty.foreach.calendar.last})64({else})60({/if})px;({if !$smarty.foreach.calendar.last})border-right:none;({/if})" align="left" valign="top" class="border_01 bg_0({if $item.now})9({else})2({/if})({if $item.dayofweek == "日"}) c_02({elseif $item.dayofweek == "土"}) c_03({/if}) padding_s">
                                ({if $item.now})<span class="b_b">({/if})
                                ({if $smarty.foreach.calendar.first || $item.day == 1})
                                ({$item.month})/({/if})
                                ({$item.day})<br>
                                (({$item.dayofweek}))<br>
                                ({if $item.now})</span>({/if})
                                <div>
                                ({* 誕生日 *})
                                ({foreach from=$item.birth item=item_birth})
                                    <img src="({t_img_url_skin filename=icon_birthday})" class="icon"><a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item_birth.c_member_id})">({$item_birth.nickname|t_body:'name'})さん</a><br>
                                ({/foreach})
                                ({* イベント *})
                                ({foreach from=$item.event item=item_event})
                                    <img src="({if $item_event.is_join})({t_img_url_skin filename=icon_event_R})({else})({t_img_url_skin filename=icon_event_B})({/if})" class="icon"><a href="({t_url m=pc a=page_c_event_detail})&amp;target_c_commu_topic_id=({$item_event.c_commu_topic_id})">({$item_event.name|t_truncate:20:".."|t_body:'name'})</a><br>
                                ({/foreach})
                                ({* スケジュール *})
                                ({foreach from=$item.schedule item=item_schedule})
                                    <img src="({t_img_url_skin filename=icon_pen})" class="icon"><a href="({t_url m=pc a=page_h_schedule})&amp;target_c_schedule_id=({$item_schedule.c_schedule_id})">({$item_schedule.title|t_body:'title'})</a><br>
                                ({/foreach})
                                </div>
                                </td>
                            ({/foreach})
                            </tr>
                        </table>

                        <div style="text-align:right;padding-right:20px;" class="border_01 bg_02 padding_s">
                        <img src="./skin/dummy.gif" class="icon arrow_1">
                        <a href="({t_url m=pc a=page_h_calendar})">月別カレンダー</a>
                        </div>

<!-- ここまで：主内容＞＞カレンダー -->
                        </td>
                        <td class="bg_00"><img src="./skin/dummy.gif"></td>
                    </tr>
                    <tr>
                        <td class="bg_00"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
                        <td class="bg_00"><img src="./skin/dummy.gif" style="width:424px;height:7px;" class="dummy"></td>
                        <td class="bg_00"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
                    </tr>
                </table>

                </form>
<!-- ******ここまで：週間予定****** -->
<!-- ***************************** -->

                <img src="./skin/dummy.gif" class="v_spacer_m">

            ({/if})

            ({if $inc_entry_point[9]})
                ({$inc_entry_point[9]|smarty:nodefaults})
            ({/if})

            ({**伝言板**})
            ({ext_include file="new_templates/dengon_list.tpl"})
            
            <script type="text/javascript" src="js/javascripts/scriptaculous/scriptaculous.js?load=effects,dragdrop"></script>
            
            <div id="rightpane" style="width:440px;">

            ({**フレンド最新日記**})
            <div id="dv1" style="display:none;">({if $c_diary_friend_list})({ext_include file="new_templates/friend_diary_list.tpl"})({/if})</div>
            ({**フレンド最新ブログ**})
            <div id="dv2" style="display:none;">({if $c_rss_cache_list})({ext_include file="new_templates/friend_blog_list.tpl"})({/if})</div>
            ({**日記コメント履歴**})
            <div id="dv3" style="display:none;">({if $c_diary_my_comment_list})({ext_include file="new_templates/diary_comment_list.tpl"})({/if})</div>
            ({**参加コミュニティ最新書き込み**})
            <div id="dv4" style="display:none;">({if $c_commu_topic_comment_list})({ext_include file="new_templates/my_commu_new_list.tpl"})({/if})</div>
            ({**フレンド最新レビュー**})
            <div id="dv5" style="display:none;">({if $c_friend_review_list})({ext_include file="new_templates/friend_new_review_list.tpl"})({/if})</div>
            ({**お気に入り最新日記**})
            <div id="dv6" style="display:none;">({if $bookmark_diary_list})({ext_include file="new_templates/bookmark_diary_list.tpl"})({/if})</div>
            ({**お気に入り最新ブログ**})
            <div id="dv7" style="display:none;">({if $bookmark_blog_list})({ext_include file="new_templates/bookmark_blog_list.tpl"})({/if})</div>
            ({**自己情報一覧**})
            <div id="dv8" style="display:none;">({if $c_diary_list || $c_blog_list || $c_review_list})({ext_include file="new_templates/my_diary_etc_list.tpl"})({/if})</div>
            </div>
            <script type="text/javascript" src="js/javascripts/pane.js"></script>
            
            ({if $inc_entry_point[10]})
                ({$inc_entry_point[10]|smarty:nodefaults})
            ({/if})

            ({if $inc_entry_point[11]})
                ({$inc_entry_point[11]|smarty:nodefaults})
            ({/if})

            ({if $c_friend_intro_list})
<!-- ******************************** -->
<!-- ******ここから：他者評価一覧****** -->
            <table border="0" cellspacing="0" cellpadding="0" style="width:440px;margin:0px auto;" class="border_07">
                <tr>
                    <td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
                    <td style="width:424px;" class="bg_00"><img src="./skin/dummy.gif" style="width:424px;height:7px;" class="dummy"></td>
                    <td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
                </tr>
                <tr>
                    <td class="bg_00"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
                    <td class="bg_01" align="center">
<!-- *ここから：他者評価一覧＞＞内容* -->
({*ここから：header*})
<!-- 小タイトル -->
                    <div class="border_01">
                    <table border="0" cellspacing="0" cellpadding="0" style="width:422px;">
                        <tr>
                            <td style="width:36px;" class="bg_06"><img src="({t_img_url_skin filename=content_header_1})" style="width:30px;height:20px;" class="dummy"></td>
                            <td style="width:386px;" class="bg_06"><span class="b_b">({$WORD_MY_FRIEND})からの紹介文</span></td>
                        </tr>
                    </table>
                    </div>
({*ここまで：header*})
({*ここから：body*})
<!-- 主内容 -->
                    <table border="0" cellspacing="0" cellpadding="0" style="width:424px;">
                        <tr>
                            <td style="width:1px;" class="bg_01"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
                            <td class="bg_01">
                            <table border="0" cellspacing="0" cellpadding="0" style="width:422px;">
                            ({foreach from=$c_friend_intro_list item=item})
                                <tr>
                                    <td style="width:124px;border-right:none;border-top:none;" class="bg_03 border_01 padding_l" align="center">
                                        <a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">
                                        <img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image_small})" border="0"><br>({$item.nickname|t_body:'name'})</a>
                                    </td>
                                    <td style="width:298px;border-right:none;border-top:none;" class="bg_02 border_01 padding_l">
                                    ({$item.intro|t_truncate:"200"|t_body:'introduce'})
                                    </td>
                                </tr>
                            ({/foreach})
                            </table>
({*ここまで：body*})
({*ここから：footer*})
<!-- 小メニュー -->
                            <table border="0" cellspacing="0" cellpadding="0" style="width:422px;">
                                <tr>
                                    <td style="width:1px;" class="bg_04"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
                                        <td style="width:290px;" class="bg_02"><span class="bg_02" style="width:290px;"><img src="./skin/dummy.gif" style="width:290px;height:1px;" class="dummy"></span></td>
                                        <td style="width:130px;" class="bg_02 lh_140 padding_s">
                                            <img src="./skin/dummy.gif" class="icon arrow_1">
                                            <a href="({t_url m=pc a=page_fh_intro})">全て見る</a>
                                            <br>
                                            <img src="./skin/dummy.gif" class="icon arrow_1">
                                            <a href="({t_url m=pc a=page_h_manage_friend})">紹介文を書く</a>                                       </td>
                                        <td style="width:1px;" class="bg_04"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
                              </tr>
                                    <tr>
                                        <td style="width:1px;height:1px;" class="bg_04" colspan="4"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
                                    </tr>
                                </table>
({*ここまで：footer*})
                          </td>
                                <td style="width:1px;" class="bg_01"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
                            </tr>
                            <tr>
                                <td class="bg_01" colspan="3"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
                            </tr>
                        </table>
<!-- *ここまで：他者評価一覧＞＞内容* -->
                        </td>
                        <td class="bg_00"><img src="./skin/dummy.gif"></td>
                    </tr>
                    <tr>
                        <td class="bg_00"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
                        <td class="bg_00"><img src="./skin/dummy.gif" style="width:424px;height:7px;" class="dummy"></td>
                        <td class="bg_00"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
                    </tr>
                </table>
<!-- ******ここまで：他者評価一覧****** -->
<!-- ******************************** -->

                <img src="./skin/dummy.gif" class="v_spacer_m">
            ({/if})

            ({if $inc_entry_point[12]})
                ({$inc_entry_point[12]|smarty:nodefaults})
            ({/if})

({********************************})
({**ここまで：メインコンテンツ（右）**})
({********************************})
            </td>
        </tr>
    </table>({*END:container*})
    </td>
</tr>
<tr>
    <td class="container inc_page_footer">
        ({$inc_page_footer|smarty:nodefaults})
    </td>
</tr>
</table>
({ext_include file="inc_extension_pagelayout_bottom.tpl"})
</body>
</html>
