Code: Select all
diff netjukebox3.68/browse.php netjukebox3.67/browse.php
251c251
< $allow = authenticate('access_browse');
---
> authenticate('access_browse');
304d303
< <td></td><!-- optional stream -->
319d317
< <td><?php if ($allow['access_play']) echo '<a href="stream.php?command=playlist&artist=' . rawurlencode($album['artist']) . '" onMouseOver="return overlib(\'Stream artist\');" onMouseOut="return nd();"><img src="bitmap/small_stream.gif" alt="" width="21" height="21" border="0"></a>'; ?></td>
513d510
< <td></td><!-- optional stream -->
515c512
< <td><a href="<?php echo $url; ?>&order=artist&sort=<?php echo $sort_artist; ?>">Artist<?php echo $order_bitmap_artist; ?></a></td>
---
> <td><a href="<?php echo $url; ?>&order=artist&sort=<?php echo $sort_artist; ?>">Arist<?php echo $order_bitmap_artist; ?></a></td>
539d535
< <td><?php if ($allow['access_play']) echo '<a href="stream.php?command=playlist&album_id=' . $album['album_id'] . '" onMouseOver="return overlib(\'Stream album\');" onMouseOut="return nd();"><img src="bitmap/small_stream.gif" alt="" width="21" height="21" border="0"></a>'; ?></td>
599c595
< <a href="<?php echo $url; ?>&mode=thumbnail&order=artist&sort=<?php echo $sort_artist; ?>">Artist<?php echo $order_bitmap_artist; ?></a>
---
> <a href="<?php echo $url; ?>&mode=thumbnail&order=artist&sort=<?php echo $sort_artist; ?>">Arist<?php echo $order_bitmap_artist; ?></a>
diff netjukebox3.68/stream.php netjukebox3.67/stream.php
34d33
< $artist = urldecode(get('artist'));
36c35
< if ($command == 'playlist') playlist($artist, $album_id, $track_id);
---
> if ($command == 'playlist') playlist($album_id, $track_id);
47c46
< function playlist($artist, $album_id, $track_id)
---
> function playlist($album_id, $track_id)
60,68c59
< if ($artist)
< {
< echo '#' . $artist . "\r\n";
< $query = mysql_query('SELECT SUM(playtime_miliseconds) AS sum_playtime FROM track WHERE artist = "' . mysql_escape_string($artist) . '"');
< $track = mysql_fetch_array($query);
< $expire = time() + round($track['sum_playtime'] / 1000) + 3600;
< $query = mysql_query('SELECT artist, title, playtime_miliseconds, track_id FROM track WHERE artist = "' . mysql_escape_string($artist) . '" ORDER BY relative_file');
< }
< elseif ($album_id)
---
> if ($album_id)