summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rwxr-xr-xincludes/inc_home.php13
-rwxr-xr-xincludes/inc_stream.php4
-rwxr-xr-xincludes/inc_vdr.php2
-rwxr-xr-xincludes/include.php16
4 files changed, 29 insertions, 6 deletions
diff --git a/includes/inc_home.php b/includes/inc_home.php
index 8fcf513..11a388c 100755
--- a/includes/inc_home.php
+++ b/includes/inc_home.php
@@ -7,14 +7,21 @@ print "<div id=\"topbar\" class=\"transparent\">\r\n";
print "<div id=\"title\">iStreamdev</div>\r\n";
print "</div>\r\n";
print "<div id=\"content\">\r\n";
-print " <span class=\"graytitle\">Home</span>\r\n";
+print " <span class=\"graytitle\">VDR</span>\r\n";
print " <ul class=\"pageitem\">\r\n";
print " <li class=\"menu\"><a href=\"javascript:sendForm('channels');\"><img src=\"images/pictos/tv.png\" /><span class=\"name\">Channels</span><span class=\"arrow\"></span></a></li>\r\n";
print " <form name=\"channels\" id=\"channels\" method=\"post\" action=\"index.php\"><input name=\"action\" type=\"hidden\" id=\"action\" value=\"listcategory\" /></form>\r\n";
print " <li class=\"menu\"><a class=\"noeffect\" href=\"javascript:sendForm('recordings');\"><img src=\"images/pictos/record.png\" /><span class=\"name\">Recordings</span><span class=\"arrow\"></span></a></li>\r\n";
print " <form name=\"recordings\" id=\"recordings\" method=\"post\" action=\"index.php\"><input name=\"action\" type=\"hidden\" id=\"action\" value=\"recordings\" /><input name=\"dir\" type=\"hidden\" id=\"dir\" value=\"{$vdrrecpath}\" /></form>\r\n";
-print " <li class=\"menu\"><a class=\"noeffect\" href=\"javascript:sendForm('media');\"><img src=\"images/pictos/media.png\" /><span class=\"name\">Medias</span><span class=\"arrow\"></span></a></li>\r\n";
-print " <form name=\"media\" id=\"media\" method=\"post\" action=\"index.php\"><input name=\"action\" type=\"hidden\" id=\"action\" value=\"media\" /></form>\r\n";
+print " <li class=\"menu\"><a class=\"noeffect\" href=\"javascript:sendForm('epg');\"><img src=\"images/pictos/epg.png\" /><span class=\"name\">Program Guide</span><span class=\"arrow\"></span></a></li>\r\n";
+print " <form name=\"epg\" id=\"epg\" method=\"post\" action=\"index.php\"><input name=\"action\" type=\"hidden\" id=\"action\" value=\"epg\" /></form>\r\n";
+print " <li class=\"menu\"><a class=\"noeffect\" href=\"javascript:sendForm('timers');\"><img src=\"images/pictos/timers.png\" /><span class=\"name\">Timers</span><span class=\"arrow\"></span></a></li>\r\n";
+print " <form name=\"timers\" id=\"timers\" method=\"post\" action=\"index.php\"><input name=\"action\" type=\"hidden\" id=\"action\" value=\"timers\" /></form>\r\n";
print " </ul>";
+print " <span class=\"graytitle\">MEDIA</span>\r\n";
+print " <ul class=\"pageitem\">\r\n";
+print " <li class=\"menu\"><a class=\"noeffect\" href=\"javascript:sendForm('media');\"><img src=\"images/pictos/media.png\" /><span class=\"name\">Media</span><span class=\"arrow\"></span></a></li>\r\n";
+print " <form name=\"media\" id=\"media\" method=\"post\" action=\"index.php\"><input name=\"action\" type=\"hidden\" id=\"action\" value=\"media\" /></form>\r\n";
+print " </ul>";
print "</div>";
?>
diff --git a/includes/inc_stream.php b/includes/inc_stream.php
index da191fa..b4cb5bd 100755
--- a/includes/inc_stream.php
+++ b/includes/inc_stream.php
@@ -28,7 +28,7 @@ if (infostreamexist())
$logopath = "logos/" .$realname .".png";
if (!file_exists($logopath))
- print " <center><video id=\"videofeed\" poster=\"logos/nologo2.png\" width='80' height='80' /></center>\r\n";
+ print " <center><video id=\"videofeed\" poster=\"logos/nologoTV.png\" width='80' height='80' /></center>\r\n";
else
print " <center><video id=\"videofeed\" poster=\"{$logopath}\" width='80' height='80' /></center>\r\n";
@@ -116,7 +116,7 @@ else
$logopath = "logos/" .$realname .".png";
if (!file_exists($logopath))
- print " <center><img src=\"logos/nologo2.png\"></img></center>\r\n";
+ print " <center><img src=\"logos/nologoTV.png\"></img></center>\r\n";
else
print " <center><img src=\"{$logopath}\"></img></center>\r\n";
diff --git a/includes/inc_vdr.php b/includes/inc_vdr.php
index 49c1acf..7e52d4b 100755
--- a/includes/inc_vdr.php
+++ b/includes/inc_vdr.php
@@ -178,7 +178,7 @@ function vdrlistchannels($category = "NULL")
$chan2=addslashes($chan);
print " <a class=\"noeffect\" href=\"javascript:sendForm('$chan2');\">\r\n";
if (!file_exists('logos/'.$chan.'.png'))
- print " <img src=\"logos/nologo.png\" />\r\n";
+ print " <img src=\"logos/nologoTV.png\" />\r\n";
else
print " <img src=\"logos/{$chan}.png\" />\r\n";
print " <span class=\"name\">$chan</span>\r\n";
diff --git a/includes/include.php b/includes/include.php
index 913b22a..ca86aea 100755
--- a/includes/include.php
+++ b/includes/include.php
@@ -42,6 +42,12 @@ function selectpage()
case ("media"):
gen_media();
break;
+ case ("epg"):
+ gen_epg();
+ break;
+ case ("timers"):
+ gen_timers();
+ break;
case ("startstream"):
$type = $_REQUEST['type'];
$name = $_REQUEST['name'];
@@ -91,6 +97,16 @@ function gen_media()
include('includes/inc_media.php');
}
+function gen_epg()
+{
+ include('includes/inc_epg.php');
+}
+function gen_timers()
+{
+ include('includes/inc_timers.php');
+}
+
+
function start_stream($type, $name, $title, $desc, $qname, $qparams, $category, $url)
{
global $httppath, $ffmpegpath;