From 22136c401ac7f240f60d0d9ce71c7274429b38e0 Mon Sep 17 00:00:00 2001 From: TheTroll Date: Mon, 22 Feb 2010 23:22:26 +0100 Subject: Timers implemntation WIP --- includes/inc_edittimer.php | 105 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100755 includes/inc_edittimer.php (limited to 'includes/inc_edittimer.php') diff --git a/includes/inc_edittimer.php b/includes/inc_edittimer.php new file mode 100755 index 0000000..a9591e0 --- /dev/null +++ b/includes/inc_edittimer.php @@ -0,0 +1,105 @@ +\r\n"; +print "
\r\n"; +print "
\r\n"; +print "Back
\r\n"; +print "
\r\n"; +print "\"home\"
\r\n"; +print "
iStream
\r\n"; +print "
\r\n"; +print "
Edit Timer\r\n"; + +$timer = $_REQUEST['timer']; + +list($type, $channame, $date, $stime, $etime, $desc) = vdrgettimerinfo($timer); + +// Timer name +print "
\r\n"; +print "
    \r\n"; +print "
  • Recording name
  • \r\n"; +print "
  • \r\n"; +print " \r\n"; +print "
  • \r\n"; +print "
\r\n"; +print "
    \r\n"; +print "
  • Channel
  • \r\n"; +print "
  • \r\n"; + +// Channel selection +print " \r\n"; +print " "; +print "
  • \r\n"; +print "
\r\n"; + +// Date selection +print "
    \r\n"; +print "
  • Date
  • \r\n"; + +$datearray = explode("-", $date); + +print "
  • \r\n"; +print " {$date}"; +print "
  • \r\n"; +print "
\r\n"; + +// Start/End time selection +print " \r\n"; +print " \r\n"; + +print "\r\n"; +print "\r\n"; +print "\r\n"; +print "\r\n"; +print "\r\n"; +print "\r\n"; + +print "
    \r\n"; +print "
  • \r\n"; +if ($timer == -1) + print "
  • \r\n"; +else + print " \r\n"; +print "
\r\n"; +print "
\r\n"; + +if ($timer != -1) +{ + print "
\r\n"; + print " \r\n"; + print " \r\n"; + print "
    \r\n"; + print "
  • \r\n"; + print "
  • \r\n"; + print "
\r\n"; + print "
\r\n"; +} + +print "
\r\n"; +print "
\r\n"; + +?> -- cgit v1.2.3