diff options
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(); ?> |