diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-10-29 00:51:53 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-10-29 00:51:53 +0000 |
commit | 9cfb075df5c8fcd0f83f019dee67fa907dae6265 (patch) | |
tree | d4cbb031a0534715d9caec54c27945e234c7aea1 /templates/show_ip_history.inc.php | |
parent | 5038eb20d7322af95d1fef7035f6d533b49c25a6 (diff) | |
download | ampache-9cfb075df5c8fcd0f83f019dee67fa907dae6265.tar.gz ampache-9cfb075df5c8fcd0f83f019dee67fa907dae6265.tar.bz2 ampache-9cfb075df5c8fcd0f83f019dee67fa907dae6265.zip |
3.3.1-Alpha1 release
Diffstat (limited to 'templates/show_ip_history.inc.php')
-rw-r--r-- | templates/show_ip_history.inc.php | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/templates/show_ip_history.inc.php b/templates/show_ip_history.inc.php new file mode 100644 index 00000000..dd251a3f --- /dev/null +++ b/templates/show_ip_history.inc.php @@ -0,0 +1,44 @@ +<?php +/* + + Copyright (c) 2001 - 2006 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($temp_user->fullname . ' ' . _('IP History')); ?> +<table border="0"> +<tr class="table-header"> + <td align="center"> + <?php echo _('Date'); ?> + </td> + <td align=\"center\"> + <?php echo _('IP Address'); ?> + </td> +</tr> +<?php foreach ($history as $data) { ?> +<tr class="<?php echo flip_class(); ?>"> + <td> + <?php echo date("d/m/Y H\hi",$data['date']); ?> + </td> + <td> + <?php echo int2ip($data['ip']); ?> + </td> +</tr> +<?php } ?> +</table> +<?php show_box_bottom(); ?> |