24 /* |
24 /* |
25 * Look for the style names in the jqwidgets/styles directory. |
25 * Look for the style names in the jqwidgets/styles directory. |
26 */ |
26 */ |
27 $my_style = 'ui-redmond'; |
27 $my_style = 'ui-redmond'; |
28 |
28 |
|
29 require_once('utilities.php'); |
29 require_once('liveview.php'); |
30 require_once('liveview.php'); |
|
31 |
|
32 |
|
33 |
|
34 /* |
|
35 * Handle the post events |
|
36 */ |
|
37 if (isset($_POST['mode']) && isset($_POST['UUID'])) { |
|
38 send_cmd('UNIT '.$_POST['UUID']); |
|
39 send_cmd('MODE '.$_POST['mode']); |
|
40 } |
|
41 |
30 |
42 |
31 |
43 |
32 $outstr = '<!DOCTYPE html>'.PHP_EOL; |
44 $outstr = '<!DOCTYPE html>'.PHP_EOL; |
33 $outstr .= '<html>'.PHP_EOL; |
45 $outstr .= '<html>'.PHP_EOL; |
34 $outstr .= ' <head>'.PHP_EOL; |
46 $outstr .= ' <head>'.PHP_EOL; |