/*************************************************************************** * album_constants.php * ------------------- * begin : Saturday, February 01, 2003 * copyright : (C) 2003 Smartor * email : smartor_xp@hotmail.com * * $Id: album_constants.php,v 1.0.4 2003/02/23 20:50:48 ngoctu 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. * ***************************************************************************/ if ( !defined('IN_PHPBB') ) { die('Hacking attempt'); } define('PAGE_ALBUM', -19);// for Session Handling // User Levels for Album system <- do NOT change these values define('ALBUM_ANONYMOUS', -1); define('ALBUM_GUEST', -1); define('ALBUM_USER', 0); define('ALBUM_ADMIN', 1); define('ALBUM_MOD', 2); define('ALBUM_PRIVATE', 3); // Path (trailing slash required) define('ALBUM_UPLOAD_PATH', 'album_mod/upload/'); define('ALBUM_CACHE_PATH', 'album_mod/upload/cache/'); // Table names define('ALBUM_TABLE', $table_prefix.'album'); define('ALBUM_CAT_TABLE', $table_prefix.'album_cat'); define('ALBUM_CONFIG_TABLE', $table_prefix.'album_config'); define('ALBUM_COMMENT_TABLE', $table_prefix.'album_comment'); define('ALBUM_RATE_TABLE', $table_prefix.'album_rate'); ?>/* paFileDB 3.0 Š2001/2002 PHP Arena Written by Todd todd@phparena.net http://www.phparena.net Keep all copyright links on the script visible Please read the license included with this script for more information. */ if ( !defined('IN_PHPBB') ) { die("Hacking attempt"); } include($phpbb_root_path . 'pafiledb/includes/functions.'.$phpEx); $config = pafiledb_config(); if ( isset($HTTP_GET_VARS['action']) || isset($HTTP_POST_VARS['action']) ) { $action = ( isset($HTTP_GET_VARS['action']) ) ? $HTTP_GET_VARS['action'] : $HTTP_POST_VARS['action']; } if ($action == 'download') { include($phpbb_root_path . 'pafiledb/includes/download.'.$phpEx); exit(); } $template->set_filenames(array( 'download_output' => 'pa_download_body.tpl') ); $search_img = $images['pa_search']; $stats_img = $images['pa_stats']; $toplist_img = $images['pa_toplist']; $template->assign_vars(array( 'SEARCH_IMG' => $search_img, 'STATS_IMG' => $stats_img, 'TOPLIST_IMG' => $toplist_img, 'L_SEARCH' => $lang['Search'], 'L_STATS' => $lang['Statistics'], 'L_TOPLIST' => $lang['Toplist'], 'DOWNLOAD' => $config['settings_dbname'], 'MUST_LOGIN' => $must_login, 'U_TOPLIST' => append_sid("dload.php?action=toplist"), 'U_PASEARCH' => append_sid("dload.php?action=search"), 'U_PASTATS' => append_sid("dload.php?action=stats")) ); $disable = $config[settings_disable]; if( $userdata['user_level'] == ADMIN ) { $disable = 0; } if (!$disable) { switch ($action) { case 'category': include($phpbb_root_path . 'pafiledb/includes/category.'.$phpEx); break; case 'file': include($phpbb_root_path . 'pafiledb/includes/file.'.$phpEx); break; case 'viewall': include($phpbb_root_path . 'pafiledb/includes/viewall.'.$phpEx); break; case 'search': include($phpbb_root_path . 'pafiledb/includes/search.'.$phpEx); break; case 'license': include($phpbb_root_path . 'pafiledb/includes/license.'.$phpEx); break; case 'rate': include($phpbb_root_path . 'pafiledb/includes/rate.'.$phpEx); break; case 'email': include($phpbb_root_path . 'pafiledb/includes/email.'.$phpEx); break; case 'stats': include($phpbb_root_path . 'pafiledb/includes/stats.'.$phpEx); break; case 'toplist': include($phpbb_root_path . 'pafiledb/includes/toplist.'.$phpEx); break; default: include($phpbb_root_path . 'pafiledb/includes/main.'.$phpEx); break; } $template->assign_var_from_handle('DOWNLOAD_OUTPUT', 'download_output'); } else { $message = $lang['isdisabled'] . "

" . sprintf($lang['Click_return'], "", ""); message_die(GENERAL_MESSAGE, $message); } ?> Streszczenia.org - lektury, książki, ebooki ::
Streszczenia.org - lektury, książki, ebooki
Krótki tekst opisujący twoje forum

 
Użytkownik:
Hasło:
Zaloguj mnie automatycznie przy każdej wizycie:
FAQ Szukaj Użytkownicy Grupy Statystyki Rejestracja Zaloguj Album Download


Powered by phpBB modified by Przemo © 2003 phpBB Group
Styl by Matti from StylesBB.com
Strona wygenerowana w 0,14 sekundy. Zapytań do SQL: 13