summaryrefslogtreecommitdiff
path: root/includes/inc_timers.php
blob: 5190494a8cc2317f466b38576f3b4bb2b4667ba6 (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
<?php
print "<body onorientationchange=\"updateOrientation();\" onload=\"updateOrientation();\">\r\n";
print "<div id=\"topbar\" class=\"transparent\">\r\n";
print "<div id=\"leftnav\">\r\n";
print "<a href=\"index.php\"><img alt=\"home\" src=\"images/home.png\" /></a></div>\r\n";
print "<div id=\"title\">iStreamdev</div>\r\n";
print "</div>\r\n";
print "<div id=\"content\">\r\n";
print " <span class=\"graytitle\">Timers</span>\r\n";

// Status display
if ($message != "")
{
	print " <ul class=\"pageitem\">";
	print $message;
	print " </ul>";
}

print " <ul class=\"pageitem\">";
print "  <li class=\"textbox\">";
print "   <span class=\"header\">Current timers</span>";
print "  </li>";

vdrlisttimers();

print "</ul>";

print "<ul class=\"pageitem\">";
print " <li class=\"menu\">";
print "  <a href=\"javascript:sendForm('new_timer')\">";
print "   <span class=\"name\">New Timer</span>";
print "   <span class=\"arrow\"></span>";
print "  </a>";
print " </li>";
print " <form name=\"new_timer\" id=\"new_timer\" method=\"post\" action=\"index.php\">";
print "  <input name=\"action\" type=\"hidden\" id=\"action\" value=\"edittimer\"/>";
print "  <input name=\"timer\" type=\"hidden\" id=\"timer\" value=\"-1\" />";
print " </form>";
print "</ul>";

print "</div>\r\n";
a
?>