./inc/expression-functions.php:46: // @TODO is escapeQuotes() enougth for strings with single/double quotes?
./inc/extensions/ext-html_mail.php:136: // @TODO Move these arrays into config
./inc/extensions/ext-menu.php:52: // @TODO Convert menu-Id to one coding-standard. admin(edit|_add) => admin_menu_(edit|add), mem(edit|_add) => (edit|add)_(admin|guest|member)_menu
+./inc/extensions/ext-network.php:100: // @TODO network_type_handler is an internal name and needs documentation
./inc/extensions/ext-network.php:18: * @TODO Ad-Magnet: Layer(klick?). Layerviews.Skybannerklick/-view, *
./inc/extensions/ext-network.php:19: * @TODO Ad-Magnet: Banner-View, Textlink-Klick/-View. Page-Peel *
./inc/extensions/ext-network.php:20: * @TODO ADCocktail: All request parameters, BIDausKAS, WIDausKAS??? *
./inc/extensions/ext-network.php:39: * @TODO Der Werbepartner.cc: Sky banner is JavaScript! *
./inc/extensions/ext-network.php:40: * @TODO Der Werbepartner.cc: Surfbar click not correct *
./inc/extensions/ext-network.php:41: * @TODO Der Werbepartner.cc: Textlink not not correct *
-./inc/extensions/ext-network.php:42: * @TODO Yoo!Media: What is LayerAd compared to Layer click? *
-./inc/extensions/ext-network.php:99: // @TODO network_type_handler is an internal name and needs documentation
+./inc/extensions/ext-network.php:42: * @TODO Xijide: Lead/Sale (together) unsupported (no target URL) *
+./inc/extensions/ext-network.php:43: * @TODO Yoo!Media: What is LayerAd compared to Layer click? *
./inc/extensions/ext-newsletter.php:218: // @TODO Move these into configuration
./inc/extensions/ext-nickname.php:52: // @TODO NOT NULL DEFAULT '' is bad practice, use NULL
./inc/extensions/ext-rallye.php:94: // @TODO Fix config_rallye_prices to list_rallye_prices
./inc/extensions/ext-yoomedia.php:121: // @TODO Can this be moved into a database table?
./inc/extensions/ext-yoomedia.php:54:// @TODO Only deprecated when 'ext-network' is ready! setExtensionDeprecated('Y');
-./inc/extensions-functions.php:2132:// @TODO This should be rewrittten to allow, more development states, e.g. 'planing','alpha','beta','beta2','stable'
+./inc/extensions-functions.php:2119:// @TODO This should be rewrittten to allow, more development states, e.g. 'planing','alpha','beta','beta2','stable'
./inc/extensions-functions.php:424: // @TODO This redirect is still needed to register sql_patches! Please try to avoid it
./inc/extensions-functions.php:440:// @TODO Change from ext_id to ext_name (not just even the variable! ;-) )
./inc/extensions-functions.php:580: // @TODO Extension is loaded, what next?
./inc/filter/cache_filter.php:94: // @TODO This should be rewritten not to load the cache file for just checking if it is there for save removal.
./inc/filter/forced_filter.php:73: // @TODO This part is unfinished
./inc/filters.php:1313: // @TODO No banner found, output some default banner
-./inc/functions.php:1099: // @TODO Move this SQL code into a function, let's say 'getTimestampFromPoolId($id) ?
-./inc/functions.php:1185: // @TODO Are these convertions still required?
-./inc/functions.php:1206:// @TODO Rewrite this function to use readFromFile() and writeToFile()
-./inc/functions.php:1790: // @TODO Find a way to cache this
-./inc/functions.php:1895: // @TODO This is still very static, rewrite it somehow
-./inc/functions.php:2105: // @TODO Rename column data_type to e.g. mail_status
+./inc/functions.php:1102: // @TODO Move this SQL code into a function, let's say 'getTimestampFromPoolId($id) ?
+./inc/functions.php:1188: // @TODO Are these convertions still required?
+./inc/functions.php:1209:// @TODO Rewrite this function to use readFromFile() and writeToFile()
+./inc/functions.php:1796: // @TODO Find a way to cache this
+./inc/functions.php:1901: // @TODO This is still very static, rewrite it somehow
+./inc/functions.php:2108: // @TODO Rename column data_type to e.g. mail_status
+./inc/functions.php:2458:// @TODO cacheFiles is not yet supported
./inc/gen_sql_patches.php:95:// @TODO Rewrite this to a filter
./inc/header.php:66:// @TODO Find a way to not use direct module comparison
./inc/install-functions.php:91: // @TODO DEACTIVATED: changeDataInLocalConfigurationFile('OUTPUT-MODE', "setConfigEntry('OUTPUT_MODE', '", "');", postRequestElement('omode'), 0);
./inc/libs/doubler_functions.php:96: // @TODO Can't this be moved into EL?
./inc/libs/forced_functions.php:457:// @TODO Can't we use our new expression language instead of this ugly code?
./inc/libs/mailid_functions.php:47: // @TODO Rewrite this to a dynamic include or so
-./inc/libs/network_functions.php:1120: // @TODO Implement this function, don't forget to set HTTP status back to '200 OK' if everything went fine
+./inc/libs/network_functions.php:1124: // @TODO Implement this function, don't forget to set HTTP status back to '200 OK' if everything went fine
./inc/libs/order_functions.php:46: // @TODO Move this array into a filter
./inc/libs/rallye_functions.php:771:// @TODO This function does not load min_users, min_prices, please encapsulate loading rallye data with e.g. getRallyeDataFromId()
./inc/libs/rallye_functions.php:838: $EXPIRE = 3; // @TODO The hard-coded value...
./inc/libs/sponsor_functions.php:436: // @TODO Rewrite this to API function
./inc/libs/surfbar_functions.php:1692: // @TODO This can be somehow rewritten
./inc/libs/surfbar_functions.php:789:// @TODO Can't we use our new expression language instead of this ugly code?
-./inc/libs/task_functions.php:253: // @TODO These can be rewritten to filter
+./inc/libs/task_functions.php:256: // @TODO These can be rewritten to filter
./inc/libs/task_functions.php:51:// @TODO Move all extension-dependent queries into filters
-./inc/libs/theme_functions.php:94: // @TODO Can't this be rewritten to an API function?
+./inc/libs/theme_functions.php:96: // @TODO Can't this be rewritten to an API function?
./inc/libs/user_functions.php:325: // @TODO Make this filter working: $ADDON = runFilterChain('post_login_update', $content);
./inc/libs/user_functions.php:354: // @TODO Make this filter working: $url = runFilterChain('do_login', array('content' => $content, 'addon' => $ADDON));
./inc/libs/yoomedia_functions.php:108: $response = YOOMEDIA_QUERY_API('out_textmail.php', TRUE); // @TODO Ask Yoo!Media for test script
./inc/mails/doubler_mails.php:53:// @TODO Can this be rewritten to a filter?
./inc/module-functions.php:273: // @TODO Nothing helped???
./inc/module-functions.php:314: // @TODO Rewrite this to a filter
+./inc/modules/admin/admin-inc.php:1043:// @TODO rawUserId/content is not yet supported
+./inc/modules/admin/admin-inc.php:1068:// @TODO rawUserId/cacheFiles/content is not yet supported
./inc/modules/admin/admin-inc.php:163: // @TODO This and the next getCurrentAdminId() call might be moved into the templates?
./inc/modules/admin/admin-inc.php:236: // @TODO This can be rewritten into a filter
./inc/modules/admin/admin-inc.php:521:// @TODO Try to rewrite this to adminAddMenuSelectionBox()
+./inc/modules/admin/admin-inc.php:868:// @TODO cacheFiles is not yet supported
./inc/modules/admin/overview-inc.php:176: // @TODO Rewrite this to a filter
./inc/modules/admin/overview-inc.php:289: // @TODO Rewrite this to something with include files and/or filter
./inc/modules/admin/overview-inc.php:323: // @TODO This may also be rewritten to include files
./inc/mysql-manager.php:1464: // @TODO Rewrite this to a filter
./inc/mysql-manager.php:1770: // @TODO Rewrite this to a filter
./inc/mysql-manager.php:1967: // @TODO If we can rewrite the EL sub-system to support more than one parameter, this call_user_func_array() can be avoided
-./inc/mysql-manager.php:2070: // @TODO Used generic 'userid' here
+./inc/mysql-manager.php:2079: // @TODO Used generic 'userid' here
+./inc/mysql-manager.php:2300:// @TODO cacheFiles is not yet supported
./inc/mysql-manager.php:398: // @TODO Try to rewrite this to one or more functions
./inc/mysql-manager.php:44:// @TODO Can we cache this?
./inc/purge/purge-inact.php:55: // @TODO Rewrite these if() blocks to a filter
./inc/template-functions.php:288: // @TODO Remove these sanity checks if all is fine
./inc/template-functions.php:625:// @TODO $simple/$constants are deprecated
./inc/template-functions.php:723: // @TODO $userid is deprecated and should be removed from loadEmailTemplate() and replaced with $content[userid] in all templates
-./inc/wrapper-functions.php:3037: // @TODO Find a way to not use direct module comparison
-./inc/wrapper-functions.php:506:// @TODO Do some more sanity check here
-./inc/xml-functions.php:239: // @TODO Handle characters
+./inc/wrapper-functions.php:3031: // @TODO Find a way to not use direct module comparison
+./inc/wrapper-functions.php:500:// @TODO Do some more sanity check here
+./inc/xml-functions.php:240: // @TODO Handle characters
./mailid.php:102: // @TODO Rewrite this to a filter
./mailid.php:145: // @TODO Rewrite this to a filter
./mailid_top.php:112: // @TODO Rewrite this to a filter/function
./mailid_top.php:199: // @TODO Rewrite this to a filter
./mailid_top.php:206: // @TODO Rewrite this to a filter
./mailid_top.php:241: // @TODO Rewrite these blocks to filter
-./templates/de/html/admin/admin_add_country.tpl:23: <!-- @TODO Rewrite this selection box to our generic functions //-->
+./templates/de/html/admin/admin_add_country.tpl:24: <!-- @TODO Rewrite this selection box to our generic functions //-->
./templates/de/html/admin/admin_config_other.tpl:79: <!-- @TODO Rewrite this selection to one of our functions //-->
./templates/de/html/admin/admin_config_rewrite.tpl:4: <!-- @TODO No title here? //-->
./templates/de/html/admin/admin_edit_admin_menu.tpl:4:<!-- @TODO Shouldn't we add a title here? //-->
./templates/de/html/admin/admin_config_bonus_pro.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_config_cache.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_config_doubler_pro.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_config_home_settings_pro.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_config_reg_pro.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_config_shop.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_config_transfer_pro.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/guest/guest_confirm_table.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/guest/guest_paidlinks_register_header.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/guest/guest_paidlinks_register.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/install/install_header.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/theme_one.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/theme_select_box.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/theme_select_form.tpl:1:<!-- @DEPRECATED //-->
$data = $doc->saveHTML();
$newData = str_replace("<br>", "<br />\n", $data);
-$newData = str_replace("\n\n", chr(10), $newData);
+$newData = str_replace(PHP_EOL . PHP_EOL, PHP_EOL, $newData);
-$array = explode(chr(10), $newData);
+$array = explode(PHP_EOL, $newData);
array_shift($array);
array_shift($array);
unset($array[count($array) - 1]);
unset($array[count($array) - 1]);
-$newData = implode(chr(10), $array).chr(10);
+$newData = implode(PHP_EOL, $array).PHP_EOL;
// Has a template changed?
if ($data != $newData) {
//-----------------------------------------------------------------------------
// Execute function for doXmlCallbackFunction()
-function doXmlCallbackFunctionExecute ($callbackName, $args, $columnIndex) {
+function doXmlCallbackFunctionExecute ($callbackName, $args, $columnIndex, $content) {
// Is 'id_index' set and form sent?
if ((isset($args['id_index'])) && (isFormSent())) {
// Prepare 'id_index'
$args['id_index'] = postRequestElement($args['id_index']);
} // END - if
+ // Add content
+ $args['_content'] = $content;
+
// Just call it
- //* DEBUG: */ die(__FUNCTION__.':callbackFunction=' . $callbackName . ',columnIndex=' . $columnIndex . ',args=<pre>'.print_r($args, TRUE).'</pre>');
+ //* DEBUG: */ die(__FUNCTION__.':callbackFunction=' . $callbackName . ',<br />columnIndex=' . $columnIndex . ',<br />args(' . count($args) . ')=<pre>'.print_r($args, TRUE).'</pre>');
+ //* DEBUG: */ reportBug(__FUNCTION__, __LINE__, 'Called!');
call_user_func_array($callbackName, $args);
}
// Is the pointer a valid resource?
if (is_resource($this->pointer)) {
// Write the line
- fwrite($this->pointer, $line . chr(10));
+ fwrite($this->pointer, $line . PHP_EOL);
} else {
// Something bad happened
reportBug(__METHOD__, __LINE__, 'Pointer type is ' . gettype($this->pointer) . ', expected is resource.');
copyFileVerified(getPath() . 'inc/config-local.php.dist', getCachePath() . 'config-local.php', 0644);
// First of all, load the old one!
- $oldConfig = explode(chr(10), readFromFile(getPath() . 'inc/config.php'));
+ $oldConfig = explode(PHP_EOL, readFromFile(getPath() . 'inc/config.php'));
// Now, analyze every entry
$done = array();
@date_default_timezone_set('Europe/Berlin');
} // END - if
-// CFG: ERROR_REPORTING
+// CFG: ERROR-REPORTING
error_reporting(E_ALL | E_DEPRECATED | E_STRICT);
// Is the function there? (removed in PHP 5.4.x)
// CFG: COPY
setConfigEntry('COPY', 'Copyright © 2003 - 2009, by Roland Häder,<br />2009 - 2012 by Mailer Developer Team');
-// CFG: CACHE_PATH
+// CFG: CACHE-PATH
setConfigEntry('CACHE_PATH', 'inc/cache/');
// CFG: INTERNAL-STATS (This setting is overwritten by ext-other equal and prior version 0.2.7)
}
// Remove \t, \n and \r from queries they may confuse some MySQL versions
- $sqlStringModified = str_replace(array(chr(9), chr(10), chr(13)), array(' ', ' ', ' '), $sqlStringModified);
+ $sqlStringModified = str_replace(array(chr(9), PHP_EOL, chr(13)), array(' ', ' ', ' '), $sqlStringModified);
// Compile config entries out
$sqlStringModified = SQL_PREPARE_SQL_STRING($sqlStringModified, $enableCodes);
} // END - if
// Append debug line
- appendLineToFile(getCachePath() . 'mysql.log', basename($F) . '|LINE=' . $L . '|NUM=' . (is_resource($result) ? SQL_NUMROWS($result) : 'false') . '|AFFECTED=' . SQL_AFFECTEDROWS() . '|QUERYTIME:' . ($queryTime * 1000) . 'ms): ' . str_replace(array(chr(13), chr(10)), array('', ' '), $GLOBALS['last_sql']));
+ appendLineToFile(getCachePath() . 'mysql.log', basename($F) . '|LINE=' . $L . '|NUM=' . (is_resource($result) ? SQL_NUMROWS($result) : 'false') . '|AFFECTED=' . SQL_AFFECTEDROWS() . '|QUERYTIME:' . ($queryTime * 1000) . 'ms): ' . str_replace(array(chr(13), PHP_EOL), array('', ' '), $GLOBALS['last_sql']));
} // END - if
// Increment stats entry
return $code;
}
-// Expression call-back function for URLs
+// Expression call-back function for URLs (example: {%url=foo.php?bar=bar%})
function doExpressionUrl ($data) {
// Is there JS-mode?
if ($data['callback'] == 'js') {
return $code;
}
+// Expression call-back for formulars
+function doExpressionForm ($data) {
+ // Default method is GET, target is _self
+ $data['__form_method'] = 'get';
+ $data['__form_target'] = '_self';
+ $data['__form_name'] = 'form';
+ $data['__form_id'] = 'form';
+ $data['__server'] = '';
+
+ // Check which method/target is set
+ foreach (array('callback', 'extra_func', 'extra_func2') as $key) {
+ // Make lower-case
+ $value = strtolower($data[$key]);
+
+ // Is formMethodPost set?
+ if ($value == 'formmethodpost') {
+ // Use it
+ $data['__form_method'] = 'post';
+ } elseif (($value == 'formmethodget') && (!isSpider()) && (!isSessionValid())) {
+ // Then expand 'value' with session id
+ if (strpos($data['value'], '?') !== FALSE) {
+ // '?' is set
+ $data['value'] .= '&';
+ } else {
+ // Is not set
+ $data['value'] .= '?';
+ }
+
+ // Append session's name and id
+ $data['value'] .= session_name() . '=' . session_id();
+ } elseif (substr($value, 0, 10) == 'formtarget') {
+ // Form target is found
+ $data['__form_target'] = substr($value, 10);
+ } elseif (substr($value, 0, 8) == 'formname') {
+ // Form name is found
+ $data['__form_name'] = substr($value, 8);
+ } elseif (substr($value, 0, 6) == 'formid') {
+ // Form id found
+ $data['__form_id'] = substr($value, 6);
+ } elseif (substr($value, 0, 6) == 'server') {
+ // {%server,foo%} found
+ $data['__server'] = '{%server=' . substr($value, 6) . '%}';
+ }
+ } // END - foreach
+
+ // Generate the replacement code which is the opening form tag
+ $data['__replacer'] = '<form accept-charset=\"UTF-8\"';
+ if (!empty($data['value'])) {
+ $data['__replacer'] .= ' action=\"{%url=' . $data['value'];
+ if (!empty($data['__server'])) {
+ $data['__replacer'] .= $data['__server'];
+ } // END - if
+ $data['__replacer'] .= '%}\"';
+ } // END - if
+
+ // Add rest elements
+ foreach (array('method', 'target', 'name', 'id') as $key) {
+ $data['__replacer'] .= ' ' . $key . '=\"' . $data['__form_' . $key] . '\"';
+ } // END - foreach
+
+ // Close the tag here (don't move it below the next filter)
+ $data['__replacer'] .= '>' . PHP_EOL;
+
+ /*
+ * Call a filter chain to allow more hidden fields being added. You should
+ * not remove the > char from above line to add onsubmit="" or so. Instead
+ * you should better use jquery to accomplish the same.
+ */
+ $data = runFilterChain('open_form_fields', $data);
+
+ // Replace the code
+ $code = replaceExpressionCode($data, $data['__replacer']);
+
+ // Return the (maybe) replaced code
+ return $code;
+}
+
+// Expression call-back to close form tags
+function doExpressionFormClose ($data) {
+ // Initial replacer is really easy ...
+ $data['__replacer'] = '</form>' . PHP_EOL;
+
+ /*
+ * Call a filter chain to allow more hidden fields being added at the end
+ * of the form.
+ */
+ $data = runFilterChain('close_form_fields', $data);
+
+ // Replace the code
+ $code = replaceExpressionCode($data, $data['__replacer']);
+
+ // Return the (maybe) replaced code
+ return $code;
+}
+
+// Expression call-back to handle jquery inclusion
+function doExpressionJquery ($data) {
+ // Default is compressed
+ $jquery = 'jquery.js';
+
+ // Is debug mode enabled?
+ if ((isGetRequestElementSet('jquery')) || (isSessionVariableSet('jquery'))) {
+ // Then use uncompressed
+ $jquery = 'jquery-uncompressed.js';
+
+ // Remember it in session
+ setSession('jquery', '1');
+ } // END - if
+
+ // Add {%url%} around it
+ $replacer = '{%url=js/' . $jquery . '?dummy=1%}';
+
+ // Replace the code
+ $code = replaceExpressionCode($data, $replacer);
+
+ // Return the (maybe) replaced code
+ return $code;
+}
+
// [EOF]
?>
//
$GLOBALS['url_ends'] = array(
' ',
- chr(10),
+ PHP_EOL,
chr(13),
')',
);
* @TODO Der Werbepartner.cc: Sky banner is JavaScript! *
* @TODO Der Werbepartner.cc: Surfbar click not correct *
* @TODO Der Werbepartner.cc: Textlink not not correct *
+ * @TODO Xijide: Lead/Sale (together) unsupported (no target URL) *
* @TODO Yoo!Media: What is LayerAd compared to Layer click? *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
('popdown_id'),
('lead_id'),
('sale_id'),
+('lead_sale_id'),
('banner_url1'),
('banner_url2'),
('banner_url3'),
('ads2earn', 'Ads2Earn', 'http://www.ads2earn.de?ref=1294', '|', '|', 'GET', 'ISO-8859-1', 'N', 150, 'Y'),
('ads2webbi', 'Ads2Webbi', 'http://www.ads2webbi.de?ref=79', '|', '|', 'GET', 'WINDOWS-1252', 'N', 200, 'Y'),
('superpromo24', 'SuperPromo24', 'http://www.superpromo24.de/index.php?seite=anmeldung&ref=Quix0r', '|', '|', 'GET', 'ISO-8859-1', 'N', 300, 'Y'),
-('euads', 'eu-ADS.de', 'http://www.eu-ads.de?ref=411', '|', '|', 'GET', 'ISO-8859-1', 'N', 200, 'Y')");
+('euads', 'eu-ADS.de', 'http://www.eu-ads.de?ref=411', '|', '|', 'GET', 'ISO-8859-1', 'N', 200, 'Y'),
+('xiji', 'Xiji.de', 'http://www.xiji.de/index.php?ref=7715', '|', '|', 'GET', 'ISO-8859-1', 'N', 100, 'Y')");
// Network type handlers - A3H
addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(154, 22, 'forcedtextlink', 'http://www.werbepartner.cc/sponsor/data/get.php', 'http://www.werbepartner.cc/sponsor/data/get.php', NULL, 'h'),
(155, 22, 'traffic', 'http://www.werbepartner.cc/sponsor/data/get.php', 'http://www.werbepartner.cc/sponsor/data/get.php', NULL, 'h')");
+ // Network type handlers - Xiji.de
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`, `network_text_encoding`) VALUES
+(450, 43, 'textmail', 'http://www.xiji.de/interface/output_paidmails.php', 'http://www.xiji.de/view/paidmail.php?id=%UID%&bid=%CID%&aid=%SID%', NULL,'h','NONE'),
+(451, 43, 'banner_view', 'http://www.xiji.de/interface/output_viewbanner.php', 'http://www.xiji.de/view/klickbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.xiji.de/view/viewbanner.php?id=%UID%&bid=%CID%&aid=%SID%','h','NONE'),
+(452, 43, 'forcedbanner', 'http://www.xiji.de/interface/output_forcedbanner.php', 'http://www.xiji.de/view/forcedclickbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.xiji.de/view/forcedviewbanner.php?id=%UID%&bid=%CID%&aid=%SID%','h','NONE'),
+(453, 43, 'popup', 'http://www.xiji.de/interface/output_popup.php', 'http://www.xiji.de/view/popup.php?id=%UID%&bid=%CID%&aid=%SID%', NULL,'h','NONE'),
+(454, 43, 'layer_view', 'http://www.xiji.de/interface/output_layerviews.php', 'http://www.xiji.de/view/layer.php?id=%UID%&bid=%CID%&aid=%SID%', NULL,'h','NONE'),
+(455, 43, 'forcedtextlink', 'http://www.xiji.de/interface/output_forcedtextlink.php', 'http://www.xiji.de/view/forcedclicktextlink.php?id=%UID%&bid=%CID%&aid=%SID%', NULL,'h','NONE'),
+(456, 43, 'traffic', 'http://www.xiji.de/interface/output_traffic.php', 'http://www.xiji.de/view/traffic.php?id=%UID%&bid=%CID%&aid=%SID%', NULL,'h','NONE'),
+(457, 43, 'popdown', 'http://www.xiji.de/interface/output_popdown.php', 'http://www.xiji.de/view/popdown.php?id=%UID%&bid=%CID%&aid=%SID%', NULL,'h','NONE'),
+(458, 43, 'button_view', 'http://www.xiji.de/interface/output_viewbanner.php', 'http://www.xiji.de/view/klickbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.xiji.de/view/viewbanner.php?id=%UID%&bid=%CID%&aid=%SID%','h','NONE'),
+(459, 43, 'skybanner_view', 'http://www.xiji.de/interface/output_viewbanner.php', 'http://www.xiji.de/view/klickbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.xiji.de/view/viewbanner.php?id=%UID%&bid=%CID%&aid=%SID%','h','NONE'),
+(460, 43, 'halfbanner_view', 'http://www.xiji.de/interface/output_viewbanner.php', 'http://www.xiji.de/view/klickbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.xiji.de/view/viewbanner.php?id=%UID%&bid=%CID%&aid=%SID%','h','NONE')");
+
// Network type handlers - Yoo!Media
addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(156, 23, 'banner_click', 'http://www.yoomedia.de/interface_2.0/out_banner.php', 'http://www.yoomedia.de/code/z-bannerklf.php?id=%CID%&sid=%SID%', 'http://www.yoomedia.de/code/z-banner.php?id=%CID%&sid=%SID%&bid=%BID%', 'h'),
(22, 155, 'reward', 'verg', NULL),
(22, 155, 'sid', 'sid', NULL)");
+ // Request parameters per type handler - Xiji.de
+
+ // Request parameters per type handler - Xiji.de
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
+(43, 451, 'affiliate_id', 'id', NULL),
+(43, 451, 'password', 'pw', NULL),
+(43, 451, 'reload', 'reload', NULL),
+(43, 451, 'reward', 'verguetung', NULL),
+(43, 451, 'remain', 'uebrig', NULL),
+(43, 451, 'size', 'typ', '468x60'),
+(43, 451, 'sid', 'aid', NULL),
+(43, 458, 'affiliate_id', 'id', NULL),
+(43, 458, 'password', 'pw', NULL),
+(43, 458, 'reload', 'reload', NULL),
+(43, 458, 'reward', 'verguetung', NULL),
+(43, 458, 'remain', 'uebrig', NULL),
+(43, 458, 'size', 'typ', '88x31'),
+(43, 458, 'sid', 'aid', NULL),
+(43, 459, 'affiliate_id', 'id', NULL),
+(43, 459, 'password', 'pw', NULL),
+(43, 459, 'reload', 'reload', NULL),
+(43, 459, 'reward', 'verguetung', NULL),
+(43, 459, 'remain', 'uebrig', NULL),
+(43, 459, 'size', 'typ', '120x600'),
+(43, 459, 'sid', 'aid', NULL),
+(43, 460, 'affiliate_id', 'id', NULL),
+(43, 460, 'password', 'pw', NULL),
+(43, 460, 'reload', 'reload', NULL),
+(43, 460, 'reward', 'verguetung', NULL),
+(43, 460, 'remain', 'uebrig', NULL),
+(43, 460, 'size', 'typ', '234x60'),
+(43, 460, 'sid', 'aid', NULL)");
+
// Request parameters per type handler - Yoo!Media
addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
(23, 156, 'erotic', 'erotik', NULL),
addDropTableSql('network_types');
addDropTableSql('network_request_params');
addDropTableSql('network_vcheck_params');
+ addDropTableSql('network_vcheck_errors');
addDropTableSql('network_error_codes');
addDropTableSql('network_array_translation');
addDropTableSql('network_api_config');
addDropTableSql('network_vcheck_config');
addDropTableSql('network_cache');
addDropTableSql('network_reloads');
+ addDropTableSql('network_translations');
// Admin menu
addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE `action`='network'");
// @TODO Move these into configuration
$GLOBALS['url_ends'] = array(
' ',
- chr(10),
+ PHP_EOL,
chr(13),
')',
);
// Handle referral banner click/view
registerFilter(__FUNCTION__, __LINE__, 'handle_click_php', 'HANDLE_REFERRER_BANNER_CLICK');
registerFilter(__FUNCTION__, __LINE__, 'handle_view_php', 'HANDLE_REFERRER_BANNER_VIEW');
+
+ // Generic filter to add hidden fields to formulars
+ registerFilter(__FUNCTION__, __LINE__, 'open_form_fields', 'ADD_INPUT_HIDDEN_SESSION_ID');
}
// "Registers" a new filter function
} // END - if
// Empty session?
- if (session_id() == '') {
+ if (!isSessionValid()) {
// This is invalid here!
reportBug(__FUNCTION__, __LINE__, 'Invalid session.');
} // END - if
$filterData = call_user_func($etiFunction, $data);
} else {
// Unsupported command detected
- logDebugMessage(__FUNCTION__, __LINE__, 'eti=' . $eti . ', callback=' . $callback . ', extra=' . $extraFunction . ' - unsupported');
+ logDebugMessage(__FUNCTION__, __LINE__, 'eti=' . $eti . ',etiFunction=' . $etiFunction . ',callback=' . $callback . ',extraFunction=' . $extraFunction . ',extraFunction2=' . $extraFunction2 . ' - UNSUPPORTED');
}
} // END - foreach
} // END - if
return $filterData;
}
+// Filter for adding hidden session id
+function FILTER_ADD_INPUT_HIDDEN_SESSION_ID ($filterData) {
+ // Is a spider detected?
+ if ((!isSpider()) && (!isSessionValid())) {
+ // No, then add the hidden field
+ $filterData['__replacer'] .= '<input type="hidden" name="' . session_name() . '" value="' . session_id() . '" />';
+ } // END - if
+
+ // Return filter data
+ return $filterData;
+}
+
// [EOF]
?>
if ($next > -1) {
if ($next === $seek) {
$next = -1;
- $line = $prefix . $inserted . $suffix . chr(10);
+ $line = $prefix . $inserted . $suffix . PHP_EOL;
} else {
$next++;
}
// Is debug mode enabled?
if ((isDebugModeEnabled()) || ($force === TRUE)) {
// Remove CRLF
- $message = str_replace(array(chr(13), chr(10)), array('', ''), $message);
+ $message = str_replace(array(chr(13), PHP_EOL), array('', ''), $message);
// Log this message away
appendLineToFile(getPath() . getCachePath() . 'debug.log', generateDateTime(time(), '4') . '|' . getModule(FALSE) . '|' . basename($funcFile) . '|' . $line . '|' . $message);
// Tries to determine if call-back functions and/or extra values shall be parsed
function doHandleExtraValues ($filterFunctions, $extraValues, $key, $entries, $userIdColumn, $search) {
- // Debug message
- /* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'key=' . $key . ',entries=' . $entries . ',userIdColumn=' . $userIdColumn[0] . ',search=' . $search . ',filterFunctions=' . print_r($filterFunctions, TRUE) . ',extraValues=' . print_r($extraValues, TRUE));
+ // Debug mode enabled?
+ if (isDebugModeEnabled()) {
+ // Debug message
+ /* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'key=' . $key . ',entries=' . $entries . ',userIdColumn=' . $userIdColumn[0] . ',search=' . $search . ',filterFunctions=' . print_r($filterFunctions, TRUE) . ',extraValues=' . print_r($extraValues, TRUE));
+ } // END - if
// Send data through the filter function if found
if ($key == $userIdColumn[0]) {
} // END - if
// Is there a valid session?
- if (((!isset($GLOBALS['valid_session'])) || ($GLOBALS['valid_session'] === FALSE) || (!isset($_COOKIE[session_name()]))) && (isSpider() === FALSE)) {
+ if ((!isSessionValid()) && (!isSpider())) {
// Determine right separator
$separator = '&';
if (!isInString('?', $url)) {
$separator = '?';
} // END - if
- // Is the session id set?
- if (session_id() != '') {
- // Then add it to URL
- $url .= $separator . session_name() . '=' . session_id();
- } // END - if
+ // Then add it to URL
+ $url .= $separator . session_name() . '=' . session_id();
} // END - if
// Add {?URL?} ?
}
/**
- * Replace chr(13) with "[r]" and chr(10) with "[n]" and add a final new-line to make
+ * Replace chr(13) with "[r]" and PHP_EOL with "[n]" and add a final new-line to make
* them visible to the developer. Use this function to debug e.g. buggy HTTP
* response handler functions.
*
* @return $str Overworked string
*/
function replaceReturnNewLine ($str) {
- return str_replace(array(chr(13), chr(10)), array('[r]', '[n]'), $str);
+ return str_replace(array(chr(13), PHP_EOL), array('[r]', '[n]'), $str);
}
// Converts a given string by splitting it up with given delimiter similar to
}
// Edit rows by given id numbers
-function memberEditEntriesConfirm ($tableName, $columns = array(), $filterFunctions = array(), $extraValues = array(), $timeColumns = array(), $editNow = array(FALSE), $idColumn = array('id'), $userIdColumn = array('userid'), $rawUserId = array('userid'), $cacheFiles = array()) {
+function memberEditEntriesConfirm ($tableName, $columns = array(), $filterFunctions = array(), $extraValues = array(), $timeColumns = array(), $editNow = array(FALSE), $idColumn = array('id'), $userIdColumn = array('userid'), $rawUserId = array('userid'), $cacheFiles = array(), $content = array()) {
// $tableName must be an array
if ((!is_array($tableName)) || (count($tableName) != 1)) {
// No tableName specified
}
} else {
// List for editing
- memberListBuilder('edit', $tableName, $columns, $filterFunctions, $extraValues, $idColumn, $userIdColumn);
+ memberListBuilder('edit', $tableName, $columns, $filterFunctions, $extraValues, $idColumn, $userIdColumn, $rawUserId, $content);
}
}
// Delete rows by given id numbers
-function memberDeleteEntriesConfirm ($tableName, $columns = array(), $filterFunctions = array(), $extraValues = array(), $deleteNow = array(FALSE), $idColumn = array('id'), $userIdColumn = array('userid'), $rawUserId = array('userid'), $cacheFiles = array()) {
+function memberDeleteEntriesConfirm ($tableName, $columns = array(), $filterFunctions = array(), $extraValues = array(), $deleteNow = array(FALSE), $idColumn = array('id'), $userIdColumn = array('userid'), $rawUserId = array('userid'), $cacheFiles = array(), $content = array()) {
// Do this only for members
assert(isMember());
}
} else {
// List for deletion confirmation
- memberListBuilder('delete', $tableName, $columns, $filterFunctions, $extraValues, $idColumn, $userIdColumn);
+ memberListBuilder('delete', $tableName, $columns, $filterFunctions, $extraValues, $idColumn, $userIdColumn, $rawUSerId, $content);
}
}
// Build a special template list
-function memberListBuilder ($listType, $tableName, $columns, $filterFunctions, $extraValues, $idColumn, $userIdColumn, $rawUserId = array('userid')) {
+// @TODO cacheFiles is not yet supported
+function memberListBuilder ($listType, $tableName, $columns, $filterFunctions, $extraValues, $idColumn, $userIdColumn, $rawUserId = array('userid'), $content = array()) {
// Do this only for logged in member
assert(isMember());
// Call inner (general) function
- doGenericListBuilder('member', $listType, $tableName, $columns, $filterFunctions, $extraValues, $idColumn, $userIdColumn, $rawUserId);
+ doGenericListBuilder('member', $listType, $tableName, $columns, $filterFunctions, $extraValues, $idColumn, $userIdColumn, $rawUserId, $content);
}
// Checks whether given address is IPv4
//* DEBUG: */ die('tempResponse['.strlen($tempResponse).']=<pre>'.replaceReturnNewLine(htmlentities($tempResponse)).'</pre>');
// Re-add the headers
- $response = merge_array($GLOBALS['http_headers'], stringToArray(chr(10), $tempResponse));
+ $response = merge_array($GLOBALS['http_headers'], stringToArray(PHP_EOL, $tempResponse));
} // END - if
// Return the unchunked array
// Remove some unwanted chars
$content = str_replace(chr(13), '', $content);
- $content = str_replace("\n\n", chr(10), $content);
+ $content = str_replace(PHP_EOL . PHP_EOL, PHP_EOL, $content);
// Return the content
return $content;
'ADMIN_LIST_NETWORK_ARRAY_TRANSLATION_LIMITED_TO_TYPE' => "Es wurden nur die Array-Element-Übersetzungen des ausgewählten Werbeart-Handlers angezeigt.",
// - Advertise types
'ADMIN_NETWORK_TYPE_HANDLER_BANNER' => "Banner Klick/View",
- 'ADMIN_NETWORK_TYPE_HANDLER_BANNER_CLICK' => "Banner-Klick",
- 'ADMIN_NETWORK_TYPE_HANDLER_BANNER_VIEW' => "Banner-View",
+ 'ADMIN_NETWORK_TYPE_HANDLER_BANNER_CLICK' => "Banner Klick",
+ 'ADMIN_NETWORK_TYPE_HANDLER_BANNER_VIEW' => "Banner View",
'ADMIN_NETWORK_TYPE_HANDLER_BUTTON' => "Button Klick/View",
- 'ADMIN_NETWORK_TYPE_HANDLER_BUTTON_CLICK' => "Button-Klick",
- 'ADMIN_NETWORK_TYPE_HANDLER_BUTTON_VIEW' => "Button-View",
- 'ADMIN_NETWORK_TYPE_HANDLER_SURFBAR' => "Surfbar Klick/View",
- 'ADMIN_NETWORK_TYPE_HANDLER_SURFBAR_CLICK' => "Surfbar-Klick",
- 'ADMIN_NETWORK_TYPE_HANDLER_SURFBAR_VIEW' => "Surfbar-View",
+ 'ADMIN_NETWORK_TYPE_HANDLER_BUTTON_CLICK' => "Button Klick",
+ 'ADMIN_NETWORK_TYPE_HANDLER_BUTTON_VIEW' => "Button View",
+ 'ADMIN_NETWORK_TYPE_HANDLER_SURFBAR' => "Surfbar Klick/View", // This is a software surfbar outside the browser window (mostly Windows-only)
+ 'ADMIN_NETWORK_TYPE_HANDLER_SURFBAR_CLICK' => "Surfbar Klick",
+ 'ADMIN_NETWORK_TYPE_HANDLER_SURFBAR_VIEW' => "Surfbar View",
'ADMIN_NETWORK_TYPE_HANDLER_FORCEDBANNER' => "Forced-Banner",
'ADMIN_NETWORK_TYPE_HANDLER_FORCEDTEXTLINK' => "Forced-Textlink",
'ADMIN_NETWORK_TYPE_HANDLER_TEXTLINK' => "Textlink Klick/View",
- 'ADMIN_NETWORK_TYPE_HANDLER_TEXTLINK_CLICK' => "Textlink-Klick",
- 'ADMIN_NETWORK_TYPE_HANDLER_TEXTLINK_VIEW' => "Textlink-View",
+ 'ADMIN_NETWORK_TYPE_HANDLER_TEXTLINK_CLICK' => "Textlink Klick",
+ 'ADMIN_NETWORK_TYPE_HANDLER_TEXTLINK_VIEW' => "Textlink View",
'ADMIN_NETWORK_TYPE_HANDLER_SKYBANNER' => "Sky Klick/View",
- 'ADMIN_NETWORK_TYPE_HANDLER_SKYBANNER_CLICK' => "Sky-Klick",
- 'ADMIN_NETWORK_TYPE_HANDLER_SKYBANNER_VIEW' => "Sky-View",
+ 'ADMIN_NETWORK_TYPE_HANDLER_SKYBANNER_CLICK' => "Sky Klick",
+ 'ADMIN_NETWORK_TYPE_HANDLER_SKYBANNER_VIEW' => "Sky View",
+ 'ADMIN_NETWORK_TYPE_HANDLER_HALFBANNER' => "Half-Banner Klick/View",
+ 'ADMIN_NETWORK_TYPE_HANDLER_HALFBANNER_CLICK' => "Half-Banner Klick",
+ 'ADMIN_NETWORK_TYPE_HANDLER_HALFBANNER_VIEW' => "Half-Banner View",
'ADMIN_NETWORK_TYPE_HANDLER_LAYER' => "Layer Klick/View",
- 'ADMIN_NETWORK_TYPE_HANDLER_LAYER_CLICK' => "Layer-Klick",
- 'ADMIN_NETWORK_TYPE_HANDLER_LAYER_VIEW' => "Layer-View",
+ 'ADMIN_NETWORK_TYPE_HANDLER_LAYER_CLICK' => "Layer Klick",
+ 'ADMIN_NETWORK_TYPE_HANDLER_LAYER_VIEW' => "Layer View",
'ADMIN_NETWORK_TYPE_HANDLER_POPUP' => "PopUp",
'ADMIN_NETWORK_TYPE_HANDLER_POPDOWN' => "PopDown",
'ADMIN_NETWORK_TYPE_HANDLER_TEXTMAIL' => "Textmail",
'ADMIN_NETWORK_TYPE_HANDLER_HTMLMAIL' => "HTML-Mail",
'ADMIN_NETWORK_TYPE_HANDLER_LEAD' => "Lead",
'ADMIN_NETWORK_TYPE_HANDLER_SALE' => "Sale",
+ 'ADMIN_NETWORK_TYPE_HANDLER_LEAD_SALE' => "Lead/Sale",
'ADMIN_NETWORK_TYPE_HANDLER_PAYPERACTIVE' => "PayPerAktiv",
'ADMIN_NETWORK_TYPE_HANDLER_PAGEPEEL' => "Page-Peel",
'ADMIN_NETWORK_TYPE_HANDLER_TRAFFIC' => "Traffic", // These are visitor exchanges like ext-surfbar!
'ADMIN_NETWORK_TYPE_HANDLER_SIGNATURE' => "Signatur Klick/View",
- 'ADMIN_NETWORK_TYPE_HANDLER_SIGNATURE_CLICK' => "Signatur-Klick",
- 'ADMIN_NETWORK_TYPE_HANDLER_SIGNATURE_VIEW' => "Signatur-View",
+ 'ADMIN_NETWORK_TYPE_HANDLER_SIGNATURE_CLICK' => "Signatur Klick",
+ 'ADMIN_NETWORK_TYPE_HANDLER_SIGNATURE_VIEW' => "Signatur View",
// - Sponsor networks
'ADMIN_LIST_NEWORK_DATA_TITLE' => "Auflistung der Grunddaten aller Werbenetzwerke",
'ADMIN_NETWORK_NONE_SUPPORTED' => "Es sind noch keine Werbenetzwerke eingerichtet.",
'ADMIN_NETWORK_TRANSLATE_POPDOWN_ID_NAME' => "PopDown-Id",
'ADMIN_NETWORK_TRANSLATE_LEAD_ID_NAME' => "Lead-Id",
'ADMIN_NETWORK_TRANSLATE_SALE_ID_NAME' => "Sale-Id",
+ 'ADMIN_NETWORK_TRANSLATE_LEAD_SALE_ID_NAME' => "Lead/Sale-Id",
'ADMIN_NETWORK_TRANSLATE_TRAFFIC_ID_NAME' => "Traffic-Id",
'ADMIN_NETWORK_TRANSLATE_CAMPAIGN_ID_NAME' => "Kampagnen-Id",
'ADMIN_NETWORK_TRANSLATE_MINIMUM_STAY_NAME' => "Mindestauffenthalt",
'ADMIN_CONFIG_NICKNAME_CHARACTERS' => "Zeichenfolge für Sprachdatei",
// Admin - nickname history
- 'ADMIN_LIST_NICKNAME_HISTORY_404' => "Das ausgewählte Mitglied <span class=\"data\">{%%pipe,generateUserProfileLink=%s%%}</span> hat noch keinen Nicknamen angelegt. Daher konnten auch keine Historie-Einträge gefunden werden.",
+ 'ADMIN_LIST_NICKNAME_HISTORY_404' => "Das ausgewählte Mitglied <span class=\"data\">{%get,generateUserProfileLink=userid%}</span> hat noch keinen Nicknamen angelegt. Daher konnten auch keine Historie-Einträge gefunden werden.",
'ADMIN_LIST_NICKNAME_HISTORY_TITLE' => "Alle verwendeten Nicknames des Mitgliedes <span class=\"data\">{%get,generateUserProfileLink=userid%}</span>",
// Member
'GUEST_SURFBAR_LOGIN_HEADER' => "Login zur Surfbar:",
// Points accounts - subject
- 'POINTS_SUBJECT_SURFBAR' => "Vergütung im Besuchertausch",
- 'POINTS_SUBJECT_MONTHLY_SURFBAR' => "Monatl. Reset (Besuchertausch)",
+ 'POINTS_SUBJECT_SURFBAR' => "Vergütung im Besuchert.",
+ 'POINTS_SUBJECT_SURFBAR_REF' => "Anteilige Vergütung im Besuchert.",
+ 'POINTS_SUBJECT_MONTHLY_SURFBAR' => "Monatl. Reset (Besuchert.)",
+ 'POINTS_SUBJECT_MONTHLY_SURFBAR_REF' => "Anteilige monatl. Reset (Besuchert.)",
// Module title
'MODULE_SURFBAR_TITLE' => "Besuchertausch",
// Is the template a bug report?
if ($template == 'admin_report_bug') {
// Then set 'Reply-To:' again
- $mailHeader = 'Reply-To: webmaster@mxchange.org' . chr(10);
+ $mailHeader = 'Reply-To: webmaster@mxchange.org' . PHP_EOL;
} // END - if
// Load email addresses and send away
sendEmail($content['userid'], '{--MEMBER_HOLIDAY_UNLOCK_SUBJECT--}', $message);
// Remember userid for admin
- $admin .= $content['userid'].chr(10);
+ $admin .= $content['userid'] . PHP_EOL;
} // END - if
// Send mail to admins
} // END - foreach
// Replace new-lines agains <br />-s and finally compile possible own HTML tags out...
- return preCompileCode(str_replace(chr(10), "<br />\n", $text));
+ return preCompileCode(str_replace(PHP_EOL, "<br />" . PHP_EOL, $text));
}
// [EOF]
'skybanner',
'skybanner_click',
'skybanner_view',
+ 'halfbanner',
+ 'halfbanner_click',
+ 'halfbanner_view',
'layer',
'layer_click',
'layer_view',
'htmlmail',
'lead',
'sale',
+ 'lead_sale',
'payperactive',
'pagepeel',
'traffic',
// Already there
loadTemplate('admin_settings_unsaved', FALSE, '{%message,ADMIN_NETWORK_ALREADY_ADDED=' . postRequestElement('network_short_name') . '%}');
return FALSE;
- } elseif (!isNetworkActiveByShortName(postRequestElement('network_short_name'))) {
- // Network is not active
- loadTemplate('admin_settings_unsaved', FALSE, '{%message,ADMIN_NETWORK_NOT_ACTIVE=' . postRequestElement('network_short_name') . '%}');
- return FALSE;
- }
+ } // END - if
// Remove the 'ok' part
unsetPostRequestElement('ok');
// If we have no rows, we don't need to display the edit form
if (!empty($OUT)) {
+ // Init array with generic element
+ $content = array(
+ 'rows' => $OUT
+ );
+
// Output main template
- loadTemplate('admin_' . $GLOBALS['network_form_name'] . '_networks', FALSE, $OUT);
+ loadTemplate('admin_' . $GLOBALS['network_form_name'] . '_networks', FALSE, $content);
// Don't display the list/add new form
$GLOBALS['network_display'] = FALSE;
// If we have no rows, we don't need to display the edit form
if (!empty($OUT)) {
+ // Prepare array with generic elements
+ $content = array(
+ 'rows' => $OUT,
+ 'network_id' => bigintval(getRequestElement('network_id'))
+ );
+
// Output main template
if (isFormSent('edit')) {
- loadTemplate('admin_edit_network_types', FALSE, $OUT);
+ loadTemplate('admin_edit_network_types', FALSE, $content);
} elseif (isFormSent('delete')) {
- loadTemplate('admin_delete_network_types', FALSE, $OUT);
+ loadTemplate('admin_delete_network_types', FALSE, $content);
} else {
// Problem!
reportBug(__FUNCTION__, __LINE__, 'Cannot detect edit/delete.');
// If we have no rows, we don't need to display the edit form
if (!empty($OUT)) {
+ // Prepare array with generic elements
+ $content = array(
+ 'rows' => $OUT,
+ 'network_id' => bigintval(getRequestElement('network_id'))
+ );
+
// Output main template
if (isFormSent('edit')) {
- loadTemplate('admin_edit_network_request_params', FALSE, $OUT);
+ loadTemplate('admin_edit_network_request_params', FALSE, $content);
} elseif (isFormSent('delete')) {
- loadTemplate('admin_delete_network_request_params', FALSE, $OUT);
+ loadTemplate('admin_delete_network_request_params', FALSE, $content);
} else {
// Problem!
reportBug(__FUNCTION__, __LINE__, 'Cannot detect edit/delete.');
// If we have no rows, we don't need to display the edit form
if (!empty($OUT)) {
+ // Prepare array with generic elements
+ $content = array(
+ 'rows' => $OUT,
+ 'network_id' => bigintval(getRequestElement('network_id'))
+ );
+
// Output main template
if (isFormSent('edit')) {
- loadTemplate('admin_edit_network_array_translation', FALSE, $OUT);
+ loadTemplate('admin_edit_network_array_translation', FALSE, $content);
} elseif (isFormSent('delete')) {
- loadTemplate('admin_delete_network_array_translation', FALSE, $OUT);
+ loadTemplate('admin_delete_network_array_translation', FALSE, $content);
} else {
// Problem!
reportBug(__FUNCTION__, __LINE__, 'Cannot detect edit/delete.');
function addReferralRallyePrices ($rallye, $mode = 'email') {
// Output mode
switch($mode) {
- case 'email': $mode = chr(10); break;
+ case 'email': $mode = PHP_EOL; break;
case 'html' : $mode = '<br />'; break;
} // END - switch
if (!SQL_HASZERONUMS($result_prices)) {
// Load prices
$prices = '';
- if ($mode == chr(10)) {
+ if ($mode == PHP_EOL) {
$prices = '{--RALLYE_MEMBER_PRICES_ADDED--}:' . $mode . '------------------------------' . $mode;
} // END - if
}
// Add last line for email mode
- if ($mode == chr(10)) {
+ if ($mode == PHP_EOL) {
$prices .= '------------------------------';
} // END - if
// Both extensions must be there
if ((isExtensionActive('autopurge')) && (isExtensionActive('user'))) {
// Start finding them...
- $EXCLUDE_LIST = ' ';
+ $userExclusionSql = ' ';
+
+ // Exclude test accounts
+ $userExclusionSql = runFilterChain('user_exclusion_sql', ' ');
// Check for more extensions
// @TODO These can be rewritten to filter
- if (isValidUserId(getDefRefid())) $EXCLUDE_LIST .= ' AND d.`userid` != {?def_refid?}';
- if (isExtensionActive('beg')) $EXCLUDE_LIST .= ' AND d.`userid` != {?beg_userid?}';
- if (isExtensionActive('bonus')) $EXCLUDE_LIST .= ' AND d.`userid` != {?bonus_userid?}';
- if (isExtensionActive('doubler')) $EXCLUDE_LIST .= ' AND d.`userid` != {?doubler_userid?}';
+ if (isValidUserId(getDefRefid())) $userExclusionSql .= ' AND d.`userid` != {?def_refid?}';
+ if (isExtensionActive('beg')) $userExclusionSql .= ' AND d.`userid` != {?beg_userid?}';
+ if (isExtensionActive('bonus')) $userExclusionSql .= ' AND d.`userid` != {?bonus_userid?}';
+ if (isExtensionActive('doubler')) $userExclusionSql .= ' AND d.`userid` != {?doubler_userid?}';
if (isExtensionInstalledAndNewer('holiday', '0.1.3')) {
// Recent ext-holiday found
- $EXCLUDE_LIST .= " AND d.`holiday_active`='N'";
- } // END - if
- if (isExtensionInstalledAndNewer('user', '0.5.0')) {
- // Exclude test accounts
- $EXCLUDE_LIST = runFilterChain('user_exclusion_sql', $EXCLUDE_LIST);
+ $userExclusionSql .= " AND d.`holiday_active`='N'";
} // END - if
// Check for all accounts
d.`email`,
d.`last_online`
FROM
- `{?_MYSQL_PREFIX?}_user_data` AS d
+ `{?_MYSQL_PREFIX?}_user_data` AS `d`
WHERE
- d.`status`='CONFIRMED'
- " . runFilterChain('user_exclusion_sql', ' ') . " AND
+ d.`status`='CONFIRMED' AND
(UNIX_TIMESTAMP() - d.`joined`) >= {?ap_inactive_since?} AND
(UNIX_TIMESTAMP() - d.`last_online`) >= {?ap_inactive_since?} AND
(UNIX_TIMESTAMP() - d.`ap_notified`) >= {?ap_inactive_since?}
-".$EXCLUDE_LIST."
+" . $userExclusionSql . "
ORDER BY
d.`userid` ASC");
$WHATs[] = 'list_autopurge';
$mod = getModule();
// Construction URL
- $formAction = '{%url=modules.php?module='. $mod;
+ $formAction = 'modules.php?module='. $mod;
if (!empty($what)) $formAction .= '&what=' . $what;
- $formAction .= '%}';
// Initialize array
$themesArray = array(
$add = " WHERE `theme_active`='Y'";
// Is there admin?
- if (isAdmin()) $add = '';
+ if (isAdmin()) {
+ // Then display all themes
+ $add = '';
+ } // END - if
// Select all themes we want
$result = SQL_QUERY('SELECT
`theme_name` ASC', __FUNCTION__, __LINE__);
// Load all themes
- while ($content = SQL_FETCHARRAY($result)) {
+ while ($row = SQL_FETCHARRAY($result)) {
// Construct relative include file name
- $inc = sprintf("theme/%s/theme.php", secureString($content['theme_path']));
+ $inc = sprintf("theme/%s/theme.php", secureString($row['theme_path']));
// Load it's theme.php file if found
if (isIncludeReadable($inc)) {
// And save all data in array
loadInclude($inc);
- array_push($themesArray['theme_unix'], $content['theme_path']);
- array_push($themesArray['theme_name'], $GLOBALS['theme_data']['name']);
+ array_push($themesArray['theme_unix'], $row['theme_path']);
+ array_push($themesArray['theme_name'], $row['theme_name']);
} // END - if
} // END - while
'selection' => $OUT
);
+ // Load template
+ $out = loadTemplate('theme_select_form', TRUE, $content);
+
// Return generated selection
- return loadTemplate('theme_select_form', TRUE, $content);
+ return $out;
}
// Get version from name
} // END - if
// The result is now still raw, so we must split it up and trim spaces away
- $responseLine = trim(implode(chr(10), $dummy));
+ $responseLine = trim(implode(PHP_EOL, $dummy));
// Last line should never be a pipe!
if (substr($responseLine, -1, 1) == '|') {
$code = $codeArray[0];
// Remove all new-line characters
- $codeArray = explode(chr(10), $code);
+ $codeArray = explode(PHP_EOL, $code);
$code = $codeArray[0];
// Remove carrige-return
- $code = trim(str_replace(chr(10), '', $code));
+ $code = trim(str_replace(PHP_EOL, '', $code));
// Is it still empty?
if (empty($code)) {
$hashedPass = md5(postRequestElement('admin_pass1'));
// Kill maybe existing session variables
- destroyAdminSession(FALSE);
+ destroyAdminSession();
// Do registration
$ret = addAdminAccount(postRequestElement('admin_login'), $hashedPass, getWebmaster());
case '404': // Administrator login not found
setPostRequestElement('login', $ret);
$ret = '{%message,ADMIN_ACCOUNT_404=' . postRequestElement('admin_login') . '%}';
- destroyAdminSession();
+ destroyAdminSession(TRUE);
break;
case 'password': // Wrong password
setPostRequestElement('login', $ret);
$ret = '{--WRONG_PASS--} [<a href="{%url=modules.php?module=admin&reset_pass=1%}">{--ADMIN_RESET_PASS--}</a>]';
- destroyAdminSession();
+ destroyAdminSession(TRUE);
break;
default: // Others will be logged
} // END - if
} elseif (isGetRequestElementSet('logout')) {
// Only try to remove cookies
- if (destroyAdminSession()) {
+ if (destroyAdminSession(TRUE)) {
// Load logout template
if (isGetRequestElementSet('register')) {
// Secure input
case '404': // Administrator login not found
setPostRequestElement('login', $ret);
displayMessage('{%message,ADMIN_ACCOUNT_404=' . getCurrentAdminId() . '%}');
- destroyAdminSession();
+ destroyAdminSession(TRUE);
break;
case 'password': // Wrong password
setPostRequestElement('login', $ret);
displayMessage('{--WRONG_PASS--}');
- destroyAdminSession();
+ destroyAdminSession(TRUE);
break;
case 'session': // Invalid admin session
setPostRequestElement('login', $ret);
displayMessage('{--INVALID_ADMIN_SESSION--}');
- destroyAdminSession();
+ destroyAdminSession(TRUE);
break;
default: // Others will be logged
}
// Build a special template list
-function adminListBuilder ($listType, $tableName, $columns, $filterFunctions, $extraValues, $idColumn, $userIdColumn, $rawUserId = array('userid')) {
+// @TODO cacheFiles is not yet supported
+function adminListBuilder ($listType, $tableName, $columns, $filterFunctions, $extraValues, $idColumn, $userIdColumn, $rawUserId = array('userid'), $content = array()) {
// Call inner (general) function
- doGenericListBuilder('admin', $listType, $tableName, $columns, $filterFunctions, $extraValues, $idColumn, $userIdColumn, $rawUserId);
+ doGenericListBuilder('admin', $listType, $tableName, $columns, $filterFunctions, $extraValues, $idColumn, $userIdColumn, $rawUserId, $content);
}
// Change status of "build" list
}
// Delete rows by given id numbers
-function adminDeleteEntriesConfirm ($tableName, $columns = array(), $filterFunctions = array(), $extraValues = array(), $deleteNow = array(FALSE), $idColumn = array('id'), $userIdColumn = array('userid'), $rawUserId = array('userid'), $cacheFiles = array()) {
+function adminDeleteEntriesConfirm ($tableName, $columns = array(), $filterFunctions = array(), $extraValues = array(), $deleteNow = array(FALSE), $idColumn = array('id'), $userIdColumn = array('userid'), $rawUserId = array('userid'), $cacheFiles = array(), $content = array()) {
// $tableName must be an array
if ((!is_array($tableName)) || (count($tableName) != 1)) {
// No tableName specified
}
} else {
// List for deletion confirmation
- adminListBuilder('delete', $tableName, $columns, $filterFunctions, $extraValues, $idColumn, $userIdColumn);
+ adminListBuilder('delete', $tableName, $columns, $filterFunctions, $extraValues, $idColumn, $userIdColumn, $rawUserId, $content);
}
}
// Edit rows by given id numbers
-function adminEditEntriesConfirm ($tableName, $columns = array(), $filterFunctions = array(), $extraValues = array(), $timeColumns = array(), $editNow = array(FALSE), $idColumn = array('id'), $userIdColumn = array('userid'), $rawUserId = array('userid'), $cacheFiles = array()) {
+function adminEditEntriesConfirm ($tableName, $columns = array(), $filterFunctions = array(), $extraValues = array(), $timeColumns = array(), $editNow = array(FALSE), $idColumn = array('id'), $userIdColumn = array('userid'), $rawUserId = array('userid'), $cacheFiles = array(), $content = array()) {
// $tableName must be an array
if ((!is_array($tableName)) || (count($tableName) != 1)) {
// No tableName specified
}
} else {
// List for editing
- adminListBuilder('edit', $tableName, $columns, $filterFunctions, $extraValues, $idColumn, $userIdColumn);
+ adminListBuilder('edit', $tableName, $columns, $filterFunctions, $extraValues, $idColumn, $userIdColumn, $rawUserId, $content);
}
}
// Un-/lock rows by given id numbers
+// @TODO rawUserId/content is not yet supported
function adminLockEntriesConfirm ($tableName, $columns = array(), $filterFunctions = array(), $extraValues = array(), $statusArray = array(), $lockNow = array(FALSE), $idColumn = array('id'), $userIdColumn = array('userid')) {
// $tableName must be an array
if ((!is_array($tableName)) || (count($tableName) != 1)) {
}
// Undelete rows by given id numbers
+// @TODO rawUserId/cacheFiles/content is not yet supported
function adminUndeleteEntriesConfirm ($tableName, $columns = array(), $filterFunctions = array(), $extraValues = array(), $statusArray = array(), $undeleteNow = array(FALSE), $idColumn = array('id'), $userIdColumn = array('userid')) {
// $tableName must be an array
if ((!is_array($tableName)) || (count($tableName) != 1)) {
}
// List all entries
-doGenericXmlTemplateCallback('admin_list_user_subid_stats');
+doGenericXmlTemplateCallback('admin_list_user_subid_stats', array(
+ 'id' => bigintval(getRequestElement('id')),
+ 'userid' => bigintval(getRequestElement('userid'))
+));
// [EOF]
?>
// Exclude default referral id if set
// @TODO Rewrite those lines to filter
-$EXCLUDE_LIST = '';
-if (isValidUserId(getDefRefid())) $EXCLUDE_LIST .= ' AND d.userid != {?def_refid?}';
-if (isExtensionActive('beg')) $EXCLUDE_LIST .= ' AND d.userid != {?beg_userid?}';
-if (isExtensionActive('bonus')) $EXCLUDE_LIST .= ' AND d.userid != {?bonus_userid?}';
-if (isExtensionActive('doubler')) $EXCLUDE_LIST .= ' AND d.userid != {?doubler_userid?}';
-if (isExtensionInstalledAndNewer('holiday', '0.1.3')) $EXCLUDE_LIST .= " AND d.`holiday_active`='N'";
+$userExclusionSql = runFilterChain('user_exclusion_sql', ' ');
+if (isValidUserId(getDefRefid())) $userExclusionSql .= ' AND d.userid != {?def_refid?}';
+if (isExtensionActive('beg')) $userExclusionSql .= ' AND d.userid != {?beg_userid?}';
+if (isExtensionActive('bonus')) $userExclusionSql .= ' AND d.userid != {?bonus_userid?}';
+if (isExtensionActive('doubler')) $userExclusionSql .= ' AND d.userid != {?doubler_userid?}';
+if (isExtensionInstalledAndNewer('holiday', '0.1.3')) $userExclusionSql .= " AND d.`holiday_active`='N'";
// Check for all accounts
$result = SQL_QUERY("SELECT
- d.`userid`, d.`gender`, d.`surname`, d.`family`, d.`email`, d.`joined`, d.`last_online`, d.`ap_notified`
+ d.`userid`,
+ d.`gender`,
+ d.`surname`,
+ d.`family`,
+ d.`email`,
+ d.`joined`,
+ d.`last_online`,
+ d.`ap_notified`
FROM
`{?_MYSQL_PREFIX?}_user_data` AS d
WHERE
(UNIX_TIMESTAMP() - d.`joined`) >= {?ap_inactive_since?} AND
(UNIX_TIMESTAMP() - d.`last_online`) >= {?ap_inactive_since?} AND
(UNIX_TIMESTAMP() - d.`ap_notified`) >= {?ap_inactive_since?}
- ".$EXCLUDE_LIST."
+ " . $userExclusionSql . "
ORDER BY
d.`userid` ASC", __FILE__, __LINE__);
$OUT .= loadTemplate('admin_list_network_array_translation_row', TRUE, $row);
} // END - while
+ // Prepare array with generic elements
+ $content = array(
+ 'rows' => $OUT,
+ 'network_id' => bigintval(getRequestElement('network_id'))
+ );
+
// Load main template
- loadTemplate('admin_list_network_array_translation', FALSE, $OUT);
+ loadTemplate('admin_list_network_array_translation', FALSE, $content);
} else {
// No entries found
displayMessage('{%message,ADMIN_NETWORK_ARRAY_TRANSLATION_404=' . $networkData['network_title'] . '%}');
ON
p.`network_type_id`=t.`network_type_id`
WHERE
- p.`network_id`=%s".$ADD."
+ p.`network_id`=%s" . $ADD . "
ORDER BY
t.`network_type_handler` ASC,
p.`network_request_param_id` ASC",
- array(getRequestElement('network_id')), __FILE__, __LINE__);
+ array(bigintval(getRequestElement('network_id'))), __FILE__, __LINE__);
// Are there entries?
if (!SQL_HASZERONUMS($result)) {
$OUT .= loadTemplate('admin_list_network_request_params_row', TRUE, $row);
} // END - while
+ // Prepare content array
+ $content = array(
+ 'rows' => $OUT,
+ 'network_id' => bigintval(getRequestElement('network_id'))
+ );
+
// Load main template
- loadTemplate('admin_list_network_request_params', FALSE, $OUT);
+ loadTemplate('admin_list_network_request_params', FALSE, $content);
} else {
// No entries found
displayMessage('{%message,ADMIN_NETWORK_REQUEST_PARAMETER_404=' . $networkData['network_title'] . '%}');
`network_id`=%s
ORDER BY
`network_type_handler` ASC',
- array(getRequestElement('network_id')), __FILE__, __LINE__);
+ array(bigintval(getRequestElement('network_id'))), __FILE__, __LINE__);
// Are there entries?
if (!SQL_HASZERONUMS($result)) {
$OUT .= loadTemplate('admin_list_network_types_row', TRUE, $row);
} // END - while
+ // Generate array
+ $content = array(
+ 'rows' => $OUT,
+ 'network_id' => bigintval(getRequestElement('network_id'))
+ );
+
// Load main template
- loadTemplate('admin_list_network_types', FALSE, $OUT);
+ loadTemplate('admin_list_network_types', FALSE, $content);
} else {
// No entries found
displayMessage('{%message,ADMIN_NETWORK_TYPE_HANDLER_404=' . $networkData['network_title'] . '%}');
`network_id`=%s
ORDER BY
`network_vcheck_param_id` ASC",
- array(getRequestElement('network_id')), __FILE__, __LINE__);
+ array(bigintval(getRequestElement('network_id'))), __FILE__, __LINE__);
// Are there entries?
if (!SQL_HASZERONUMS($result)) {
$OUT .= loadTemplate('admin_list_network_vcheck_params_row', TRUE, $row);
} // END - while
+ // Prepare generic array
+ $content = array(
+ 'rows' => $OUT,
+ 'network_id' => bigintval(getRequestElement('network_id'))
+ );
+
// Load main template
- loadTemplate('admin_list_network_vcheck_params', FALSE, $OUT);
+ loadTemplate('admin_list_network_vcheck_params', FALSE, $content);
} else {
// No entries found
displayMessage('{%message,ADMIN_NETWORK_VCHECK_PARAMETER_404=' . $networkData['network_title'] . '%}');
// Delete entries?
if (isFormSent('do_delete')) {
// Remove entries from database
- doGenericXmlTemplateCallback('admin_delete_do_nickname_history');
+ doGenericXmlTemplateCallback('admin_delete_do_nickname_history', array(
+ 'userid' => bigintval(getRequestElement('userid'))
+ ));
} // END - if
// List all entries per user
// Edit or delete button hit?
if (isFormSent('edit')) {
// Show entries for editing
- doGenericXmlTemplateCallback('admin_edit_show_user_subid');
+ doGenericXmlTemplateCallback('admin_edit_show_user_subid', array(
+ 'userid' => bigintval(getRequestElement('userid'))
+ ));
// Do not show the list of URLs after this template
$show = FALSE;
} elseif (isFormSent('do_edit')) {
// Change data of entries
- doGenericXmlTemplateCallback('admin_edit_do_user_subid');
+ doGenericXmlTemplateCallback('admin_edit_do_user_subid', array(
+ 'userid' => bigintval(getRequestElement('userid'))
+ ));
} elseif (isFormSent('delete')) {
// Show entries for deletion
- doGenericXmlTemplateCallback('admin_delete_show_user_subid');
+ doGenericXmlTemplateCallback('admin_delete_show_user_subid', array(
+ 'userid' => bigintval(getRequestElement('userid'))
+ ));
// Do not show the list of URLs after this template
$show = FALSE;
} elseif (isFormSent('do_delete')) {
// Remove entries from database
- doGenericXmlTemplateCallback('admin_delete_do_user_subid');
+ doGenericXmlTemplateCallback('admin_delete_do_user_subid', array(
+ 'userid' => bigintval(getRequestElement('userid'))
+ ));
} elseif (isFormSent('do_delete_stats')) {
// Remove entries from database
- doGenericXmlTemplateCallback('admin_delete_do_user_subid_stats');
+ doGenericXmlTemplateCallback('admin_delete_do_user_subid_stats', array(
+ 'userid' => bigintval(getRequestElement('userid'))
+ ));
} elseif ((isGetRequestElementSet('do')) && (isGetRequestElementSet('id'))) {
// Construct module name
$incFile = sprintf("inc/modules/admin/subid-%s.php", SQL_ESCAPE(getRequestElement('do')));
// Which is the latest version on server?
$ONLINE = array(
- 'version' => trim(str_replace(chr(10), '', $response[0])),
- 'changed' => trim(str_replace(chr(10), '', $response[1])),
- 'revision' => trim(str_replace(chr(10), '', $response[2])),
+ 'version' => trim(str_replace(PHP_EOL, '', $response[0])),
+ 'changed' => trim(str_replace(PHP_EOL, '', $response[1])),
+ 'revision' => trim(str_replace(PHP_EOL, '', $response[2])),
'code' => '200 OK'
);
} else {
} // END - if
// Remove new-line and carriage-return characters
- $TEST = str_replace(array(chr(10), chr(13)), array('', ''), postRequestElement('text'));
+ $TEST = str_replace(array(PHP_EOL, chr(13)), array('', ''), postRequestElement('text'));
// Text length within allowed length?
if (strlen($TEST) > getConfig('max_tlength')) {
// Is it a bug report?
if ($isBugReport === TRUE) {
// Then add a reply-to line back to the author (me)
- $mailHeader = 'Reply-To: webmaster@mxchange.org' . chr(10);
+ $mailHeader = 'Reply-To: webmaster@mxchange.org' . PHP_EOL;
} // END - if
// Load all admin email addresses
}
// List all given rows (callback function from XML)
-function doGenericListEntries ($tableTemplate, $rowTemplate, $noEntryMessageId, $tableName, $columns, $whereColumns, $orderByColumns, $callbackColumns, $extraParameters = array(), $conditions = array()) {
+function doGenericListEntries ($tableTemplate, $rowTemplate, $noEntryMessageId, $tableName, $columns, $whereColumns, $orderByColumns, $callbackColumns, $extraParameters = array(), $conditions = array(), $content = array()) {
// Verify that tableName and columns are not empty
if ((!is_array($tableName)) || (count($tableName) != 1)) {
// No tableName specified
} // END - if
// Now handle all over to the inner function which will execute the listing
- doListEntries($sql, $tableTemplate, $noEntryMessageId, $rowTemplate, $callbackColumns, $extraParameters);
+ doListEntries($sql, $tableTemplate, $noEntryMessageId, $rowTemplate, $callbackColumns, $extraParameters, $content);
}
// Do the listing of entries
-function doListEntries ($sql, $tableTemplate, $noEntryMessageId, $rowTemplate, $callbackColumns, $extraParameters = array()) {
+function doListEntries ($sql, $tableTemplate, $noEntryMessageId, $rowTemplate, $callbackColumns, $extraParameters = array(), $content = array()) {
// Run the SQL query
$result = SQL_QUERY($sql, __FUNCTION__, __LINE__);
if (!SQL_HASZERONUMS($result)) {
// List all URLs
$OUT = '';
- while ($content = SQL_FETCHARRAY($result)) {
+ while ($row = SQL_FETCHARRAY($result)) {
// "Translate" content
foreach ($callbackColumns as $columnName => $callbackName) {
// Fill the callback arguments
- $args = array($content[$columnName]);
+ $args = array($row[$columnName]);
// Is there more to add?
if (isset($extraParameters[$columnName])) {
// Call the callback-function
//* NOISY-DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'callbackFunction=' . $callbackName . ',args=<pre>'.print_r($args, TRUE).'</pre>');
// @TODO If we can rewrite the EL sub-system to support more than one parameter, this call_user_func_array() can be avoided
- $content[$columnName] = call_user_func_array($callbackName, $args);
+ $row[$columnName] = call_user_func_array($callbackName, $args);
} // END - foreach
// Load row template
- $OUT .= loadTemplate(trim($rowTemplate[0]), TRUE, $content);
+ $OUT .= loadTemplate(trim($rowTemplate[0]), TRUE, $row);
} // END - while
+ // Is at least one entry set in content?
+ if ((is_array($content)) && (count($content) > 0)) {
+ // Then add generic 'rows' element
+ $content['rows'] = $OUT;
+ } else {
+ // Direct output is content
+ $content = $OUT;
+ }
+
// Load main template
- loadTemplate(trim($tableTemplate[0]), FALSE, $OUT);
+ loadTemplate(trim($tableTemplate[0]), FALSE, $content);
} else {
// No URLs in surfbar
displayMessage('{--' .$noEntryMessageId[0] . '--}');
}
// Build a special template list
-function doGenericListBuilder ($prefix, $listType, $tableName, $columns, $filterFunctions, $extraValues, $idColumn, $userIdColumn, $rawUserId = array('userid')) {
+// @TODO cacheFiles is not yet supported
+function doGenericListBuilder ($prefix, $listType, $tableName, $columns, $filterFunctions, $extraValues, $idColumn, $userIdColumn, $rawUserId = array('userid'), $content = array()) {
// $tableName and $idColumn must bove be arrays!
if ((!is_array($tableName)) || (count($tableName) != 1)) {
// $tableName is no array
// Is there one entry?
if (SQL_NUMROWS($result) == 1) {
// Load all data
- $content = SQL_FETCHARRAY($result);
+ $row = SQL_FETCHARRAY($result);
// Filter all data
- foreach ($content as $key => $value) {
+ foreach ($row as $key => $value) {
// Search index
$idx = searchXmlArray($key, $columns, 'column');
if ($key == $userIdColumn[0]) {
// Add it again as raw id
//* DEBUG: */ reportBug(__FUNCTION__, __LINE__, 'key=' . $key . ',userIdColumn=' . $userIdColumn[0]);
- $content[$userIdColumn[0]] = convertZeroToNull($value);
- $content[$userIdColumn[0] . '_raw'] = $content[$userIdColumn[0]];
+ $row[$userIdColumn[0]] = convertZeroToNull($value);
+ $row[$userIdColumn[0] . '_raw'] = $row[$userIdColumn[0]];
} // END - if
// If the key matches the idColumn variable, we need to temporary remember it
} // END - if
// Try to handle call-back functions and/or extra values
- $content[$key] = doHandleExtraValues($filterFunctions, $extraValues, $idx, $content[$key], $userIdColumn, $idx);
+ //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'idx=' . $idx . ',row[' . $key . ']=' . $row[$key]);
+ $row[$key] = doHandleExtraValues($filterFunctions, $extraValues, $idx, $row[$key], $userIdColumn, $key);
} // END - foreach
// Then list it
$prefix,
$listType,
$tableName[0]
- ), TRUE, $content
+ ), TRUE, $row
);
} // END - if
SQL_FREERESULT($result);
} // END - foreach
+ // Is there an entry in $content?
+ if ((is_array($content)) && (count($content) > 0)) {
+ // Use generic 'rows'
+ $content['rows'] = $OUT;
+ } else {
+ // Use direct output
+ $content = $OUT;
+ }
+
// Load master template
loadTemplate(sprintf("%s_%s_%s",
$prefix,
$listType,
$tableName[0]
- ), FALSE, $OUT
+ ), FALSE, $content
);
}
} // END - while
// Remove last comma
- $content['userids'] = implode(chr(10), $userids);
+ $content['userids'] = implode(PHP_EOL, $userids);
// Send mail notification to admin
sendAdminNotification('{--ADMIN_AUTOPURGE_INACTIVE_SUBJECT--}', 'admin_autopurge_inactive', $content);
} // END - while
// Display all userids
- $useridsContent = implode(chr(10), $userids);
+ $useridsContent = implode(PHP_EOL, $userids);
// Send mail notification to admin
if (getConfig('ap_in_notify') == 'Y') {
} // END - while
// Remove last comma
- $userids = str_replace(', ', chr(10), substr($userids, 0, -2));
+ $userids = str_replace(', ', PHP_EOL, substr($userids, 0, -2));
// Send mail notification to admin
if (getConfig('ap_un_notify') == 'Y') {
$new = TRUE;
} else {
// Revision file found
- $ins_vers = explode(chr(10), readFromFile($FQFN));
+ $ins_vers = explode(PHP_EOL, readFromFile($FQFN));
// Get array for mapping information
$mapper = array_flip($GLOBALS['repository_search_for']);
// Has it been updated?
if ($new === TRUE) {
// Write it
- writeToFile($FQFN, implode(chr(10), getArrayFromRepositoryData()));
+ writeToFile($FQFN, implode(PHP_EOL, getArrayFromRepositoryData()));
// ... and call recursive
$ret = getRepositoryData($type);
// Remove all user data from session
if ($destroy === TRUE) {
// Destroy whole session
- return session_destroy();
+ return destroySession();
} else {
return ((setSession('userid', '')) && (setSession('u_hash', '')));
}
}
// Destroys the admin session
-function destroyAdminSession ($destroy = TRUE) {
+function destroyAdminSession ($destroy = FALSE) {
// Kill maybe existing session variables including array elements
setAdminId(0);
setAdminMd5('');
// Destroy session if requested and return status
if ($destroy === TRUE) {
- return session_destroy();
+ return destroySession();
} // END - if
// All fine if we shall not really destroy the session
return TRUE;
}
+// Destroys session and resets some "caches"
+function destroySession () {
+ // Unset "cache"
+ unset($GLOBALS['isSessionValid']);
+
+ // Destroy session
+ return session_destroy();
+}
+
+// Checks whether the session is valid
+function isSessionValid () {
+ // Is there cache?
+ if (!isset($GLOBALS[__FUNCTION__])) {
+ // Then determine it
+ $GLOBALS[__FUNCTION__] = ((isset($GLOBALS['valid_session'])) && ($GLOBALS['valid_session'] === TRUE) && (isset($_COOKIE[session_name()])));
+ } // END - if
+
+ // Return cache
+ return $GLOBALS[__FUNCTION__];
+}
+
// [EOF]
?>
} // END - if
// Is a session id there?
-if (session_id() == '') {
+if (!isSessionValid()) {
// Start the session
- $GLOBALS['valid_session'] = session_start();
+ $GLOBALS['valid_session'] = session_start();
+ $GLOBALS['isSessionValid'] = TRUE;
} // END - if
// Load language file(s)
// That's why you don't need any \n at the end of your HTML code... :-)
if ($newLine === TRUE) {
- outputRawCode(chr(10));
+ outputRawCode(PHP_EOL);
} // END - if
} else {
// Render mode for old or lame servers...
// That's why you don't need any \n at the end of your HTML code... :-)
if ($newLine === TRUE) {
- $GLOBALS['__output'] .= chr(10);
+ $GLOBALS['__output'] .= PHP_EOL;
} // END - if
}
break;
// The same as above... ^
outputRawCode($htmlCode);
if ($newLine === TRUE) {
- outputRawCode(chr(10));
+ outputRawCode(PHP_EOL);
} // END - if
break;
if (!is_array($code)) {
// We need an array, so try it with the new-line character
- $codeE = explode(chr(10), $code);
+ $codeE = explode(PHP_EOL, $code);
} // END - if
$count_lines = count($codeE);
switch ($mode) {
case 'normal': break; // Do not add any special lines
case 'email': // Email was changed!
- $content['message'] = '{--MEMBER_CHANGED_EMAIL--}' . ': ' . postRequestElement('old_email') . chr(10);
+ $content['message'] = '{--MEMBER_CHANGED_EMAIL--}' . ': ' . postRequestElement('old_email') . PHP_EOL;
break;
case 'password': // Password was changed
- $content['message'] = '{--MEMBER_CHANGED_PASS--}' . chr(10);
+ $content['message'] = '{--MEMBER_CHANGED_PASS--}' . PHP_EOL;
break;
default:
logDebugMessage(__FUNCTION__, __LINE__, sprintf("Unknown mode %s detected.", $mode));
- $content['message'] = '{--MEMBER_UNKNOWN_MODE--}' . ': ' . $mode . "\n\n";
+ $content['message'] = '{--MEMBER_UNKNOWN_MODE--}' . ': ' . $mode . PHP_EOL . PHP_EOL;
break;
} // END - switch
} // END - foreach
*/
function compactContent ($uncompactedContent) {
// First, remove all tab/new-line/revert characters
- $compactedContent = str_replace(chr(9), '', str_replace(chr(10), '', str_replace(chr(13), '', $uncompactedContent)));
+ $compactedContent = str_replace(chr(9), '', str_replace(PHP_EOL, '', str_replace(chr(13), '', $uncompactedContent)));
// Then regex all comments like <!-- //--> away
preg_match_all('/<!--[\w\W]*?(\/\/){0,1}-->/', $compactedContent, $matches);
// This function does always add a new-line character to every line.
function appendLineToFile ($file, $line) {
$fp = fopen($file, 'a') or reportBug(__FUNCTION__, __LINE__, 'Cannot write to file ' . basename($file) . '!');
- fwrite($fp, $line . chr(10));
+ fwrite($fp, $line . PHP_EOL);
fclose($fp);
}
);
$GLOBALS['__XML_ARGUMENTS'] = array();
$GLOBALS['__COLUMN_INDEX'] = array();
+ $GLOBALS['__XML_CONTENT'] = $content;
// Handle it over to the parser
parseXmlData($templateContent);
addXmlSpecialElements($template);
// Call the call-back function
- doCallXmlCallbackFunction();
+ doCallXmlCallbackFunction($content);
} else {
// Template not found
displayMessage('{%message,XML_TEMPLATE_404=' . $template . '%}');
// Is it there?
if (!function_exists($callbackName)) {
// No, then please add it
- reportBug(__FUNCTION__, __LINE__, 'callback=' . $callback . ',function=' . $function . 'arguments()=' . count($GLOBALS['__XML_ARGUMENTS'][$callback]) . ' - execute call-back does not exist.');
+ reportBug(__FUNCTION__, __LINE__, 'callback=' . $callback . ',function=' . $function . ',arguments()=' . count($GLOBALS['__XML_ARGUMENTS'][$callback]) . ',content()=' . count($GLOBALS['__XML_CONTENT']) . ' - execute call-back does not exist.');
} // END - if
// Call it
- call_user_func_array($callbackName, array($function, $GLOBALS['__XML_ARGUMENTS'][$callback], $GLOBALS['__COLUMN_INDEX'][$callback]));
+ call_user_func_array($callbackName, array($function, $GLOBALS['__XML_ARGUMENTS'][$callback], $GLOBALS['__COLUMN_INDEX'][$callback], $GLOBALS['__XML_CONTENT']));
} // END - foreach
} else {
// Not found
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=admin_add%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=admin_add%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="right" width="245">{--ADMIN_ENTER_TITLE--}:</td>
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=admins_add%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=admins_add%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_admins_acls%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_admins_acls%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" align="center">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=add_bank_package%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=add_bank_package%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" colspan="2" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_cats%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_cats%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" align="center" colspan="2">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?%}" method="get">
+{%form,formMethodGet=modules.php%}
<div class="dashed">
<div class="table_header bottom">
<strong>{%message,ADMIN_ADD_CONFIG_NETWORK_HANDLER_TYPE_TITLE=$content[network_type_handler]%}</strong>
<input type="submit" class="form_submit" value="{--ADMIN_ADD_CONFIG_NETWORK_HANDLER_TYPE_SUBMIT--}" />
</div>
</div>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_network_types&network_id=$content[network_id]&network_type_id=$content[network_type_id]&do=add_handler_types_config%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_network_types&network_id=$content[network_id]&network_type_id=$content[network_type_id]&do=add_handler_types_config%}
<div class="table dashed">
<div class="table_header bottom">
<div>
<input type="submit" class="form_submit" name="ok" value="{--ADMIN_ADD_CONFIG_NETWORK_HANDLER_TYPE_FORM_SUBMIT--}" />
</div>
</div>
-</form>
+{%form_close%}
</div>
<div class="notice">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_country%}" method="post">
+<div align="center">
+{%form,formMethodPost=modules.php?module=admin&what=list_country%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="430">
<tr>
<td class="table_header bottom" colspan="2" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
+</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_forced_ads%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_forced_ads%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" align="center" colspan="2">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_forced_campaigns%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_forced_campaigns%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" align="center" colspan="2">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_forced_costs%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_forced_costs%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" align="center" colspan="2">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="tiny notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_grade_data%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_grade_data%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" align="center" colspan="2">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=guest_add%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=guest_add%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="right" width="245">{--ADMIN_ENTER_TITLE--}:</td>
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_email_max_rec%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_email_max_rec%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" class="table_header bottom" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=mem_add%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=mem_add%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="right" width="245">{--ADMIN_ENTER_TITLE--}:</td>
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_network_data&do=add_network%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_network_data&do=add_network%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" colspan="2" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_network_array_translation&do=add_network_array_translation%}&network_id={%get=network_id%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_network_array_translation&do=add_network_array_translation&network_id=$content[network_id]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" colspan="2" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_network_request_params&do=add_request_param%}&network_id={%get=network_id%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_network_request_params&do=add_request_param&network_id=$content[network_id]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" colspan="2" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_network_types&do=add_network_type%}&network_id={%get=network_id%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_network_types&do=add_network_type&network_id=$content[network_id]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" colspan="2" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_network_vcheck_params&do=add_vcheck_param%}&network_id={%get=network_id%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_network_vcheck_params&do=add_vcheck_param&network_id=$content[network_id]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" colspan="2" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=payments&do=add%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=payments&do=add%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="410">
<tr>
<td class="table_header bottom" colspan="2">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_payouts%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_payouts%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="3" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
<div class="table dashed">
<div class="table_header bottom">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_point_accounts%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_point_accounts%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" align="center" colspan="2">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="para notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=add_points&userid=$content[userid]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=add_points&userid=$content[userid]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" colspan="2" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=add_points&userid=all%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=add_points&userid=all%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" colspan="2" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=add_rallye%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=add_rallye%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_rallye_prices&rallye_id=$content%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_rallye_prices&rallye_id=$content%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=refbanner%}&do=add" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=refbanner&do=add%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="410">
<tr>
<td class="table_header bottom" colspan="2" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_points&sub=ref&do=add%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_points&sub=ref&do=add%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" colspan="2" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=add_sponsor%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=add_sponsor%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" colspan="2" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=add_sponsor%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=add_sponsor%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_sponsor_pay%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_sponsor_pay%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" colspan="2" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice tiny" align="left">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=add_surfbar_url%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=add_surfbar_url%}
<div class="table dashed">
<div class="table_header bottom">
<strong>{--ADMIN_ADD_SURFBAR_URL_TITLE--}</strong>
<input type="submit" class="form_submit" name="add" value="{--ADMIN_SURFBAR_ADD_URL_SUBMIT--}" />
</div>
</div>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=add_tester_user%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=add_tester_user%}
<div class="table dashed">
<div class="table_header bottom">
<strong>{--ADMIN_ADD_TESTER_USER_TITLE--}</strong>
<input type="submit" class="form_submit" name="ok" value="{--ADMIN_ADD_TESTER_USER_SUBMIT--}" />
</div>
</div>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=admins_contct&id=$content[id]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=admins_contct&id=$content[id]%}
<div class="table dashed">
<div class="table_header bottom">
<strong>{%message,ADMIN_CONTACT_ADMINS_TITLE=$content[id]%}</strong>
<input type="submit" class="form_submit" name="ok" value="{--ADMIN_ADMINS_CONTACT_SUBMIT--}" />
</div>
</div>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=admins_mails%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=admins_mails%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=admins_mails%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=admins_mails%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="3" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_foo%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_foo%}
<div class="table dashed">
<div class="table_header bottom">
<strong>{--ADMIN_CONFIG_FOO_TITLE--}</strong>
<input type="submit" class="form_submit" name="ok" value="{--SAVE_SETTINGS--}" />
</div>
</div>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_active%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_active%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" colspan="2" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_admin%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_admin%}
<div class="table dashed">
<div class="table_header bottom">
<strong>{--ADMIN_CONFIG_ADMIN_MENU_TITLE--}</strong>
<input type="submit" class="form_submit" name="ok" value="{--SAVE_SETTINGS--}" />
</div>
</div>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_autopurge%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_autopurge%}
<div class="table dashed">
<div align="center" class="table_header bottom">
<strong>{--ADMIN_CONFIG_AUTOPURGE_TITLE--}</strong>
<input type="submit" class="form_submit" name="ok" value="{--SAVE_SETTINGS--}" />
</div>
</div>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_beg%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_beg%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_birthday%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_birthday%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_bonus%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_bonus%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_coupon%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_coupon%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" colspan="2" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_doubler%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_doubler%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_extensions%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_extensions%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_holiday%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_holiday%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_home&sub=settings%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_home&sub=settings%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="510">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
-<form action="{?URL?}/modules.php?module=admin&what=config_home&sub=settings" method="post">
-<table border="0" cellspacing="0" cellpadding="0" class="admin_table dashed" width="510">
- <tr>
- <td colspan="3" align="center" class="admin_title bottom2" height="30">
- <strong>{--ADMIN_EDIT_HOME_SETTINGS--}</strong></td>
- </tr>
- <tr>
- <td colspan="3" class="seperator" height="5"> </td>
- </tr>
- <tr>
- <td align="right" width="320" height="20">
- {--ADMIN_CONFIG_INDEX_DELAY--}:</td>
- <td class="seperator" width="5"> </td>
- <td width="185" align="center"><select name="index_delay"
- size="1" class="admin_select">
- <option value="-1"$content[-1]>{--ADMIN_INDEX_MANUAL_FORWARD--}</option>
- <option value="0"$content[0]>{--ADMIN_INDEX_NO_DELAY--}</option>
- <option value="1"$content[1]>1 {--_SECONDS--}</option>
- <option value="2"$content[2]>2 {--_SECONDS--}</option>
- <option value="3"$content[3]>3 {--_SECONDS--}</option>
- <option value="4"$content[4]>4 {--_SECONDS--}</option>
- <option value="5"$content[5]>5 {--_SECONDS--}</option>
- <option value="10"$content[10]>10 {--_SECONDS--}</option>
- </select></td>
- </tr>
- <tr>
- <td colspan="3" class="seperator" height="5"> </td>
- </tr>
- <tr>
- <td align="right" height="20">{--ADMIN_CONFIG_INDEX_COOKIE--}</td>
- <td class="seperator" width="5"> </td>
- <td align="center">{!__INDEX_COOKIE_SELECTION!}</td>
- </tr>
- <tr>
- <td colspan="3" class="bottom2 seperator" height="5"> </td>
- </tr>
- <tr>
- <td colspan="3" class="admin_footer">
- <input type="reset" class="admin_reset" value="{--CLEAR_FORM--}" />
- <input type="submit" class="admin_submit" name="ok" value="{--SAVE_SETTINGS--}" />
- </td>
- </tr>
-</table>
-</form>
\ No newline at end of file
+<!-- @DEPRECATED //-->
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_mediadata%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_mediadata%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" colspan="3" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_menu%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_menu%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_network_api&do=network_api_config&network_id=$content[network_id]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_network_api&do=network_api_config&network_id=$content[network_id]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" colspan="2" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_network_types&do=network_types_config&network_id=$content[network_id]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_network_types&do=network_types_config&network_id=$content[network_id]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_newsletter%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_newsletter%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" colspan="2" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_nickname%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_nickname%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_order%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_order%}
<div class="table dashed">
<div class="table_header bottom">
<strong>{--ADMIN_CONFIG_ORDER_TITLE--}</strong>
<input type="submit" class="form_submit" name="ok" value="{--SAVE_SETTINGS--}" />
</div>
</div>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_other%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_other%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_payouts%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_payouts%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="5" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_points&sub=settings%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_points&sub=settings%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_proxy%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_proxy%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_refback%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_refback%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_refid%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_refid%}
<div class="table dashed">
<div class="table_header bottom">
<strong>{--ADMIN_CONFIG_REFID_TITLE--}</strong>
<input type="submit" class="form_submit" name="ok" value="{--SAVE_SETTINGS--}" />
</div>
</div>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_register%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_register%}
<table border="0" cellpadding="0" cellspacing="0" class="table dashed">
<tr>
<td colspan="3" align="center" class="table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_register2%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_register2%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" colspan="2" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_removeip%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_removeip%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_rewrite%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_rewrite%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<!-- @TODO No title here? //-->
<tr>
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_secure%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_secure%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" colspan="3" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_session%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_session%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_sponsor%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_sponsor%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_stats%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_stats%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_points&sub=points%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_points&sub=points%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" colspan="2" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_surfbar%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_surfbar%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" align="center">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_timezone%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_timezone%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_title%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_title%}
<div class="table dashed">
<div class="table_header bottom">
<strong>{--ADMIN_CONFIG_TITLE_SETTINGS--}</strong>
<input type="submit" class="form_submit" name="ok" value="{--SAVE_SETTINGS--}" />
</div>
</div>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_top10%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_top10%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_transfer%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_transfer%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_user%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_user%}
<div class="table dashed">
<div class="table_header bottom">
<strong>{--ADMIN_CONFIG_USER_TITLE--}</strong>
<input type="submit" class="form_submit" name="ok" value="{--SAVE_SETTINGS--}" />
</div>
</div>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_validator%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_validator%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_wernis%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_wernis%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_yoomedia%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_yoomedia%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=user_contct&userid=$content[userid]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=user_contct&userid=$content[userid]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" align="center">
<tr>
<td align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_bank_package%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_bank_package%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" align="center">
<tr>
<td colspan="5" align="center" class="table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=adminedit&sub=$content[sub]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=adminedit&sub=$content[sub]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" colspan="2" class="table_header" height="40">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=admins_edit%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=admins_edit%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" align="center">
<tr>
<td colspan="5" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_admins_acls%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_admins_acls%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="5" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_cats&do=del%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_cats&do=del%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_email_max_rec&do=delete%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_email_max_rec&do=delete%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=extensions%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=extensions%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="3" align="center" class="table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_forced_ads&do=delete_forced_ads%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_forced_ads&do=delete_forced_ads%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" class="table_header bottom" height="25" colspan="4">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_forced_costs&do=delete_forced_costs%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_forced_costs&do=delete_forced_costs%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" class="table_header bottom" height="25" colspan="4">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=guestedit&sub=$content[sub]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=guestedit&sub=$content[sub]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" colspan="2" class="table_header" height="40">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=memedit&sub=$content[sub]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=memedit&sub=$content[sub]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" colspan="2">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_network_array_translation&do=remove_network_array_translation%}&network_id={%get=network_id%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_network_array_translation&do=remove_network_array_translation&network_id=$content[network_id]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" class="table_header bottom" height="25" colspan="2">
</div>
</td>
</tr>
- $content
+ $content[rows]
<tr>
<td colspan="2" class="table_footer">
<input type="submit" name="do_delete" class="form_delete" value="{--ADMIN_REMOVE_NETWORK_ARRAY_TRANSLATION_SUBMIT--}" />
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_network_request_params&do=remove_network_request_params%}&network_id={%get=network_id%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_network_request_params&do=remove_network_request_params&network_id=$content[network_id]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" class="table_header bottom" height="25" colspan="2">
</div>
</td>
</tr>
- $content
+ $content[rows]
<tr>
<td colspan="2" class="table_footer">
<input type="submit" name="do_delete" class="form_delete" value="{--ADMIN_REMOVE_NETWORK_REQUEST_PARAMETER_SUBMIT--}" />
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_network_types&do=remove_network_types%}&network_id={%get=network_id%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_network_types&do=remove_network_types&network_id=$content[network_id]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" class="table_header bottom" height="25" colspan="2">
</div>
</td>
</tr>
- $content
+ $content[rows]
<tr>
<td colspan="2" class="table_footer">
<input type="submit" name="do_delete" class="form_delete" value="{--ADMIN_REMOVE_NETWORK_HANDLER_TYPE_SUBMIT--}" />
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_network_data&do=remove_networks%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_network_data&do=remove_networks%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" class="table_header bottom" height="25" colspan="4">
<strong>{--ADMIN_DELETE_NETWORK_DATA_TITLE--}</strong>
</td>
</tr>
- $content
+ $content[rows]
<tr>
<td colspan="4" class="table_footer">
<input type="submit" name="do_delete" class="form_delete" value="{--ADMIN_REMOVE_NETWORK_SUBMIT--}" />
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=payments&do=del%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=payments&do=del%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_payouts%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_payouts%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="4" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_rallye_prices&rallye_id=$content[rallye_id]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_rallye_prices&rallye_id=$content[rallye_id]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="4" align="center" class="table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_rallyes%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_rallyes%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="3" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_points&sub=ref&do=del%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_points&sub=ref&do=del%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" class="bottom table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=del_sponsor&id=$content[userid]%}" method="post">
-<div align="center" class="table dashed">
+<div align="center">
+{%form,formMethodPost=modules.php?module=admin&what=del_sponsor&id=$content[userid]%}
+<div class="table dashed">
<div class="table_header bottom">
<div class="table">{%message,ADMIN_HEADER_DELETE_SPONSOR=$content[userid]%}</div>
</div>
</div>
-</form>
+{%form_close%}
+</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_surfbar_urls%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_surfbar_urls%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" colspan="3" class="table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=del_user&userid=$content[userid]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=del_user&userid=$content[userid]%}
<div class="table dashed">
<div align="center" class="table_header bottom">
</div>
</div>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_user_subid%}&userid={%get,bigintval=userid%}&do=delete_user_subids" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_user_subid&userid=$content[userid]&do=delete_user_subids%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="800">
<tr>
<td align="center" colspan="3" class="table_header">
<td class="header_column bottom right" align="center"><strong>{--SUBID_VALUE--}</strong></td>
<td class="header_column bottom" align="center"><strong>{--SUBID_ADDED--}</strong></td>
</tr>
-$content
+$content[rows]
<tr>
<td class="table_footer" colspan="3">
<input type="hidden" name="userid" value="{%get,bigintval=userid%}" />
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=adminedit&sub=$content[sub]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=adminedit&sub=$content[sub]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<!-- @TODO Shouldn't we add a title here? //-->
<tr>
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=adminedit&sub=$content[sub]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=adminedit&sub=$content[sub]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" colspan="2" class="table_header" height="40">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=admins_edit%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=admins_edit%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" align="center">
<tr>
<td colspan="6" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_admins_acls%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_admins_acls%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="5" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_bank_package%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_bank_package%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" align="center">
<tr>
<td colspan="4" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=edit_emails%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=edit_emails%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" colspan="2" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_cats&do=edit%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_cats&do=edit%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" colspan="2" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_network_types&network_id=$content[network_id]&network_type_id=$content[network_type_id]&do=edit_handler_types_config%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_network_types&network_id=$content[network_id]&network_type_id=$content[network_type_id]&do=edit_handler_types_config%}
<div class="table dashed">
<div class="table_header bottom">
<div>
<input type="submit" class="form_submit" name="ok" value="{--ADMIN_EDIT_CONFIG_NETWORK_HANDLER_TYPE_FORM_SUBMIT--}" />
</div>
</div>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=edit_emails%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=edit_emails%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" colspan="2" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_email_max_rec&do=edit%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_email_max_rec&do=edit%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" colspan="2" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=edit_emails%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=edit_emails%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" colspan="2" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=extensions%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=extensions%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="4" align="center" class="table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_forced_ads&do=edit_forced_ads%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_forced_ads&do=edit_forced_ads%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" class="table_header bottom" height="25" colspan="4">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_forced_campaigns&do=edit_forced_campaigns%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_forced_campaigns&do=edit_forced_campaigns%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" class="table_header bottom" height="25" colspan="4">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_forced_costs&do=edit_forced_costs%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_forced_costs&do=edit_forced_costs%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" class="table_header bottom" height="25" colspan="4">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=guestedit&sub=$content[sub]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=guestedit&sub=$content[sub]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=guestedit&sub=$content[sub]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=guestedit&sub=$content[sub]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" colspan="2" class="table_header" height="40">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=memedit&sub=$content[sub]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=memedit&sub=$content[sub]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" colspan="2" class="table_header" height="40">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_mods%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_mods%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" colspan="6" class="table_header bottom" height="40">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_network_array_translation&do=change_array_translation%}&network_id={%get=network_id%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_network_array_translation&do=change_array_translation&network_id=$content[network_id]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" class="table_header bottom" height="25" colspan="2">
</div>
</td>
</tr>
- $content
+ $content[rows]
<tr>
<td colspan="2" class="table_footer">
<input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_network_request_params&do=change_request_params%}&network_id={%get=network_id%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_network_request_params&do=change_request_params&network_id=$content[network_id]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" class="table_header bottom" height="25" colspan="2">
</div>
</td>
</tr>
- $content
+ $content[rows]
<tr>
<td colspan="2" class="table_footer">
<input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_network_types&do=change_handler_types%}&network_id={%get=network_id%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_network_types&do=change_handler_types&network_id=$content[network_id]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" class="table_header bottom" height="25" colspan="2">
</div>
</td>
</tr>
- $content
+ $content[rows]
<tr>
<td colspan="2" class="table_footer">
<input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
{--ADMIN_LIST_NETWORK_REFERRAL_LINK_NOTICE--}
</div>
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_network_data&do=change_networks%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_network_data&do=change_networks%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" class="table_header bottom" height="25" colspan="4">
<strong>{--ADMIN_EDIT_NETWORK_DATA_TITLE--}</strong>
</td>
</tr>
- $content
+ $content[rows]
<tr>
<td colspan="4" class="table_footer">
<input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=payments&do=edit%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=payments&do=edit%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" colspan="2" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_payouts%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_payouts%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="5" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_point_accounts&do=edit_points_data%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_point_accounts&do=edit_points_data%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" class="table_header bottom" height="25" colspan="4">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_rallye_prices&rallye_id=$content[rallye_id]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_rallye_prices&rallye_id=$content[rallye_id]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="4" align="center" class="table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_rallyes%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_rallyes%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="3" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=refbanner&do=edit%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=refbanner&do=edit%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" colspan="2" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_points&sub=ref&do=edit%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_points&sub=ref&do=edit%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="550">
<tr>
<td align="center" colspan="2" class="bottom table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=edit_sponsor&do=add_points&id=$content[id]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=edit_sponsor&do=add_points&id=$content[id]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" colspan="2" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=edit_sponsor&id=$content[id]&do=edit%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=edit_sponsor&id=$content[id]&do=edit%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" align="center">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=edit_sponsor&do=sub_points&id=$content[id]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=edit_sponsor&do=sub_points&id=$content[id]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" colspan="2" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_surfbar_actions%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_surfbar_actions%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" colspan="2" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_surfbar_urls%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_surfbar_urls%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" colspan="2" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=theme_edit%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=theme_edit%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="6" class="table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
<div class="notice">
{--ADMIN_EDIT_THEME_NOTICE--}
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=edit_user&userid=$content[userid]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=edit_user&userid=$content[userid]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" align="center">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_user_subid%}&userid={%get,bigintval=userid%}&do=edit_user_subids" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_user_subid&userid=$content[userid]&do=edit_user_subids%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="800">
<tr>
<td align="center" colspan="3" class="table_header">
<td class="header_column bottom right" align="center"><strong>{--SUBID_VALUE--}</strong></td>
<td class="header_column bottom" align="center"><strong>{--SUBID_ADDED--}</strong></td>
</tr>
-$content
+$content[rows]
<tr>
<td class="table_footer" colspan="3">
<input type="hidden" name="userid" value="{%get,bigintval=userid%}" />
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?dummy=1%}&{%server,query_string%}" method="post">
+{%form,formMethodPost,serverQuery_String=modules.php?dummy=1%}
<div class="table dashed">
<div class="table_header bottom">
<strong>{--ADMIN_EXPERT_SETTINGS_TITLE--}:</strong>
<input type="submit" class="form_submit" name="ok" value="{--ADMIN_EXPERT_SETTINGS_CONTINUE--}" />
</div>
</div>
-</form>
+{%form_close%}
</div>
<a name="ext_$content[ext_name]"></a>
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=extensions&register_ext=$content[ext_name]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=extensions&register_ext=$content[ext_name]%}
<input type="submit" class="form_submit" name="ok" value="{--ADMIN_REGISTER_EXTENSION--}" />
-</form>
+{%form_close%}
<div align="center">
-<form accept-charset="UTF-8" action="{?URL?}/modules.php" method="get">
+{%form,formMethodGet=modules.php%}
<input type="hidden" name="module" value="admin" />
<input type="hidden" name="what" value="$content[what]" />
<div class="table dashed">
<input type="submit" class="form_submit" value="{--ADMIN_DO_ACTION--}" />
</div>
</div>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=guestedit&sub=$content[sub]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=guestedit&sub=$content[sub]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" colspan="4" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=theme_import%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=theme_import%}
<input type="hidden" name="theme" value="$content" />
<input type="submit" class="form_submit" name="ok" value="{--ADMIN_INSTALLER_THEME--}" />
-</form>
+{%form_close%}
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=admins_edit%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=admins_edit%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="5" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_admins_acls%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_admins_acls%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="5" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_bank_package%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_bank_package%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" align="center">
<tr>
<td colspan="8" align="center" class="table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_beg%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_beg%}
<input type="submit" name="withdraw" class="form_submit" value="{--ADMIN_BEG_WITHDRAW_NOW_SUBMIT--}" />
-</form>
+{%form_close%}
<div class="notice">
({--ADMIN_BEG_WITHDRAW_NOTICE--})
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_bonus%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_bonus%}
<input type="submit" name="withdraw" class="form_submit" value="{--ADMIN_BONUS_WITHDRAW_NOW--}"/>
-</form>
+{%form_close%}
<div class="notice">
({--ADMIN_BONUS_WITHDRAW_NOTICE--})
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_booking%}&userid={%get,bigintval=userid%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_booking&userid=$content[userid]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="7" class="table_header bottom" align="center">
<strong>{--BOOKING_COMMENTS--}</strong>
</td>
</tr>
-$content
+$content[rows]
<tr>
<td colspan="7" class="table_footer" align="center">
<input type="hidden" name="booking_id[0]" value="1" />
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_cats%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_cats%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" colspan="4" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_country%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_country%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" align="center">
<tr>
<td colspan="4" align="center" class="table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_country%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_country%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" align="center">
<tr>
<td colspan="4" align="center" class="table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_email_max_rec%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_email_max_rec%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" colspan="3" class="table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=extensions%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=extensions%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="5" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_forced_ads%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_forced_ads%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="800">
<tr>
<td align="center" colspan="6" class="table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_forced_campaigns%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_forced_campaigns%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="800">
<tr>
<td align="center" colspan="11" class="table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_forced_costs%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_forced_costs%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="800">
<tr>
<td align="center" colspan="4" class="table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=del_holiday%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=del_holiday%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td width="10" class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
value="{--ADMIN_HOLIDAY_STOP_CHECKED--}" /></td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_imprint%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_imprint%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" align="center">
<tr>
<td colspan="3" align="center" class="table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_mods%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_mods%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="7" class="table_header bottom" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_network_array_translation&do=handle_array_translations%}&network_id={%get=network_id%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_network_array_translation&do=handle_array_translations&network_id=$content[network_id]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="5" align="center" class="table_header bottom">
<td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_ARRAY_INDEX_TRANSLATION--}</strong></td>
<td align="center" class="header_column bottom"><strong>{--ADMIN_NETWORK_ARRAY_INDEX_SORTING--}</strong></td>
</tr>
- $content
+ $content[rows]
<tr>
<td colspan="6" class="table_footer">
<input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
</td>
</tr>
</table>
-</form>
+{%form_close%}
<div class="para">
- <a href="{%url=modules.php?module=admin&what=list_network_array_translation&do=export%}&network_id={%get=network_id%}">{--ADMIN_EXPORT_NETWORK_ARRAY_TRANSLATION_LINK--}</a>
+ <a href="{%url=modules.php?module=admin&what=list_network_array_translation&do=export&network_id=$content[network_id]%}">{--ADMIN_EXPORT_NETWORK_ARRAY_TRANSLATION_LINK--}</a>
</div>
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_network_data&do=handle_networks%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_network_data&do=handle_networks%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="8" class="table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
<div class="para">
<a href="{%url=modules.php?module=admin&what=list_network_data&do=export%}">{--ADMIN_EXPORT_ALL_NETWORK_DATA_LINK--}</a>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_network_request_params&do=handle_request_params%}&network_id={%get=network_id%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_network_request_params&do=handle_request_params&network_id=$content[network_id]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="5" align="center" class="table_header bottom">
<td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_REQUEST_PARAMETER_VALUE--}</strong></td>
<td align="center" class="header_column bottom"><strong>{--ADMIN_NETWORK_REQUEST_PARAMETER_DEFAULT--}</strong></td>
</tr>
- $content
+ $content[rows]
<tr>
<td colspan="5" class="table_footer">
<input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
</td>
</tr>
</table>
-</form>
+{%form_close%}
<div class="para">
- <a href="{%url=modules.php?module=admin&what=list_network_request_params&do=export%}&network_id={%get=network_id%}">{--ADMIN_EXPORT_NETWORK_REQUEST_PARAMS_LINK--}</a>
+ <a href="{%url=modules.php?module=admin&what=list_network_request_params&do=export&network_id=$content[network_id]%}">{--ADMIN_EXPORT_NETWORK_REQUEST_PARAMS_LINK--}</a>
</div>
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_network_types&do=handle_network_types%}&network_id={%get=network_id%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_network_types&do=handle_network_types&network_id=$content[network_id]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="7" align="center" class="table_header bottom">
<td align="center" class="header_column bottom right"><strong>{--TIME_UNIT--}</strong></td>
<td align="center" class="header_column bottom"><strong>{--ADMIN_NETWORK_TYPE_HANDLER_TEXT_ENCODING--}</strong></td>
</tr>
- $content
+ $content[rows]
<tr>
<td colspan="7" class="table_footer">
<input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
</td>
</tr>
</table>
-</form>
+{%form_close%}
<div class="para">
- <a href="{%url=modules.php?module=admin&what=list_network_types&do=export%}&network_id={%get=network_id%}">{--ADMIN_EXPORT_NETWORK_HANDLER_TYPES_LINK--}</a>
+ <a href="{%url=modules.php?module=admin&what=list_network_types&do=export&network_id=$content[network_id]%}">{--ADMIN_EXPORT_NETWORK_HANDLER_TYPES_LINK--}</a>
</div>
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_network_vcheck_params&do=handle_vcheck_params%}&network_id={%get=network_id%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_network_vcheck_params&do=handle_vcheck_params&network_id=$content[network_id]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="4" align="center" class="table_header bottom">
<td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_VCHECK_PARAMETER_VALUE--}</strong></td>
<td align="center" class="header_column bottom"><strong>{--ADMIN_NETWORK_VCHECK_PARAMETER_DEFAULT--}</strong></td>
</tr>
- $content
+ $content[rows]
<tr>
<td colspan="4" class="table_footer">
<input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
</td>
</tr>
</table>
-</form>
+{%form_close%}
<div class="para">
- <a href="{%url=modules.php?module=admin&what=list_network_vcheck_params&do=export%}&network_id={%get=network_id%}">{--ADMIN_EXPORT_NETWORK_VCHECK_PARAMS_LINK--}</a>
+ <a href="{%url=modules.php?module=admin&what=list_network_vcheck_params&do=export&network_id=$content[network_id]%}">{--ADMIN_EXPORT_NETWORK_VCHECK_PARAMS_LINK--}</a>
</div>
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_nickname%}&userid={%get,bigintval=userid%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_nickname&userid=$content[userid]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="800">
<tr>
<td align="center" colspan="5" class="table_header">
<td class="header_column bottom right" align="center"><strong>{--ENTRY_ADDED--}</strong></td>
<td class="header_column bottom" align="center"><strong>{--ADMIN_HISTORY_ENTRY_LAST_USED--}</strong></td>
</tr>
-$content
+$content[rows]
<tr>
<td class="table_footer" colspan="5">
<input type="hidden" name="history_id[0]" value="1" />
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=payments%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=payments%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" colspan="5" class="table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_payouts%}" method="post">
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed" align="center">
+<div align="center">
+{%form,formMethodPost=modules.php?module=admin&what=list_payouts%}
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="6" align="center" class="table_header">
<strong>{--ADMIN_LIST_PAYOUTS--}:</strong>
</td>
</tr>
</table>
-</form>
+{%form_close%}
+</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_point_accounts%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_point_accounts%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="800">
<tr>
<td align="center" colspan="7" class="table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_rallye_prices&rallye_id=$content[rallye_id]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_rallye_prices&rallye_id=$content[rallye_id]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="4" align="center" class="table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_rallyes%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_rallyes%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="6" align="center" class="table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=refbanner%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=refbanner%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" colspan="6" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_points&sub=ref%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_points&sub=ref%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" colspan="3" class="table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_server_name%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_server_name%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" colspan="6" class="table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_sponsor%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_sponsor%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" align="center">
<tr>
<td colspan="4" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_sponsor_pay%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_sponsor_pay%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" align="center">
<tr>
<td colspan="5" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_sponsor_pay%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_sponsor_pay%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="640">
<tr>
<td align="center" colspan="5" class="table_header bottom" height="40">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_sponsor_pay%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_sponsor_pay%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="640">
<tr>
<td align="center" colspan="5" class="table_header bottom" height="40">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_surfbar_actions%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_surfbar_actions%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="600">
<tr>
<td colspan="4" class="table_header bottom" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_surfbar_urls%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_surfbar_urls%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="800">
<tr>
<td align="center" colspan="10" class="table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_task&type=$content[type]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_task&type=$content[type]%}
<table border="0" cellspacing="0" cellpadding="0" class="admin_tasktable dashed">
<tr>
<td colspan="7" align="center" class="admin_task_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_task&type=$content[type]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_task&type=$content[type]%}
<table border="0" cellspacing="0" cellpadding="0" class="admin_tasktable dashed">
<tr>
<td colspan="7" align="center" class="admin_task_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=del_transfer%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=del_transfer%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="6" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_user_subid%}&userid={%get,bigintval=userid%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_user_subid&userid=$content[userid]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="800">
<tr>
<td align="center" colspan="4" class="table_header">
<td class="header_column bottom right" align="center"><strong>{--SUBID_VALUE--}</strong></td>
<td class="header_column bottom" align="center"><strong>{--SUBID_ADDED--}</strong></td>
</tr>
-$content
+$content[rows]
<tr>
<td class="table_footer" colspan="4">
<input type="hidden" name="userid" value="{%get,bigintval=userid%}" />
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_user_subid&do=stats%}&userid={%get,bigintval=userid%}&id={%get,bigintval=id%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_user_subid&do=stats&userid=$content[userid]&id=$content[id]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="6" align="center" class="table_header bottom">
<td align="center" class="header_column bottom right"><strong>{--USER_AGENT--}</strong></td>
<td align="center" class="header_column bottom"><strong>{--ENTRY_ADDED--}</strong></td>
</tr>
- $content
+ $content[rows]
<tr>
<td colspan="6" class="table_footer">
<input type="hidden" name="subid[0]" value="{%get,getSubId=id%}" />
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<tr>
<td align="center">
$content[already]
- <form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_yoomedia_tm%}" method="post">
+ {%form,formMethodPost=modules.php?module=admin&what=list_yoomedia_tm%}
<input type="hidden" name="id" value="$content[id]" />
<input type="hidden" name="reload" value="$content[reload]" />
<input type="submit" class="form_delete" name="unlist" value="{--ADMIN_YOOMEDIA_UNLIST_MAIL--}" />
- </form>
+ {%form_close%}
</td>
</tr>
</table>
<td class="{%template,ColorSwitch%} bottom right" align="center">{%pipe,translateComma=$content[remain]%}</td>
<td class="{%template,ColorSwitch%} bottom right" align="center">$content[pay] €</td>
<td class="{%template,ColorSwitch%} bottom" align="center" style="padding-left:1px;padding-right:1px;padding-top:2px;padding-bottom:2px">
- <form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_yoomedia_tm%}" method="post">
+ {%form,formMethodPost=modules.php?module=admin&what=list_yoomedia_tm%}
<input type="hidden" name="id" value="$content[id]" />
<input type="hidden" name="name" value="$content[name]" />
<input type="hidden" name="wait" value="$content[wait]" />
<td><input type="submit" class="form_delete" name="do_delete" value="{--ADMIN_YOOMEDIA_REMOVE_MAIL--}" /></td>
</tr>
</table>
- </form>
+ {%form_close%}
</td>
</tr>
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=lock_sponsor&id=$content[id]%}" method="post">
-<div align="center" class="table dashed">
+<div align="center">
+{%form,formMethodPost=modules.php?module=admin&what=lock_sponsor&id=$content[id]%}
+<div class="table dashed">
<div class="table_header bottom">
<div class="table">$content[header_message]</div>
</div>
</div>
-</form>
+{%form_close%}
+</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_surfbar_urls%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_surfbar_urls%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" colspan="5" class="table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=lock_user&userid={%pipe,bigintval=$content[userid]%}%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=lock_user&userid=$content[userid]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?$content[all_parameter]%}" method="post">
+{%form,formMethodPost=modules.php?$content[all_parameter]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&action=logout%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&action=logout%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=maintenance%}" method="post">
-<div class="table dashed" align="center">
+<div align="center">
+{%form,formMethodPost=modules.php?module=admin&what=maintenance%}
+<div class="table dashed">
<div class="table_header bottom">
{--ADMIN_MAINTENANCE_MODE_INTRO--}
</div>
</div>
-</form>
+{%form_close%}
+</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=memedit&sub=$content[sub]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=memedit&sub=$content[sub]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="header_column bottom right" align="center" width="5%"><strong>{--ID_SELECT--}</strong></td>
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=memedit&sub=$content[sub]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=memedit&sub=$content[sub]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" colspan="4" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=send_newsletter%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=send_newsletter%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" class="table_header bottom" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
<div class="notice">
{--ADMIN_NEWSLETTER_NOTICE--}
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=send_newsletter%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=send_newsletter%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" align="center" width="430">
<tr>
<td colspan="2" class="table_header bottom" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin%}" method="post">
+{%form,formMethodPost=modules.php?module=admin%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="7" align="center" class="admin_task_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_payouts&do=accept&pid=$content[pid]&task=$content[task]%}" method="post">
-<div align="center" class="table dashed">
+<div align="center">
+{%form,formMethodPost=modules.php?module=admin&what=list_payouts&do=accept&pid=$content[pid]&task=$content[task]%}
+<div class="table dashed">
<div class="table_header bottom">
<strong>{--ADMIN_PAYOUT_ACCEPT_PAYOUT_INTRO--}</strong>
</div>
</div>
-</form>
+{%form_close%}
+</div>
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_payouts&do=accept&pid=$content[pid]&task=$content[tid]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_payouts&do=accept&pid=$content[pid]&task=$content[tid]%}
<input type="submit" class="form_submit" value="{--ADMIN_PAYOUT_ACCEPT_PAYOUT--}" />
-</form>
+{%form_close%}
<br />
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_payouts&do=reject&pid=$content[pid]&task=$content[tid]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_payouts&do=reject&pid=$content[pid]&task=$content[tid]%}
<input type="submit" class="form_delete" value="{--ADMIN_PAYOUT_REJECT_PAYOUT--}" />
-</form>
+{%form_close%}
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_payouts&do=reject&pid=$content[pid]&task=$content[task]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_payouts&do=reject&pid=$content[pid]&task=$content[task]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" align="center">
<tr>
<td class="table_header bottom" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin%}" method="post">
+{%form,formMethodPost=modules.php?module=admin%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom" height="29">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&reset_pass=1%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&reset_pass=1%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" colspan="2">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&reset_pass=1%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&reset_pass=1%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" colspan="2">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&reset_pass=1%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&reset_pass=1%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" colspan="2">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=send_bonus&mail_mode=$content[mail_mode]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=send_bonus&mail_mode=$content[mail_mode]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" class="table_header bottom" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=send_coupon%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=send_coupon%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" colspan="2" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_yoomedia_tm%}" method="post">
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed" align="center">
+<div align="center">
+{%form,formMethodPost=modules.php?module=admin&what=list_yoomedia_tm%}" method="post">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" class="table_header bottom">
<strong>{--ADMIN_YOOMEDIA_SEND_MAIL_TITLE--}</strong>
</td>
</tr>
</table>
-</form>
+{%form_close%}
+</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php%}" method="get">
+{%form,formMethodGet=modules.php%}
<div class="dashed">
<div class="table_header bottom">
<strong>{%message,ADMIN_SHOW_CONFIG_NETWORK_HANDLER_TYPE_TITLE=$content[network_type_handler]%}</strong>
<input type="submit" class="form_submit" value="{--ADMIN_EDIT_CONFIG_NETWORK_HANDLER_TYPE_SUBMIT--}" />
</div>
</div>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=sub_points&userid=$content[userid]%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=sub_points&userid=$content[userid]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header" colspan="2" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=sub_points&userid=all" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=sub_points&userid=all%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" class="table_header bottom" colspan="2">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_surfbar_urls%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=list_surfbar_urls%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" colspan="4" class="table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" actiom="{%url=modules.php?module=admin&what=unlock_emails%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=unlock_emails%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="99%">
<tr>
<td colspan="8" align="center" class="table_header bottom" height="35">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=unlock_emails%}" method="post">
+<div align="center">
+{%form,formMethodPost=modules.php?module=admin&what=unlock_emails%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" colspan="2" align="center" height="35">
</td>
</tr>
</table>
-</form>
+{%form_close%}
+</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=unlock_sponsor%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=unlock_sponsor%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="4" class="table_header bottom" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=unlock_surfbar_urls%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=unlock_surfbar_urls%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="600">
<tr>
<td align="center" colspan="5" class="table_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&reset_pass=1&hash=$content%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&reset_pass=1&hash=$content%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" colspan="2">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
$content[enter_login]<br />
{--DOUBLER_NOTICE_FOR_PASSWORD--}<br />
<br />
- <form accept-charset="UTF-8" action="{%url=doubler.php?refid=$content[refid]" method="post">
+ {%form,formMethodPost=doubler.php?refid=$content[refid]%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" class="table_header bottom">
</td>
</tr>
</table>
- </form>
+ {%form_close%}
<br />
{--DOUBLER_ALREADY_PAYED--}<br />
{--DOUBLER_POINTS_LEFT--}<br />
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=index&what=confirm%}" method="post">
+{%form,formMethodPost=modules.php?module=index&what=confirm%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" colspan="2" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=index&what=login%}" method="post">
+{%form,formMethodPost=modules.php?module=index&what=login%}
<table border="0" cellspacing="0" cellpadding="0" class="guest_login dashed" width="480">
<tr>
<td colspan="4" class="guest_login_header" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=index&what=login%}" method="post">
+{%form,formMethodPost=modules.php?module=index&what=login%}
<table border="0" cellspacing="0" cellpadding="0" class="guest_login dashed">
<tr>
<td colspan="2" align="center" class="guest_login_header">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=index&what=login%}" method="post">
+{%form,formMethodPost=modules.php?module=index&what=login%}
<table border="0" cellspacing="0" cellpadding="0" class="guest_login dashed" width="540">
<tr>
<td colspan="4" class="guest_login_header" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=index&what=login%}" method="post">
+{%form,formMethodPost=modules.php?module=index&what=login%}
<table border="0" cellspacing="0" cellpadding="0" class="guest_login dashed" width="540">
<tr>
<td colspan="2" class="guest_login_header" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=index&what=register%}" method="post" name="register">
+{%form,formMethodPost,formNameRegister=modules.php?module=index&what=register%}
<table border="0" cellspacing="0" cellpadding="0" width="640" class="table dashed">
<tr>
<td colspan="2" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="para">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=index&what=sponsor_login&do=activate%}" method="post">
+{%form,formMethodPost=modules.php?module=index&what=sponsor_login&do=activate%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="400">
<tr>
<td class="table_header bottom" align="center" colspan="2">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
</div>
<div class="para">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=index&what=sponsor_login%}" method="post">
+{%form,formMethodPost=modules.php?module=index&what=sponsor_login%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" align="center" colspan="2">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=index&what=sponsor_login&do=lost_pass%}" method="post">
+{%form,formMethodPost=modules.php?module=index&what=sponsor_login&do=lost_pass%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="400">
<tr>
<td class="table_header bottom" align="center" colspan="2">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=index&what=sponsor_reg%}" method="post">
+{%form,formMethodPost=modules.php?module=index&what=sponsor_reg%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="530">
<tr>
<td class="table_header bottom" colspan="2" align="center">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
-<form accept-charset="UTF-8" action="{%url=install.php?install_page=2%}" method="post">
+{%form,formMethodPost=install.php?install_page=2%}
<table border="0" cellspacing="0" cellpadding="0" class="install_content">
<tr>
<td align="center" class="install_title">
</td>
</tr>
</table>
-</form>
+{%form_close%}
{--INSTALLER_FIN_SECU--}
</div>
-<form accept-charset="UTF-8" action="modules.php" method="get">
+{%form,formMethodPost,formTarget_self=modules.php%}
<input type="hidden" name="module" value="admin" />
<input type="submit" class="form_submit" value="{--INSTALLER_CONTINUE_ADMIN--}" />
-</form>
+{%form_close%}
</div>
<div align="center" style="margin-bottom:10px">
-<form accept-charset="UTF-8" action="{%url=install.php?install_page=2%}" method="post" target="_self">
+{%form,formMethodPost,formTarget_self=install.php?install_page=2%}
<table border="0" cellspacing="0" cellpadding="0" class="install_content">
<tr>
<td colspan="2" align="center" class="install_title">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center" style="margin-bottom:10px">
-<form accept-charset="UTF-8" action="{%url=install.php?install_page=3%}" method="post" target="_self">
+{%form,formMethodPost,formTarget_self=install.php?install_page=3%}
<table border="0" cellspacing="0" cellpadding="0" class="install_content">
<tr>
<td colspan="2" align="center" class="install_title">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center" style="margin-bottom:10px">
-<form accept-charset="UTF-8" action="{%url=install.php?install_page=5%}" method="post" target="_self">
+{%form,formMethodPost,formTarget_self=install.php?install_page=5%}
<table border="0" cellspacing="0" cellpadding="0" class="install_content">
<tr>
<td colspan="2" align="center" class="install_title">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center" style="margin-bottom:10px">
-<form accept-charset="UTF-8" action="{%url=install.php?install_page=finalize%}" method="POST" target="_self">
+{%form,formMethodPost,formTarget_self=install.php?install_page=finalize%}
<table border="0" cellspacing="0" cellpadding="0" class="install_content">
<tr>
<td colspan="2" align="center" class="install_title">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
<div style="float:left; width:38%">
- <form action="{%url=install.php%}" method="get">
+ {%form,formMethodGet=install.php%}
<input type="hidden" name="installer" value="ajax" />
<input type="submit" id="ajax_installer" class="form_submit big disabled" disabled="disabled" value="Interaktive Version" />
- </form>
+ {%form_close%}
</div>
<div style="float:left; width:23%; text-align:center">
<span id="counter">3</span> Sekunde(n)
</div>
<div style="float:left; width:38%">
- <form action="{%url=install.php%}" method="get">
+ {%form,formMethodGet=install.php%}
<input type="hidden" name="installer" value="plain" />
<input type="submit" id="plain_installer" class="form_submit big" value="Kompatiblitätsmodus" />
- </form>
+ {%form_close%}
</div>
<div style="clear:both"></div>
</div>
</div>
<div class="install_footer">
- <form accept-charset="UTF-8" action="install.php" method="get" target="_self">
+ {%form,formMethodGet,formTarget_self=install.php%}
<input type="hidden" name="install_page" value="1" />
<input type="submit" class="form_submit" value="{--INSTALLER_NEXT_PAGE--}" />
- </form>
+ {%form_close%}
</div>
</div>
}
focusLimitedNo();
+document.getElementById('url').focus();
}
function showButton () {
- buttonDiv.innerHTML = '<form accept-charset=\'UTF-8\' action=\'{%url=surfbar.php%}\' target=\'_self\' method=\'GET\'><input type=\'hidden\' name=\'frame\' value=\'top\' /><input type=\'submit\' id=\'form_submit\' value=\'Surfbar erneut starten\' /></form>';
+ buttonDiv.innerHTML = '{%form,formTarget_blank,formMethodGet=surfbar.php%}<input type=\'hidden\' name=\'frame\' value=\'top\' /><input type=\'submit\' id=\'form_submit\' value=\'Surfbar erneut starten\' />{%form_close%}';
}
function counter () {
<table border="0" cellspacing="0" cellpadding="0" class="mailid_table">
<tr>
<td width="220" align="center">
- <form accept-charset="UTF-8" action="{%url=mailid_top.php?userid=$content[userid]&$content[type]=$content[data]&do=add&code=$content[code]%}" method="post">
+ {%form,formMethodPost=mailid_top.php?userid=$content[userid]&$content[type]=$content[data]&do=add&code=$content[code]%}
{--MEMBER_MAILID_CLICK_BUTTON--}:<br />
<input type="hidden" name="gfx_check" value="$content[gfx]" />
<input type="submit" class="form_submit" name="ok" value="{--MEMBER_SUBMIT_CODE--}" />
- </form>
+ {%form_close%}
</td>
<td align="center">
<div class="banner dashed">
<table border="0" cellspacing="0" cellpadding="0" class="mailid_table">
<tr>
<td width="220" align="center">
- <form
- accept-charset="UTF-8"
- action="{%url=mailid_top.php?userid=$content[userid]&$content[type]=$content[data]&do=add&code=$content[code]%}"
- method="post">
+ {%form,formMethodPost=mailid_top.php?userid=$content[userid]&$content[type]=$content[data]&do=add&code=$content[code]%}
{--MEMBER_ENTER_CODE--}:
$content[image]<br />
<input type="text" class="form_field" name="gfx_check" size="5" maxlength="45" />
<input type="submit" class="form_submit" name="ok" value="{--MEMBER_SUBMIT_CODE--}" />
- </form>
+ {%form_close%}
</td>
<td align="center">
<div class="banner dashed">
<table border="0" cellspacing="0" cellpadding="0" class="form_submit dashed">
<tr>
<td align="center">
- <form accept-charset="UTF-8" name="confirm" style="margin-top: 0px;margin-bottom:0px">
+ {%form,formNameConfirm,formMethodGet%}
{--MEMBER_TIME_COUNTER_1--}
<input type="text" class="form_field" name="counter" size="$content[tim2]" readonly="readonly" value="$content[time]" />
{--MEMBER_TIME_COUNTER_2--}
- </form>
+ {%form_close%}
</td>
</tr>
</table>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=subids%}" method="post">
+{%form,formMethodPost=modules.php?module=login&what=subids%}
<div class="table dashed">
<div class="table_header bottom">
<strong>{--MEMBER_ADD_SUBID_TITLE--}</strong>
<input type="submit" name="add_subid" class="form_submit" value="{--MEMBER_USER_SUBIDS_ADD_SUBMIT--}" />
</div>
</div>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" id="book" action="{%url=modules.php?module=login&what=book_surfbar%}" method="post" onsubmit="return submitForm()" onreset="return resetForm()">
+{%form,formIdBook,formMethodPost=modules.php?module=login&what=book_surfbar%}
<div class="table3 dashed" style="margin-top:10px">
<div class="table_header bottom" style="padding-top:5px;padding-bottom:5px">
<strong>URL in Surfbar buchen - Dynamisch:</strong>
</div>
<div class="member_input bottom" style="padding-top:5px;padding-bottom:5px">
- URL eingeben: <input type="text" class="form_field" name="url" size="20" maxlength="255" value="http://" />
+ URL eingeben: <input type="text" class="form_field" id="url" name="url" size="20" maxlength="255" value="http://" />
</div>
<div class="member_input" style="padding-top:5px;padding-bottom:5px">
</div>
<div class="table_header top" style="padding-top:5px;padding-bottom:5px">
- <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+ <input type="reset" class="form_reset" id="reset" value="{--CLEAR_FORM--}" />
<input type="submit" class="form_submit" name="ok" value="{--MEMBER_SURFBAR_ADD_URL_SUBMIT--}" />
</div>
</div>
-<script src="{%url=js.php?js=surfbar_member_book%}{%ext,version=surfbar%}"
- type="text/javascript"></script>
-</form>
+<script type="text/javascript" src="{%url=js.php?js=surfbar_member_book%}{%ext,version=surfbar%}"></script>
+<script type="text/javascript">
+<!--
+$('#book').submit(function() {
+ return submitForm();
+});
+
+$('#reset').click(function() {
+ return resetForm();
+});
+//-->
+</script>
+
+{%form_close%}
<span class="notice" style="padding:5px">
Die maximalen Kosten bzw. Einnahmen pro Surfbaraufruf richten sich nach
<div align="center">
-<form accept-charset="UTF-8" id="book" action="{%url=modules.php?module=login&what=book_surfbar%}" method="post" onsubmit="return SubmitForm()" onreset="return ResetForm()">
+{%form,formIdBook,formMethodPost=modules.php?module=login&what=book_surfbar%}
<div class="table3 dashed" style="margin-top:10px">
<div class="table_header bottom" style="padding-top:5px;padding-bottom:5px">
<strong>URL in Surfbar buchen - Statisch:</strong>
</div>
<div class="member_input bottom" style="padding-top:5px;padding-bottom:5px">
- URL eingeben: <input type="text" class="form_field" name="url" size="20" maxlength="255" value="http://" />
+ URL eingeben: <input type="text" class="form_field" id="url" name="url" size="20" maxlength="255" value="http://" />
</div>
<div class="member_input" style="padding-top:5px;padding-bottom:5px">
</div>
<div class="table_header top" style="padding-top:5px;padding-bottom:5px">
- <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+ <input type="reset" class="form_reset" id="reset" value="{--CLEAR_FORM--}" />
<input type="submit" class="form_submit" name="ok" value="{--MEMBER_SURFBAR_ADD_URL_SUBMIT--}" />
</div>
</div>
-<script src="{%url=js.php?js=surfbar_member_book%}{%ext,version=surfbar%}" type="text/javascript"></script>
+<script type="text/javascript" src="{%url=js.php?js=surfbar_member_book%}{%ext,version=surfbar%}"></script>
+<script type="text/javascript">
+<!--
+$('#book').submit(function() {
+ return submitForm();
+});
-</form>
+$('#reset').click(function() {
+ return resetForm();
+});
+//-->
+</script>
+
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" id="cash_coupon" action="{%url=modules.php?module=login&what=cash_coupon%}" method="post">
+{%form,formIdCash_coupon,formMethodPost=modules.php?module=login&what=cash_coupon%}
<div class="table dashed">
<div class="table_header bottom">
<strong>{--MEMBER_CASH_COUPON_TITLE--}</strong>
<input type="submit" class="form_submit" name="ok" value="{--MEMBER_CASH_COUPON--}" />
</div>
</div>
-</form>
+{%form_close%}
-<form accept-charset="UTF-8" id="change_coupon_status" action="{%url=modules.php?module=login&what=cash_coupon%}" method="post">
+{%form,formIdChange_coupon_status,formMethodPost=modules.php?module=login&what=cash_coupon%}
<div class="table dashed">
<div class="table_header bottom">
<strong>{--MEMBER_COUPON_CHANGE_STATUS_TITLE--}</strong>
<input type="submit" class="form_submit" name="change" value="{--MEMBER_CHANGE_COUPON_STATUS--}" />
</div>
</div>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=categories%}" method="post">
+{%form,formMethodPost=modules.php?module=login&what=categories%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" class="header_column bottom" width="408"><strong>{--CATEGORY_NAME--}</strong></td>
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=subids&do=delete_subids%}" method="post">
+{%form,formMethodPost=modules.php?module=login&what=subids&do=delete_subids%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" class="table_header bottom" height="25" colspan="4">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" id="earning_$content[earning_id]" action="{%url=modules.php?module=login&what=earning%}" method="post">
+{%form,formIdEarning_$content[earning_id],formMethodPost=modules.php?module=login&what=earning%}
<div class="table dashed">
<div class="table_header bottom">
<strong>{%message,MEMBER_EARNING_POPUP_FORM_TITLE=$content[earning_provider]%}</strong>
<input type="submit" class="form_submit" name="ok" value="{--MEMBER_EARNING_SUBSCRIBE_SUBMIT--}" />
</div>
</div>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" id="earning_$content[earning_id]" action="{%url=modules.php?module=login&what=earning%}" method="post">
+{form,formIdEarning_$content[earning_id],formMethodPost=modules.php?module=login&what=earning%}
<div class="table dashed">
<div class="table_header bottom">
<strong>{%message,MEMBER_EARNING_POPUP_FORM_TITLE=$content[earning_provider]%}</strong>
<input type="submit" class="form_submit" name="ok" value="{--MEMBER_EARNING_CHANGE_SUBMIT--}" />
</div>
</div>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=refback%}" method="post">
+{%form,formMethodPost=modules.php?module=login&what=refback%}
<input type="hidden" name="id" value="$content[id]" />
<div class="table dashed">
<div class="table_header bottom">
<input type="submit" class="form_submit" name="edit" value="{--MEMBER_REFBACK_EDIT_SUBMIT--}" />
</div>
</div>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=subids&do=edit_subids%}" method="post">
+{%form,formMethodPost=modules.php?module=login&what=subids&do=edit_subids%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" class="table_header bottom" height="25" colspan="4">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=holiday%}" method="post">
+{%form,formMethodPost=modules.php?module=login&what=holiday%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="bottom table_header"
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=holiday%}" method="post">
+{%form,formMethodPost=modules.php?module=login&what=holiday%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=html_mail%}" method="post">
+{%form,formMethodPost=modules.php?module=login&what=html_mail%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" colspan="2" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
$content[joined]
</td>
<td align="center" class="{%template,ColorSwitch%} bottom">
- <form accept-charset="UTF-8" style="paddin-bottom:0px">
+ {%form%}
<input type="button" name="edit" class="form_submit disabled" title="{--MEMBER_REFBACK_DELETED_TITLE--}"
disabled="disabled" value="{--MEMBER_REFBACK_DELETED_SUBMIT--}" />
- </form>
+ {%form_close%}
</td>
</tr>
$content[joined]
</td>
<td align="center" class="{%template,ColorSwitch%} bottom">
- <form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=refback%}" method="post">
+ {%form,formMethodPost=modules.php?module=login&what=refback%}
<input type="hidden" name="id" value="$content[id]" />
<input type="submit" class="form_submit" name="edit" value="{--MEMBER_REFBACK_EDIT_SUBMIT--}" />
- </form>
+ {%form_close%}
</td>
</tr>
<td align="center" width="$content[width]%%">
- <form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=list_surfbar%}" method="post">
+ {%form,formMethodPost=modules.php?module=login&what=list_surfbar%}
<input type="hidden" name="url_id" value="$content[url_id]" />
<input type="hidden" name="action" value="$content[action]" />
<input type="submit" class="form_submit" name="ok" title="{%pipe,translateMemberSurfbarActionToTitle=$content[action]%}" value="{%pipe,translateMemberSurfbarActionToSubmit=$content[action]%}" />
- </form>
+ {%form_close%}
</td>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=subids%}" method="post">
+{%form,formMethodPost=modules.php?module=login&what=subids%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="3" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
-<form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=mydata%}" method="post">
+{%form,formMethodPost=modules.php?module=login&what=mydata%}
<input type="submit" name="edit" class="form_reset" value="{--MEMBER_EDIT_PROFILE--}" />
-</form>
+{%form_close%}
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=mydata%}" method="post">
+{%form,formMethodPost=modules.php?module=login&what=mydata%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="header_column bottom" colspan="2">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=newsletter%}" method="post">
+{%form,formMethodPost=modules.php?module=login&what=newsletter%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="header_column bottom" colspan="2"><strong>{--NL_MEMBER_TITLE--}:</strong>
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=nickname%}" method="post">
+{%form,formMethodPost=modules.php?module=login&what=nickname%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="5" align="center" class="table_header bottom" height="30">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{?URL?}/modules.php" method="get" target="_parent">
+{%form,formMethodGet,formTarget_parent=modules.php%}
<input type="hidden" name="module" value="login" />
<input type="hidden" name="what" value="order" />
<input type="hidden" name="order" value="$content" />
<input type="submit" class="form_reset" value="{--MEMBER_GO_BACK--}" />
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=order%}" method="post">
+{%form,formMethodPost=modules.php?module=login&what=order%}
<div class="table dashed">
<div class="table_header bottom">
<strong>{--MEMBER_ORDER_PAGE1_TITLE--}</strong>
<input type="submit" name="data" class="form_submit" value="{--ORDER_PAGE_2--}" />
</div>
</div>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=order%}" method="post">
+{%form,formMethodPost=modules.php?module=login&what=order%}
<div class="table dashed">
<div class="table_header bottom">
<strong>{--MEMBER_ORDER_PAGE2_TITLE--}</strong>
<input type="submit" name="frametester" class="form_submit" value="{--CONTINUE_FRAMETESTER--}" />
</div>
</div>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" id="form" action="{%url=modules.php?module=order&order=$content%}" method="post" target="_parent" onsubmit="return Submit()">
+{%form,formMethodPost,formTarget_parent=modules.php?module=order&order=$content%}
<div>
{--MEMBER_ORDER_PLEASE_WAIT_1--}<span id="counter" style="font-weight:bold">10</span>{--MEMBER_ORDER_PLEASE_WAIT_2--}
</div>
<input type="submit" class="form_submit" id="ok" name="ok" value="{--MEMBER_DO_ORDER--}" />
</div>
<script type="text/javascript" src="{%url=js.php?js=order_send%}{%ext,version=order%}"></script>
-</form>
+<script type="text/javascript">
+<!--
+$('#form').submit(function() {
+ return submitForm();
+});
+//-->
+</script>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=order%}" method="post">
+{%form,formMethodPost=modules.php?module=login&what=order%}
<div class="table_header bottom">
{--MEMBER_THANX_ORDER_TITLE--}
</div>
<div class="table_footer">
<input type="submit" class="form_submit" value="{--MEMBER_CONTINUE_AREA--}" />
</div>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=payout&payout=$content[payout]%}" method="post">
+{%form,formMethodPost=modules.php?module=login&what=payout&payout=$content[payout]%}
<table border="0" cellspacing="0" cellpadding="0" width="440" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=payout&payout=$content[payout]%}" method="post">
+{%form,formMethodPost=modules.php?module=login&what=payout&payout=$content[payout]%}
<table border="0" cellspacing="0" cellpadding="0" width="440" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
<!-- Hinweise zur "Auszahlung" in Bannerviews, Textlinkklicks, etc. //-->
<div class="notice">(*): {--PAYOUT_BANNER_NOTICE--}</div>
</tr>
<tr>
<td align="center" class="left">
- <form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=mydata%}" method="post">
+ {%form,formMethodPost=modules.php?module=login&what=mydata%}
<input type="submit" name="notify" class="form_reset" value="Benachrichtigung abschalten" />
- </form>
+ {%form_close%}
</td>
<td align="center" class="right">
- <form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=mydata%}" method="post">
+ {%form,formMethodPost=modules.php?module=login&what=mydata%}
<input type="submit" name="edit" class="form_reset" value="Profildaten ändern" />
- </form>
+ {%form_close%}
</td>
</tr>
</table>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=support%}" method="post">
+{%form,formMethodPost=modules.php?module=login&what=support%}
<div class="table dashed">
<div class="header_column bottom">
</div>
</div>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" id="delete" action="{%url=modules.php?module=login&what=list_surfbar%}" method="post">
+{%form,formIdDelete,formMethodPost=modules.php?module=login&what=list_surfbar%}
<div class="table dashed" style="margin-top:10px">
<div class="table_header bottom" style="padding-top:5px;padding-bottom:5px">
<strong>URL in Surfbar löschen:</strong>
<input type="submit" class="form_delete" name="ok" value="{--MEMBER_SURFBAR_ACTION_DELETE_NOW_SUBMIT--}" />
</div>
</div>
-</form>
+{%form_close%}
<div class="notice">
<strong>Hinweis:</strong> Irtümlich gelöschte URLs können nur
<div align="center">
-<form accept-charset="UTF-8" id="edit" action="{%url=modules.php?module=login&what=list_surfbar%}" method="post" onsubmit="return SubmitForm()" onreset="return ResetForm()">
+{%form,formIdEdit,formMethodPost=modules.php?module=login&what=list_surfbar%}
<div class="table3 dashed" style="margin-top:10px">
<div class="table_header bottom" style="padding-top:5px;padding-bottom:5px">
<strong>URL in Surfbar editieren:</strong>
</div>
<div class="table_header top" style="padding-top:5px;padding-bottom:5px">
- <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+ <input type="reset" class="form_reset" id="reset" value="{--CLEAR_FORM--}" />
<input type="hidden" name="url_id" value="$content[url_id]" />
<input type="hidden" name="action" value="edit" />
<input type="hidden" name="execute" value="1" />
</div>
</div>
-<script src="{%url=js.php?js=surfbar_member_edit%}{%ext,version=surfbar%}&url_views_max=$content[url_views_max]&limited=$content[limited]"
- type="text/javascript"></script>
-</form>
+<script type="text/javascript"
+ src="{%url=js.php?js=surfbar_member_edit%}{%ext,version=surfbar%}&url_views_max=$content[url_views_max]&limited=$content[limited]"></script>
+<script type="text/javascript">
+<!--
+$('#edit').submit(function() {
+ return submitForm();
+});
+
+$('#reset').click(function() {
+ return resetForm();
+});
+//-->
+</script>
+
+{%form_close%}
</div>
<div align="center">
{--MEMBER_THEME_LIST_USAGE--}
-<form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=themes%}" method="post">
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
+ {%form,formMethodPost=modules.php?module=login&what=themes%}
+ <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="header_column bottom right" align="center">{--THEME_UNIX--}</td>
<td class="header_column bottom right" align="center">{--THEME_NAME--}</td>
<input type="submit" class="form_submit" name="ok" value="{--MEMBER_SAVE_THEME--}" />
</td>
</tr>
-</table>
-</form>
+ </table>
+ {%form_close%}
</div>
<div class="notice">
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=transfer&do=new%}" method="post">
+{%form,formMethodPost=modules.php?module=login&what=transfer&do=new%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="right" class="bottom" height="40"><strong>
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
-<form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=transfer%}" method="post">
+{%form,formMethodPost=modules.php?module=login&what=transfer%}
<table border="0" cellspacing="0" cellpadding="0" width="420" class="table dashed">
<tr>
<td align="center" width="260" class="bottom" height="50">
</td>
</tr>
</table>
-</form>
+{%form_close%}
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=wernis&do=payout%}" method="post">
+{%form,formMethodPost=modules.php?module=login&what=wernis&do=payout%}
<table border="0" cellspacing="0" cellpadding="0" width="440" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom" height="30">
</td>
</tr>
</table>
-</form>
+{%form_close%}
<div class="para">
<strong class="notice">{--MEMBER_WERNIS_PAYOUT_NOTICE--}</strong>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=wernis&do=withdraw%}" method="post">
+{%form,formMethodPost=modules.php?module=login&what=wernis&do=withdraw%}
<table border="0" cellspacing="0" cellpadding="0" width="440" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
<div class="notice">
<strong class="notice">{--MEMBER_WERNIS_WITHDRAW_NOTICE--}</strong>
<meta http-equiv="content-script-type" content="text/javascript" />
<meta http-equiv="language" content="de" />
-<script src="{%url=js/jquery.js?dummy=1%}{%ext,version=sql_patches%}" type="text/javascript"></script>
+<script src="{%jquery%}{%ext,version=sql_patches%}" type="text/javascript"></script>
<script src="{%url=js/core-common.js?dummy=1%}{%ext,version=sql_patches%}" type="text/javascript"></script>
<script src="{%url=js/menu-common.js?dummy=1%}{%ext,version=sql_patches%}" type="text/javascript"></script>
<div align="center">
-<form accept-charset="UTF-8" action="{?URL?}/modules.php" method="get">
+{%form,formMethodGet=modules.php%}
<input type="hidden" name="module" value="admin" />
<input type="hidden" name="what" value="{%pipe,getWhat%}" />
<div class="table dashed">
<input type="submit" class="form_submit" value="{--ADMIN_DO_ACTION--}" />
</div>
</div>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{?URL?}/modules.php" method="get">
+{%form,formMethodGet=modules.php%}
<input type="hidden" name="module" value="{%pipe,getModule%}" />
<input type="hidden" name="what" value="{%pipe,getWhat%}" />
<div class="table dashed">
<input type="submit" class="form_submit" value="{--ADMIN_CHOOSE_NETWORK_SUBMIT--}" />
</div>
</div>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{?URL?}/modules.php" method="get">
+{%form,formMethodGet=modules.php%}
<input type="hidden" name="module" value="{%pipe,getModule%}" />
<input type="hidden" name="what" value="{%pipe,getWhat%}" />
<input type="hidden" name="network_id" value="{%network,getNetworkDataById,network_id=%network_id%%}" />
<input type="submit" class="form_submit" value="{--ADMIN_CHOOSE_NETWORK_HANDLER_TYPE_SUBMIT--}" />
</div>
</div>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{?URL?}/modules.php" method="get">
+{%form,formMethodGet=modules.php%}
<input type="hidden" name="module" value="{%pipe,getModule%}" />
<input type="hidden" name="what" value="{%pipe,getWhat%}" />
<div class="table dashed">
<input type="submit" class="form_submit" value="{--ADMIN_CHOOSE_NETWORK_HANDLER_TYPE_SUBMIT--}" />
</div>
</div>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=sponsor&what=account%}" method="post">
+{%form,formMethodPost=modules.php?module=sponsor&what=account%}
<table border="0" cellspacing="0" cellpadding="0" width="550" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom" height="32">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=sponsor&what=fillup%}" method="post">
+{%form,formMethodPost=modules.php?module=sponsor&what=fillup%}
<table border="0" cellspacing="0" cellpadding="0" width="450" class="table dashed">
<tr>
<td class="table_header bottom" colspan="2" align="center" height="37">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=sponsor&what=settings%}" method="post">
+{%form,formMethodPost=modules.php?module=sponsor&what=settings%}
<table border="0" cellspacing="0" cellpadding="0" width="550" class="table dashed">
<tr>
<td colspan="2" align="center" class="table_header bottom" height="32">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
<div align="center" style="margin-bottom:10px">
-<form accept-charset="UTF-8" action="{%url=surfbar.php%}" method="post">
+{%form,formMethodPost=surfbar.php%}
<table border="0" cellspacing="0" cellpadding="0" class="guest_login dashed">
<tr>
<td colspan="4" align="center" class="guest_login_header bottom">
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>
-<form accept-charset="UTF-8" action="$content[form_action]" method="post">
- <select name="new_theme" class="form_select">
+{%form,formMethodPost=$content[form_action]%}
+ <select name="new_theme" class="form_select" size="1">
$content[selection]
</select>
<br />
<input type="submit" class="form_submit" name="theme_change" value="{--CHANGE_THEME--}" />
-</form>
+{%form_close%}
This' type can again only be 'string' (remember why?).
//-->
<raw-userid-column-key name="" type="string" value="forced_ads_userid" />
+ <!--
+ Cache file to delete
+ //-->
+ <cache-file name="" type="string" value="" />
</admin-entry-meta-data>
This' type can again only be 'string' (remember why?).
//-->
<raw-userid-column-key name="" type="string" value="" />
+ <!--
+ Cache file to delete
+ //-->
+ <cache-file name="" type="string" value="" />
</admin-entry-meta-data>
This' type can again only be 'string' (remember why?).
//-->
<raw-userid-column-key name="" type="string" value="url_userid" />
+ <!--
+ Cache file to delete
+ //-->
+ <cache-file name="" type="string" value="" />
</admin-entry-meta-data>
//-->
<database-table name="" type="string" value="user_subids" />
<!--
- <!--
And all column names to read/write, leave this list tag empty for all (*).
//-->
<database-column-list>
//-->
<database-column-list-entry name="" type="string" table="" value="id" alias="" function="" />
<database-column-list-entry name="" type="string" table="" value="userid" alias="" function="" />
- <database-column-list-entry name="added_list" type="string" table="" value="subid_added" alias="subid_added" function="UNIX_TIMESTAMP" />
+ <database-column-list-entry name="subid_added" type="string" table="" value="subid_added" alias="subid_added" function="UNIX_TIMESTAMP" />
<database-column-list-entry name="" type="string" table="" value="subid" alias="" function="" />
</database-column-list>
<!--
A call-back function list entry
//-->
<callback-function-list-entry name="" type="string" value="bigintval" />
- <callback-function-list-entry name="added_list" type="string" value="generateDateTime" />
+ <callback-function-list-entry name="subid_added" type="string" value="generateDateTime" />
</callback-function-list>
<!--
Extra parameters (2nd, 3rd, ...) for above call-back functions. If an array
call-back function. See function handleExtraValues() for details.
//-->
<extra-parameter-list>
- <!--
- A one-dimensional array with some entries
- //-->
- <extra-parameter-list-entry name="" type="array" value="added">
- <!--
- Our 'added' array
- //-->
- <extra-parameter-added-list>
- <!--
- A bool entry in the 'bar' array, all other types are added in a
- similar way.
- //-->
- <extra-parameter-added-list-entry name="" type="int" value="2" />
- </extra-parameter-added-list>
- </extra-parameter-list-entry>
</extra-parameter-list>
<!--
Wether to 'edit/delete/change' (change) the entries (true) or just read them for displaying (false)
This' type can again only be 'string' (remember why?).
//-->
<raw-userid-column-key name="" type="string" value="userid" />
+ <!--
+ Cache file to delete
+ //-->
+ <cache-file name="" type="string" value="" />
</admin-entry-meta-data>
This' type can again only be 'string' (remember why?).
//-->
<raw-userid-column-key name="" type="string" value="forced_ads_userid" />
+ <!--
+ Cache file to delete
+ //-->
+ <cache-file name="" type="string" value="" />
</admin-entry-meta-data>
This' type can again only be 'string' (remember why?).
//-->
<raw-userid-column-key name="" type="string" value="forced_campaign_userid" />
+ <!--
+ Cache file to delete
+ //-->
+ <cache-file name="" type="string" value="" />
</admin-entry-meta-data>
This' type can again only be 'string' (remember why?).
//-->
<table-id-column name="" type="string" value="forced_costs_id" />
+ <!--
+ The table column which should be taken for user ids
+ This' type can again only be 'string' (remember why?).
+ //-->
+ <table-userid-column name="" type="string" value="" />
+ <!--
+ Raw userid column ($key) to skip which is always an invalid (?) entry
+ This' type can again only be 'string' (remember why?).
+ //-->
+ <raw-userid-column-key name="" type="string" value="" />
+ <!--
+ Cache file to delete
+ //-->
+ <cache-file name="" type="string" value="" />
</admin-entry-meta-data>
This' type can again only be 'string' (remember why?).
//-->
<raw-userid-column-key name="" type="string" value="" />
+ <!--
+ Cache file to delete
+ //-->
+ <cache-file name="" type="string" value="" />
</admin-entry-meta-data>
This' type can again only be 'string' (remember why?).
//-->
<raw-userid-column-key name="" type="string" value="" />
+ <!--
+ Cache file to delete
+ //-->
+ <cache-file name="" type="string" value="" />
</admin-entry-meta-data>
This' type can again only be 'string' (remember why?).
//-->
<raw-userid-column-key name="" type="string" value="url_userid" />
+ <!--
+ Cache file to delete
+ //-->
+ <cache-file name="" type="string" value="" />
</admin-entry-meta-data>
numerical column names?
//-->
<database-column-list-entry name="" type="string" table="" value="id" alias="" function="" />
- <database-column-list-entry name="added_list" type="string" table="" value="subid_added" alias="subid_added" function="UNIX_TIMESTAMP" />
+ <database-column-list-entry name="subid_added" type="string" table="" value="subid_added" alias="subid_added" function="UNIX_TIMESTAMP" />
<database-column-list-entry name="" type="string" table="" value="subid" alias="" function="" />
</database-column-list>
<!--
A call-back function list entry
//-->
<callback-function-list-entry name="" type="string" value="bigintval" />
- <callback-function-list-entry name="added_list" type="string" value="generateDateTime" />
+ <callback-function-list-entry name="subid_added" type="string" value="generateDateTime" />
</callback-function-list>
<!--
Extra parameters (2nd, 3rd, ...) for above call-back functions. If an array
<extra-parameter-member-list-entry name="" type="string" value="userid[]" />
</extra-parameter-member-list>
</extra-parameter-list-entry>
- <!--
- A one-dimensional array with some entries
- //-->
- <extra-parameter-list-entry name="" type="array" value="added">
- <!--
- Our 'added' array
- //-->
- <extra-parameter-added-list>
- <!--
- A bool entry in the 'added' array, all other types are added in a
- similar way.
- //-->
- <extra-parameter-added-list-entry name="" type="int" value="2" />
- </extra-parameter-added-list>
- </extra-parameter-list-entry>
</extra-parameter-list>
<!--
Columns for converting single time selections into a timestamp
This' type can again only be 'string' (remember why?).
//-->
<raw-userid-column-key name="" type="string" value="userid" />
+ <!--
+ Cache file to delete
+ //-->
+ <cache-file name="" type="string" value="" />
</admin-entry-meta-data>
</callback-extra-parameter-list>
</column-callback-list-entry>
</column-callback-list>
+ <!--
+ How the named column shall be logical linked to the above.
+ //-->
+ <where-condition type="string" name="" condition="" />
</member-list-data>
</callback-extra-parameter-list>
</column-callback-list-entry>
</column-callback-list>
+ <!--
+ How the named column shall be logical linked to the above.
+ //-->
+ <where-condition type="string" name="" condition="" />
</admin-list-data>
//-->
<database-column-list-entry name="" type="string" table="" value="id" alias="" function="" />
<database-column-list-entry name="" type="string" table="" value="userid" alias="" function="" />
- <database-column-list-entry name="added_list" type="string" table="" value="subid_added" alias="subid_added" function="UNIX_TIMESTAMP" />
+ <database-column-list-entry name="subid_added" type="string" table="" value="subid_added" alias="subid_added" function="UNIX_TIMESTAMP" />
<database-column-list-entry name="" type="string" table="" value="subid" alias="" function="" />
</database-column-list>
<!--
A call-back function list entry
//-->
<callback-function-list-entry name="" type="string" value="bigintval" />
- <callback-function-list-entry name="added_list" type="string" value="generateDateTime" />
+ <callback-function-list-entry name="subid_added" type="string" value="generateDateTime" />
</callback-function-list>
<!--
Extra parameters (2nd, 3rd, ...) for above call-back functions. If an array
<!--
A one-dimensional array with some entries
//-->
- <extra-parameter-list-entry name="" type="array" value="added">
+ <extra-parameter-list-entry name="" type="array" value="subid_added">
<!--
Our 'added' array
//-->
background-color: transparent;
}
+form {
+ margin: 0px;
+ margin-left: 0px;
+ margin-right: 0px;
+ margin-top: 0px;
+ margin-bottom: 0px;
+ padding: 0px;
+ padding-left: 0px;
+ padding-right: 0px;
+ padding-top: 0px;
+ padding-bottom: 0px;
+}
+
input, textarea, select, option {
color: #000000;
border: 1px solid #000000;
background-color: transparent;
}
+form {
+ margin: 0px;
+ margin-left: 0px;
+ margin-right: 0px;
+ margin-top: 0px;
+ margin-bottom: 0px;
+ padding: 0px;
+ padding-left: 0px;
+ padding-right: 0px;
+ padding-top: 0px;
+ padding-bottom: 0px;
+}
+
input, textarea {
color: #009900;
background-color: #eeffee;
background-color: transparent;
}
+form {
+ margin: 0px;
+ margin-left: 0px;
+ margin-right: 0px;
+ margin-top: 0px;
+ margin-bottom: 0px;
+ padding: 0px;
+ padding-left: 0px;
+ padding-right: 0px;
+ padding-top: 0px;
+ padding-bottom: 0px;
+}
+
input, textarea, select, option {
color: #880000;
background-color: #eeeebb;
background-color: transparent;
}
+form {
+ margin: 0px;
+ margin-left: 0px;
+ margin-right: 0px;
+ margin-top: 0px;
+ margin-bottom: 0px;
+ padding: 0px;
+ padding-left: 0px;
+ padding-right: 0px;
+ padding-top: 0px;
+ padding-bottom: 0px;
+}
+
input, textarea, select, option {
color: #2e51a9;
background-color: #eeffee;
background-color : transparent;
}
+form {
+ margin: 0px;
+ margin-left: 0px;
+ margin-right: 0px;
+ margin-top: 0px;
+ margin-bottom: 0px;
+ padding: 0px;
+ padding-left: 0px;
+ padding-right: 0px;
+ padding-top: 0px;
+ padding-bottom: 0px;
+}
+
input, textarea, select, option {
color : #ffffff;
background-color : #0571cc;
background-color : transparent;
}
+form {
+ margin: 0px;
+ margin-left: 0px;
+ margin-right: 0px;
+ margin-top: 0px;
+ margin-bottom: 0px;
+ padding: 0px;
+ padding-left: 0px;
+ padding-right: 0px;
+ padding-top: 0px;
+ padding-bottom: 0px;
+}
+
input, textarea, select, option {
color : #000000;
background-color : #FFFFFF;