summaryrefslogtreecommitdiff
path: root/template/French/tv.html.bak
blob: e5609c17a2c388ab51aeab1145050b6c88d88bf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<html>
  <head>
    <title>Fernseher (<tmpl_var host>)</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
		<script language="JavaScript">
		<!--
		var aktiv;
		var interval = 5;

		function switch_channel(url) {
			Now = new Date();
			document.switchimage.src = url + "&" + Now.getTime();
      window.setTimeout("WebcamUpdate()", 500);
		}

		function WebcamUpdate() {
			Now = new Date();
			NewPicUrl = "<tmpl_var url>&size=half&" + Now.getTime();
			document.Bild.src = NewPicUrl;
		}
		function go() {
			WebcamUpdate();
      v_Start();
		}
		function v_Start() {
			aktiv = window.setInterval("WebcamUpdate()", interval * 1000);
		}
		function v_Stop() {
			window.clearInterval(aktiv);
		}
		function v_changeInterval(val) {
			interval = val;
			v_Stop();
			if(interval > 0) {
			  go()
			};
		}
		//-->
		</script>
		<style type="text/css" media="screen"><!--
#Ebene1 { position: absolute; z-index: 0; top: 0px; left: 0px; width: 100px; height: 100px; visibility: visible; display: block }
#Ebene2 { position: absolute; z-index: 10; top: 0px; left: 0px; width: 100px; height: 100px; visibility: visible; display: block }
td      { color: #000; font-weight: normal; font-size: 11px; font-family: Verdana, Arial, Geneva, Helvetica, sans-serif }
input, b   { font-weight: normal; font-size: 9px; font-family: Verdana, Arial, Geneva, Helvetica, sans-serif}
select { font-weight: normal; width: 55px; height: 20px; font-size: 9px; font-family: Verdana, Arial, Geneva, Helvetica, sans-serif}
#small  { font-weight: normal; width: 20px; height: 20px; font-size: 9px; font-family: Verdana, Arial, Geneva, Helvetica, sans-serif}
		--></style>
  </head>

<body onLoad="go()" background="bilder/tv_bottom.gif" bgcolor="#FFFFFF" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0"> 
		<form name="liveform">
    <table width="200" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td>
					<img name="Bild" src="<tmpl_var url>&size=half" border="1" hspace=2 vspace=2>
				</td>
        <td>
          <img src="bilder/spacer.gif" name="switchimage" width="2" height="1">
				</td>
        <td valign="top">
          <table border=0 cellpadding=0 cellspacing=0>
            <tr>
              <td colspan="3" align="right"><nobr><input type="button" onclick="switch_channel('./vdradmin.pl?aktion=rc_hitk&key=Power')" name="menu" value="Power"></td>
            <tr>
            <tr>
              <td align='center'><input id='small' onclick="switch_channel('./vdradmin.pl?aktion=rc_hitk&key=1')" type="button" name="1" value="1"></td>
              <td align='center'><input id='small' onclick="switch_channel('./vdradmin.pl?aktion=rc_hitk&key=2')" type="button" name="2" value="2"></td>
              <td align='center'><input id='small' onclick="switch_channel('./vdradmin.pl?aktion=rc_hitk&key=3')" type="button" name="3" value="3"></td>
            <tr>
            <tr>
              <td align='center'><input id='small' onclick="switch_channel('./vdradmin.pl?aktion=rc_hitk&key=4')" type="button" name="4" value="4"></td>
              <td align='center'><input id='small' onclick="switch_channel('./vdradmin.pl?aktion=rc_hitk&key=5')" type="button" name="5" value="5"></td>
              <td align='center'><input id='small' onclick="switch_channel('./vdradmin.pl?aktion=rc_hitk&key=6')" type="button" name="6" value="6"></td>
            <tr>
            <tr>
              <td align='center'><input id='small' onclick="switch_channel('./vdradmin.pl?aktion=rc_hitk&key=7')" type="button" name="7" value="7"></td>
              <td align='center'><input id='small' onclick="switch_channel('./vdradmin.pl?aktion=rc_hitk&key=8')" type="button" name="8" value="8"></td>
              <td align='center'><input id='small' onclick="switch_channel('./vdradmin.pl?aktion=rc_hitk&key=9')" type="button" name="9" value="9"></td>
            <tr>
            <tr>
              <td>&nbsp;</td>
              <td align='center'><input id='small' onclick="switch_channel('./vdradmin.pl?aktion=rc_hitk&key=0')" type="button" name="0" value="0"></td>
              <td>&nbsp;</td>
            <tr>
            <tr>
              <td colspan="3" align="center"><nobr>
                <input id='small' onclick="switch_channel('./vdradmin.pl?aktion=rc_hitk&key=Red')" type="button" name="red" value=" " style="background:red">
                <input id='small' onclick="switch_channel('./vdradmin.pl?aktion=rc_hitk&key=Green')" type="button" name="green" value=" " style="background:green">
                <input id='small' onclick="switch_channel('./vdradmin.pl?aktion=rc_hitk&key=Yellow')" type="button" name="yellow" value=" " style="background:yellow">
                <input id='small' onclick="switch_channel('./vdradmin.pl?aktion=rc_hitk&key=Blue')" type="button" name="blue" value=" " style="background:blue">
              </td>
            <tr>
            <tr>
              <td>&nbsp;</td>
              <td align='center'><input id='small' onclick="switch_channel('./vdradmin.pl?aktion=rc_hitk&key=Up')" type="button" name="up" value="^"></td>
              <td>&nbsp;</td>
            <tr>
            <tr>
              <td align='center'><input id='small' onclick="switch_channel('./vdradmin.pl?aktion=rc_hitk&key=Left')" type="button" name="left" value="<"></td>
              <td align='center'><input            onclick="switch_channel('./vdradmin.pl?aktion=rc_hitk&key=Ok')" type="button" name="ok" value="Ok"></td>
              <td align='center'><input id='small' onclick="switch_channel('./vdradmin.pl?aktion=rc_hitk&key=Right')" type="button" name="right" value=">"></td>
            <tr>
            <tr>
              <td>&nbsp;</td>
              <td align='center'><input id='small' onclick="switch_channel('./vdradmin.pl?aktion=rc_hitk&key=Down')" type="button" name="down" value="v"></td>
              <td>&nbsp;</td>
            <tr>
            <tr>
              <td colspan="3"><nobr>
              <input type="button" onclick="switch_channel('./vdradmin.pl?aktion=rc_hitk&key=Menu')" name="menu" value="Menu">
              <input onclick="switch_channel('./vdradmin.pl?aktion=rc_hitk&key=Back')" type="button" name="back" value="Back">
              </td>
            <tr>
            <tr>
              <td align='center'><input id='small' onclick="switch_channel('./vdradmin.pl?aktion=rc_hitk&key=VolumeMinus')" type="button" name="leiser" value="-"></td>
              <td>&nbsp;</td>
              <td align='center'><input id='small' onclick="switch_channel('./vdradmin.pl?aktion=rc_hitk&key=VolumePlus')" type="button" name="lauter" value="+"></td>
            <tr>
            <tr><td colspan+"3">&nbsp;</td></tr>
            <tr valign="bottom">
              <td colspan="3" valign="bottom"><b>Intervall:</b><br><select name="Seconds" size="1" onChange="v_changeInterval(this.options[this.selectedIndex].value)">
      						<option value="0">off</option>
      						<option value="1"> 1 sec.</option>
      						<option value="2"> 2 sec.</option>
      						<option value="3"> 3 sec</option>
      						<option value="5" selected> 5 sec.</option>
      						<option value="10">10 sec.</option>
      						<option value="30">30 sec.</option>
      						<option value="60">60 sec.</option>
      					</select><input type="button" name="livebild" value='G' title="Grab the picture!" onClick="WebcamUpdate()">
              </td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
		</form>
  </body>
</html>