* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team *
- * For more information visit: http://www.mxchange.org *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team *
+ * For more information visit: http://mxchange.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 *
// Some security stuff...
if (!defined('__SECURITY')) {
- die();
+ exit();
} // END - if
// Add description as navigation point
addYouAreHereLink('guest', __FILE__);
if ((!isExtensionActive('sponsor'))) {
- displayMessage(generateExtensionInactiveNotInstalledMessage('sponsor'));
+ displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=sponsor%}');
return;
} // END - if
// Init both results (see footer of this file)
-$result_act = false;
-$result_pay = false;
+$result_act = FALSE;
+$result_pay = FALSE;
// Load all sponsor actions
$result_act = SQL_QUERY("SELECT
$OUT_ACT = '';
while ($content = SQL_FETCHARRAY($result_act)) {
// Load row template and switch color
- $OUT_ACT .= loadTemplate('guest_sponsor_act_row', true, $content);
+ $OUT_ACT .= loadTemplate('guest_sponsor_act_row', TRUE, $content);
} // END - while
// Check for pay types
$OUT_PAY = '';
while ($content = SQL_FETCHARRAY($result_pay)) {
// Load row template and switch color
- $OUT_PAY .= loadTemplate('guest_sponsor_pay_row', true, $content);
+ $OUT_PAY .= loadTemplate('guest_sponsor_pay_row', TRUE, $content);
} // END - while
} else {
// No pay types setuped so far!
- $OUT_PAY = loadTemplate('guest_sponsor_infos_none_row', false, displayMessage('{--SPONSOR_NO_ACTIONS_ACTIVATED--}', true));
+ $OUT_PAY = loadTemplate('guest_sponsor_infos_none_row', FALSE, displayMessage('{--SPONSOR_NO_ACTIONS_ACTIVATED--}', TRUE));
}
} else {
// No actions activated so far!
- $OUT_ACT = loadTemplate('guest_sponsor_infos_none_row', true, displayMessage('{--SPONSOR_NO_ACTIONS_ACTIVATED--}', true));
- $OUT_PAY = loadTemplate('guest_sponsor_infos_none_row', true, displayMessage('{--SPONSOR_NO_ACTIONS_ACTIVATED--}', true));
+ $OUT_ACT = loadTemplate('guest_sponsor_infos_none_row', TRUE, displayMessage('{--SPONSOR_NO_ACTIONS_ACTIVATED--}', TRUE));
+ $OUT_PAY = loadTemplate('guest_sponsor_infos_none_row', TRUE, displayMessage('{--SPONSOR_NO_ACTIONS_ACTIVATED--}', TRUE));
}
// Free memory
);
// Load main template
-loadTemplate('guest_sponsor_infos', false, $content);
+loadTemplate('guest_sponsor_infos', FALSE, $content);
// [EOF]
?>