diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-11-26 04:04:24 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-11-26 04:04:24 +0000 |
commit | a41697ea25a58ea5db5ed46a251fb62364626b1b (patch) | |
tree | 9754a325a5c700135e69e341b47d2658d2344762 /index.php | |
parent | 0635397ab2bd5afc6789cef56b9a9d87bd52bcfd (diff) | |
download | ampache-a41697ea25a58ea5db5ed46a251fb62364626b1b.tar.gz ampache-a41697ea25a58ea5db5ed46a251fb62364626b1b.tar.bz2 ampache-a41697ea25a58ea5db5ed46a251fb62364626b1b.zip |
tweaked icons to use built in functions and removed them from where there were not icons for every optin, added recently played
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 35 |
1 files changed, 8 insertions, 27 deletions
@@ -46,13 +46,16 @@ if (conf('refresh_limit') > 5) { <div id="np_data"> <?php show_now_playing(); ?> </div> <!-- Close Now Playing Div --> - +<!-- Recently Played --> +<div id="recently_played"> + <?php + $data = get_recently_played(); + if (count($data)) { require_once(conf('prefix') . '/templates/show_recently_played.inc.php'); } + ?> +</div> <!-- Big Daddy Table --> <?php show_box_top(); ?> -<table id="bigdaddy"> -<tr> - <td valign="top"> - <table border="0"><!-- Left table --> +<table id="biddaddy"><!-- The Table --> <tr> <td valign="top"> <?php show_local_catalog_info(); ?> @@ -65,8 +68,6 @@ if (conf('refresh_limit') > 5) { ?> </td> </tr> - <tr><td colspan="2"> </td></tr> - <tr><td colspan="2"> </td></tr> <tr> <td valign="top"> <?php @@ -77,23 +78,6 @@ if (conf('refresh_limit') > 5) { </td> <td valign="top"> <?php - if ($items = get_global_popular('song')) { - show_info_box(_('Most Popular Songs'), 'song', $items); - } - ?> - </td> - </tr> - <tr><td colspan="2"> </td></tr> - <tr> - <td valign="top"> - <?php - if ($items = get_newest('artist')) { - show_info_box(_('Newest Artist Additions'), '', $items); - } - ?> - </td> - <td valign="top"> - <?php if ($items = get_newest('album')) { show_info_box(_('Newest Album Additions'), '', $items); } @@ -101,9 +85,6 @@ if (conf('refresh_limit') > 5) { </td> </tr> </table><!-- End Left table --> - </td> -</tr> -</table> <?php show_box_bottom(); ?> <!-- End Big Daddy Table --> <?php show_footer(); ?> |