<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD>
<TITLE>Web Remote</TITLE>
</HEAD>

<style type=text/css>
A { color: Black; TEXT-DECORATION: none }
TABLE { font-family: Arial, Helvetica, sans-serif;
        font-size: 9pt;  border: 2px outset #C0C0C0; }
.R { background: Tomato; border: 2px groove #C0C0C0; }
.W { background: White;  border: 2px groove #C0C0C0; }
.G { background: Gray;   border: 2px groove #C0C0C0; }
</STYLE>

<BODY>

  <CENTER>
    <table bgcolor="LightGrey" cellspacing="6">
      <tr align="center"><th colspan=3>WEB REMOTE</th></tr>
      <tr align="center"><td
          class="G"><a href="/sendkey/lock">Lock</a></td><td></td><td
          class="G"><a href="/sendkey/power">Power</a></td></tr>
      <tr align="center"><td colspan=3></td></tr>

      <tr align="center"><td 
          class="G"><a href="/sendkey/reverse">Reverse</a></td><td
          class="G"><a href="/sendkey/play">Play</a></td><td
          class="G"><a href="/sendkey/forward">Forward</a></td></tr>
      <tr align="center"><td
          class="G"><a href="/sendkey/stop">Stop</a></td><td
          class="G"><a href="/sendkey/pause">Pause</a></td><td
          class="G"><a href="/sendkey/record">Record</a></td></tr>
      <tr align="center"><td colspan=3></td></tr>

      <tr align="center"><td
          class="G"><a href="/sendkey/pageup">PageUp</a></td><td></td><td
          class="G"><a href="/sendkey/pagedown">PageDn</a></td></tr>

      <tr align="center"><td></td><td><a 
          class="W" href="/sendkey/up">&nbsp;UP&nbsp;</a></td><td></td></tr>
      <tr align="center"><td align="Right"><a 
          class="W" href="/sendkey/left">&nbsp;LT&nbsp;</a></td><td
          class="G"><a href="/sendkey/select">OK<small><br>Select</small></a></td><td 
          align="Left"><a 
          class="W" href="/sendkey/right">&nbsp;RT&nbsp;</a></td></tr>
      <tr align="center"><td>&nbsp;</td><td><a 
          class="W" href="/sendkey/down">&nbsp;DN&nbsp;</a></td><td></td></tr>

      <tr align="center"><td 
          class="R"><a href="/sendkey/guide">Guide</a></td><td 
          class="W"><a href="/sendkey/info">Info</a></td><td 
          class="R"><a href="/sendkey/menu">Menu</a></td></tr>

      <tr align="center"><td 
          class="W"><a href="/sendkey/exit">Exit</a></td><td 
          class="R"><a href="/sendkey/help">Help</a></td><td 
          class="W"><a href="/sendkey/last">Last</a></td></tr>
      <tr align="center"><td colspan=3></td></tr>

      <tr align="center"><td rowspan="2"
          class="W"><a href="/sendkey/volumeup">&nbsp; + &nbsp;</a>
                    <small><br>Vol<br></small><a 
          href="/sendkey/volumedown">&nbsp; &ndash; &nbsp;</a></td><td><a
          class="G" href="/sendkey/mute">&nbsp;Mute&nbsp;</a></td><td 
          class="W" rowspan="2"><a href="/sendkey/surfdown">&nbsp; + &nbsp;</a>
                    <small><br>Chan<br></small><a
          href="/sendkey/surfdown">&nbsp; &ndash; &nbsp;</a></td></tr>
      <tr align="center"><td><a
          class="G" href="/sendkey/favorite">&nbsp; FAV &nbsp;</a></td></tr>
      <tr align="center"><td colspan=3></td></tr>

      <tr align="center"><td><a
          class="G" href="/sendkey/num1">&nbsp; 1 &nbsp;</a></td><td><a
          class="G" href="/sendkey/num2">&nbsp; 2 &nbsp;</a></td><td><a
          class="G" href="/sendkey/num3">&nbsp; 3 &nbsp;</a></td></tr>
      <tr align="center"><td><a
          class="G" href="/sendkey/num4">&nbsp; 4 &nbsp;</a></td><td><a
          class="G" href="/sendkey/num5">&nbsp; 5 &nbsp;</a></td><td><a
          class="G" href="/sendkey/num6">&nbsp; 6 &nbsp;</a></td></tr>
      <tr align="center"><td><a
          class="G" href="/sendkey/num7">&nbsp; 7 &nbsp;</a></td><td><a
          class="G" href="/sendkey/num8">&nbsp; 8 &nbsp;</a></td><td><a
          class="G" href="/sendkey/num9">&nbsp; 9 &nbsp;</a></td></tr>
      <tr align="center"><td></td><td><a
          class="G" href="/sendkey/num0">&nbsp; 0 &nbsp;</a></td><td><a
          class="G" href="/sendkey/enter">&nbsp;Enter&nbsp;</a></td></tr>

    </table>
  </CENTER>

<?php

$path = explode("/",$_SERVER['REQUEST_URI']);
$event = escapeshellcmd($path[count($path) - 1]);
$cmd = "sudo /usr/local/bin/6200cmd $event";
if ($cmd !== "sendkey") exec($cmd);

?>

<BR></BODY></HTML>