Mercurial > epgrec.yaz
annotate templates/programTable.html @ 134:58791b90221b
mod: mb_ereg_replace -> preg_replace
author | yoneda <epgrec@park.mda.or.jp> |
---|---|
date | Sat, 20 Mar 2010 00:49:37 +0900 |
parents | 57676bb30f64 |
children |
rev | line source |
---|---|
1 | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
2 "http://www.w3.org/TR/html4/loose.dtd"> | |
3 | |
4 <html> | |
5 <head> | |
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
7 <title>{$sitetitle}</title> | |
8 <meta http-equiv="Content-Style-Type" content="text/css"> | |
9 | |
10 {literal} | |
11 <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script> | |
23
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
12 <script type="text/javascript" src="js/jquery-ui-1.7.2.custom.min.js"></script> |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
13 <link rel="stylesheet" href="start/jquery-ui-1.7.2.custom.css" type="text/css"> |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
14 <script type="text/javascript" src="js/mdabasic.js"></script> |
1 | 15 <script type="text/javascript"> |
16 var PRG = { | |
17 rec:function(id){ | |
18 $.get(INISet.prgRecordURL, { program_id: id } ,function(data){ | |
19 if(data.match(/^error/i)){ | |
20 alert(data); | |
21 }else{ | |
22 $('#resid_' + id).addClass('prg_rec'); | |
23 } | |
24 }); | |
23
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
25 }, |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
26 customform:function(id) { |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
27 $('#floatBox4Dialog').dialog('close'); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
28 $.get('reservationform.php', { program_id: id }, function(data) { |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
29 if(data.match(/^error/i)){ |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
30 alert(data); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
31 } |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
32 else { |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
33 var str = data; |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
34 str += '<div style="margin:2em 0 1em 0;text-align:center;"><a href="javascript:PRG.customrec()" class="ui-state-default ui-corner-all ui-dialog-buttonpane button">予約する</a></div>'; |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
35 $('#floatBox4Dialog').html(str); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
36 $('#floatBox4Dialog').dialog('open', 'center'); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
37 } |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
38 }); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
39 }, |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
40 customrec:function() { |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
41 var id_syear = $('#id_syear').val(); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
42 var id_smonth = $('#id_smonth').val(); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
43 var id_sday = $('#id_sday').val(); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
44 var id_shour = $('#id_shour').val(); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
45 var id_smin = $('#id_smin').val(); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
46 var id_eyear = $('#id_eyear').val(); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
47 var id_emonth = $('#id_emonth').val(); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
48 var id_eday = $('#id_eday').val(); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
49 var id_ehour = $('#id_ehour').val(); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
50 var id_emin = $('#id_emin').val(); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
51 var id_channel_id = $('#id_channel_id').val(); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
52 var id_record_mode = $('#id_record_mode').val(); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
53 var id_title = $('#id_title').val(); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
54 var id_description = $('#id_description').val(); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
55 var id_category_id = $('#id_category_id ').val(); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
56 var id_program_id = $('#id_program_id').val(); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
57 var with_program_id = $('#id_program_id').attr('checked'); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
58 |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
59 if( ! with_program_id ) id_program_id = 0; |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
60 |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
61 $.post('customReservation.php', { syear: id_syear, |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
62 smonth: id_smonth, |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
63 sday: id_sday, |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
64 shour: id_shour, |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
65 smin: id_smin, |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
66 eyear: id_eyear, |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
67 emonth: id_emonth, |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
68 eday: id_eday, |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
69 ehour: id_ehour, |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
70 emin: id_emin, |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
71 channel_id: id_channel_id, |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
72 record_mode: id_record_mode, |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
73 title: id_title, |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
74 description: id_description, |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
75 category_id: id_category_id, |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
76 program_id: id_program_id }, function(data) { |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
77 if(data.match(/^error/i)){ |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
78 $('#floatBox4Dialog').dialog('close'); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
79 alert(data); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
80 } |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
81 else { |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
82 var id = parseInt(data); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
83 if( id ) { |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
84 $('#resid_' + id).addClass('prg_rec'); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
85 } |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
86 $('#floatBox4Dialog').dialog('close'); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
87 } |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
88 }); |
1 | 89 } |
90 } | |
23
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
91 |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
92 $(document).ready(function () { |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
93 var DG = $('#floatBox4Dialog'); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
94 DG.dialog({title:'録画予約',width:600}); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
95 DG.dialog('close'); |
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
96 }); |
1 | 97 </script> |
98 <style type="text/css"> | |
99 <!-- | |
100 body {padding:4px;margin:0;font-size:10pt;} | |
101 a {text-decoration:none;} | |
102 | |
103 table#reservation_table { | |
104 width: 800px; | |
105 border: 1px #BBB solid; | |
106 border-collapse: collapse; | |
107 border-spacing: 0; | |
108 } | |
109 | |
110 table#reservation_table th { | |
111 padding: 5px; | |
112 border: #E3E3E3 solid; | |
113 border-width: 0 0 1px 1px; | |
114 background: #BBB; | |
115 font-weight: bold; | |
116 line-height: 120%; | |
117 text-align: center; | |
118 } | |
119 table#reservation_table td { | |
120 padding: 5px; | |
121 border: 1px #BBB solid; | |
122 border-width: 0 0 1px 1px; | |
123 text-align: center; | |
124 } | |
125 | |
126 table#reservation_table tr.ctg_news, #category_select a.ctg_news {background-color: #FFFFD8;} | |
127 table#reservation_table tr.ctg_etc, #category_select a.ctg_etc {background-color: #FFFFFF;} | |
128 table#reservation_table tr.ctg_information, #category_select a.ctg_information {background-color: #F2D8FF;} | |
129 table#reservation_table tr.ctg_sports, #category_select a.ctg_sports {background-color: #D8FFFF;} | |
130 table#reservation_table tr.ctg_cinema, #category_select a.ctg_cinema {background-color: #FFD8D8;} | |
131 table#reservation_table tr.ctg_music, #category_select a.ctg_music {background-color: #D8D8FF;} | |
132 table#reservation_table tr.ctg_drama, #category_select a.ctg_drama {background-color: #D8FFD8;} | |
133 table#reservation_table tr.ctg_anime, #category_select a.ctg_anime {background-color: #FFE4C8;} | |
134 table#reservation_table tr.ctg_variety, #category_select a.ctg_variety {background-color: #FFD2EB;} | |
135 table#reservation_table tr.ctg_10, #category_select a.ctg_10 {background-color: #E4F4F4;} | |
136 table#reservation_table tr.prg_rec {background-color: #F55;color:#FEE} | |
137 | |
24
f0ef6fb63aa4
modified: templates/programTable.html
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
23
diff
changeset
|
138 #floatBox4Dialog .prg_title{font-size:120%;font-weight:bold;padding:0.4em 0;text-align:center;} |
f0ef6fb63aa4
modified: templates/programTable.html
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
23
diff
changeset
|
139 #floatBox4Dialog .prg_rec_cfg{background:#EEE;padding:1em 2em;margin:0.4em 0;} |
f0ef6fb63aa4
modified: templates/programTable.html
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
23
diff
changeset
|
140 #floatBox4Dialog .labelLeft {width:8em;float:left;text-align:right;} |
f0ef6fb63aa4
modified: templates/programTable.html
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
23
diff
changeset
|
141 #floatBox4Dialog .button {padding:0.4em 1em;} |
f0ef6fb63aa4
modified: templates/programTable.html
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
23
diff
changeset
|
142 |
f0ef6fb63aa4
modified: templates/programTable.html
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
23
diff
changeset
|
143 |
1 | 144 |
145 --> | |
146 </style> | |
147 {/literal} | |
148 | |
149 </head> | |
150 | |
151 <body> | |
152 | |
153 <h2>{$sitetitle}</h2> | |
154 | |
155 | |
156 | |
157 <div><a href="index.php">番組表に戻る</a>/<a href="keywordTable.php">自動録画キーワード管理へ</a></div> | |
158 | |
159 <div> | |
160 絞り込み: | |
161 <form method="post" action="programTable.php"> | |
162 <input type="hidden" name="do_search" value="1" /> | |
106 | 163 検索語句<input type="text" size="20" name="search" value="{$search}" /><br /> |
1 | 164 正規表現使用<input type="checkbox" name="use_regexp" value="1" {if $use_regexp}checked{/if} /> |
165 種別<select name="type"> | |
166 {foreach from=$types item=type} | |
167 <option value="{$type.value}" {$type.selected}>{$type.name}</option> | |
168 {/foreach} | |
169 </select> | |
170 局<select name="station"> | |
171 {foreach from=$stations item=st} | |
172 <option value="{$st.id}" {$st.selected}>{$st.name}</option> | |
173 {/foreach} | |
174 </select> | |
175 カテゴリ<select name="category_id"> | |
176 {foreach from=$cats item=cat} | |
177 <option value="{$cat.id}" {$cat.selected}>{$cat.name}</option> | |
178 {/foreach} | |
77 | 179 </select> |
106 | 180 開始時<select name="prgtime"> |
181 {foreach from=$prgtimes item=prgt} | |
182 <option value="{$prgt.value}" {$prgt.selected}>{$prgt.name}</option> | |
183 {/foreach} | |
184 </select> | |
185 | |
77 | 186 曜日<select name='weekofday'> |
187 {foreach from=$weekofdays item=day} | |
188 <option value="{$day.id}" {$day.selected}>{$day.name}</option> | |
189 {/foreach} | |
1 | 190 </select> |
191 <input type="submit" value="絞り込む" /> | |
192 </form> | |
193 </div> | |
194 | |
195 | |
196 | |
197 {if count($programs)} | |
198 <table id="reservation_table"> | |
199 <tr> | |
200 <th>種別</th> | |
201 <th>局名</th> | |
202 <th>番組開始</th> | |
203 <th>番組終了</th> | |
204 <th>タイトル</th> | |
205 <th>内容</th> | |
206 <th>簡易録画</th> | |
207 <th>詳細録画</th> | |
208 </tr> | |
209 | |
210 {foreach from=$programs item=program} | |
211 <tr id="resid_{$program.id}" class="ctg_{$program.cat}{if $program.rec > 0} prg_rec{/if}"> | |
212 <td>{$program.type}</td> | |
213 <td>{$program.station_name}</td> | |
214 <td>{$program.starttime}</td> | |
215 <td>{$program.endtime}</td> | |
216 <td>{$program.title|escape}</td> | |
217 <td>{$program.description|escape}</td> | |
218 <td><input type="button" value="録画" onClick="javascript:PRG.rec('{$program.id}')" /></td> | |
23
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
219 <td><input type="button" value="詳細" onClick="javascript:PRG.customform('{$program.id}')" /></td> |
1 | 220 </tr> |
221 {/foreach} | |
222 </table> | |
223 {else} | |
224 該当する番組はありません | |
225 {/if} | |
226 <div>{$programs|@count}件ヒット</div> | |
227 {if count($programs) >= 300}<div>表示最大300件まで</div>{/if} | |
228 {if $do_keyword} | |
229 {if (count($programs) < 300)} | |
230 <div> | |
231 <form method="post" action="keywordTable.php"> | |
232 <b>語句:</b>{$search|escape} | |
233 <b>正規表現:</b>{if $use_regexp}使う{else}使わない{/if} | |
234 <b>種別:</b>{if $k_type == "*"}すべて{else}{$k_type}{/if} | |
235 <b>局:</b>{if $k_station == 0}すべて{else}{$k_station_name}{/if} | |
236 <b>カテゴリ:</b>{if $k_category == 0}すべて{else}{$k_category_name}{/if} | |
106 | 237 <b>曜日:</b>{if $weekofday == 7}なし{else}{$k_weekofday}曜{/if} |
238 <b>時間:</b>{if $prgtime == 24}なし{else}{$prgtime}時~{/if} | |
1 | 239 <b>件数:</b>{$programs|@count} |
240 <input type="hidden" name="add_keyword" value="{$do_keyword}" /> | |
241 <input type="hidden" name="k_use_regexp" value="{$use_regexp}" /> | |
242 <input type="hidden" name="k_search" value="{$search}" /> | |
243 <input type="hidden" name="k_type" value="{$k_type}" /> | |
244 <input type="hidden" name="k_category" value="{$k_category}" /> | |
245 <input type="hidden" name="k_station" value="{$k_station}" /> | |
77 | 246 <input type="hidden" name="k_weekofday" value={$weekofday} /> |
106 | 247 <input type="hidden" name="k_prgtime" value={$prgtime} /> |
77 | 248 <b>録画モード:</b><select name="autorec_mode" > |
249 {foreach from=$autorec_modes item=mode name=recmode } | |
250 <option value="{$smarty.foreach.recmode.index}" {$mode.selected} >{$mode.name}</option> | |
251 {/foreach} | |
252 </select> | |
253 <br><input type="submit" value="この絞り込みを自動録画キーワードに登録" /> | |
1 | 254 </form> |
255 </div> | |
256 {/if} | |
257 {/if} | |
258 | |
23
f3bf1be1a51b
Change: using ajax in custom reservation method
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
259 <div id="floatBox4Dialog">jQuery UI Dialog</div> |
1 | 260 |
261 {literal} | |
262 <script type="text/javascript"> | |
263 var INISet = { | |
264 prgRecordURL : 'simpleReservation.php', // 簡易予約 | |
265 prgRecordPlusURL : 'recordp.php', // 詳細予約 | |
266 prgCancelURL : 'cancelReservation.php' // 予約キャンセル | |
267 } | |
268 </script> | |
269 {/literal} | |
270 </body> | |
271 </html> |