summaryrefslogtreecommitdiffstats
path: root/templates/show_recently_played.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-11-12 07:36:52 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-11-12 07:36:52 +0000
commitf435ca753c1d6ce8f657c3374ae71daec6daf2be (patch)
tree47fcefdbfb3b3ffd71c8bc27b35af0255df62e83 /templates/show_recently_played.inc.php
parent7b303176665062673f07f451ddbf571f8a2c3c80 (diff)
downloadampache-f435ca753c1d6ce8f657c3374ae71daec6daf2be.tar.gz
ampache-f435ca753c1d6ce8f657c3374ae71daec6daf2be.tar.bz2
ampache-f435ca753c1d6ce8f657c3374ae71daec6daf2be.zip
more democratic play work, still not working going to need db change to make it work how I want, will do later
Diffstat (limited to 'templates/show_recently_played.inc.php')
-rw-r--r--templates/show_recently_played.inc.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/show_recently_played.inc.php b/templates/show_recently_played.inc.php
index 4d3b416d..ed67bab3 100644
--- a/templates/show_recently_played.inc.php
+++ b/templates/show_recently_played.inc.php
@@ -32,10 +32,10 @@ $time_unit = array('',_('seconds ago'),_('minutes ago'),_('hours ago'),_('days a
<col id="col_lastplayed" />
</colgroup>
<tr class="th-top">
- <th class="cel_username"><?php echo _('Username'); ?></th>
<th class="cel_song"><?php echo _('Song'); ?></th>
<th class="cel_album"><?php echo _('Album'); ?></th>
<th class="cel_artist"><?php echo _('Artist'); ?></th>
+ <th class="cel_username"><?php echo _('Username'); ?></th>
<th class="cel_lastplayed"><?php echo _('Last Played'); ?></th>
</tr>
<?php foreach ($data as $row) {
@@ -69,14 +69,14 @@ $time_unit = array('',_('seconds ago'),_('minutes ago'),_('hours ago'),_('days a
$song->format();
?>
<tr class="<?php echo flip_class(); ?>">
+ <td class="cel_song"><?php echo $song->f_link; ?></td>
+ <td class="cel_album"><?php echo $song->f_album_link; ?></td>
+ <td class="cel_artist"><?php echo $song->f_artist_link; ?></td>
<td class="cel_username">
<a href="<?php echo Config::get('web_path'); ?>/stats.php?action=show_user&amp;user_id=<?php echo scrub_out($row_user->id); ?>">
<?php echo scrub_out($row_user->fullname); ?>
</a>
</td>
- <td class="cel_song"><?php echo $song->f_link; ?></td>
- <td class="cel_album"><?php echo $song->f_album_link; ?></td>
- <td class="cel_artist"><?php echo $song->f_artist_link; ?></td>
<td class="cel_lastplayed"><?php echo $time_string; ?></td>
</tr>
<?php } ?>