annotate templates/reservationform.html @ 103:368a68c9d579

added fail safe hack
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Mon, 08 Mar 2010 01:25:16 +0900
parents f3bf1be1a51b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
1 <form method="post" action="customReservation.php">
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
2 <div>
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
3 <span class="labelLeft">開始日時</span>
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
4 <input type="text" size="4" name="syear" id="id_syear" value="{$syear}" />年
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
5 <input type="text" size="2" name="smonth" id="id_smonth" value="{$smonth}" />月
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
6 <input type="text" size="2" name="sday" id="id_sday" value="{$sday}" />日
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
7 <input type="text" size="2" name="shour" id="id_shour" value="{$shour}" />時
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
8 <input type="text" size="2" name="smin" id="id_smin" value="{$smin}" />分~
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
9 </div>
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
10 <div>
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
11 <span class="labelLeft">終了日時</span>
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
12 <input type="text" size="4" name="eyear" id="id_eyear" value="{$eyear}" />年
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
13 <input type="text" size="2" name="emonth" id="id_emonth" value="{$emonth}" />月
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
14 <input type="text" size="2" name="eday" id="id_eday" value="{$eday}" />日
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
15 <input type="text" size="2" name="ehour" id="id_ehour" value="{$ehour}" />時
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
16 <input type="text" size="2" name="emin" id="id_emin" value="{$emin}" />分
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
17 </div>
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
18 <div>
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
19 <span class="labelLeft">種別/ch</span>
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
20 {$type}:{$channel}ch
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
21 <input type="hidden" name="channel_id" id="id_channel_id" value="{$channel_id}" />
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
22 </div>
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
23 <div>
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
24 <span class="labelLeft">録画モード</span>
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
25 <select name="record_mode" id="id_record_mode">
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
26 {section name=mode loop=$record_mode }
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
27 <option value="{$smarty.section.mode.index}">{$record_mode[mode].name}</option>
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
28 {/section}
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
29 </select>
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
30 </div>
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
31 <div>
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
32 <span class="labelLeft">タイトル</span>
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
33 <input type="text" size="40" name="title" id="id_title" value="{$title}" /></div>
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
34
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
35 <div>
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
36 <span class="labelLeft">概要</span>
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
37 <textarea name="description" id="id_description" rows="4" cols="40" >{$description}</textarea></div>
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
38
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
39 <div>
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
40 <span class="labelLeft">カテゴリ</span>
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
41 <select name="category_id" id="id_category_id">
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
42 {foreach from=$cats item=cat}
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
43 <option value="{$cat.id}" {$cat.selected}>{$cat.name}</option>
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
44 {/foreach}
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
45 </select>
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
46 </div>
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
47
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
48 <div>
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
49 <span class="labelLeft">番組ID保持</span>
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
50 <input type="checkbox" name="program_id" id="id_program_id" value="{$program_id}" checked /></div>
f3bf1be1a51b Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
51 </form>