trunk 20080912
[gitenigma.git] / data / templates / streamingServer.tmp
blob1e36d341ed3b8043f06f0214fefb6bb344207a77
1 <html>
2 <head>
3         <script language="javascript" type="text/javascript" src="/window.js"></script>
4         <script language="javascript">
5         function playFile()
6         {
7                 document.location =  "/cgi-bin/movieplayer.m3u?command=start&mrl=" + document.form1.mrl.value;
8         }
9         function playDVD()
10         {
11                 var parms = "";
12                 if (document.form1.title1.value > 0)
13                         parms = "@" + document.form1.title1.value + ":" + document.form1.chapter1.value + "-";
14                 document.location = "/cgi-bin/movieplayer.m3u?command=start&mrl=dvdsimple:" + document.form1.drive1.value + parms;
15         }
16         function playVCD()
17         {
18                 var parms = "";
19                 if (document.form1.title2.value > 0)
20                         parms = "@" + document.form1.title2.value + ":" + document.form1.chapter2.value + "-";
21                 document.location = "/cgi-bin/movieplayer.m3u?command=start&mrl=vcd:" + document.form1.drive2.value + parms;
22         }
23         function settings()
24         {
25                 NewWindow('/cgi-bin/streamingServerSettings', 'streamingserver', '780', screen.height, 'yes');
26         }
27         </script>
28 </head>
29 <body id="mainbody" style="padding: 10px; background-color: #F4F4F4;" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
30         <form name="form1">
31                 #FILEBUTTON#
32                 &nbsp;
33                 <input type="file" size="40" height="22" name="mrl">
34                 <br><br>
35                 #DVDBUTTON#
36                 &nbsp;Drive:&nbsp;
37                 <input type="text" name="drive1" value="#DRIVE#" readonly>
38                 &nbsp;Title:&nbsp;
39                 <select name="title1" size="1">
40                         <option value="1">1</option>
41                         <option value="2">2</option>
42                         <option value="3">3</option>
43                         <option value="4">4</option>
44                         <option value="5">5</option>
45                         <option value="6">6</option>
46                         <option value="7">7</option>
47                         <option value="8">8</option>
48                         <option value="9">9</option>
49                         <option value="10">10</option>
50                         <option value="11">11</option>
51                         <option value="12">12</option>
52                         <option value="13">13</option>
53                         <option value="14">14</option>
54                         <option value="15">15</option>
55                         <option value="16">16</option>
56                         <option value="17">17</option>
57                         <option value="18">18</option>
58                         <option value="19">19</option>
59                         <option value="20">20</option>
60                         <option value="21">21</option>
61                         <option value="22">22</option>
62                         <option value="23">23</option>
63                         <option value="24">24</option>
64                         <option value="25">25</option>
65                 </select>
66                 &nbsp;Chapter:&nbsp;
67                 <select name="chapter1" size="1">
68                         <option value="1">1</option>
69                         <option value="2">2</option>
70                         <option value="3">3</option>
71                         <option value="4">4</option>
72                         <option value="5">5</option>
73                         <option value="6">6</option>
74                         <option value="7">7</option>
75                         <option value="8">8</option>
76                         <option value="9">9</option>
77                         <option value="10">10</option>
78                         <option value="11">11</option>
79                         <option value="12">12</option>
80                         <option value="13">13</option>
81                         <option value="14">14</option>
82                         <option value="15">15</option>
83                         <option value="16">16</option>
84                         <option value="17">17</option>
85                         <option value="18">18</option>
86                         <option value="19">19</option>
87                         <option value="20">20</option>
88                         <option value="21">21</option>
89                         <option value="22">22</option>
90                         <option value="23">23</option>
91                         <option value="24">24</option>
92                         <option value="25">25</option>
93                 </select>
94                 <br><br>
95                 #VCDBUTTON#
96                 &nbsp;Drive:&nbsp;
97                 <input type="text" name="drive2" value="#DRIVE#" readonly>
98                 &nbsp;Title:&nbsp;
99                 <select name="title2" size="1">
100                         <option value="1">1</option>
101                         <option value="2">2</option>
102                         <option value="3">3</option>
103                         <option value="4">4</option>
104                         <option value="5">5</option>
105                         <option value="6">6</option>
106                         <option value="7">7</option>
107                         <option value="8">8</option>
108                         <option value="9">9</option>
109                         <option value="10">10</option>
110                         <option value="11">11</option>
111                         <option value="12">12</option>
112                         <option value="13">13</option>
113                         <option value="14">14</option>
114                         <option value="15">15</option>
115                         <option value="16">16</option>
116                         <option value="17">17</option>
117                         <option value="18">18</option>
118                         <option value="19">19</option>
119                         <option value="20">20</option>
120                         <option value="21">21</option>
121                         <option value="22">22</option>
122                         <option value="23">23</option>
123                         <option value="24">24</option>
124                         <option value="25">25</option>
125                 </select>
126                 &nbsp;Chapter:&nbsp;
127                 <select name="chapter2" size="1">
128                         <option value="1">1</option>
129                         <option value="2">2</option>
130                         <option value="3">3</option>
131                         <option value="4">4</option>
132                         <option value="5">5</option>
133                         <option value="6">6</option>
134                         <option value="7">7</option>
135                         <option value="8">8</option>
136                         <option value="9">9</option>
137                         <option value="10">10</option>
138                         <option value="11">11</option>
139                         <option value="12">12</option>
140                         <option value="13">13</option>
141                         <option value="14">14</option>
142                         <option value="15">15</option>
143                         <option value="16">16</option>
144                         <option value="17">17</option>
145                         <option value="18">18</option>
146                         <option value="19">19</option>
147                         <option value="20">20</option>
148                         <option value="21">21</option>
149                         <option value="22">22</option>
150                         <option value="23">23</option>
151                         <option value="24">24</option>
152                         <option value="25">25</option>
153                 </select>
154                 <br><br><br>
155                 #SETTINGSBUTTON#
156         </form>
157 </body>
158 </html>