summaryrefslogtreecommitdiffstats
path: root/templates/show_popular.inc.php
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2013-01-25 16:38:14 -0500
committerPaul Arthur <paul.arthur@flowerysong.com>2013-01-25 16:38:14 -0500
commit2ab840a48bef2ebc9a94c5aeef5fc23d836e45da (patch)
treec534802f5e5ca916e18e804dd423822810cb0c9c /templates/show_popular.inc.php
parent184064c6f0ef3e25fc4138ba8c8f84ec403b2400 (diff)
downloadampache-2ab840a48bef2ebc9a94c5aeef5fc23d836e45da.tar.gz
ampache-2ab840a48bef2ebc9a94c5aeef5fc23d836e45da.tar.bz2
ampache-2ab840a48bef2ebc9a94c5aeef5fc23d836e45da.zip
Cosmetics: clean up heads in templates/
Diffstat (limited to 'templates/show_popular.inc.php')
-rw-r--r--templates/show_popular.inc.php22
1 files changed, 7 insertions, 15 deletions
diff --git a/templates/show_popular.inc.php b/templates/show_popular.inc.php
index db6cd424..2b5bf262 100644
--- a/templates/show_popular.inc.php
+++ b/templates/show_popular.inc.php
@@ -1,11 +1,9 @@
<?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/**
- * Show Popular
- *
*
* LICENSE: GNU General Public License, version 2 (GPLv2)
- * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
+ * Copyright 2001 - 2013 Ampache.org
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2
@@ -20,33 +18,27 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
- * @package Ampache
- * @copyright 2001 - 2011 Ampache.org
- * @license http://opensource.org/licenses/gpl-2.0 GPLv2
- * @link http://www.ampache.org/
*/
-?>
-<?php show_box_top(T_('Information')); ?>
-<?php
+show_box_top(T_('Information'));
+
$object_ids = Stats::get_top('song');
$browse = new Browse();
$browse->set_type('song');
$browse->show_objects($object_ids);
$browse->store();
-?>
-<?php
+
$object_ids = Stats::get_top('album');
$browse = new Browse();
$browse->set_type('album');
$browse->show_objects($object_ids);
$browse->store();
-?>
-<?php
+
$object_ids = Stats::get_top('artist');
$browse = new Browse();
$browse->set_type('artist');
$browse->show_objects($object_ids);
$browse->store();
+
+show_box_bottom();
?>
-<?php show_box_bottom(); ?>