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

source: OpenPNE/branches/prj_tuning/webapp_biz/modules/biz/templates/inc_biz_schedule_week.tpl @ 915

Last change on this file since 915 was 915, checked in by takanashi, 14 years ago

bizの修正(重要で無い)

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