annotate templates/recordedTable.html @ 41:c50bbb4f8623

fix: bug
author Sushi-k <epgrec@park.mda.or.jp>
date Tue, 28 Jul 2009 12:43:16 +0900
parents ae5491d72470
children 5096001c4995
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
2 "http://www.w3.org/TR/html4/loose.dtd">
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
3
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
4 <html>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
5 <head>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
7 <title>{$sitetitle}</title>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
8 <meta http-equiv="Content-Style-Type" content="text/css">
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
9
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
10 {literal}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
11 <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
14
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
12 <script type="text/javascript" src="js/jquery-ui-1.7.2.custom.min.js"></script>
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
13 <link rel="stylesheet" href="start/jquery-ui-1.7.2.custom.css" type="text/css">
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
14 <script type="text/javascript">
14
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
15 <!--
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
16 var PRG = {
14
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
17
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
18 dialog:function(id, title){
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
19 $('#floatBox4Dialog').dialog({title:'削除',width:500});
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
20 var str = '<div class="prg_title">' + title + 'を削除します</div>';
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
21 str += '<form><div style="text-align:center;">録画ファイルも削除する<input type="checkbox" id="delete_file" name="delete_file" value="1" /></div></form>';
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
22 str +='<div style="margin:2em 0 1em 0;text-align:center;"><a href="javascript:PRG.rec(' + id + ')" class="ui-state-default ui-corner-all ui-dialog-buttonpane button">この録画を本当に削除する</a></div>';
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
23 $('#floatBox4Dialog').html(str);
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
24 $('#floatBox4Dialog').dialog('open', 'center');
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
25 },
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
26 rec:function(id){
14
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
27 var df = 0;
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
28
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
29 if( $('#delete_file').attr('checked') ) {
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
30 df = 1;
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
31 }
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
32 $('#floatBox4Dialog').dialog('close');
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
33
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
34 $.get(INISet.prgCancelURL, { reserve_id: id, delete_file: df } ,function(data){
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
35
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
36 if(data.match(/^error/i)){
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
37 alert(data);
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
38 }
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
39 else {
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
40 $('#resid_' + id ).hide();
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
41 }
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
42 });
27
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
43 },
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
44 editdialog:function(id) {
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
45 $('#floatBox4Dialog').dialog({title:'変更',width:500});
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
46 var str;
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
47 str = '<div class="prg_title">録画ID:' + id + '</div>';
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
48 str += '<input type="hidden" name="reserve_id" id="id_reserve_id" value="' + id + '" />';
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
49 str += '<div><span class="labelLeft">タイトル</span><input name="title" id="id_title" size="30" value="'+ $('#tid_' + id ).html() + '" /></div>';
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
50 str += '<div><span class="labelLeft">概要</span><textarea name="description" id="id_description" cols="30" rows="5" >' + $('#did_' + id ).html() + '</textarea></div>';
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
51 str += '<div style="margin:2em 0 1em 0;text-align:center;"><a href="javascript:PRG.edit()" class="ui-state-default ui-corner-all ui-dialog-buttonpane button">変更する</a></div>';
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
52
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
53 $('#floatBox4Dialog').html(str);
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
54 $('#floatBox4Dialog').dialog('open','center');
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
55 },
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
56 edit:function() {
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
57 var id_reserve_id = $('#id_reserve_id').val();
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
58 var id_title = $('#id_title').val();
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
59 var id_description = $('#id_description').val();
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
60
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
61 $.post('changeReservation.php', { reserve_id: id_reserve_id,
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
62 title: id_title,
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
63 description: id_description }, function( data ) {
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
64 if(data.match(/^error/i)){
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
65 alert(data);
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
66 $('#floatBox4Dialog').dialog('close');
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
67
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
68 }
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
69 else {
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
70 $('#tid_' + id_reserve_id ).html( id_title );
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
71 $('#did_' + id_reserve_id ).html( id_description );
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
72 $('#floatBox4Dialog').dialog('close');
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
73 }
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
74 });
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
75 }
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
76 }
27
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
77 $(document).ready(function () {
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
78 var DG = $('#floatBox4Dialog');
29
ae5491d72470 modified: templates/recordedTable.html
yoneda <epgrec@park.mda.or.jp>
parents: 27
diff changeset
79 DG.dialog({title:'変更',width:500});
27
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
80 DG.dialog('close');
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
81 });
14
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
82 -->
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
83 </script>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
84 <style type="text/css">
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
85 <!--
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
86 body {padding:4px;margin:0;font-size:10pt;}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
87 a {text-decoration:none;}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
88
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
89 .bold {font-weight:bold;}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
90 .small {font-size:75%;}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
91
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
92 a img {border:none; }
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
93
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
94 table#reservation_table {
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
95 width: 960px;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
96 border: 1px #BBB solid;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
97 border-collapse: collapse;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
98 border-spacing: 0;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
99 }
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
100
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
101 table#reservation_table th {
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
102 padding: 5px;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
103 border: #E3E3E3 solid;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
104 border-width: 0 0 1px 1px;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
105 background: #BBB;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
106 font-weight: bold;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
107 line-height: 120%;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
108 text-align: center;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
109 }
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
110 table#reservation_table td {
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
111 padding: 5px;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
112 border: 1px #BBB solid;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
113 border-width: 0 0 1px 1px;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
114 text-align: center;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
115 }
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
116
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
117 table#reservation_table tr.ctg_news, #category_select a.ctg_news {background-color: #FFFFD8;}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
118 table#reservation_table tr.ctg_etc, #category_select a.ctg_etc {background-color: #FFFFFF;}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
119 table#reservation_table tr.ctg_information, #category_select a.ctg_information {background-color: #F2D8FF;}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
120 table#reservation_table tr.ctg_sports, #category_select a.ctg_sports {background-color: #D8FFFF;}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
121 table#reservation_table tr.ctg_cinema, #category_select a.ctg_cinema {background-color: #FFD8D8;}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
122 table#reservation_table tr.ctg_music, #category_select a.ctg_music {background-color: #D8D8FF;}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
123 table#reservation_table tr.ctg_drama, #category_select a.ctg_drama {background-color: #D8FFD8;}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
124 table#reservation_table tr.ctg_anime, #category_select a.ctg_anime {background-color: #FFE4C8;}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
125 table#reservation_table tr.ctg_variety, #category_select a.ctg_variety {background-color: #FFD2EB;}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
126 table#reservation_table tr.ctg_10, #category_select a.ctg_10 {background-color: #E4F4F4;}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
127
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
128
14
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
129 #floatBox4Dialog .prg_title{font-size:120%;font-weight:bold;padding:0.4em 0;text-align:center;}
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
130 #floatBox4Dialog .prg_rec_cfg{background:#EEE;padding:1em 2em;margin:0.4em 0;}
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
131 #floatBox4Dialog .labelLeft {width:8em;float:left;text-align:right;}
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
132 #floatBox4Dialog .button {padding:0.4em 1em;}
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
133
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
134
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
135 -->
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
136 </style>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
137 {/literal}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
138
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
139 </head>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
140
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
141 <body>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
142
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
143 <h2>{$sitetitle}</h2>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
144
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
145 <p><a href="index.php">番組表に戻る</a></p>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
146
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
147 <div>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
148 絞り込み:
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
149 <form method="post" action="recordedTable.php" >
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
150 <input type="hidden" name="do_search" value="1" />
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
151 検索語句<input type="text" size="20" name="search" value="{$search}" />
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
152 局<select name="station">
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
153 {foreach from=$stations item=st}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
154 <option value="{$st.id}" {$st.selected}>{$st.name}</option>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
155 {/foreach}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
156 </select>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
157 カテゴリ<select name="category_id">
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
158 {foreach from=$cats item=cat}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
159 <option value="{$cat.id}" {$cat.selected}>{$cat.name}</option>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
160 {/foreach}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
161 </select>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
162 <input type="submit" value="絞り込む" />
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
163 </form>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
164 </div>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
165
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
166 タイトルや内容をクリックすると視聴できます(ブラウザの設定でASFとVLCを関連付けている必要があります)
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
167 {if count($records)}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
168 <table id="reservation_table">
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
169 <tr>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
170 <th>録画日時</th>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
171 <th>ch</th>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
172 <th>モード</th>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
173 {if $use_thumbs}<th>サムネール</th>{/if}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
174 <th>タイトル</th>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
175 <th>内容</th>
27
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
176 <th>変更</th>
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
177 <th>削除</th>
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
178 </tr>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
179
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
180 {foreach from=$records item=rec }
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
181 <tr id="resid_{$rec.id}" class="ctg_{$rec.cat}">
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
182 <td>{$rec.starttime}</td>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
183 <td>{$rec.station_name}</td>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
184 <td>{$rec.mode}</td>
14
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
185 {if $use_thumbs}<td><a href="{$rec.asf}">{$rec.thumb}</a></td>{/if}
27
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
186 <td><a href="{$rec.asf}" id="tid_{$rec.id}">{$rec.title}</a></td>
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
187 <td><a href="{$rec.asf}" id="did_{$rec.id}">{$rec.description}</a></td>
a34f2ff49097 add: editable title & description
yoneda <epgrec@park.mda.or.jp>
parents: 14
diff changeset
188 <td><input type="button" value="変更" onClick="javascript:PRG.editdialog('{$rec.id}')" /></td>
14
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
189 <td><input type="button" value="削除" onClick="javascript:PRG.dialog('{$rec.id}','{$rec.title}')" /></td>
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
190 </tr>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
191 {/foreach}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
192 </table>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
193
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
194 {else}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
195 現在、録画済データはありません
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
196 {/if}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
197
14
bbbc4f1ecf1d added: remove video with real file.
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
198 <div id="floatBox4Dialog">jQuery UI Dialog</div>
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
199
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
200 {literal}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
201 <script type="text/javascript">
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
202 var INISet = {
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
203 prgRecordURL : 'record.php', // 簡易予約
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
204 prgRecordPlusURL : 'recordp.php', // 詳細予約
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
205 prgCancelURL : 'cancelReservation.php' // 予約キャンセル
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
206 }
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
207 </script>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
208 {/literal}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
209 </body>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
210 </html>