summaryrefslogtreecommitdiffstats
path: root/stats.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-12-25 10:04:27 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-12-25 10:04:27 +0000
commit27158141ee1a14b7d23ae8997d2c41b49fc904d9 (patch)
tree2180fff67d21ffdbab32f2105cff3c7275b6b511 /stats.php
parent5415c2e847032896907946c98d68a254399e4416 (diff)
downloadampache-27158141ee1a14b7d23ae8997d2c41b49fc904d9.tar.gz
ampache-27158141ee1a14b7d23ae8997d2c41b49fc904d9.tar.bz2
ampache-27158141ee1a14b7d23ae8997d2c41b49fc904d9.zip
initial ratings mojo, some stylesheet fixes, changed user preferences again and a db update
Diffstat (limited to 'stats.php')
-rw-r--r--stats.php13
1 files changed, 4 insertions, 9 deletions
diff --git a/stats.php b/stats.php
index 637c5cc6..7bb232e8 100644
--- a/stats.php
+++ b/stats.php
@@ -33,14 +33,9 @@ else {
}
show_template('header');
-show_menu_items('Stats');
-show_clear();
?>
-<div class="header1"><?php echo $working_user->fullname; ; ?>'s Favorites:</div>
-
-<p> Below is a list of what you have been listening to the most. You can clear these statistics
-by <a href="<?php echo conf('web_path'); ?>/user.php?action=show_edit_profile">editing your profile.</a></p>
+<span class="header1"><?php echo $working_user->fullname; ; ?>'s Favorites:</span>
<table cellpadding="5" cellspacing="5" border="0" width="100%">
<tr>
@@ -48,7 +43,7 @@ by <a href="<?php echo conf('web_path'); ?>/user.php?action=show_edit_profile">e
<?php
if ( $items = $working_user->get_favorites('artist') ) {
$items = $working_user->format_favorites($items);
- show_info_box('Your Favorite Artists', 'artist', $items);
+ show_info_box('Favorite Artists', 'artist', $items);
}
else {
print("<p> Not enough data for favorite artists.</p>");
@@ -60,7 +55,7 @@ by <a href="<?php echo conf('web_path'); ?>/user.php?action=show_edit_profile">e
<?php
if ( $items = $working_user->get_favorites('song') ) {
$items = $working_user->format_favorites($items);
- show_info_box('Your Favorite Songs', 'your_song', $items);
+ show_info_box('Favorite Songs', 'your_song', $items);
}
else {
print("<p> Not enough data for favorite songs.</p>");
@@ -72,7 +67,7 @@ by <a href="<?php echo conf('web_path'); ?>/user.php?action=show_edit_profile">e
<?php
if ( $items = $working_user->get_favorites('album') ) {
$items = $working_user->format_favorites($items);
- show_info_box('Your Favorite Albums', 'album', $items);
+ show_info_box('Favorite Albums', 'album', $items);
}
else {
print("<p> Not enough data for favorite albums.</p>");