diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-01-07 20:35:49 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-01-07 20:35:49 +0000 |
commit | b6cfe134badb2d4393e9081b13b2dfca011ed736 (patch) | |
tree | 4f6213e626fa90b4b280b5e663e791559c4a7f8f /index.php | |
parent | 90d2acbc54b24b6e8207e12f1cabcbc7541ca447 (diff) | |
download | ampache-b6cfe134badb2d4393e9081b13b2dfca011ed736.tar.gz ampache-b6cfe134badb2d4393e9081b13b2dfca011ed736.tar.bz2 ampache-b6cfe134badb2d4393e9081b13b2dfca011ed736.zip |
* Re-worked Main page of Ampache, adding Album of the moment.
* Moved stats to /stats.php page
* Fixed logic error in resize that could cause nothign to display
if resize was on, but it still failed
* Fixed Upload Album art from Find Album Art
* Added Menu to the TV page
* Fixed logic error that showed localplay if user had access
regardless of global config
* Changed default action of browse.php to song browse
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 50 |
1 files changed, 5 insertions, 45 deletions
@@ -41,49 +41,9 @@ if (conf('refresh_limit') > 5) { $ajax_url = str_replace("&","&",$ajax_url); require_once(conf('prefix') . '/templates/javascript_refresh.inc.php'); } + +require_once(conf('prefix') . '/templates/show_index.inc.php'); + +show_footer(); + ?> -<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="biddaddy"><!-- The Table --> - <tr> - <td valign="top"> - <?php show_local_catalog_info(); ?> - </td> - <td valign="top"> - <?php - if ($items = get_global_popular('album')) { - show_info_box(_('Most Popular Albums'), 'album',$items); - } - ?> - </td> - </tr> - <tr> - <td valign="top"> - <?php - if ($items = get_global_popular('artist')) { - show_info_box(_('Most Popular Artists'), 'artist', $items); - } - ?> - </td> - <td valign="top"> - <?php - if ($items = get_newest('album')) { - show_info_box(_('Newest Album Additions'), '', $items); - } - ?> - </td> - </tr> - </table><!-- End Left table --> -<?php show_box_bottom(); ?> -<!-- End Big Daddy Table --> -<?php show_footer(); ?> |