diff options
author | Alib <aliboba@free.fr> | 2010-02-25 14:22:49 +0100 |
---|---|---|
committer | Alib <aliboba@free.fr> | 2010-02-25 14:22:49 +0100 |
commit | c72e1bcc2b818a021c7ff45079e3ecacff53171d (patch) | |
tree | 56959f0d0968455bf6a3e50ef38d0b3f84ef4119 /includes/inc_audio.php | |
parent | ca4074913b2ad21eac4987df1349fc386fc9b9a7 (diff) | |
download | istreamdev-c72e1bcc2b818a021c7ff45079e3ecacff53171d.tar.gz istreamdev-c72e1bcc2b818a021c7ff45079e3ecacff53171d.tar.bz2 |
debug js
Diffstat (limited to 'includes/inc_audio.php')
-rwxr-xr-x | includes/inc_audio.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/inc_audio.php b/includes/inc_audio.php index 04d3a12..de7b616 100755 --- a/includes/inc_audio.php +++ b/includes/inc_audio.php @@ -71,12 +71,12 @@ if ($medianame_array[0]) for ($cnt2=$cnt; $cnt2<$count; $cnt2++) { - $track[$cnt2] = $httppath."playlist/".$medianame2; + $track[$cnt2-$cnt] = $httppath."playlist/".$medianame2; } $jsarray = php2js($track); - print " <a class=\"noeffect\" href=\"javascript:var myarray = new Array({$jsarray});addplayer(myarray);document.player.Play();\">\r\n"; + print " <a class=\"noeffect\" href=\"javascript:var myarray = new Array({$jsarray});addplayer('{$mediapath}{$subdir}','{$medianame2}',myarray);document.player.Play();\">\r\n"; print " <span class=\"number\">$idx</span><span class=\"stop\"></span><span class=\"name\">{$medianame_array[$cnt]}</span>\r\n"; print " </a>\r\n"; |