diff options
author | Alib <aliboba@free.fr> | 2010-02-24 11:49:43 +0100 |
---|---|---|
committer | Alib <aliboba@free.fr> | 2010-02-24 11:49:43 +0100 |
commit | 4703e91adada95b89ebd3de7086ebc8588f8424f (patch) | |
tree | 8731712e26d25b5eb3489e382eabb36336056858 /includes | |
parent | f254a8b5816384da1fa7a3bb639232ecec582014 (diff) | |
download | istreamdev-4703e91adada95b89ebd3de7086ebc8588f8424f.tar.gz istreamdev-4703e91adada95b89ebd3de7086ebc8588f8424f.tar.bz2 |
experimental playlist for music
Diffstat (limited to 'includes')
-rwxr-xr-x | includes/inc_media.php | 2 | ||||
-rw-r--r-- | includes/inc_mp3.php | 27 |
2 files changed, 28 insertions, 1 deletions
diff --git a/includes/inc_media.php b/includes/inc_media.php index b871a42..f39272a 100755 --- a/includes/inc_media.php +++ b/includes/inc_media.php @@ -95,7 +95,7 @@ else || preg_match("'" .$fileext ." $'", $audiotypes) ) { - print "<li class=\"menu\"><a href=\"streammusic.php?file={$dir}{$value}\"><img src=\"images/pictos/audio.png\" /><span class=\"name\">$value</span><span class=\"arrow\"></span></a></li>\r\n"; + print "<li class=\"menu\"><a href=\"streammusic.php?dir={$dir}&file={$value}\"><img src=\"images/pictos/audio.png\" /><span class=\"name\">$value</span><span class=\"arrow\"></span></a></li>\r\n"; } } } diff --git a/includes/inc_mp3.php b/includes/inc_mp3.php new file mode 100644 index 0000000..78da942 --- /dev/null +++ b/includes/inc_mp3.php @@ -0,0 +1,27 @@ +<?php +print "<body class=\"ipodlist\" onorientationchange=\"updateOrientation();\" onload=\"updateOrientation();\">\r\n"; +print "<div id=\"topbar\" class=\"transparent\">\r\n"; +print "<div id=\"leftnav\">\r\n"; +print " <a href=\"javascript:sendForm('getback')\">Back</a></div>\r\n"; +print "<div id=\"rightnav\">\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 " <ul>"; +print " <li><a class=\"noeffect\" href=\"javascript:document.s1.Play();\">"; +print " <span class=\"number\">1</span><span class=\"auto\"></span><span class=\"name\">Boom Boom Pow</span><span class=\"time\">4:11</span>"; +print " </a></li>"; + +print " <li><a class=\"noeffect\" href=\"javascript:document.s2.Play();\">"; +print " <span class=\"number\">2</span><span class=\"auto\"></span><span class=\"name\">Rock That Body</span><span class=\"time\">4:28</span></a></li>"; + +print "</div>\r\n"; + +print "<div style=\"position:absolute; left:0; top:0\">"; +print "<embed enablejavascript=\"true\" autoplay=\"false\" height=\"0\" name=\"s1\" src=\"http://a1.phobos.apple.com/us/r2000/004/Music/22/97/88/mzm.lzzanxzf.aac.p.m4a\" width=\"0\" loop=\"true\" controller=\"false\" qtnext1=\"<http://a1.phobos.apple.com/us/r2000/012/Music/a9/6e/92/mzm.chcdvuzt.aac.p.m4a>\" />"; +print "<embed enablejavascript=\"true\" autoplay=\"false\" height=\"0\" name=\"s2\" src=\"http://a1.phobos.apple.com/us/r2000/012/Music/a9/6e/92/mzm.chcdvuzt.aac.p.m4a\" width=\"0\" />"; +print "</div>"; +?> + |