X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=index.php;h=08e8329a9c604030891017b76d829410bc5784cc;hb=50b4768a9b2326a038c271ed7a9646a16f8a8905;hp=b87fedcd70277732728001a79f51aed9e4c25ce1;hpb=53d2c31cae8909b925e5f3ec8981876c4bcf9883;p=mirrors%2FJukeBox.git diff --git a/index.php b/index.php index b87fedc..08e8329 100755 --- a/index.php +++ b/index.php @@ -1,6 +1,6 @@ F/'. 'S'); } - echo(' '.unxss(str_replace('_', ' ', $item)).''.$filesize." MiB \n"); + echo(' '.unxss(str_replace('-',' - ',str_replace('_', ' ', $item))). + ''.$filesize." MiB \n"); } function render_dir_line($current_dir, $item, $i) { @@ -212,21 +215,21 @@ 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"); @@ -277,7 +281,7 @@ function flash_mp3_player() { <?php echo "DJ MODE @ $title"; ?> - + + @@ -346,7 +352,8 @@ if(isset($_GET['blank'])) { < BACK - | HOME () + | HOME () + | DJ | ABOUT/HELP | LOGOUT @@ -423,8 +430,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']).'