diff options
Diffstat (limited to 'templates/show_now_playing_row.inc.php')
-rw-r--r-- | templates/show_now_playing_row.inc.php | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/templates/show_now_playing_row.inc.php b/templates/show_now_playing_row.inc.php new file mode 100644 index 00000000..33ac673b --- /dev/null +++ b/templates/show_now_playing_row.inc.php @@ -0,0 +1,45 @@ +<?php +/* + +Copyright (c) 2001 - 2006 Ampache.org +All rights reserved. + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation; either version 2 +of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +*/ +?> +<div class="np_row"> + <div class="np_cell"><?php echo scrub_out($np_user->fullname); ?></div> + <div class="np_cell"> + <a title="<?php echo scrub_out($song->f_title); ?>" href="<?php echo $web_path; ?>/song.php?action=single_song&song_id=<?php echo $song->id; ?>"> + <?php echo scrub_out($song->f_title); ?> + </a> + </div> + <div class="np_cell"> + <a title="<?php echo scrub_out($song->f_album); ?>" href="<?php echo $web_path; ?>/albums.php?action=show&album=<?php echo $song->album; ?>"> + <?php echo scrub_out($song->f_album); ?> + </a> / + <a title="<?php echo scrub_out($song->f_artist); ?>" href="<?php echo $web_path; ?>/artists.php?action=show&artist=<?php echo $song->artist; ?>"> + <?php echo scrub_out($song->f_artist); ?> + </a> + </div> + <?php if (conf('play_album_art')) { ?> + <div class="np_cell"> + <a target="_blank" href="<?php echo $web_path; ?>/albumart.php?id=<?php echo $song->album; ?>&type=popup" onclick="popup_art('<?php echo $web_path; ?>/albumart.php?id=<?php echo $song->album; ?>&type=popup'); return false;"> + <img align="middle" border="0" src="<?php echo $web_path; ?>/albumart.php?id=<?php echo $song->album; ?>&fast=1&thumb=1" alt="Album Art" height="75" /> + </a> + </div> + <?php } // end play album art ?> +</div> |