summaryrefslogtreecommitdiffstats
path: root/templates/show_uploads.inc
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-12-18 00:10:07 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-12-18 00:10:07 +0000
commit68ac06b30b06f982f18f4ec31691c94684fc07e2 (patch)
treed0c41afc488aca7eb6b861792fa916979b21454f /templates/show_uploads.inc
parent7c661ba685287efd21512f9f0203641200bffed2 (diff)
downloadampache-68ac06b30b06f982f18f4ec31691c94684fc07e2.tar.gz
ampache-68ac06b30b06f982f18f4ec31691c94684fc07e2.tar.bz2
ampache-68ac06b30b06f982f18f4ec31691c94684fc07e2.zip
* Last DB Update for 3.3.3 Stable Branche
* Improved Recommendation view * Removed Upload
Diffstat (limited to 'templates/show_uploads.inc')
-rw-r--r--templates/show_uploads.inc74
1 files changed, 0 insertions, 74 deletions
diff --git a/templates/show_uploads.inc b/templates/show_uploads.inc
deleted file mode 100644
index 6553c932..00000000
--- a/templates/show_uploads.inc
+++ /dev/null
@@ -1,74 +0,0 @@
-<?php
-/*
-
- Copyright (c) 2001 - 2006 Ampache.org
- All rights reserved.
-
- *Created by Rosensama*
-
- 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.
-
-*/
-
-/* Get the current Quarantined Uploads */
-$uploads = get_uploads();
-
-if (count($uploads)) {
-?>
-<table class="tabledata" cellspacing="0" cellpadding="0" border="1">
-<tr class="table-header">
- <td><?php echo _('Action'); ?></td>
- <td><?php echo _('Status'); ?></td>
- <td><?php echo _('Song'); ?></td>
- <td><?php echo _('Artist'); ?></td>
- <td><?php echo _('Album'); ?></td>
- <td><?php echo _('Genre'); ?></td>
- <td><?php echo _('Time'); ?></td>
- <td><?php echo _('Bitrate'); ?></td>
- <td><?php echo _('Size'); ?></td>
- <td><?php echo _('Filename'); ?></td>
- <td><?php echo _('User'); ?></td>
- <td><?php echo _('Date'); ?></td>
-</tr>
-<?php foreach ($uploads as $upload) { ?>
-<tr class="<?php echo flip_class(); ?>">
- <?php if($GLOBALS['user']->has_access(100)) { ?>
- <td align="center">
- <div class="text-action">
- <?php if ($upload['action'] != 'add') { ?>
- <a href="<?php echo conf('web_path'); ?>/upload.php?action=add&amp;id=<?php echo $upload['id']; ?>"><?php echo _('Add'); ?></a>
- <?php } elseif ($upload['action'] != 'delete') { ?>
- <a href="<?php echo conf('web_path'); ?>/upload.php?action=delete&amp;id=<?php echo $upload['id']; ?>"><?php echo _('Delete'); ?></a>
- <?php } ?>
- </div>
- </td>
- <?php } else { ?>
- <td>N/A</td>
- <?php } ?>
- <td style="<?php echo show_upload_status_style($upload['action']); ?>">&nbsp;</td>
- <td><?php echo $upload['title']; ?></td>
- <td><?php echo $upload['artist']; ?></td>
- <td><?php echo $upload['album']; ?></td>
- <td><?php echo $upload['time']; ?></td>
- <td><?php echo $upload['genre']; ?></td>
- <td><?php echo intval($upload['bitrate']/1000); ?> - <?php echo $upload['mode']; ?></td>
- <td><?php echo sprintf("%.2f",($upload['size']/1048576)); ?>MB</td>
- <td><?php echo $upload['file']; ?></td>
- <td><?php echo $upload['user']; ?></td>
- <td><?php echo date('m/d/Y H:i:s',$upload['addition_time']); ?></td>
-</tr>
-<?php } ?>
-</table>
-<?php } // if count uploads ?>