2 /************************************************************************
3 * Mailer v0.2.1-FINAL Start: 06/10/2005 *
4 * =================== Last change: 05/18/2008 *
6 * -------------------------------------------------------------------- *
7 * File : action-sponsor.php *
8 * -------------------------------------------------------------------- *
9 * Short description : Sponsor area *
10 * -------------------------------------------------------------------- *
11 * Kurzbeschreibung : Sponsorenbereich *
12 * -------------------------------------------------------------------- *
13 * Copyright (c) 2003 - 2009 by Roland Haeder *
14 * Copyright (c) 2009 - 2013 by Mailer Developer Team *
15 * For more information visit: http://mxchange.org *
17 * This program is free software. You can redistribute it and/or modify *
18 * it under the terms of the GNU General Public License as published by *
19 * the Free Software Foundation; either version 2 of the License. *
21 * This program is distributed in the hope that it will be useful, *
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
24 * GNU General Public License for more details. *
26 * You should have received a copy of the GNU General Public License *
27 * along with this program; if not, write to the Free Software *
28 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, *
30 ************************************************************************/
32 // Some security stuff...
33 if (!defined('__SECURITY')) {
35 } elseif (isBlockModeEnabled()) {
36 // Block mode detected
40 // Add description as navigation point
41 addYouAreHereLink('guest', __FILE__);
43 if ((!isExtensionActive('sponsor')) && (!isAdmin())) {
44 displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=sponsor%}');
48 // Load the include file
49 $inc = sprintf('inc/modules/guest/what-%s.php', getWhat());
50 if (isIncludeReadable($inc)) {
51 // Ok, we finally load the guest action module
52 loadIncludeOnce($inc);
54 addFatalMessage(__FILE__, __LINE__, '{--GUEST_WHAT_404--}');