summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-01-07 20:35:49 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-01-07 20:35:49 +0000
commitb6cfe134badb2d4393e9081b13b2dfca011ed736 (patch)
tree4f6213e626fa90b4b280b5e663e791559c4a7f8f /index.php
parent90d2acbc54b24b6e8207e12f1cabcbc7541ca447 (diff)
downloadampache-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.php50
1 files changed, 5 insertions, 45 deletions
diff --git a/index.php b/index.php
index c14e28b1..f2b539b0 100644
--- a/index.php
+++ b/index.php
@@ -41,49 +41,9 @@ if (conf('refresh_limit') > 5) {
$ajax_url = str_replace("&amp;","&",$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(); ?>