From 31e17f99c8bf22b89bcd92b314d8df5b8fcc4189 Mon Sep 17 00:00:00 2001 From: Alib Date: Fri, 19 Feb 2010 17:24:46 +0100 Subject: adding pictos, nologos*, and preparing some stuff for timers & epg --- includes/inc_home.php | 13 ++++++++++--- includes/inc_stream.php | 4 ++-- includes/inc_vdr.php | 2 +- includes/include.php | 16 ++++++++++++++++ 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 "
\r\n"; print "
iStreamdev
\r\n"; print "
\r\n"; print "
\r\n"; -print " Home\r\n"; +print " VDR\r\n"; print " "; +print " MEDIA\r\n"; +print " "; print "
"; ?> 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 "
\r\n"; + print "
\r\n"; else print "
\r\n"; @@ -116,7 +116,7 @@ else $logopath = "logos/" .$realname .".png"; if (!file_exists($logopath)) - print "
\r\n"; + print "
\r\n"; else print "
\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 " \r\n"; if (!file_exists('logos/'.$chan.'.png')) - print " \r\n"; + print " \r\n"; else print " \r\n"; print " $chan\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; -- cgit v1.2.3