summaryrefslogtreecommitdiffstats
path: root/templates/show_index.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-04-23 07:31:05 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-04-23 07:31:05 +0000
commita31560aec4f004e58930277758f5412d86c62adc (patch)
tree845ff6947d26b22a0f4527901dbefc97bca89d78 /templates/show_index.inc.php
parent8b27d66add7ca9ba57d7e9488612cb54be4b11c1 (diff)
downloadampache-a31560aec4f004e58930277758f5412d86c62adc.tar.gz
ampache-a31560aec4f004e58930277758f5412d86c62adc.tar.bz2
ampache-a31560aec4f004e58930277758f5412d86c62adc.zip
it technically logs in and streams.. but thats it, complete rewrite almost everything broken
Diffstat (limited to 'templates/show_index.inc.php')
-rw-r--r--templates/show_index.inc.php14
1 files changed, 8 insertions, 6 deletions
diff --git a/templates/show_index.inc.php b/templates/show_index.inc.php
index f9536acf..525ddc07 100644
--- a/templates/show_index.inc.php
+++ b/templates/show_index.inc.php
@@ -21,10 +21,8 @@
?>
<?php
if (isset($_REQUEST['xspf']) && isset ($_REQUEST['play_info'])){
-
-require_once(conf('prefix') . '/templates/show_embed_xspf.inc.php');
+ require_once Config::get('prefix') . '/templates/show_embed_xspf.inc.php';
}
-
?>
<div id="np_data">
@@ -34,16 +32,20 @@ require_once(conf('prefix') . '/templates/show_embed_xspf.inc.php');
<div id="random_selection">
<?php
$albums = get_random_albums('6');
- if (count($albums)) { require_once(conf('prefix') . '/templates/show_random_albums.inc.php'); }
+ if (count($albums)) { require_once Config::get('prefix') . '/templates/show_random_albums.inc.php'; }
?>
</div>
<div id="recently_played">
<?php
$data = get_recently_played();
- if (count($data)) { require_once(conf('prefix') . '/templates/show_recently_played.inc.php'); }
+ if (count($data)) { require_once Config::get('prefix') . '/templates/show_recently_played.inc.php'; }
?>
</div>
<div id="catalog_info">
<?php show_local_catalog_info(); ?>
</div>
-
+<div id="recent_added">
+ <?php show_box_top(); ?>
+ <?php show_all_recent('5'); ?>
+ <?php show_box_bottom(); ?>
+</div>