summaryrefslogtreecommitdiff
path: root/includes/inc_timers.php
blob: 6c3aacf4901036beaaa2b40f3e7f9565b498f390 (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
<?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";

//contextual alert message

//error new timer
print " <ul class=\"pageitem\">";
print " <li class=\"textbox\"><p><font color='red'>Error: the timer was not created</font></p></li>";
print " </ul>";

//error edit timer
print " <ul class=\"pageitem\">";
print " <li class=\"textbox\"><p><font color='red'>Error: the timer was not edited</font></p></li>";
print " </ul>";

//success new timer
print " <ul class=\"pageitem\">";
print " <li class=\"textbox\"><p>The timer was successfully created</p></li>";
print " </ul>";

//success edit timer
print " <ul class=\"pageitem\">";
print " <li class=\"textbox\"><p>The timer was successfully edited</font></p></li>";
print " </ul>";

//end contextual alert message

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
?>