/*************************************************************************** * copyright : (C) 2003 Bruno Haller * email : bruno@hil.net * * $Id: index.php,v 1.17 2003/04/02 18:42:47 brunohaller Exp $ * ***************************************************************************/ /*************************************************************************** * * 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. * ***************************************************************************/ require('./start.inc.php'); if (isset($_GET['path'])) { $tmppath = base64_decode($_GET['path']); } else { $tmppath = '/'; } if (isset($_GET['page'])) { $page = $_GET['page']; } else { $page = 1; } $cols = $config['design']['cols']; $rows = $config['design']['rows']; $perpage = $cols * $rows; $path = url_path($tmppath); $permissions = get_permissions($path['rel']); if (!$permissions['view']) { sendLoginForm(); } ?> require('./header.inc.php'); ?>
require('./footer.inc.php'); ?>