summaryrefslogtreecommitdiffstats
path: root/templates/show_local_catalog_info.inc.php
blob: dd6d180208c8cff6460b1eca0852440612a749b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
/*

 Copyright (c) 2001 - 2007 Ampache.org
 All Rights Reserved

 this program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License
 as published by the Free Software Foundation; either version 2
 of the License, or (at your option) any later version.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

*/
?>
<?php show_box_top(_('Catalog Statistics')); ?>
<table cellspacing="1" cellpadding="3" width="100%" border="0"> 
<tr class="table-header">
	<td><?php echo _('Connected Users'); ?></td>
	<td><?php echo _('Total Users'); ?></td>
	<td><?php echo _('Albums'); ?></td>
	<td><?php echo _('Artists'); ?></td>
	<td><?php echo _('Songs'); ?></td>
	<td><?php echo _('Genres'); ?></td>
	<td><?php echo _('Folders'); ?></td>
	<td><?php echo _('Catalog Size'); ?></td>
	<td><?php echo _('Catalog Time'); ?></td>
</tr>
<tr>
	<td><?php echo $results['connected']; ?></td>
	<td><?php echo $results['users'] ?></td>
	<td><?php echo $results['albums']; ?></td>
	<td><?php echo $results['artists']; ?></td>
	<td><?php echo $results['songs']; ?></td>
	<td><?php echo $results['genres']; ?></td>
	<td><?php echo $results['folders']; ?></td>
	<td><?php echo $total_size; ?> <?php echo $size_unit; ?></td>
	<td><?php echo $time_text; ?></td>
</tr>
</table>
<?php show_box_bottom(); ?>