X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=index.php;h=288d031764fcb262cbc1fcd376d6301e9b375872;hb=ace351a9dabc0f4671f592ea7d63240302407063;hp=c1f61050d9a7b26f6c28e52d4242d1f1cfa85a5c;hpb=d09c0b59d94881359bd7121b8063bce73877b486;p=mirrors%2FJukeBox.git diff --git a/index.php b/index.php index c1f6105..288d031 100755 --- a/index.php +++ b/index.php @@ -1,6 +1,6 @@ F/'. 'S'); } - echo(' '.unxss(str_replace('-',' - ',str_replace('_', ' ', -$item))).''.$filesize." MiB \n"); + echo(' '.unxss(str_replace('-',' - ',str_replace('_', ' ', $item))). + ''.$filesize." MiB \n"); } function render_dir_line($current_dir, $item, $i) { @@ -213,21 +215,22 @@ function render_dir_line($current_dir, $item, $i) { ''.$i.'P/'. 'R'); if($GLOBALS['useflash']) echo('/F'); - echo('[DIR] '.unxss(str_replace('_', ' ', $item)). + echo('[DIR] '.unxss(str_replace('-',' - ',str_replace('_', ' ', $item))). "\n"); } function render_tr_playframe_show() { if($GLOBALS['flash_player_frame'] == 'playframe-show' && $GLOBALS['useflash']) { ?> -S - +S + '.$GLOBALS['title'].' on GIThub :-)Fork me on GitHub' ); echo(''.$quotes[rand(0,sizeof($quotes)-1)]."\n"); @@ -278,7 +282,7 @@ function flash_mp3_player() { <?php echo "DJ MODE @ $title"; ?> - + + @@ -347,7 +353,8 @@ if(isset($_GET['blank'])) { < BACK - | HOME () + | HOME () + | DJ | ABOUT/HELP | LOGOUT @@ -424,8 +431,8 @@ if(!($searchfp = fopen($search_cache, 'r'))) $i = 0; echo(''); render_tr_playframe_show(); -echo(''); while(!feof($searchfp)) {
SP'); -if($GLOBALS['useflash']) echo('/F'); +echo('
SP'); +if($GLOBALS['useflash']) echo('/F'); echo('Search: '.unxss($_GET['search']).'