X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=index.php;h=704dc91d92c588a45f082f101863df8992807c04;hb=HEAD;hp=2cff7be9ab0e81e335b6e9b63502c6f2973dbe64;hpb=a6ec3d5f8eb5fa076e871905d7a24f208d2ee997;p=mirrors%2FJukeBox.git diff --git a/index.php b/index.php index 2cff7be..704dc91 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,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"); @@ -277,7 +282,7 @@ function flash_mp3_player() { You need Adobe Flash enabled browser to play records directly in website. + > <?php echo "DJ MODE @ $title"; ?> -
Music player (click 'F' link next to the song name to start, 'S' to stop...)
+
Music player (click 'F' link next to the song name to start, 'S' to stop...)
- + + @@ -346,7 +354,8 @@ if(isset($_GET['blank'])) { < BACK - | HOME () + | HOME () + | DJ | ABOUT/HELP | LOGOUT @@ -381,7 +390,7 @@ playlist?"
- @@ -423,8 +432,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']).'