* -------------------------------------------------------------------- *
* Kurzbeschreibung : Verdoppler-Eintraege auflisten *
* -------------------------------------------------------------------- *
- * *
+ * $Revision:: $ *
+ * $Date:: $ *
+ * $Tag:: 0.2.1-FINAL $ *
+ * $Author:: $ *
+ * Needs to be in all Files and every File needs "svn propset *
+ * svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2008 by Roland Haeder *
* For more information visit: http://www.mxchange.org *
// Some security stuff...
if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
require($INC);
}
// Add description as navigation point
-ADD_DESCR("admin", __FILE__);
+ADD_DESCR('admin', __FILE__);
-if (empty($_GET['mode'])) {
+if (!REQUEST_ISSET_GET(('mode'))) {
// Chosse the overview page as default
- $_GET['mode'] = "overview";
+ REQUEST_GET('mode', "overview");
} else {
// Set table title automatically
- if (empty($_GET['select'])) $_GET['select'] = "all";
- $eval = "define('__ADMIN_DOUBLER_LIST_".strtoupper($_GET['mode'])."', getMessage('ADMIN_DOUBLER_LIST_".strtoupper($_GET['mode'])."_".strtoupper($_GET['select'])."'));";
+ if (!REQUEST_ISSET_GET(('select'))) REQUEST_GET('select', "all");
+ $eval = "define('__ADMIN_DOUBLER_LIST_".strtoupper(REQUEST_GET('mode'))."', getMessage('ADMIN_DOUBLER_LIST_".strtoupper(REQUEST_GET('mode'))."_".strtoupper(REQUEST_GET('select'))."'));";
eval($eval);
}
// Load data for the template
-switch ($_GET['mode'])
+switch (REQUEST_GET('mode'))
{
case "already": // Already payed out points
break;
}
// Load mode template
-LOAD_TEMPLATE("admin_list_doubler_".$_GET['mode']);
+LOAD_TEMPLATE("admin_list_doubler_".REQUEST_GET('mode'));
//
?>