/************************************************************************/
/* PHP-NUKE: Advanced Content Management System */
/* ============================================ */
/* */
/* Copyright (c) 2002 by Francisco Burzi */
/* http://phpnuke.org */
/* */
/* 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. */
/************************************************************************/
/* PHP-Nuke Platinum: Expect to be impressed COPYRIGHT */
/* */
/* Copyright (c) 2004 - 2006 by http://www.techgfx.com */
/* Techgfx - Graeme Allan (goose@techgfx.com) */
/* */
/* Copyright (c) 2004 - 2006 by http://www.conrads-berlin.de */
/* MrFluffy - Axel Conrads (axel@conrads-berlin.de) */
/* */
/* Copyright (c) 2004 - 2006 by http://www.nukeplanet.com */
/* Loki / Teknerd - Scott Partee (loki@nukeplanet.com) */
/* */
/* Refer to Nukeplanet.com for detailed information on PHP-Nuke Platinum*/
/* */
/* TechGFX: Your dreams, our imagination */
/************************************************************************/
function createmedia($pid="") {
global $prefix, $db, $galleryvar,$bgcolor1, $gallerypath, $adminurl, $font;
galleryHeader();
navigationAdmin(""._GALCONFIG." > "._GALINSERTNMEDIA."");
echo "
";
OpenTable();
//Check Gall Main Category
$categories = listcategories("$gallerypath");
$categories = explode(" ", trim($categories));
list($key, $val) = each($categories);
if (!$val) {
echo ""._GALCATNOTFOUND."";
CloseTable();
print '
';
adminFooter();
die;
}
echo "
";
CloseTable();
print '
';
adminFooter();
}
?>