* @version $Id$ * @license http://opensource.org/licenses/agpl-v3.html */ /** * img.pew.cc Image Hosting * Copyright (C) 2009-2010 Daniel Triendl * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ require_once('lib/init.php'); $filetypes = ''; foreach ($mime as $f) { $filetypes .= $f . ', '; } $filetypes = substr($filetypes, 0, -2); $tagjs = '' . "\n"; $tagjs .= '' . "\n"; $tagjs .= '' . "\n"; $content = '
Files:


Tags:  

Maximum upload size: ' . byteConvert($maxsize) . '
Allowed file types: ' . $filetypes . '
Use , (comma) to seperate tags

Browse | Search

Drop images here

Loading... Loading'; outputHTML($content, array('header' => $tagjs)); ?>