ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 6734


Ignore:
Timestamp:
Apr 26, 2008, 12:52:37 PM (12 years ago)
Author:
ogawa
Message:

#2186:BIZの週間カレンダーをweeklyCalendarTableを使って書きなおした。再度BIZ用に修正する予定。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp_biz/modules/biz/templates/inc_biz_schedule_week.tpl

    r6617 r6734  
    1 ({* unknown *})({if $head})<!-- HEADER_BEGIN -->
    2 ({* unknown *})<img src="./skin/dummy.gif" alt="dummy" class="v_spacer_m" />
    3 ({* unknown *})
    4 ({* unknown *})<!-- ***************************** -->
    5 ({* unknown *})<!-- ******ここから:週間予定****** -->
    6 ({* unknown *})<table border="0" cellspacing="0" cellpadding="0" style="width:720px;">
    7 ({* unknown *})<tr>
    8 ({* unknown *})<td style="width:5px;"><img src="./skin/dummy.gif" alt="dummy" style="width:5px;height:7px;" class="dummy" /></td>
    9 ({* unknown *})<td style="width:713px;" class="bg_02">
    10 ({* unknown *})
    11 ({* unknown *})<table border="0" cellspacing="0" cellpadding="0" style="width:713px;margin:0px;" class="border_07">
    12 ({* unknown *})<tr>
    13 ({* unknown *})<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square" /></td>
    14 ({* unknown *})<td style="width:699px;" class="bg_00"><img src="./skin/dummy.gif" alt="dummy" style="width:699px;height:7px;" class="dummy" /></td>
    15 ({* unknown *})<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square" /></td>
    16 ({* unknown *})</tr>
    17 ({* unknown *})<tr>
    18 ({* unknown *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square" /></td>
    19 ({* unknown *})<td class="bg_02">
    20 ({* unknown *})<!-- ここから:主内容 -->
    21 ({* unknown *})
    22 ({* unknown *})({if $msg})
    23 ({* unknown *})<div class="border_01 bg_02">
    24 ({* unknown *})
    25 ({* unknown *})<div class="padding_s" align="left">
    26 ({* unknown *})<span class="caution">({$msg})</span>
    27 ({* unknown *})</div>
    28 ({* unknown *})
    29 ({* unknown *})</div>
    30 ({* unknown *})({/if})
    31 ({* unknown *})
    32 ({* unknown *})({if $cmd == "g"})
    33 ({* unknown *})({t_form_block m=biz a=do_g_home_add_biz_schedule})
    34 ({* unknown *})<input type="hidden" name="target_id" value="({$target_id})" />
    35 ({* unknown *})
    36 ({* unknown *})<table border="0" cellspacing="0" cellpadding="0" style="width:699px;">
    37 ({* unknown *})<tr>
    38 ({* unknown *})<td class="border_01 bg_02" align="right" style="width:130px;border-right:none;"><img src="./skin/dummy.gif" alt="dummy" style="width:129px;height:10px;" class="dummy" /></td>
    39 ({* unknown *})<td class="border_01 bg_02 padding_ss" align="left" style="width:100px;border-right:none;">
    40 ({* unknown *})
    41 ({* unknown *})<a href="({t_url m=biz a=page_fh_biz_schedule_add})&amp;target_biz_group_id=({$target_id})">新規予定登録</a>
    42 ({* unknown *})
    43 ({* unknown *})</td>
    44 ({* unknown *})<td class="border_01 bg_02 padding_ss" style="border-left:none;" align="right">
    45 ({* unknown *})
    46 ({* unknown *})予定:
    47 ({* unknown *})<input type="text" class="text" name="title" value="" size="30" />
    48 ({* unknown *})<select name="start_date">
    49 ({* unknown *})({foreach from=$daylist item=item})
    50 ({* unknown *})<option value="({$item.year})-({$item.month})-({$item.day})"({if $item.now}) selected="selected"({/if})>({$item.month})/({$item.day})(({$item.dayofweek}))</option>
    51 ({* unknown *})({/foreach})
    52 ({* unknown *})</select>
    53 ({* unknown *})<input type="submit" class="submit" value="追加" />
    54 ({* unknown *})
    55 ({* unknown *})&nbsp;
    56 ({* unknown *})<a href="({t_url m=biz a=page_`$cmd`_home})&amp;w=({$w-1})&amp;target_c_commu_id=({$target_id})" title="前の週"><</a>
    57 ({* unknown *})<a href="({t_url m=biz a=page_`$cmd`_home})&amp;target_c_commu_id=({$target_id})" title="今週">■</a>
    58 ({* unknown *})<a href="({t_url m=biz a=page_`$cmd`_home})&amp;w=({$w+1})&amp;target_c_commu_id=({$target_id})" title="次の週">></a>
    59 ({* unknown *})&nbsp;
    60 ({* unknown *})
    61 ({* unknown *})</td>
    62 ({* unknown *})</tr>
    63 ({* unknown *})</table>
    64 ({* unknown *})({/t_form_block})
    65 ({* unknown *})
    66 ({* unknown *})<div>
    67 ({* unknown *})({elseif $cmd == "s_list"})
    68 ({* unknown *})
    69 ({* unknown *})({t_form_block m=biz a=do_s_add_schedule})
    70 ({* unknown *})<input type="hidden" name="shisetsu_id" value="({$target_id})" />
    71 ({* unknown *})
    72 ({* unknown *})<div class="border_01">
    73 ({* unknown *})<table border="0" cellspacing="0" cellpadding="0" style="width:697px;">
    74 ({* unknown *})<tr>
    75 ({* unknown *})<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>
    76 ({* unknown *})<td style="width:666px;padding:2px 0px;" class="bg_06"><span class="b_b c_00">({$list.name})</span></td>
    77 ({* unknown *})</tr>
    78 ({* unknown *})({if $list.info})
    79 ({* unknown *})<tr>
    80 ({* unknown *})<td class="border_01 bg_02" align="left" style="width:10px;border-right:none;"><img src="./skin/dummy.gif" alt="dummy" style="width:9px;height:10px;" class="dummy" /></td>
    81 ({* unknown *})<td class="border_01 bg_02 padding_ss" style="border-left:none;" align="left">
    82 ({* unknown *})({$list.info})
    83 ({* unknown *})</td>
    84 ({* unknown *})</tr>
    85 ({* unknown *})({/if})
    86 ({* unknown *})</table>
    87 ({* unknown *})</div>
    88 ({* unknown *})
    89 ({* unknown *})<table border="0" cellspacing="0" cellpadding="0" style="width:699px;">
    90 ({* unknown *})<tr>
    91 ({* unknown *})<td class="border_01 bg_02" align="right" style="width:130px;border-right:none;"><img src="./skin/dummy.gif" alt="dummy" style="width:129px;height:10px;" class="dummy" /></td>
    92 ({* unknown *})<td class="border_01 bg_02 padding_ss" style="border-left:none;" align="right">
    93 ({* unknown *})
    94 ({* unknown *})施設予約を入れる:
    95 ({* unknown *})
    96 ({* unknown *})<select name="start_date">
    97 ({* unknown *})({foreach from=$calendar item=item})
    98 ({* unknown *})<option value="({$item.year})-({$item.month})-({$item.day})"({if $item.now}) selected="selected"({/if})>({$item.month})/({$item.day})(({$item.dayofweek}))</option>
    99 ({* unknown *})({/foreach})
    100 ({* unknown *})</select>
    101 ({* unknown *})
    102 ({* unknown *})<select name='start_time'>
    103 ({* unknown *}) <option value=''>現在時
    104 ({* unknown *}) ({section name=i loop=$hours})
    105 ({* unknown *})         <option value="({if $hours[i] < 10 })0({/if})({$hours[i]})">({$hours[i]})時
    106 ({* unknown *}) ({/section})
    107 ({* unknown *})</select>
    108 ({* unknown *})から
    109 ({* unknown *})<select name='finish_time'>
    110 ({* unknown *}) ({section name=i loop=$mins})
    111 ({* unknown *})         <option value="({$mins[i]})">({$mins[i]})分後
    112 ({* unknown *}) ({/section})
    113 ({* unknown *})</select>
    114 ({* unknown *})まで
    115 ({* unknown *})<input type="submit" class="submit" value="追加" />
    116 ({* unknown *})
    117 ({* unknown *})&nbsp;
    118 ({* unknown *})<a href="({t_url m=biz a=page_s_list})&amp;w=({$w-1})" title="前の週"><</a>
    119 ({* unknown *})<a href="({t_url m=biz a=page_s_list})" title="今週">■</a>
    120 ({* unknown *})<a href="({t_url m=biz a=page_s_list})&amp;w=({$w+1})" title="次の週">></a>
    121 ({* unknown *})&nbsp;
    122 ({* unknown *})</td>
    123 ({* unknown *})</tr>
    124 ({* unknown *})</table>
    125 ({* unknown *})({/t_form_block})
    126 ({* unknown *})
    127 ({* unknown *})({else})
    128 ({* unknown *})
    129 ({* unknown *})<div class="border_01" style="border-left:none;border-right:none;border-bottom:none;">
    130 ({* unknown *})({/if})
    131 ({* unknown *})<table border="0" cellspacing="0" cellpadding="0" style="width:699px;">
    132 ({* unknown *})({/if})  <!-- END HEAD -->
    133 ({* unknown *})
    134 ({* unknown *})
    135 ({* unknown *})({if $value})  <!-- BEGIN VALUE -->
    136 ({* unknown *})({*****})
    137 ({* unknown *})<tr>
    138 ({* unknown *})<td class="bg_05 border_01" style="width:131px;border-top:none;border-right:none;" align="center" valign="top"><img src="./skin/dummy.gif" alt="dummy" style="width:130px;height:10px;" class="dummy" /></td>
    139 ({* unknown *})({foreach from=$calendar item=item name=calendar})
    140 ({* unknown *})<td class="({if $item.now})bg_09({else})bg_05({/if}) padding_ss border_01({if $item.dayofweek == "日" || $item.holiday}) c_02({elseif $item.dayofweek == "土"}) c_03({else})({/if})" style="width:81px;border-top:none;({if !$smarty.foreach.calendar.last}) border-right:none;({/if})" align="center">
    141 ({* unknown *})
    142 ({* unknown *})({if $item.now})<span class="b_b">({/if})
    143 ({* unknown *})
    144 ({* unknown *})({if $smarty.foreach.calendar.first || $item.day == 1})
    145 ({* unknown *})({$item.month_disp})/({/if})({$item.day_disp})(({$item.dayofweek}))
    146 ({* unknown *})
    147 ({* unknown *})({if $item.now})</span>({/if})
    148 ({* unknown *})
    149 ({* unknown *})</td>
    150 ({* unknown *})({/foreach})
    151 ({* unknown *})</tr>
    152 ({* unknown *})({*****})
    153 ({* unknown *})<tr>
    154 ({* unknown *})<td class="bg_02 border_01" style="width:131px;border-top:none;border-right:none;" align="center" valign="top" rowspan="2">
    155 ({* unknown *})<img src="./skin/dummy.gif" alt="dummy" style="width:130px;height:10px;" class="dummy" />
    156 ({* unknown *})
    157 ({* unknown *})<a href="({t_url m=pc a=page_f_home})&target_c_member_id=({$member_info.c_member_id})">
    158 ({* unknown *})({if $cmd == "s_list"})
    159 ({* unknown *})<img src="({t_img_url filename=$list.image_filename w=120 h=120 noimg=no_image})" class="pict" alt="写真" style="margin:2px" /></a>
    160 ({* unknown *})({else})
    161 ({* unknown *})<img src="({t_img_url filename=$member_info.image_filename w=120 h=120 noimg=no_image})" class="pict" alt="写真" style="margin:2px" /></a>
    162 ({* unknown *})({/if})
    163 ({* unknown *})<img src="./skin/dummy.gif" alt="dummy" style="width:130px;height:10px;" class="dummy" />
    164 ({* unknown *})
    165 ({* unknown *})({if $cmd == "s_list"})
    166 ({* unknown *})({if !$is_closed_shisetsu})
    167 ({* unknown *})<input type="button" onClick="location.href='({t_url m=biz a=page_s_edit_shisetsu})&id=({$target_id})'" value="編 集" style="width:112px;" class="submit" />
    168 ({* unknown *})
    169 ({* unknown *})<img src="./skin/dummy.gif" alt="dummy" style="width:130px;height:3px;" class="dummy" />
    170 ({* unknown *})
    171 ({* unknown *})<input type="button" onClick="location.href='({t_url m=biz a=page_s_delete_shisetsu})&target_id=({$target_id})&sessid=({$PHPSESSID})'" value="削 除" style="width:112px;" class="submit" />
    172 ({* unknown *})({/if})
    173 ({* unknown *})<img src="./skin/dummy.gif" alt="dummy" class="v_spacer_s" />
    174 ({* unknown *})
    175 ({* unknown *})<img src="./skin/dummy.gif" alt="dummy" class="v_spacer_s" />
    176 ({* unknown *})
    177 ({* unknown *})({else})
    178 ({* unknown *})
    179 ({* unknown *})({if $cmd != "h"})
    180 ({* unknown *})<a href="({t_url m=pc a=page_f_home})&target_c_member_id=({$member_info.c_member_id})" class="border_01 bg_02" style="padding:4px 0;display:block;border-left:none;border-right:none;">({$member_info.nickname})</a>
    181 ({* unknown *})最終ログインは<br>({$member_info.last_login})<br>
    182 ({* unknown *})({else})
    183 ({* unknown *})<div class="border_01 bg_02" style="padding:4px 0;display:block;border-left:none;border-right:none;">
    184 ({* unknown *})
    185 ({* unknown *})({if $smarty.const.OPENPNE_IS_POINT_ADMIN || $member_info.c_member_id != 1})
    186 ({* unknown *})({if ($smarty.const.OPENPNE_DISP_RANK && $rank) || ($smarty.const.OPENPNE_DISP_POINT && $point)})
    187 ({* unknown *})({if $smarty.const.OPENPNE_DISP_RANK && $rank})
    188 ({* unknown *})<img src="({t_img_url filename=$rank.image_filename})" class="pict" alt="({$rank.name})" style="margin:2px" /><br>
    189 ({* unknown *})({/if})
    190 ({* unknown *})({if $smarty.const.OPENPNE_DISP_POINT && $point})
    191 ({* unknown *})({$point}) Point<br>
    192 ({* unknown *})({/if})
    193 ({* unknown *})<img src="./skin/dummy.gif" alt="dummy" class="v_spacer_m" />
    194 ({* unknown *})({/if})
    195 ({* unknown *})({/if})
    196 ({* unknown *})
    197 ({* unknown *})({$stateform|smarty:nodefaults})
    198 ({* unknown *})</div>
    199 ({* unknown *})({/if})
    200 ({* unknown *})
    201 ({* unknown *})({/if})
    202 ({* unknown *})<img src="./skin/dummy.gif" alt="dummy" class="v_spacer_m" />
    203 ({* unknown *})
    204 ({* unknown *})({if $cmd == "h"})
    205 ({* unknown *})<input type="button" onClick="location.href='({t_url m=pc a=page_h_config_image})'" value="写真を編集" style="width:112px;" class="submit" />
    206 ({* unknown *})
    207 ({* unknown *})<img src="./skin/dummy.gif" alt="dummy" class="v_spacer_s" />
    208 ({* unknown *})
    209 ({* unknown *})<input type="button" onClick="location.href='({t_url m=pc a=page_h_config_prof})'" value="プロフィール変更" style="width:112px;" class="submit" />
    210 ({* unknown *})
    211 ({* unknown *})<img src="./skin/dummy.gif" alt="dummy" class="v_spacer_s" />
    212 ({* unknown *})<img src="./skin/dummy.gif" alt="dummy" class="v_spacer_s" />
    213 ({* unknown *})<img src="./skin/dummy.gif" alt="dummy" class="v_spacer_s" />
    214 ({* unknown *})({/if})
    215 ({* unknown *})
    216 ({* unknown *})</td>
    217 ({* unknown *})({foreach from=$calendar item=item name=calendar})
    218 ({* unknown *})<td class="({if $item.now})bg_09({else})bg_02({/if}) border_01({if $item.dayofweek == "日" || $item.holiday}) c_02({elseif $item.dayofweek == "土"}) c_03({else})({/if})" style="width:81px;border-top:none;({if !$smarty.foreach.calendar.last}) border-right:none;({/if}) border-bottom:none;" align="left" valign="top">
    219 ({* unknown *})
    220 ({* unknown *})({* 祝日 *})
    221 ({* unknown *})<div class="padding_s">
    222 ({* unknown *})({foreach from=$item.holiday item=item_holiday})
    223 ({* unknown *})({$item_holiday})<br>
    224 ({* unknown *})({/foreach})
    225 ({* unknown *})</div>
    226 ({* unknown *})
    227 ({* unknown *})({* スケジュール(時間有) *})
    228 ({* unknown *})({foreach from=$item.schedule item=item_schedule name=schedule})
    229 ({* unknown *}) ({if !$item_schedule.begin_time})  <!-- 時間指定なしの予定 -->
    230 ({* unknown *}) ({elseif $cmd == 's_list'})
    231 ({* unknown *})({assign var="begin_time_H" value=$item_schedule.begin_time|date_format:"%H"})
    232 ({* unknown *})({assign var="begin_time_M" value=$item_schedule.begin_time|date_format:"%M"})
    233 ({* unknown *})({if $item_schedule.finish_time})
    234 ({* unknown *})({assign var="finish_time_H" value=$item_schedule.finish_time|date_format:"%H"})
    235 ({* unknown *})({assign var="finish_time_M" value=$item_schedule.finish_time|date_format:"%M"})
    236 ({* unknown *})({/if})
    237 ({* unknown *})<a href="({t_url m=biz a=page_s_view_schedule})&amp;id=({$item_schedule.biz_shisetsu_schedule_id})">
    238 ({* unknown *})({ext_include file="inc_biz_schedule_week_time.tpl"})
    239 ({* unknown *})<div class="padding_s" style="padding-top:0;">
    240 ({* unknown *})({$item_schedule.c_member_name})
    241 ({* unknown *})</div></a>
    242 ({* unknown *}) ({elseif $item_schedule.begin_date != $item_schedule.finish_date})  <!--バナー予定 -->
    243 ({* unknown *})({assign var="begin_time_H" value=$item_schedule.begin_time|date_format:"%H"})
    244 ({* unknown *})({assign var="begin_time_M" value=$item_schedule.begin_time|date_format:"%M"})
    245 ({* unknown *})({if $item_schedule.finish_time})
    246 ({* unknown *})({assign var="finish_time_H" value=$item_schedule.finish_time|date_format:"%H"})
    247 ({* unknown *})({assign var="finish_time_M" value=$item_schedule.finish_time|date_format:"%M"})
    248 ({* unknown *})({/if})
    249 ({* unknown *})({ext_include file="inc_biz_schedule_week_time.tpl"})
    250 ({* unknown *})<div class="padding_s" style="padding-top:0;">
    251 ({* unknown *})<a href="({t_url m=biz a=page_fh_biz_schedule_view})&amp;id=({$item_schedule.biz_schedule_id})({if $cmd=='f'})&amp;target_id=({$member_info.c_member_id})({/if})">({$item_schedule.title})</a>
    252 ({* unknown *}) </div>
    253 ({* unknown *}) ({else})
    254 ({* unknown *})({assign var="begin_time_H" value=$item_schedule.begin_time|date_format:"%H"})
    255 ({* unknown *})({assign var="begin_time_M" value=$item_schedule.begin_time|date_format:"%M"})
    256 ({* unknown *})({if $item_schedule.finish_time})
    257 ({* unknown *})({assign var="finish_time_H" value=$item_schedule.finish_time|date_format:"%H"})
    258 ({* unknown *})({assign var="finish_time_M" value=$item_schedule.finish_time|date_format:"%M"})
    259 ({* unknown *})({else})
    260 ({* unknown *})({assign var="finish_time_H" value=""})
    261 ({* unknown *})({assign var="finish_time_M" value=""})
    262 ({* unknown *})({/if})
    263 ({* unknown *})({ext_include file="inc_biz_schedule_week_time.tpl"})
    264 ({* unknown *})<div class="padding_s" style="padding-top:0;">
    265 ({* unknown *})<a href="({t_url m=biz a=page_fh_biz_schedule_view})&amp;id=({$item_schedule.biz_schedule_id})({if $cmd=='f'})&amp;target_id=({$member_info.c_member_id})({/if})">({$item_schedule.title})</a>
    266 ({* unknown *})</div>
    267 ({* unknown *}) ({/if})
    268 ({* unknown *})({/foreach})
    269 ({* unknown *})
    270 ({* unknown *})<img src="./skin/dummy.gif" alt="dummy" style="width:80px;height:10px;" class="dummy" />
    271 ({* unknown *})
    272 ({* unknown *})</td>
    273 ({* unknown *})({/foreach})
    274 ({* unknown *})</tr>
    275 ({* unknown *})({*****})
    276 ({* unknown *})
    277 ({* unknown *})<tr>
    278 ({* unknown *})
    279 ({* unknown *})({foreach from=$calendar item=item name=calendar})
    280 ({* unknown *})<td class="({if $item.now})bg_09({else})bg_02({/if}) border_01({if $item.dayofweek == "日" || $item.holiday}) c_02({elseif $item.dayofweek == "土"}) c_03({else})({/if})" style="width:81px;border-top:none;({if !$smarty.foreach.calendar.last}) border-right:none;({/if})" align="left" valign="top">
    281 ({* unknown *})
    282 ({* unknown *})({if $cmd == 'h'})
    283 ({* unknown *})({* 誕生日 *})
    284 ({* unknown *})({foreach from=$item.birth item=item_birth})
    285 ({* unknown *})({if $item_birth.public_flag_birth_month_day != "private" || $member_info.c_member_id == $item_birth.c_member_id})
    286 ({* unknown *})<div class="padding_s"><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})さん</a></div>
    287 ({* unknown *})({/if})
    288 ({* unknown *})({/foreach})
    289 ({* unknown *})
    290 ({* unknown *})({* イベント *})
    291 ({* unknown *})({foreach from=$item.event item=item_event})
    292 ({* unknown *})<div class="padding_s"><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:".."})</a></div>
    293 ({* unknown *})({/foreach})
    294 ({* unknown *})
    295 ({* unknown *})({else})
    296 ({* unknown *})&nbsp;
    297 ({* unknown *})({/if})
    298 ({* unknown *})
     1({if $head})<!-- HEADER_BEGIN -->
     2<div class="dparts weeklyCalendarTable"><div class="parts">
     3
     4({if $msg})
     5<div class="block">
     6<p class="caution">({$msg})</p>
     7</div>
     8({/if})
     9
     10({if $cmd == "g"})
     11
     12<div class="block">
     13({t_form_block m=biz a=do_g_home_add_biz_schedule})
     14<input type="hidden" name="target_id" value="({$target_id})" />
     15<a href="({t_url m=biz a=page_fh_biz_schedule_add})&amp;target_biz_group_id=({$target_id})">新規予定登録</a>
     16<label for="title">予定</label>
     17<input type="text" class="input_text" name="title" id="title" value="" size="30" />
     18<select name="start_date">
     19({foreach from=$daylist item=item})
     20<option value="({$item.year})-({$item.month})-({$item.day})"({if $item.now}) selected="selected"({/if})>({$item.month})/({$item.day})(({$item.dayofweek}))</option>
     21({/foreach})
     22</select>
     23<input type="submit" class="input_submit" value="追加" />
     24<a href="({t_url m=biz a=page_`$cmd`_home})&amp;w=({$w-1})&amp;target_c_commu_id=({$target_id})" title="前の週"><</a>
     25<a href="({t_url m=biz a=page_`$cmd`_home})&amp;target_c_commu_id=({$target_id})" title="今週">■</a>
     26<a href="({t_url m=biz a=page_`$cmd`_home})&amp;w=({$w+1})&amp;target_c_commu_id=({$target_id})" title="次の週">></a>
     27({/t_form_block})
     28</div>
     29
     30({elseif $cmd == "s_list"})
     31
     32<div class="partsHeading"><h3>({$list.name})</h3></div>
     33
     34({if $list.info})
     35<div class="block">
     36<p>({$list.info})</p>
     37</div>
     38({/if})
     39
     40<div class="block">
     41({t_form_block m=biz a=do_s_add_schedule})
     42<input type="hidden" name="shisetsu_id" value="({$target_id})" />
     43施設予約を入れる:
     44
     45<select name="start_date">
     46({foreach from=$calendar item=item})
     47<option value="({$item.year})-({$item.month})-({$item.day})"({if $item.now}) selected="selected"({/if})>({$item.month})/({$item.day})(({$item.dayofweek}))</option>
     48({/foreach})
     49</select>
     50
     51<select name="start_time">
     52<option value="">現在時</option>
     53({section name=i loop=$hours})
     54<option value="({if $hours[i] < 10 })0({/if})({$hours[i]})">({$hours[i]})時</option>
     55({/section})
     56</select>
     57から
     58<select name="finish_time">
     59({section name=i loop=$mins})
     60<option value="({$mins[i]})">({$mins[i]})分後</option>
     61({/section})
     62</select>
     63まで
     64<input type="submit" class="submit" value="追加" />
     65
     66<a href="({t_url m=biz a=page_s_list})&amp;w=({$w-1})" title="前の週"><</a>
     67<a href="({t_url m=biz a=page_s_list})" title="今週">■</a>
     68<a href="({t_url m=biz a=page_s_list})&amp;w=({$w+1})" title="次の週">></a>
     69({/t_form_block})
     70</div>
     71
     72({/if})
     73
     74({/if})  <!-- END HEAD -->
     75({if $value})  <!-- BEGIN VALUE -->
     76
     77<table class="calendar">
     78<tr>
     79
     80<td style="width: 120px">
     81({if $cmd == "s_list"})
     82<img src="({t_img_url filename=$list.image_filename w=120 h=120 noimg=no_image})" alt="" /><br />
     83({else})
     84<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$member_info.c_member_id})"><img src="({t_img_url filename=$member_info.image_filename w=120 h=120 noimg=no_image})" alt="" /></a><br />
     85({/if})
     86
     87({if $cmd == "s_list"})
     88
     89({if !$is_closed_shisetsu})
     90<input type="button" onclick="location.href='({t_url m=biz a=page_s_edit_shisetsu})&id=({$target_id})'" value="編 集" style="width:112px;" class="submit" />
     91<input type="button" onclick="location.href='({t_url m=biz a=page_s_delete_shisetsu})&target_id=({$target_id})&sessid=({$PHPSESSID})'" value="削 除" style="width:112px;" class="submit" />
     92({/if})
     93
     94({else})
     95
     96({if $cmd != "h"})
     97<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$member_info.c_member_id})">({$member_info.nickname})</a><br />
     98最終ログインは<br />({$member_info.last_login})<br />
     99({else})
     100<div class="border_01 bg_02" style="padding:4px 0;display:block;border-left:none;border-right:none;">
     101
     102({if $smarty.const.OPENPNE_IS_POINT_ADMIN || $member_info.c_member_id != 1})
     103({if ($smarty.const.OPENPNE_DISP_RANK && $rank) || ($smarty.const.OPENPNE_DISP_POINT && $point)})
     104({if $smarty.const.OPENPNE_DISP_RANK && $rank})
     105<img src="({t_img_url filename=$rank.image_filename})" alt="({$rank.name})" /><br />
     106({/if})
     107({if $smarty.const.OPENPNE_DISP_POINT && $point})
     108({$point}) Point<br />
     109({/if})
     110({/if})
     111({/if})
     112
     113({$stateform|smarty:nodefaults})
     114</div>
     115({/if})
     116
     117({/if})
     118
     119({if $cmd == "h"})
     120<input type="button" onclick="location.href='({t_url m=pc a=page_h_config_image})'" value="写真を編集" style="width:112px;" class="submit" />
     121<input type="button" onclick="location.href='({t_url m=pc a=page_h_config_prof})'" value="プロフィール変更" style="width:112px;" class="submit" />
     122({/if})
     123</td>
     124
     125({foreach from=$calendar item=item name=calendar})
     126({strip})
     127<td({if $item.now}) class="today"({/if})>
     128<p class="day({if $item.dayofweek == "日"}) sun({elseif $item.dayofweek == "土"}) sat({/if})({if $item.holiday}) holiday({/if})">
     129({if $smarty.foreach.calendar.first || $item.day == 1})({$item.month})/({/if})({$item.day})(({$item.dayofweek}))
     130({foreach from=$item.holiday item=item_holiday})
     131<br />({$item_holiday})
     132({/foreach})
     133</p>
     134
     135({* スケジュール(時間有) *})
     136({foreach from=$item.schedule item=item_schedule name=schedule})
     137({if !$item_schedule.begin_time})  <!-- 時間指定なしの予定 -->
     138({elseif $cmd == 's_list'})
     139
     140({assign var="begin_time_H" value=$item_schedule.begin_time|date_format:"%H"})
     141({assign var="begin_time_M" value=$item_schedule.begin_time|date_format:"%M"})
     142({if $item_schedule.finish_time})
     143({assign var="finish_time_H" value=$item_schedule.finish_time|date_format:"%H"})
     144({assign var="finish_time_M" value=$item_schedule.finish_time|date_format:"%M"})
     145({/if})
     146
     147<p style="margin:0 -5px;">({ext_include file="inc_biz_schedule_week_time.tpl"})</p>
     148<a href="({t_url m=biz a=page_s_view_schedule})&amp;id=({$item_schedule.biz_shisetsu_schedule_id})">({$item_schedule.c_member_name})</a>
     149
     150({elseif $item_schedule.begin_date != $item_schedule.finish_date})  <!--バナー予定 -->
     151
     152({assign var="begin_time_H" value=$item_schedule.begin_time|date_format:"%H"})
     153({assign var="begin_time_M" value=$item_schedule.begin_time|date_format:"%M"})
     154({if $item_schedule.finish_time})
     155({assign var="finish_time_H" value=$item_schedule.finish_time|date_format:"%H"})
     156({assign var="finish_time_M" value=$item_schedule.finish_time|date_format:"%M"})
     157({/if})
     158
     159<p style="margin:0 -5px;">({ext_include file="inc_biz_schedule_week_time.tpl"})</p>
     160<a href="({t_url m=biz a=page_fh_biz_schedule_view})&amp;id=({$item_schedule.biz_schedule_id})({if $cmd=='f'})&amp;target_id=({$member_info.c_member_id})({/if})">({$item_schedule.title})</a>
     161
     162({else})
     163
     164({assign var="begin_time_H" value=$item_schedule.begin_time|date_format:"%H"})
     165({assign var="begin_time_M" value=$item_schedule.begin_time|date_format:"%M"})
     166({if $item_schedule.finish_time})
     167({assign var="finish_time_H" value=$item_schedule.finish_time|date_format:"%H"})
     168({assign var="finish_time_M" value=$item_schedule.finish_time|date_format:"%M"})
     169({else})
     170({assign var="finish_time_H" value=""})
     171({assign var="finish_time_M" value=""})
     172({/if})
     173
     174<p style="margin:0 -5px;">({ext_include file="inc_biz_schedule_week_time.tpl"})</p>
     175<a href="({t_url m=biz a=page_fh_biz_schedule_view})&amp;id=({$item_schedule.biz_schedule_id})({if $cmd=='f'})&amp;target_id=({$member_info.c_member_id})({/if})">({$item_schedule.title})</a>
     176
     177({/if})
     178({/foreach})
     179
     180({if $cmd == 'h'})
     181
     182({* 誕生日 *})
     183({foreach from=$item.birth item=item_birth})
     184({if $item_birth.public_flag_birth_month_day != "private" || $c_member.c_member_id == $item_birth.c_member_id})
     185<p><img src="({t_img_url_skin filename=icon_birthday})" alt="誕生日" /><a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item_birth.c_member_id})">({$item_birth.nickname})さん</a></p>
     186({/if})
     187({/foreach})
     188
     189({* イベント *})
     190({foreach from=$item.event item=item_event})
     191<p><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})" alt="イベント" /><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:".."})</a></p>
     192({/foreach})
     193
     194({/if})
     195
    299196({* unknown *})({* Todo *})
    300197({* unknown *})({foreach from=$item.todo item=item_todo})
    301198({* unknown *})<div class="padding_s">
    302 ({* unknown *})<img src="./skin/default/img/biz/todo_icon.gif"  class="icon" />
     199({* unknown *})<img src="./skin/default/img/biz/todo_icon.gif" alt="todo" />
    303200({* unknown *})<a href="({t_url m=biz a=page_fh_home_edit_biz_todo})&amp;id=({$item_todo.biz_todo_id})&target_id=({$member_info.c_member_id})">({$item_todo.memo|t_truncate:20:".."})</a></div>
    304201({* unknown *})({/foreach})
     
    307204({* unknown *})({if $item.schedule})
    308205({* unknown *})({foreach from=$item.schedule item=item_schedule name=schedule})
    309 ({* unknown *}) ({if !$item_schedule.begin_time})  <!-- 時間指定なしの予定 -->
     206({* unknown *})({if !$item_schedule.begin_time})  <!-- 時間指定なしの予定 -->
    310207({* unknown *})<div class="padding_s">
    311 ({* unknown *})({*<img src="({t_img_url_skin filename=icon_pen})" class="icon" />*})<a href="({t_url m=biz a=page_fh_biz_schedule_view})&amp;id=({$item_schedule.biz_schedule_id})({if $cmd=='f'})&target_id=({$member_info.c_member_id})({/if})">({$item_schedule.title})</a>
     208({* unknown *})<a href="({t_url m=biz a=page_fh_biz_schedule_view})&amp;id=({$item_schedule.biz_schedule_id})({if $cmd=='f'})&target_id=({$member_info.c_member_id})({/if})">({$item_schedule.title})</a>
    312209({* unknown *})</div>
    313 ({* unknown *}) ({else})
    314 ({* unknown *})&nbsp;
    315 ({* unknown *}) ({/if})
     210({* unknown *})({/if})
    316211({* unknown *})({/foreach})
    317 ({* unknown *})({else})
    318 ({* unknown *})&nbsp;
    319212({* unknown *})({/if})
    320 ({* unknown *})
    321 ({* unknown *})</td>
    322 ({* unknown *})({/foreach})
    323 ({* unknown *})
    324 ({* unknown *})</tr>
    325 ({* unknown *})({/if})  <!-- END VALUE -->
    326 ({* unknown *})
    327 ({* unknown *})({if $foot})  <!-- BEGIN FOOT -->
    328 ({* unknown *})<tr>
    329 ({* unknown *})<td class="bg_02 border_01" style="border-top:none;border-right:none;" align="center" valign="top"><img src="./skin/dummy.gif" alt="dummy" style="width:130px;height:10px;" class="dummy" /></td>
    330 ({* unknown *})<td class="bg_02 border_01" style="border-top:none;" align="right" valign="top" colspan="7">
    331 ({* unknown *})
    332 ({* unknown *})<table border="0" cellspacing="0" cellpadding="0" style="width:100%;">
    333 ({* unknown *})<tr>
    334 ({* unknown *})<td class="({if $cmd != "g"})border_01 ({/if})padding_ss" align="left" valign="middle" style="border-left:none;border-top:none;border-bottom:none;border-right:none;">
    335 ({* unknown *})
    336 ({* unknown *})({if ($cmd == "h") || ($cmd == "f")})
    337 ({* unknown *})<a href="({t_url m=biz a=page_fh_biz_schedule_calendar})({if $cmd == 'f'})&amp;target_id=({$member_info.c_member_id})({/if})">月間カレンダー</a>
    338 ({* unknown *})({else})
    339 ({* unknown *})&nbsp;
    340 ({* unknown *})({/if})
    341 ({* unknown *})
    342 ({* unknown *})</td>
    343 ({* unknown *})<td class="padding_ss" align="right" valign="middle">
    344 ({* unknown *})
    345 ({* unknown *})({if ($cmd == "h") || ($cmd == "f")})
    346 ({* unknown *})({t_form_block m=biz a=do_`$cmd`_home_add_biz_schedule})
    347 ({* unknown *})<input type="hidden" name="target_id" value="({$target_id})" />
    348 ({* unknown *})予定:
    349 ({* unknown *})<input type="text" class="text" name="title" value="" size="30" />
    350 ({* unknown *})<select name="start_date">
    351 ({* unknown *})({foreach from=$daylist item=item})
    352 ({* unknown *})<option value="({$item.year})-({$item.month})-({$item.day})"({if $item.now}) selected="selected"({/if})>({$item.month})/({$item.day})(({$item.dayofweek}))</option>
    353 ({* unknown *})({/foreach})
    354 ({* unknown *})</select>
    355 ({* unknown *})<input type="submit" class="submit" value="追加" />
    356 ({* unknown *})
    357 ({* unknown *})&nbsp;
    358 ({* unknown *})<a href="({t_url m=pc a=page_`$cmd`_home})&amp;w=({$w-1})({if $target_id})&amp;target_c_member_id=({$target_id})({/if})" title="前の週"><</a>
    359 ({* unknown *})<a href="({t_url m=pc a=page_`$cmd`_home})({if $target_id})&amp;target_c_member_id=({$target_id})({/if})" title="今週">■</a>
    360 ({* unknown *})<a href="({t_url m=pc a=page_`$cmd`_home})&amp;w=({$w+1})({if $target_id})&amp;target_c_member_id=({$target_id})({/if})" title="次の週">></a>
    361 ({* unknown *})&nbsp;
    362 ({* unknown *})({/t_form_block})
    363 ({* unknown *})({else})
    364 ({* unknown *})
    365 ({* unknown *})&nbsp;
    366 ({* unknown *})
    367 ({* unknown *})({/if})
    368 ({* unknown *})
    369 ({* unknown *})</td>
    370 ({* unknown *})</tr>
    371 ({* unknown *})</table>
    372 ({* unknown *})
    373 ({* unknown *})</td>
    374 ({* unknown *})</tr>
    375 ({* unknown *})</table>
    376 ({* unknown *})</div>
    377 ({* unknown *})
    378 ({* unknown *})<!-- ここまで:主内容 -->
    379 ({* unknown *})</td>
    380 ({* unknown *})<td class="bg_00"><img src="./skin/dummy.gif" alt="dummy" /></td>
    381 ({* unknown *})</tr>
    382 ({* unknown *})<tr>
    383 ({* unknown *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square" /></td>
    384 ({* unknown *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square" /></td>
    385 ({* unknown *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square" /></td>
    386 ({* unknown *})</tr>
    387 ({* unknown *})</table>
    388 ({* unknown *})
    389 ({* unknown *})</td>
    390 ({* unknown *})</tr>
    391 ({* unknown *})</table>
    392 ({* unknown *})<!-- ******ここまで:週間予定****** -->
    393 ({* unknown *})<!-- ***************************** -->
    394 ({* unknown *})
    395 ({* unknown *})<img src="./skin/dummy.gif" alt="dummy" class="v_spacer_m" />
    396 ({* unknown *})({/if}) <!-- END FOOT -->
     213
     214</td>
     215({/strip})
     216({/foreach})
     217</tr>
     218</table>
     219
     220({/if})  <!-- END VALUE -->
     221({if $foot})  <!-- BEGIN FOOT -->
     222
     223({if ($cmd == "h") || ($cmd == "f")})
     224<div class="block">
     225({t_form_block m=biz a=do_`$cmd`_home_add_biz_schedule})
     226
     227<a href="({t_url m=biz a=page_fh_biz_schedule_calendar})({if $cmd == 'f'})&amp;target_id=({$member_info.c_member_id})({/if})">月間カレンダー</a>
     228
     229<input type="hidden" name="target_id" value="({$target_id})" />
     230<label for="title">予定</label> <input type="text" class="input_text" name="title" id="title" value="" size="30" />
     231<select name="start_date">
     232({foreach from=$daylist item=item})
     233<option value="({$item.year})-({$item.month})-({$item.day})"({if $item.now}) selected="selected"({/if})>({$item.month})/({$item.day})(({$item.dayofweek}))</option>
     234({/foreach})
     235</select>
     236<input type="submit" class="input_submit" value="追加" />
     237
     238<a href="({t_url m=pc a=page_`$cmd`_home})&amp;w=({$w-1})({if $target_id})&amp;target_c_member_id=({$target_id})({/if})" title="前の週"><</a>
     239<a href="({t_url m=pc a=page_`$cmd`_home})({if $target_id})&amp;target_c_member_id=({$target_id})({/if})" title="今週">■</a>
     240<a href="({t_url m=pc a=page_`$cmd`_home})&amp;w=({$w+1})({if $target_id})&amp;target_c_member_id=({$target_id})({/if})" title="次の週">></a>
     241({/t_form_block})
     242</div>
     243({/if})
     244
     245</div></div>
     246
     247({/if}) <!-- END FOOT -->
Note: See TracChangeset for help on using the changeset viewer.