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>
|
|
12 <script type="text/javascript">
|
|
13 var PRG = {
|
|
14 rec:function(id){
|
|
15 $.get(INISet.prgCancelURL, { reserve_id: id } ,function(data){
|
|
16
|
|
17 if(data.match(/^error/i)){
|
|
18 alert(data);
|
|
19 }
|
|
20 else {
|
|
21 $('#resid_' + id ).hide();
|
|
22 }
|
|
23 });
|
|
24 }
|
|
25 }
|
|
26 </script>
|
|
27 <style type="text/css">
|
|
28 <!--
|
|
29 body {padding:4px;margin:0;font-size:10pt;}
|
|
30 a {text-decoration:none;}
|
|
31
|
|
32 .bold {font-weight:bold;}
|
|
33 .small {font-size:75%;}
|
|
34
|
|
35 a img {border:none; }
|
|
36
|
|
37 table#reservation_table {
|
|
38 width: 960px;
|
|
39 border: 1px #BBB solid;
|
|
40 border-collapse: collapse;
|
|
41 border-spacing: 0;
|
|
42 }
|
|
43
|
|
44 table#reservation_table th {
|
|
45 padding: 5px;
|
|
46 border: #E3E3E3 solid;
|
|
47 border-width: 0 0 1px 1px;
|
|
48 background: #BBB;
|
|
49 font-weight: bold;
|
|
50 line-height: 120%;
|
|
51 text-align: center;
|
|
52 }
|
|
53 table#reservation_table td {
|
|
54 padding: 5px;
|
|
55 border: 1px #BBB solid;
|
|
56 border-width: 0 0 1px 1px;
|
|
57 text-align: center;
|
|
58 }
|
|
59
|
|
60 table#reservation_table tr.ctg_news, #category_select a.ctg_news {background-color: #FFFFD8;}
|
|
61 table#reservation_table tr.ctg_etc, #category_select a.ctg_etc {background-color: #FFFFFF;}
|
|
62 table#reservation_table tr.ctg_information, #category_select a.ctg_information {background-color: #F2D8FF;}
|
|
63 table#reservation_table tr.ctg_sports, #category_select a.ctg_sports {background-color: #D8FFFF;}
|
|
64 table#reservation_table tr.ctg_cinema, #category_select a.ctg_cinema {background-color: #FFD8D8;}
|
|
65 table#reservation_table tr.ctg_music, #category_select a.ctg_music {background-color: #D8D8FF;}
|
|
66 table#reservation_table tr.ctg_drama, #category_select a.ctg_drama {background-color: #D8FFD8;}
|
|
67 table#reservation_table tr.ctg_anime, #category_select a.ctg_anime {background-color: #FFE4C8;}
|
|
68 table#reservation_table tr.ctg_variety, #category_select a.ctg_variety {background-color: #FFD2EB;}
|
|
69 table#reservation_table tr.ctg_10, #category_select a.ctg_10 {background-color: #E4F4F4;}
|
|
70
|
|
71
|
|
72 -->
|
|
73 </style>
|
|
74 {/literal}
|
|
75
|
|
76 </head>
|
|
77
|
|
78 <body>
|
|
79
|
|
80 <h2>{$sitetitle}</h2>
|
|
81
|
|
82 <p><a href="index.php">番組表に戻る</a></p>
|
|
83
|
|
84 <div>
|
|
85 絞り込み:
|
|
86 <form method="post" action="recordedTable.php" >
|
|
87 <input type="hidden" name="do_search" value="1" />
|
|
88 検索語句<input type="text" size="20" name="search" value="{$search}" />
|
|
89 局<select name="station">
|
|
90 {foreach from=$stations item=st}
|
|
91 <option value="{$st.id}" {$st.selected}>{$st.name}</option>
|
|
92 {/foreach}
|
|
93 </select>
|
|
94 カテゴリ<select name="category_id">
|
|
95 {foreach from=$cats item=cat}
|
|
96 <option value="{$cat.id}" {$cat.selected}>{$cat.name}</option>
|
|
97 {/foreach}
|
|
98 </select>
|
|
99 <input type="submit" value="絞り込む" />
|
|
100 </form>
|
|
101 </div>
|
|
102
|
|
103 タイトルや内容をクリックすると視聴できます(ブラウザの設定でASFとVLCを関連付けている必要があります)
|
|
104 {if count($records)}
|
|
105 <table id="reservation_table">
|
|
106 <tr>
|
|
107 <th>録画日時</th>
|
|
108 <th>ch</th>
|
|
109 <th>モード</th>
|
|
110 {if $use_thumbs}<th>サムネール</th>{/if}
|
|
111 <th>タイトル</th>
|
|
112 <th>内容</th>
|
|
113 <th>情報削除</th>
|
|
114 </tr>
|
|
115
|
|
116 {foreach from=$records item=rec }
|
|
117 <tr id="resid_{$rec.id}" class="ctg_{$rec.cat}">
|
|
118 <td>{$rec.starttime}</td>
|
|
119 <td>{$rec.station_name}</td>
|
|
120 <td>{$rec.mode}</td>
|
|
121 {if $use_thumbs}<td>{$rec.thumb}</td>{/if}
|
|
122 <td>{$rec.title}</td>
|
|
123 <td>{$rec.description}</td>
|
|
124 <td><input type="button" value="削除" onClick="javascript:PRG.rec('{$rec.id}')" /></td>
|
|
125 </tr>
|
|
126 {/foreach}
|
|
127 </table>
|
|
128
|
|
129 {else}
|
|
130 現在、録画済データはありません
|
|
131 {/if}
|
|
132
|
|
133
|
|
134
|
|
135 {literal}
|
|
136 <script type="text/javascript">
|
|
137 var INISet = {
|
|
138 prgRecordURL : 'record.php', // 簡易予約
|
|
139 prgRecordPlusURL : 'recordp.php', // 詳細予約
|
|
140 prgCancelURL : 'cancelReservation.php' // 予約キャンセル
|
|
141 }
|
|
142 </script>
|
|
143 {/literal}
|
|
144 </body>
|
|
145 </html>
|