inc/modules/admin/what-list_payouts.php svneol=native#text/plain
inc/modules/admin/what-list_point_accounts.php svneol=native#text/plain
inc/modules/admin/what-list_rallyes.php svneol=native#text/plain
+inc/modules/admin/what-list_referral_levels.php svneol=native#text/plain
inc/modules/admin/what-list_refs.php svneol=native#text/plain
inc/modules/admin/what-list_server_name.php svneol=native#text/plain
inc/modules/admin/what-list_sponsor.php svneol=native#text/plain
templates/de/emails/admin/admin_add_forced_campaigns.tpl svneol=native#text/plain
templates/de/emails/admin/admin_add_forced_costs.tpl svneol=native#text/plain
templates/de/emails/admin/admin_add_grade_data.tpl svneol=native#text/plain
+templates/de/emails/admin/admin_add_refdepths.tpl svneol=native#text/plain
templates/de/emails/admin/admin_add_user_subids.tpl svneol=native#text/plain
templates/de/emails/admin/admin_admin_add_all_direct.tpl svneol=native#text/plain
templates/de/emails/admin/admin_admin_add_all_ref_referral.tpl svneol=native#text/plain
templates/de/emails/admin/admin_edit_forced_costs.tpl svneol=native#text/plain
templates/de/emails/admin/admin_edit_mem_edit_user_subids.tpl svneol=native#text/plain
templates/de/emails/admin/admin_edit_points_data.tpl svneol=native#text/plain
+templates/de/emails/admin/admin_edit_refdepths.tpl svneol=native#text/plain
templates/de/emails/admin/admin_edit_surfbar_actions.tpl svneol=native#text/plain
templates/de/emails/admin/admin_edit_surfbar_urls.tpl svneol=native#text/plain
templates/de/emails/admin/admin_edit_user_subids.tpl svneol=native#text/plain
templates/de/html/admin/admin_add_rallye.tpl svneol=native#text/plain
templates/de/html/admin/admin_add_rallye_prices.tpl svneol=native#text/plain
templates/de/html/admin/admin_add_refbanner.tpl svneol=native#text/plain
+templates/de/html/admin/admin_add_referral_level.tpl svneol=native#text/plain
templates/de/html/admin/admin_add_reflevel.tpl svneol=native#text/plain
templates/de/html/admin/admin_add_reflvl.tpl -text
templates/de/html/admin/admin_add_shop_cat.tpl -text
templates/de/html/admin/admin_edit_rallyes_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_edit_refbanner.tpl svneol=native#text/plain
templates/de/html/admin/admin_edit_refbanner_row.tpl svneol=native#text/plain
+templates/de/html/admin/admin_edit_refdepths.tpl svneol=native#text/plain
+templates/de/html/admin/admin_edit_refdepths_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_edit_reflevel.tpl svneol=native#text/plain
templates/de/html/admin/admin_edit_reflevel_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_edit_sponsor_add_points.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_rallyes_row2.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_refbanner.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_refbanner_row.tpl svneol=native#text/plain
+templates/de/html/admin/admin_list_refdepths.tpl svneol=native#text/plain
+templates/de/html/admin/admin_list_refdepths_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_reflevel.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_reflevel_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_refs.tpl svneol=native#text/plain
./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:2119:// @TODO This should be rewrittten to allow, more development states, e.g. 'planing','alpha','beta','beta2','stable'
+./inc/extensions-functions.php:2172:// @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/bonus_filter.php:56: // @TODO This query isn't right, it will only update if the user was for a longer time away!
./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:1314: // @TODO No banner found, output some default banner
+./inc/filters.php:1320: // @TODO No banner found, output some default banner
./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:1814: // @TODO Find a way to cache this
-./inc/functions.php:1919: // @TODO This is still very static, rewrite it somehow
-./inc/functions.php:2123: // @TODO Rename column data_type to e.g. mail_status
-./inc/functions.php:2473:// @TODO cacheFiles is not yet supported
+./inc/functions.php:1817: // @TODO Find a way to cache this
+./inc/functions.php:1922: // @TODO This is still very static, rewrite it somehow
+./inc/functions.php:2126: // @TODO Rename column data_type to e.g. mail_status
+./inc/functions.php:2476:// @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:402: // @TODO Comparing with DEFAULT_MAIN_TITLE doesn't work
./inc/install-functions.php:97: // @TODO DEACTIVATED: changeDataInLocalConfigurationFile('OUTPUT-MODE', "setConfigEntry('OUTPUT_MODE', '", "');", postRequestElement('omode'), 0);
-./inc/language/de.php:1141: // @TODO Rewrite these two constants
-./inc/language/de.php:1157: // @TODO Rewrite these three constants
+./inc/language/de.php:1147: // @TODO Rewrite these two constants
+./inc/language/de.php:1163: // @TODO Rewrite these three constants
./inc/language/de.php:46: // @TODO Please sort these language elements
-./inc/language/de.php:735:// @TODO Are these constants longer used?
+./inc/language/de.php:741:// @TODO Are these constants longer used?
./inc/language-functions.php:255: // @TODO These are all valid languages, again hard-coded
./inc/language-functions.php:44:// @TODO Rewrite all language constants to this function.
./inc/language/install_de.php:140: // @TODO Move this to e.g. ext-smtp
./inc/modules/admin/what-admins_mails.php:58: // @TODO Can this be rewritten to an API function?
./inc/modules/admin/what-bonus.php:46:// @TODO Unused at the moment
./inc/modules/admin/what-config_mods.php:55: // @TODO This can be moved into mysql-function.php, see checkModulePermissions() function
-./inc/modules/admin/what-config_points.php:130: // @TODO Rewrite these two lines for new user_points columns (e.g. locked_order_points) with a filter
+./inc/modules/admin/what-config_points.php:90: // @TODO Rewrite these two lines for new user_points columns (e.g. locked_order_points) with a filter
./inc/modules/admin/what-config_rallye_prices.php:222: // @TODO Rewrite these two constants
./inc/modules/admin/what-config_register.php:75: // @TODO Move this HTML code into a template
./inc/modules/admin/what-del_email.php:61: // @TODO Unused: cat_id, payment_id
./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:2079: // @TODO Used generic 'userid' here
-./inc/mysql-manager.php:2300:// @TODO cacheFiles is not yet supported
+./inc/mysql-manager.php:2090: // @TODO Used generic 'userid' here
+./inc/mysql-manager.php:2311:// @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:3006: // @TODO Find a way to not use direct module comparison
+./inc/wrapper-functions.php:3008: // @TODO Find a way to not use direct module comparison
./inc/wrapper-functions.php:512:// @TODO Do some more sanity check here
./inc/xml-functions.php:240: // @TODO Handle characters
./mailid.php:102: // @TODO Rewrite this to a filter
./inc/sql_error.php:2:// @DEPRECATED
./inc/stats_bonus.php:2:// @DEPRECATED
./inc/template.php:2:// @DEPRECATED
+./templates/de/html/admin/admin_add_reflevel.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_add_reflvl.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_add_shop_cat.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_admins_contact_form.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/admin/admin_edit_reflevel_row.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_edit_reflevel.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_extensions_installed.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_extensions_list.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_extensions_search.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_forum_edit_del.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_forum_edit_forum.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_holiday_task.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_list_reflevel_row.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_list_reflevel.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_list_unconfirmed_header.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_logout_sql_patches.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_mods_footer_list.tpl:1:<!-- @DEPRECATED //-->
call_user_func_array($callbackName, $args);
}
+// For 'doing' add referral level, the column-index is required
+function addXmlSpecialAdminAddDoReferralLevels () {
+ // So set it all here
+ $GLOBALS['__COLUMN_INDEX']['doXmlCallbackFunction'] = 'column';
+ $GLOBALS['__XML_ARGUMENTS']['doXmlCallbackFunction']['column_index'] = 'column';
+}
+
// [EOF]
?>
} // END - if
// Version number
-setThisExtensionVersion('0.9.3');
+setThisExtensionVersion('0.9.5');
// Version history array (add more with , '0.0.1' and so on)
-setExtensionVersionHistory(array('0.0.0', '0.0.1', '0.0.2', '0.0.3', '0.0.4', '0.0.5', '0.0.6', '0.0.7', '0.0.8', '0.0.9', '0.1.0', '0.1.1', '0.1.2', '0.1.3', '0.1.4', '0.1.5', '0.1.6', '0.1.7', '0.1.8', '0.1.9', '0.2.0', '0.2.1', '0.2.2', '0.2.3', '0.2.4', '0.2.5', '0.2.6', '0.2.7', '0.2.8', '0.2.9', '0.3.0', '0.3.1', '0.3.2', '0.3.3', '0.3.4', '0.3.5', '0.3.6', '0.3.7', '0.3.8', '0.3.9', '0.4.0', '0.4.1', '0.4.2', '0.4.3', '0.4.4', '0.4.5', '0.4.6', '0.4.7', '0.4.8', '0.4.9', '0.5.0', '0.5.1', '0.5.2', '0.5.3', '0.5.4', '0.5.5', '0.5.6', '0.5.7', '0.5.8', '0.5.9', '0.6.0', '0.6.1', '0.6.2', '0.6.3', '0.6.4', '0.6.5', '0.6.6', '0.6.7', '0.6.8', '0.6.9', '0.7.0', '0.7.1', '0.7.2', '0.7.3', '0.7.4', '0.7.5', '0.7.6', '0.7.7', '0.7.8', '0.7.9', '0.8.0', '0.8.1', '0.8.2', '0.8.3', '0.8.4', '0.8.5', '0.8.6', '0.8.7', '0.8.8', '0.8.9', '0.9.0', '0.9.1', '0.9.2', '0.9.3'));
+setExtensionVersionHistory(array('0.0.0', '0.0.1', '0.0.2', '0.0.3', '0.0.4', '0.0.5', '0.0.6', '0.0.7', '0.0.8', '0.0.9', '0.1.0', '0.1.1', '0.1.2', '0.1.3', '0.1.4', '0.1.5', '0.1.6', '0.1.7', '0.1.8', '0.1.9', '0.2.0', '0.2.1', '0.2.2', '0.2.3', '0.2.4', '0.2.5', '0.2.6', '0.2.7', '0.2.8', '0.2.9', '0.3.0', '0.3.1', '0.3.2', '0.3.3', '0.3.4', '0.3.5', '0.3.6', '0.3.7', '0.3.8', '0.3.9', '0.4.0', '0.4.1', '0.4.2', '0.4.3', '0.4.4', '0.4.5', '0.4.6', '0.4.7', '0.4.8', '0.4.9', '0.5.0', '0.5.1', '0.5.2', '0.5.3', '0.5.4', '0.5.5', '0.5.6', '0.5.7', '0.5.8', '0.5.9', '0.6.0', '0.6.1', '0.6.2', '0.6.3', '0.6.4', '0.6.5', '0.6.6', '0.6.7', '0.6.8', '0.6.9', '0.7.0', '0.7.1', '0.7.2', '0.7.3', '0.7.4', '0.7.5', '0.7.6', '0.7.7', '0.7.8', '0.7.9', '0.8.0', '0.8.1', '0.8.2', '0.8.3', '0.8.4', '0.8.5', '0.8.6', '0.8.7', '0.8.8', '0.8.9', '0.9.0', '0.9.1', '0.9.2', '0.9.3', '0.9.4', '0.9.5'));
// Keep this extension always active!
setExtensionAlwaysActive('Y');
// Update notes (these will be set as task text!)
setExtensionUpdateNotes("Bereinigung von verkehrten <strong>SERVER_NAME</strong> Einträgen hinzugefügt.");
break;
+
+ case '0.9.4': // SQL queries for v0.9.4
+ addAdminMenuSql('setup', 'list_referral_levels', 'Referral-Ebenen', 'Erlaubt das Auflisten, hinzufügen, ändern und löschen von Referral-Ebenen. Seien Sie beim Löschen vorsichtig, da deren Id-Nummern zum Verknüpfen verwendet werden. Sollten Sie also eine Ebene löschen, in der Mitglieder {OPEN_CONFIG}POINTS{CLOSE_CONFIG} haben sollten, sind diese verloren.', 15);
+
+ // Update notes (these will be set as task text!)
+ setExtensionUpdateNotes("Auflisten (usw.) von Referral-Ebenen ausgelagert in eigenen Menüpunkt.");
+ break;
+
+ case '0.9.5': // SQL queries for v0.9.5
+ addExtensionChangeTableColumnSql('refdepths', 'percents', 'percents', 'FLOAT(8,5) UNSIGNED NOT NULL DEFAULT 0.00000');
+
+ // Update notes (these will be set as task text!)
+ setExtensionUpdateNotes("Referral-Prozente dürfen nun auch 5 Stellen hinter dem Komma haben.");
+ break;
} // END - switch
break;
// Tries to determine if call-back functions and/or extra values shall be parsed
function doHandleExtraValues ($filterFunctions, $extraValues, $key, $entries, $userIdColumn, $search, $id = NULL) {
+ // $search shall not be NULL
+ assert(!is_null($search));
+
// Debug mode enabled?
if (isDebugModeEnabled()) {
// Debug message
} // END - if
// Send data through the filter function if found
- if ($key == $userIdColumn[0]) {
+ if ($key === $userIdColumn[0]) {
// Is the userid, we have to process it with convertZeroToNull()
$entries = convertZeroToNull($entries);
} elseif ((!empty($filterFunctions[$key])) && (isset($extraValues[$key]))) {
'CHOOSE_MORE_CATEGORIES' => "Bitte wählen Sie mehr Kategorien aus! Minimum ist: <span class=\"data\">{?least_cats?}</span>",
'ADMIN_CONFIG_REJECT_DOUBLE_EMAIL' => "Doppelt angemeldete Email-Adressen ablehnen?",
'ADMIN_EDIT_POINTS' => "Willkommensgutschrift und andere Festbeträge editieren",
- 'ADMIN_EDIT_REFERRAL_DEPTHS' => "Referral-Ebenen editieren / löschen / hinzufügen",
+
+ // Referral levels (admin/generic)
'ADMIN_ADD_NEW_REFERRAL_DEPTH_TITLE' => "Neue Referral-Ebene hinzufügen",
+ 'ADMIN_LIST_REFERRAL_LEVELS_TITLE' => "Auflisten von Referral-Ebenen",
+ 'ADMIN_EDIT_REFERRAL_DEPTHS_TITLE' => "Referral-Ebenen editieren",
+ 'ADMIN_DELETE_REFERRAL_DEPTHS_TITLE' => "Referral-Ebenen löschen",
+ 'ADMIN_REFERRA_LEVELS_NO_SELECTIONS' => "Sie haben keine Referral-Ebenen zum Editieren/Löschen ausgewählt.",
'ADMIN_ADD_DEPTH' => "Referral-Ebene hinzufügen",
- 'ADMIN_ENTER_REFERRAL_LEVEL' => "Referral-Ebene eingeben",
- 'ADMIN_ENTER_REFERRAL_PERCENTS' => "Prozentuale Vergütung",
- 'ADMIN_EDIT_DELETE_REFERRAL_DEPTH_TITLE' => "Referral-Ebenen editieren / löschen",
- 'REFERRAL_LEVEL' => "Referral-Ebene",
- 'REFERRAL_LEVEL_PERCENTS' => "Referral-Ebene (%)",
- 'REFERRAL_PERCENT' => "Prozentuale Vergütung",
- 'ADMIN_EDIT_LEVEL' => "Ref-Ebene editieren",
- 'ADMIN_DELETE_LEVEL' => "Ref-Ebene löschen",
+ 'ADMIN_EDIT_REFERRAL_DEPTHS' => "Referral-Ebenen editieren / löschen / hinzufügen",
+ 'ADMIN_REFERRAL_DEPTHS_ID' => "Ref-Level id",
+ 'ADMIN_ENTER_REFERRAL_LEVEL' => "Referral-Ebene eingeben:",
+ 'ADMIN_ENTER_REFERRAL_PERCENTS' => "Prozentuale Vergütung:",
+ 'REFERRAL_LEVEL' => "Referral-Ebene:",
+ 'REFERRAL_PERCENTS' => "Prozentuale Vergütung:",
+ 'MEMBER_REFERRAL_LEVEL_PERCENTS' => "Referral-Ebene (%):",
+ 'ADMIN_EDIT_REFDEPTHS_SUBJECT' => "Referral-Ebene geändert",
+ 'ADMIN_ADD_REFDEPTHS_SUBJECT' => "Referral-Ebene hinzugefügt",
+ 'ADMIN_EDIT_LEVEL_SUBMIT' => "Ref-Ebene editieren",
+ 'ADMIN_DELETE_LEVEL_SUBMIT' => "Ref-Ebene löschen",
+ 'ADMIN_CHANGE_REFERRAL_DEPTHS_SUBMIT' => "Referral-Ebenen ändern",
+
'GUEST_SURNAME' => "Vorname",
'GUEST_FAMILY' => "Nachname",
'GUEST_STREET_NR' => "Straße und Hausnummer",
'ADMIN_REMOVE_MAX_RECEIVE' => "Maximal-Werte löschen",
'ADMIN_MAX_RECEIVE_SAVED' => "Maximal-Werte gespeichert...",
'ADMIN_MAX_RECEIVE_DELETED' => "Maximal-Werte gelöscht...",
- 'ADMIN_EDIT_REFERRAL_DEPTHS_TITLE' => "Referral-Ebenen editieren",
- 'ADMIN_DELETE_REFERRAL_DEPTHS_TITLE' => "Referral-Ebenen löschen",
- 'ADMIN_CHANGE_REFERRAL_DEPTHS' => "Referral-Ebenen ändern",
- 'ADMIN_REFERRAL_DEPTHS_ID' => "Ref-Level id",
'ADMIN_CHANGE_REF' => "Ändern",
'ADMIN_REFERRAL_DEPTHS_SAVED' => "Referral-Ebenen gespeichert...",
'ADMIN_REFERRAL_DEPTHS_DELETED' => "Referral-Ebenen gelöscht...",
// Admin - List referrals
'ADMIN_LIST_USER_NO_REFERRALS' => "Das Mitglied <span class=\"data\">%s</span> hat in dieser Referral-Ebene keine Mitglieder geworben.",
- 'ADMIN_NO_REFERRAL_LEVELS' => "In Ihrem {?mt_word?} sind keine Referral-Ebenen eingerichtet! Ihre Mitglieder erhalten <u>keine</u> {?POINTS?} gutgeschrieben. Richten Sie mindestens Referral-Ebene 0 mit 100% Vergütung ein.",
+ 'ADMIN_REFERRAL_LEVELS_404' => "In Ihrem {?mt_word?} sind keine Referral-Ebenen eingerichtet! Ihre Mitglieder erhalten <u>keine</u> {?POINTS?} gutgeschrieben. Richten Sie mindestens Referral-Ebene 0 mit 100% Vergütung ein.",
'ADMIN_LIST_USER_NODATA' => "Das Mitglied <span class=\"data\">%s</span> wurde bereits gelöscht.",
// Footer navigation (e.g. installer)
unsetPostRequestElement('ok');
} // END - if
break;
-
- case 'ref':
- if (isGetRequestElementSet('do')) {
- if (((!isPostRequestElementSet('level')) || (!isPostRequestElementSet('percents'))) && (getRequestElement('do') == 'add')) {
- unsetPostRequestElement('ok');
- }
- }
- break;
} // END - switch
} else {
// Display overview
setGetRequestElement('sub', 'overview');
}
-if (isFormSent()) {
+// Is a form sent?
+if ((isFormSent('do_delete')) || (isFormSent('do_edit')) || (isFormSent('do_add'))) {
+ // Init SQLs
initSqls();
switch (getRequestElement('sub')) {
case 'points':
adminSaveSettingsFromPostData();
break;
- case 'ref':
- switch (getRequestElement('do')) {
- case 'add':
- addSql("INSERT INTO `{?_MYSQL_PREFIX?}_refdepths` (`level`, `percents`) VALUES ('".bigintval(postRequestElement('level'))."','".bigintval(postRequestElement('percents'))."')");
- break;
-
- case 'edit': // Change entries
- foreach (postRequestElement('level') as $id => $value) {
- // Secure id
- $id = bigintval($id);
-
- // Revert german commata
- setPostRequestElement('percents', array($id => convertCommaToDot(postRequestElement('percents', $id))));
-
- // Update entry
- SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_refdepths` SET `level`=%s,`percents`=%s WHERE `id`=%s LIMIT 1",
- array(bigintval($value), convertCommaToDot(postRequestElement('percents', $id)), $id), __FILE__, __LINE__);
- } // END - foreach
- $message = '{--ADMIN_REFERRAL_DEPTHS_SAVED--}';
- break;
-
- case 'delete':
- foreach (postRequestElement('id') as $id => $value) {
- SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_refdepths` WHERE `id`=%s LIMIT 1",
- array(bigintval($id)), __FILE__, __LINE__);
- } // END - foreach
- $message = '{--ADMIN_REFERRAL_DEPTHS_DELETED--}';
- break;
- } // END - switch
-
- // Update cache file
- rebuildCache('refdepths', 'refdepths');
- break;
-
case 'settings':
$REF = bigintval(postRequestElement('ref_payout'));
updateConfiguration(
// Load template
loadTemplate('admin_config_point_settings', FALSE, $content);
-} elseif (getRequestElement('sub') == 'ref') {
- // 12 3 32 2 3321
- if ((isFormSent('delete')) && (ifPostContainsSelections())) {
- // Delete entries
- $OUT = '';
- foreach (postRequestElement('sel') as $id => $value) {
- $result = SQL_QUERY_ESC("SELECT `id`, `level`, `percents` FROM `{?_MYSQL_PREFIX?}_refdepths` WHERE `id`=%s LIMIT 1",
- array(bigintval($id)), __FILE__, __LINE__);
- $content = SQL_FETCHARRAY($result);
- SQL_FREERESULT($result);
-
- // Load row template and switch color
- $OUT .= loadTemplate('admin_delete_reflevel_row', TRUE, $content);
- } // END - foreach
-
- // Load main template
- loadTemplate('admin_delete_reflevel', FALSE, $OUT);
- } elseif ((isFormSent('edit')) && (ifPostContainsSelections())) {
- // Edit entries
- $OUT = '';
- foreach (postRequestElement('sel') as $id => $value) {
- $result = SQL_QUERY_ESC("SELECT `id`, `level`, `percents` FROM `{?_MYSQL_PREFIX?}_refdepths` WHERE `id`=%s LIMIT 1",
- array(bigintval($id)), __FILE__, __LINE__);
- $content = SQL_FETCHARRAY($result);
- SQL_FREERESULT($result);
-
- // Load row template and switch color
- $OUT .= loadTemplate('admin_edit_reflevel_row', TRUE, $content);
- } // END - foreach
-
- // Load main template
- loadTemplate('admin_edit_reflevel', FALSE, $OUT);
- } else {
- // Referral levels
- $result = SQL_QUERY("SELECT `id`, `level`, `percents` FROM `{?_MYSQL_PREFIX?}_refdepths` ORDER BY `level` ASC", __FILE__, __LINE__);
- if (!SQL_HASZERONUMS($result)) {
- // Make referral levels editable and deletable
- $OUT = '';
-
- // List already existing categories for editing
- while ($content = SQL_FETCHARRAY($result)) {
- // Load row template and switch color
- $OUT .= loadTemplate('admin_list_reflevel_row', TRUE, $content);
- } // END - while
-
- // Free memory
- SQL_FREERESULT($result);
-
- // Load main template
- loadTemplate('admin_list_reflevel', FALSE, $OUT);
- }
-
- // Form for adding new referral levels
- loadTemplate('admin_add_reflevel');
- }
} elseif (getRequestElement('sub') == 'points') {
// Load template
loadTemplate('admin_config_sub_points');
--- /dev/null
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL Start: 11/24/2012 *
+ * =================== Last change: 11/24/2012 *
+ * *
+ * -------------------------------------------------------------------- *
+ * File : what-list_referral_levels.php *
+ * -------------------------------------------------------------------- *
+ * Short description : List/add/edit/delete referral levels *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung : Auflisten/hinzufuegen/editieren/loeschen v. R.L. *
+ * -------------------------------------------------------------------- *
+ * $Revision:: $ *
+ * $Date:: $ *
+ * $Tag:: 0.2.1-FINAL $ *
+ * $Author:: $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team *
+ * For more information visit: http://mxchange.org *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the Free Software *
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, *
+ * MA 02110-1301 USA *
+ ************************************************************************/
+
+// Some security stuff...
+if ((!defined('__SECURITY')) || (!isAdmin())) {
+ die();
+} // END - if
+
+// Add description as navigation point
+addYouAreHereLink('admin', __FILE__);
+
+// By default show the list...
+$show = TRUE;
+
+// Check for 'id' element
+if ((!isFormSent('add')) && (countRequestPost() > 0) && (!ifPostContainsSelections('id'))) {
+ // Not found so output message
+ displayMessage('{--ADMIN_REFERRA_LEVELS_NO_SELECTIONS--}');
+
+ // Abort here
+ return;
+} // END - if
+
+// Add/edit or delete button hit?
+if (isFormSent('add')) {
+ // Add it
+ doGenericXmlTemplateCallback('admin_add_do_referral_levels');
+} elseif (isFormSent('edit')) {
+ // Show entries for editing
+ doGenericXmlTemplateCallback('admin_edit_show_referral_levels');
+
+ // Do not show the list of URLs after this template
+ $show = FALSE;
+} elseif (isFormSent('do_edit')) {
+ // Change data of entries
+ doGenericXmlTemplateCallback('admin_edit_do_referral_levels');
+} elseif (isFormSent('delete')) {
+ // Show entries for deletion
+ doGenericXmlTemplateCallback('admin_delete_show_referral_levels');
+
+ // Do not show the list of URLs after this template
+ $show = FALSE;
+} elseif (isFormSent('do_delete')) {
+ // Remove entries from database
+ doGenericXmlTemplateCallback('admin_delete_do_referral_levels');
+}
+
+// Show entries?
+if ($show === FALSE) {
+ // No, a form has already been show
+ return FALSE;
+} // END - if
+
+// List all referral_levels
+doGenericXmlTemplateCallback('admin_list_referral_levels');
+
+// Form for adding new referral levels
+loadTemplate('admin_add_referral_level');
+
+// [EOF]
+?>
// Is columnIndex set?
if (!is_null($columnIndex)) {
// Check conditions
- //* DEBUG: */ die('columnIndex=<pre>'.print_r($columnIndex,TRUE).'</pre>'.debug_get_printable_backtrace());
+ //* DEBUG: */ die('columnName=<pre>'.print_r($columnName,TRUE).'</pre>columnIndex=<pre>'.print_r($columnIndex,TRUE).'</pre>'.debug_get_printable_backtrace());
assert((is_array($columnName)) && (is_string($columnIndex)) && (isset($columnName[$columnIndex])));
// Then use that index "blindly"
$sqlColumns[$key] = SQL_ESCAPE($columnName);
$sqlValues[$key] = SQL_ESCAPE(postRequestElement($columnName));
+ // Search for it
+ $search = key(search_array($columns, 'column', $columnName));
+
// Try to handle call-back functions and/or extra values on the list
- $sqlValues[$key] = doHandleExtraValues($filterFunctions, $extraValues, $key . '_list', $sqlValues[$key], $userIdColumn, key(search_array($columns, 'column', $key)));
+ //* DEBUG: */ outputHtml($key . '/' . $columnName . '=<pre>'.print_r($columns,true).'</pre>search_array()=<pre>'.print_r(search_array($columns, 'column', $columnName), true).'</pre>');
+ //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'sqlValues[' . $key . '(' . gettype($key) . ')][' . gettype($sqlValues[$key]) . ']=' . $sqlValues[$key] . ' - BEFORE!');
+ if (is_string($key)) {
+ // Key is a string
+ $sqlValues[$key] = doHandleExtraValues($filterFunctions, $extraValues, $key . '_list', $sqlValues[$key], array(''), $search);
+ } else {
+ // Is a number
+ $sqlValues[$key] = doHandleExtraValues($filterFunctions, $extraValues, $key, $sqlValues[$key], array(''), $search);
+ }
// Is the value not a number?
- //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'sqlValues[' . $key . '][' . gettype($sqlValues[$key]) . ']=' . $sqlValues[$key]);
+ //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'sqlValues[' . $key . '(' . gettype($key) . ')][' . gettype($sqlValues[$key]) . ']=' . $sqlValues[$key] . ' - AFTER!');
if (($sqlValues[$key] != 'NULL') && (is_string($sqlValues[$key]))) {
// Add quotes around it
$sqlValues[$key] = chr(39) . $sqlValues[$key] . chr(39);
if (is_array($array)) {
// Search for whole array
foreach ($array as $idx => $dummy) {
- //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'key=' . $key . ',value=' . $value . ',idx=' . $idx);
+ //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'key=' . $key . ',value=' . $value . ',idx=' . $idx . ',parentIndex[' . gettype($parentIndex) . ']=' . $parentIndex);
+ //* DEBUG: */ print 'idx=' . $idx . ',parentIndex[' . gettype($parentIndex) . ']=' . $parentIndex . ',key=' . $key . ',value=' . $value . ',array=<pre>'.print_r($array, TRUE).'</pre>';
// Is dummy an array?
- if (is_array($dummy)) {
+ if ((is_array($dummy)) && ((is_null($parentIndex)) || ($parentIndex === $value))) {
// Then search again
$subResult = search_array($dummy, $key, $value, $idx);
//* DEBUG: */ print 'subResult=<pre>' . print_r($subResult, TRUE).'</pre>';
// And merge both
$results = merge_array($results, $subResult, TRUE);
- } elseif ((isset($array[$key])) && ($array[$key] == $value)) {
+ } elseif (($key == $idx) && (isset($array[$key])) && ($array[$key] === $value)) {
// Is found, so add it
$results[$parentIndex] = $array;
+ //* DEBUG: */ print 'ARRAY: key=' . $key . ',idx=' . $idx . ',value=' . $value . ',parentIndex[' . gettype($parentIndex) . ']=' . $parentIndex . ',array=<pre>' . print_r($array, TRUE).'</pre>';
}
} // END - foreach
} // END - if
--- /dev/null
+Hallo Administrator,
+
+es wurde soeben eine neue Referral-Ebene hinzugefügt.
+
+Hier sind alle Daten dazu:
+------------------------------------------
+{--ID_SELECT--} $content[id]
+------------------------------------------
+{--REFERRAL_LEVEL--} {%pipe,translateComma=$content[level]%}
+------------------------------------------
+{--REFERRAL_PERCENTS--} {%pipe,translateComma=$content[percents]%}%
+------------------------------------------
+
+Mit freundlichen Grüßen,
+ Ihr {?MAIN_TITLE?} Script
+
+{?URL?}/admin.php
--- /dev/null
+Hallo Administrator,
+
+es wurde soeben eine Referral-Ebene geändert.
+
+Hier sind alle Daten dazu:
+------------------------------------------
+{--ID_SELECT--} $content[id]
+------------------------------------------
+{--REFERRAL_LEVEL--} {%pipe,translateComma=$content[level]%}
+------------------------------------------
+{--REFERRAL_PERCENTS--} {%pipe,translateComma=$content[percents]%}%
+------------------------------------------
+
+Mit freundlichen Grüßen,
+ Ihr {?MAIN_TITLE?} Script
+
+{?URL?}/admin.php
--- /dev/null
+<div align="center">
+{%form,formMethodPost=modules.php?module=admin&what=list_referral_levels&do=do_add%}
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
+<tr>
+ <td class="table_header bottom" colspan="2" align="center">
+ <strong>{--ADMIN_ADD_NEW_REFERRAL_DEPTH_TITLE--}</strong>
+ </td>
+</tr>
+
+<tr>
+ <td align="right" width="50%">{--ADMIN_ENTER_REFERRAL_LEVEL--}</td>
+ <td width="50%">
+ <input type="text" class="form_field" name="level" size="3" maxlength="3" />
+ </td>
+</tr>
+
+<tr>
+ <td class="bottom" align="right" width="200">{--ADMIN_ENTER_REFERRAL_PERCENTS--}</td>
+ <td class="bottom">
+ <input type="text" class="form_field" name="percents" size="3" maxlength="3" />%
+ </td>
+</tr>
+
+<tr>
+ <td class="table_footer" colspan="2" align="center">
+ <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+ <input type="submit" class="form_submit" name="add" value="{--ADMIN_ADD_DEPTH--}" />
+ </td>
+</tr>
+</table>
+{%form_close%}
+</div>
-<div align="center">
-{%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">
- <strong>{--ADMIN_ADD_NEW_REFERRAL_DEPTH_TITLE--}</strong>
- </td>
- </tr>
- <tr>
- <td align="right" width="200">{--ADMIN_ENTER_REFERRAL_LEVEL--}:</td>
- <td>
- <input type="text" class="form_field" name="level" size="3" maxlength="3" />
- </td>
- </tr>
- <tr>
- <td class="bottom" align="right" width="200">{--ADMIN_ENTER_REFERRAL_PERCENTS--}:</td>
- <td class="bottom">
- <input type="text" class="form_field" name="percents" size="3" maxlength="3" />%
- </td>
- </tr>
- <tr>
- <td class="table_footer" colspan="2" align="center">
- <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
- <input type="submit" class="form_submit" name="ok" value="{--ADMIN_ADD_DEPTH--}" />
- </td>
- </tr>
-</table>
-{%form_close%}
-</div>
+<!-- @DEPRECATED //-->
</td>
</tr>
<tr>
- <td width="30" class="header_column bottom right" align="center">
+ <td width="30" class="header_column bottom right" align="center" width="30">
<strong>{--ID_SELECT--}</strong>
</td>
<td width="235" class="header_column bottom right" align="center">
<div align="center">
{%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">
- <strong>{--ADMIN_PAYOUT_EDIT_DELETE_TITLE--}</strong></td>
- </tr>
- <tr>
- <td width="30" class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
- <td width="100" class="header_column bottom right" align="center"><strong>{--ADMIN_PAYOUT_FROM--}</strong></td>
- <td width="150" class="header_column bottom right" align="center"><strong>{--ADMIN_PAYOUT_TITLE--}</strong></td>
- <td width="150" class="header_column bottom right" align="center"><strong>{--ADMIN_PAYOUT_RATE2--}</strong></td>
- <td width="150" class="header_column bottom" align="center"><strong>{--ADMIN_PAYOUT_MIN_POINTS2--}</strong></td>
- </tr>
- $content
- <tr>
- <td colspan="5" class="table_footer">
- <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
- <input type="submit" class="form_submit" name="edit" value="{--ADMIN_ACTION_EDIT_SUBMIT--}" />
- <input type="submit" class="form_delete" name="delete" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
- </td>
- </tr>
+<tr>
+ <td colspan="5" align="center" class="table_header bottom">
+ <strong>{--ADMIN_PAYOUT_EDIT_DELETE_TITLE--}</strong></td>
+</tr>
+
+<tr>
+ <td width="30" class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+ <td width="100" class="header_column bottom right" align="center"><strong>{--ADMIN_PAYOUT_FROM--}</strong></td>
+ <td width="150" class="header_column bottom right" align="center"><strong>{--ADMIN_PAYOUT_TITLE--}</strong></td>
+ <td width="150" class="header_column bottom right" align="center"><strong>{--ADMIN_PAYOUT_RATE2--}</strong></td>
+ <td width="150" class="header_column bottom" align="center"><strong>{--ADMIN_PAYOUT_MIN_POINTS2--}</strong></td>
+</tr>
+
+$content
+
+<tr>
+ <td colspan="5" class="table_footer">
+ <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
+ <input type="submit" class="form_submit" name="edit" value="{--ADMIN_ACTION_EDIT_SUBMIT--}" />
+ <input type="submit" class="form_delete" name="delete" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
+ </td>
+</tr>
</table>
{%form_close%}
</div>
<strong><big>·</big></strong> <a href="{%url=modules.php?module=admin&what=config_points&sub=points%}">{--ADMIN_EDIT_POINTS--}</a>
</div>
-<div align="left" style="padding-left:5px">
- <strong><big>·</big></strong> <a href="{%url=modules.php?module=admin&what=config_points&sub=ref%}">{--ADMIN_EDIT_REFERRAL_DEPTHS--}</a>
-</div>
-
<div align="left" style="padding-left:5px">
<strong><big>·</big></strong> <a href="{%url=modules.php?module=admin&what=config_points&sub=settings%}">{--ADMIN_EDIT_POINT_SETTINGS--}</a>
</div>
</td>
</tr>
<tr>
- <td width="20" colspan="2" align="center" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
- <td width="120" align="center" class="header_column bottom right"><strong>{--ADMIN_LIST_BANK_PACKAGES_TITLE--}:</strong></td>
+ <td width="30" colspan="2" align="center" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
+ <td width="115" align="center" class="header_column bottom right"><strong>{--ADMIN_LIST_BANK_PACKAGES_TITLE--}:</strong></td>
<td width="360" align="center" class="header_column bottom right"><strong>{--ADMIN_LIST_BANK_PACKAGES_DESCR--}:</strong></td>
- <td width="120" align="center" class="header_column bottom"><strong>{--ADMIN_LIST_BANK_PACKAGES_ACCOUNT_FEE--}</strong></td>
+ <td width="115" align="center" class="header_column bottom"><strong>{--ADMIN_LIST_BANK_PACKAGES_ACCOUNT_FEE--}</strong></td>
</tr>
$content
<tr>
</td>
</tr>
<tr>
- <td align="center" class="header_column bottom right" width="20"><strong>{--ID_SELECT--}</strong></td>
- <td align="center" class="header_column bottom right" width="160"><strong>{--ADMIN_ADMINS_CONTACT--}:</strong></td>
- <td align="center" class="header_column bottom right" width="160"><strong>{--ADMIN_ADMINS_EMAIL--}:</strong></td>
+ <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
+ <td align="center" class="header_column bottom right" width="155"><strong>{--ADMIN_ADMINS_CONTACT--}:</strong></td>
+ <td align="center" class="header_column bottom right" width="155"><strong>{--ADMIN_ADMINS_EMAIL--}:</strong></td>
<td align="center" class="header_column bottom right" width="160"><strong>{--ADMIN_ADMINS_ACCESS_MODE--}:</strong></td>
<td align="center" class="header_column bottom" width="160"><strong>{--ADMIN_LA_MODE--}:</strong></td>
</tr>
<div align="center">
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="99%">
- <tr>
- <td class="table_header bottom" colspan="5" align="center" height="35">
- {--ADMIN_EMAIL_DELETED--}
- </td>
- </tr>
- <tr>
- <td class="bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
- <td class="bottom right" align="center"><strong>{--EMAIL_SUBJECT--}</strong></td>
- <td class="bottom right" align="center"><strong>{--EMAIL_URL--}</strong></td>
- <td class="bottom right" align="center"><strong>{--EMAIL_TIMESTAMP--}</strong></td>
- <td class="bottom" align="center"><strong>{--EMAIL_DELETE_COUNT--}</strong></td>
- </tr>
- <tr>
- <td class="right" align="center">$content[id]</td>
- <td class="right" align="center">$content[subject]</td>
- <td class="right" align="center">
- {%template,DereferrerUrl=$content[url]%}
- </td>
- <td class="right" align="center">$content[timestamp]</td>
- <td align="center">$content[count]</td>
- </tr>
+<tr>
+ <td class="table_header bottom" colspan="5" align="center" height="35">
+ {--ADMIN_EMAIL_DELETED--}
+ </td>
+</tr>
+
+<tr>
+ <td class="bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
+ <td class="bottom right" align="center"><strong>{--EMAIL_SUBJECT--}</strong></td>
+ <td class="bottom right" align="center"><strong>{--EMAIL_URL--}</strong></td>
+ <td class="bottom right" align="center"><strong>{--EMAIL_TIMESTAMP--}</strong></td>
+ <td class="bottom" align="center"><strong>{--EMAIL_DELETE_COUNT--}</strong></td>
+</tr>
+
+<tr>
+ <td class="right" align="center">$content[id]</td>
+ <td class="right" align="center">$content[subject]</td>
+ <td class="right" align="center">
+ {%template,DereferrerUrl=$content[url]%}
+ </td>
+ <td class="right" align="center">$content[timestamp]</td>
+ <td align="center">$content[count]</td>
+</tr>
</table>
</div>
<div align="center">
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="99%">
- <tr>
- <td class="table_header" colspan="8" align="center" height="35">
- {--ADMIN_EMAIL_DELETED--}
- </td>
- </tr>
- <tr>
- <td class="top right" align="center"><strong>{--ID_SELECT--}</strong></td>
- <td class="top right" align="center"><strong>{--EMAIL_SENDER--}</strong></td>
- <td class="top right" align="center"><strong>{--EMAIL_SUBJECT--}</strong></td>
- <td class="top right" align="center"><strong>{--EMAIL_URL--}</strong></td>
- <td class="top right" align="center"><strong>{--EMAIL_TIMESTAMP--}</strong></td>
- </tr>
- <tr>
- <td class="top right" align="center">$content[id]</td>
- <td class="top right" align="center">{%pipe,generateUserProfileLink=$content[sender]%}</td>
- <td class="top right" align="center">$content[subject]</td>
- <td class="top right" align="center">
- {%template,DereferrerUrl=$content[url]%}
- </td>
- <td class="top" align="center">$content[timestamp]</td>
- </tr>
+<tr>
+ <td class="table_header" colspan="8" align="center" height="35">
+ {--ADMIN_EMAIL_DELETED--}
+ </td>
+</tr>
+
+<tr>
+ <td class="top right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
+ <td class="top right" align="center"><strong>{--EMAIL_SENDER--}</strong></td>
+ <td class="top right" align="center"><strong>{--EMAIL_SUBJECT--}</strong></td>
+ <td class="top right" align="center"><strong>{--EMAIL_URL--}</strong></td>
+ <td class="top right" align="center"><strong>{--EMAIL_TIMESTAMP--}</strong></td>
+</tr>
+
+<tr>
+ <td class="top right" align="center">$content[id]</td>
+ <td class="top right" align="center">{%pipe,generateUserProfileLink=$content[sender]%}</td>
+ <td class="top right" align="center">$content[subject]</td>
+ <td class="top right" align="center">
+ {%template,DereferrerUrl=$content[url]%}
+ </td>
+ <td class="top" align="center">$content[timestamp]</td>
+</tr>
</table>
</div>
<div align="center">
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="99%">
- <tr>
- <td class="table_header bottom" colspan="5" align="center" height="35">
- {--ADMIN_NOTIFICATION_DELETED_TITLE--}
- </td>
- </tr>
- <tr>
- <td class="bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
- <td class="bottom right" align="center"><strong>{--EMAIL_SUBJECT--}</strong></td>
- <td class="bottom right" align="center"><strong>{--EMAIL_URL--}</strong></td>
- <td class="bottom right" align="center"><strong>{--EMAIL_TIMESTAMP--}</strong></td>
- <td class="bottom" align="center"><strong>{--EMAIL_DELETE_COUNT--}</strong></td>
- </tr>
- <tr>
- <td class="right" align="center">$content[id]</td>
- <td class="right" align="center">$content[subject]</td>
- <td class="right" align="center">{%template,DereferrerUrl=$content[url]%}</td>
- <td class="right" align="center">$content[timestamp]</td>
- <td align="center">$content[count]</td>
- </tr>
+<tr>
+ <td class="table_header bottom" colspan="5" align="center" height="35">
+ {--ADMIN_NOTIFICATION_DELETED_TITLE--}
+ </td>
+</tr>
+
+<tr>
+ <td class="bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
+ <td class="bottom right" align="center"><strong>{--EMAIL_SUBJECT--}</strong></td>
+ <td class="bottom right" align="center"><strong>{--EMAIL_URL--}</strong></td>
+ <td class="bottom right" align="center"><strong>{--EMAIL_TIMESTAMP--}</strong></td>
+ <td class="bottom" align="center"><strong>{--EMAIL_DELETE_COUNT--}</strong></td>
+</tr>
+
+<tr>
+ <td class="right" align="center">$content[id]</td>
+ <td class="right" align="center">$content[subject]</td>
+ <td class="right" align="center">{%template,DereferrerUrl=$content[url]%}</td>
+ <td class="right" align="center">$content[timestamp]</td>
+ <td align="center">$content[count]</td>
+</tr>
</table>
</div>
<div align="center">
{%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">
- <strong>{--ADMIN_REMOVING_THESE_EXTENSIONS--}</strong>
- </td>
- </tr>
- <tr>
- <td align="center" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
- <td align="center" class="header_column bottom right"><strong>{--ADMIN_EXTENSION_NAME--}</strong></td>
- <td align="center" class="header_column bottom"><strong>{--ADMIN_EXTENSION_VERSION--}</strong></td>
- </tr>
- $content
- <tr>
- <td colspan="3" class="table_footer">
- <input type="submit" name="do_delete" class="form_delete" value="{--ADMIN_REMOVE_EXTENSIONS--}" />
- </td>
- </tr>
+<tr>
+ <td colspan="3" align="center" class="table_header">
+ <strong>{--ADMIN_REMOVING_THESE_EXTENSIONS--}</strong>
+ </td>
+</tr>
+
+<tr>
+ <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
+ <td align="center" class="header_column bottom right"><strong>{--ADMIN_EXTENSION_NAME--}</strong></td>
+ <td align="center" class="header_column bottom"><strong>{--ADMIN_EXTENSION_VERSION--}</strong></td>
+</tr>
+
+$content
+
+<tr>
+ <td colspan="3" class="table_footer">
+ <input type="submit" name="do_delete" class="form_delete" value="{--ADMIN_REMOVE_EXTENSIONS--}" />
+ </td>
+</tr>
</table>
{%form_close%}
</div>
<div align="center">
{%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">
- <strong>{--ADMIN_DELETE_RALLYE_PRICES_TITLE--}</strong>
- </td>
- </tr>
- <tr>
- <td align="center" width="10" class="header_column bottom right">
- <strong>{--ID_SELECT--}</strong>
- </td>
- <td align="center" width="50" class="header_column bottom right">
- <strong>{--RALLYE_LEVEL--}:</strong>
- </td>
- <td align="center" width="200" class="header_column bottom right">
- <strong>{--ADMIN_RALLYE_PRICE_POINTS--}:</strong>
- </td>
- <td align="center" width="320" class="header_column bottom">
- <strong>{--ADMIN_RALLYE_PRICE_INFO--}:</strong>
- </td>
- </tr>
- $content[rows]
- <tr>
- <td colspan="4" class="table_footer">
- <input type="submit" name="do_delete" class="form_delete" value="{--ADMIN_REMOVE_RALLYE_PRICES_SUBMIT--}" />
- </td>
- </tr>
+<tr>
+ <td colspan="4" align="center" class="table_header">
+ <strong>{--ADMIN_DELETE_RALLYE_PRICES_TITLE--}</strong>
+ </td>
+</tr>
+
+<tr>
+ <td align="center" width="10" class="header_column bottom right">
+ <strong>{--ID_SELECT--}</strong>
+ </td>
+ <td align="center" width="50" class="header_column bottom right">
+ <strong>{--RALLYE_LEVEL--}:</strong>
+ </td>
+ <td align="center" width="200" class="header_column bottom right">
+ <strong>{--ADMIN_RALLYE_PRICE_POINTS--}:</strong>
+ </td>
+ <td align="center" width="320" class="header_column bottom">
+ <strong>{--ADMIN_RALLYE_PRICE_INFO--}:</strong>
+ </td>
+</tr>
+
+$content[rows]
+
+<tr>
+ <td colspan="4" class="table_footer">
+ <input type="submit" name="do_delete" class="form_delete" value="{--ADMIN_REMOVE_RALLYE_PRICES_SUBMIT--}" />
+ </td>
+</tr>
</table>
{%form_close%}
</div>
<div align="center">
-{%form,formMethodPost=modules.php?module=admin&what=config_points&sub=ref&do=del%}
+{%form,formMethodPost=modules.php?module=admin&what=list_referral_level&do=del%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" class="bottom table_header">
$content
<tr>
<td align="center" class="table_footer">
- <input type="submit" name="ok" class="form_delete" value="{--ADMIN_ACTION_REMOVE_SUBMIT--}" />
+ <input type="submit" name="do_delete" class="form_delete" value="{--ADMIN_ACTION_REMOVE_SUBMIT--}" />
</td>
</tr>
</table>
<strong>{--ADMIN_DELETE_USER_SUBID_TITLE--}</strong>
</td>
</tr>
+
<tr>
- <td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+ <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
<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[rows]
+
<tr>
<td class="table_footer" colspan="3">
<input type="hidden" name="userid" value="{%get,bigintval=userid%}" />
</td>
</tr>
<tr>
- <td align="center" class="header_column bottom right" width="20"><strong>{--ID_SELECT--}</strong></td>
- <td align="center" class="header_column bottom right" width="160"><strong>{--ADMIN_ADMINS_CONTACT--}:</strong></td>
- <td align="center" class="header_column bottom right" width="160"><strong>{--ADMIN_ADMINS_EMAIL--}:</strong></td>
+ <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
+ <td align="center" class="header_column bottom right" width="155"><strong>{--ADMIN_ADMINS_CONTACT--}:</strong></td>
+ <td align="center" class="header_column bottom right" width="155"><strong>{--ADMIN_ADMINS_EMAIL--}:</strong></td>
<td align="center" class="header_column bottom right" width="240"><strong>{--ADMIN_ADMINS_PASSWORD--}:</strong></td>
<td align="center" class="header_column bottom right" width="100"><strong>{--ADMIN_ADMINS_ACCESS_MODE--}:</strong></td>
<td align="center" class="header_column bottom" width="100"><strong>{--ADMIN_LA_MODE--}:</strong></td>
<div align="center">
{%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">
- <strong>{--ADMIN_ADMINS_EDIT_ACLS_TITLE--}:</strong>
- </td>
- </tr>
- <tr>
- <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
- <td align="center" class="header_column bottom right" width="120"><strong>{--ADMIN_ADMINS_LOGIN_ID--}:</strong></td>
- <td align="center" class="header_column bottom right" width="204"><strong>{--ADMIN_MENU_ACTION--}:</strong></td>
- <td align="center" class="header_column bottom right" width="204"><strong>{--ADMIN_MENU_WHAT--}:</strong></td>
- <td align="center" class="header_column bottom" width="120"><strong>{--ADMIN_ADMINS_ACCESS_MODE--}:</strong></td>
- </tr>
- $content
- <tr>
- <td colspan="5" class="table_footer">
- <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
- <input type="submit" class="form_submit" name="do_edit" value="{--ADMIN_ADMINS_CHANGE_ACLS_SUBMIT--}" />
- </td>
- </tr>
+<tr>
+ <td colspan="5" align="center" class="table_header bottom">
+ <strong>{--ADMIN_ADMINS_EDIT_ACLS_TITLE--}:</strong>
+ </td>
+</tr>
+
+<tr>
+ <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
+ <td align="center" class="header_column bottom right" width="120"><strong>{--ADMIN_ADMINS_LOGIN_ID--}:</strong></td>
+ <td align="center" class="header_column bottom right" width="204"><strong>{--ADMIN_MENU_ACTION--}:</strong></td>
+ <td align="center" class="header_column bottom right" width="204"><strong>{--ADMIN_MENU_WHAT--}:</strong></td>
+ <td align="center" class="header_column bottom" width="120"><strong>{--ADMIN_ADMINS_ACCESS_MODE--}:</strong></td>
+</tr>
+
+$content
+
+<tr>
+ <td colspan="5" class="table_footer">
+ <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+ <input type="submit" class="form_submit" name="do_edit" value="{--ADMIN_ADMINS_CHANGE_ACLS_SUBMIT--}" />
+ </td>
+</tr>
</table>
{%form_close%}
</div>
<div align="center">
{%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">
- <strong>{--ADMIN_PAYOUT_EDIT_TITLE--}</strong>
- </td>
- </tr>
- <tr>
- <td width="20" class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
- <td width="200" class="header_column bottom right" align="center"><strong>{--ADMIN_PAYOUT_TITLE--}</strong></td>
- <td width="150" class="header_column bottom right" align="center"><strong>{--ADMIN_PAYOUT_RATE2--}</strong></td>
- <td width="100" class="header_column bottom right" align="center"><strong>{--ADMIN_PAYOUT_MIN_POINTS2--}</strong></td>
- <td width="180" class="header_column bottom" align="center"><strong>{--ADMIN_PAYOUT_ALLOW_URLS--}</strong></td>
- </tr>
- $content
- <tr>
- <td colspan="5" class="table_footer">
- <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
- <input type="submit" class="form_submit" name="do_edit" value="{--ADMIN_ACTION_EDIT_SUBMIT--}" />
- </td>
- </tr>
+<tr>
+ <td colspan="5" align="center" class="table_header bottom">
+ <strong>{--ADMIN_PAYOUT_EDIT_TITLE--}</strong>
+ </td>
+</tr>
+
+<tr>
+ <td width="30" class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+ <td width="200" class="header_column bottom right" align="center"><strong>{--ADMIN_PAYOUT_TITLE--}</strong></td>
+ <td width="145" class="header_column bottom right" align="center"><strong>{--ADMIN_PAYOUT_RATE2--}</strong></td>
+ <td width="105" class="header_column bottom right" align="center"><strong>{--ADMIN_PAYOUT_MIN_POINTS2--}</strong></td>
+ <td width="180" class="header_column bottom" align="center"><strong>{--ADMIN_PAYOUT_ALLOW_URLS--}</strong></td>
+</tr>
+
+$content
+
+<tr>
+ <td colspan="5" class="table_footer">
+ <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+ <input type="submit" class="form_submit" name="do_edit" value="{--ADMIN_ACTION_EDIT_SUBMIT--}" />
+ </td>
+</tr>
</table>
{%form_close%}
</div>
--- /dev/null
+<div align="center">
+{%form,formMethodPost=modules.php?module=admin&what=list_referral_levels&do=edit%}
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="550">
+ <tr>
+ <td align="center" colspan="2" class="bottom table_header">
+ <strong>{--ADMIN_EDIT_REFERRAL_DEPTHS_TITLE--}:</strong>
+ </td>
+ </tr>
+ $content
+ <tr>
+ <td align="center" colspan="2" class="table_footer">
+ <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+ <input type="submit" class="form_submit" name="do_edit" value="{--ADMIN_CHANGE_REFERRAL_DEPTHS_SUBMIT--}" />
+ </td>
+ </tr>
+</table>
+{%form_close%}
+</div>
--- /dev/null
+<tr>
+ <td colspan="2" align="center" class="table_header bottom">
+ <strong>{--ADMIN_REFERRAL_DEPTHS_ID--} $content[id]:</strong>
+ <input type="hidden" name="id[$content[id]]" value="1" />
+ </td>
+</tr>
+
+<tr>
+ <td class="{%template,ColorSwitch%}" align="right">{--REFERRAL_LEVEL--}</td>
+ <td class="{%template,ColorSwitch%}" align="left">
+ <input type="text" class="form_field" name="level[$content[id]]" value="$content[level]" size="3" maxlength="5" />
+ </td>
+</tr>
+
+<tr>
+ <td class="{%template,ColorSwitch%} bottom" align="right">{--REFERRAL_PERCENTS--}</td>
+ <td class="{%template,ColorSwitch%} bottom" align="left">
+ <input type="text" class="form_field" name="percents[$content[id]]" value="{%pipe,translateComma=$content[percents]%}" size="3" maxlength="5" />%
+ </td>
+</tr>
-<div align="center">
-{%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">
- <strong>{--ADMIN_EDIT_REFERRAL_DEPTHS_TITLE--}:</strong>
- </td>
- </tr>
- $content
- <tr>
- <td align="center" colspan="2" class="table_footer">
- <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
- <input type="submit" class="form_submit" name="ok" value="{--ADMIN_CHANGE_REFERRAL_DEPTHS--}" />
- </td>
- </tr>
-</table>
-{%form_close%}
-</div>
+<!-- @DEPRECATED //-->
-<tr>
- <td colspan="2" align="center" class="table_header bottom">
- <strong>{--ADMIN_REFERRAL_DEPTHS_ID--} $content[id]:</strong>
- </td>
-</tr>
-
-<tr>
- <td class="{%template,ColorSwitch%}" align="right">{--REFERRAL_LEVEL--}: </td>
- <td class="{%template,ColorSwitch%}" align="left">
- <input type="text" class="form_field" name="level[$content[id]]" value="$content[level]" size="3" maxlength="5" />
- </td>
-</tr>
-
-<tr>
- <td class="{%template,ColorSwitch%} bottom" align="right">{--REFERRAL_PERCENT--}: </td>
- <td class="{%template,ColorSwitch%} bottom" align="left">
- <input type="text" class="form_field" name="perc[$content[id]]" value="{%pipe,translateComma=$content[percents]%}" size="3" maxlength="5" />%
- </td>
-</tr>
+<!-- @DEPRECATED //-->
</td>
</tr>
<tr>
- <td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+ <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
<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>
</td>
</tr>
<tr>
- <td align="center" class="header_column bottom right" width="20"><strong>{--ID_SELECT--}</strong></td>
- <td align="center" class="header_column bottom right" width="160"><strong>{--ADMIN_ADMINS_CONTACT--}:</strong></td>
+ <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
+ <td align="center" class="header_column bottom right" width="155"><strong>{--ADMIN_ADMINS_CONTACT--}:</strong></td>
<td align="center" class="header_column bottom right" width="300"><strong>{--ADMIN_ADMINS_EMAIL--}:</strong></td>
- <td align="center" class="header_column bottom right" width="160"><strong>{--ADMIN_ADMINS_ACCESS_MODE--}:</strong></td>
+ <td align="center" class="header_column bottom right" width="155"><strong>{--ADMIN_ADMINS_ACCESS_MODE--}:</strong></td>
<td align="center" class="header_column bottom" width="160"><strong>{--ADMIN_LA_MODE--}:</strong></td>
</tr>
$content
<div align="center">
{%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">
- <strong>{--ADMIN_ADMINS_LIST_ACLS--}:</strong>
- </td>
- </tr>
- <tr>
- <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
- <td align="center" class="header_column bottom right" width="120"><strong>{--ADMIN_ADMINS_LOGIN_ID--}:</strong></td>
- <td align="center" class="header_column bottom right" width="204"><strong>{--ADMIN_MENU_ACTION--}:</strong></td>
- <td align="center" class="header_column bottom right" width="204"><strong>{--ADMIN_MENU_WHAT--}:</strong></td>
- <td align="center" class="header_column bottom" width="120"><strong>{--ADMIN_ADMINS_ACCESS_MODE--}:</strong></td>
- </tr>
- $content
- <tr>
- <td colspan="5" class="table_footer">
- <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
- <input type="submit" class="form_submit" name="edit" value="{--ADMIN_ACTION_EDIT_SUBMIT--}" />
- <input type="submit" class="form_delete" name="delete" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
- </td>
- </tr>
+<tr>
+ <td colspan="5" align="center" class="table_header bottom">
+ <strong>{--ADMIN_ADMINS_LIST_ACLS--}:</strong>
+ </td>
+</tr>
+
+<tr>
+ <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
+ <td align="center" class="header_column bottom right" width="120"><strong>{--ADMIN_ADMINS_LOGIN_ID--}:</strong></td>
+ <td align="center" class="header_column bottom right" width="204"><strong>{--ADMIN_MENU_ACTION--}:</strong></td>
+ <td align="center" class="header_column bottom right" width="204"><strong>{--ADMIN_MENU_WHAT--}:</strong></td>
+ <td align="center" class="header_column bottom" width="120"><strong>{--ADMIN_ADMINS_ACCESS_MODE--}:</strong></td>
+</tr>
+
+$content
+
+<tr>
+ <td colspan="5" class="table_footer">
+ <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
+ <input type="submit" class="form_submit" name="edit" value="{--ADMIN_ACTION_EDIT_SUBMIT--}" />
+ <input type="submit" class="form_delete" name="delete" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
+ </td>
+</tr>
</table>
{%form_close%}
</div>
</td>
</tr>
<tr>
- <td width="20" colspan="2" align="center" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
+ <td width="30" colspan="2" align="center" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
<td width="80" align="center" class="header_column bottom right"><strong>{--ADMIN_LIST_BANK_PACKAGES_TITLE--}:</strong></td>
- <td width="120" align="center" class="header_column bottom right"><strong>{--ADMIN_LIST_BANK_PACKAGES_DESCR--}:</strong></td>
- <td width="120" align="center" class="header_column bottom right"><strong>{--ADMIN_LIST_BANK_PACKAGES_ACCOUNT_FEE--}</strong></td>
+ <td width="115" align="center" class="header_column bottom right"><strong>{--ADMIN_LIST_BANK_PACKAGES_DESCR--}:</strong></td>
+ <td width="115" align="center" class="header_column bottom right"><strong>{--ADMIN_LIST_BANK_PACKAGES_ACCOUNT_FEE--}</strong></td>
<td width="80" align="center" class="header_column bottom right"><strong>{--ADMIN_LIST_BANK_PACKAGES_ACCOUNT_INTEREST_PLUS--}</strong></td>
<td width="80" align="center" class="header_column bottom right"><strong>{--ADMIN_LIST_BANK_PACKAGES_ACCOUNT_INTEREST_MINUS--}</strong></td>
<td width="120" align="center" class="header_column bottom"><strong>{--ADMIN_LIST_BANK_PACKAGES_STATUS--}</strong></td>
</td>
</tr>
<tr>
- <td align="center" class="header_column bottom right">
+ <td align="center" class="header_column bottom right" width="30">
<strong>{--ID_SELECT--}</strong>
</td>
<td align="center" class="header_column bottom right">
<div align="center">
{%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">
- <strong>{--ADMIN_CONFIG_CATEGORIES_TITLE--}</strong>
- </td>
- </tr>
- <tr>
- <td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
- <td class="header_column bottom right" align="center"><strong>{--CATEGORY_NAME--}</strong></td>
- <td class="header_column bottom right" align="center"><strong>{--ADMIN_IS_VISIBLE--}</strong></td>
- <td class="header_column bottom" align="center"><strong>{--SORTING_KEY--}</strong></td>
- </tr>
- $content
- <tr>
- <td class="table_footer" colspan="4">
- <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
- <input type="submit" class="form_submit" name="edit" value="{--ADMIN_EDIT_CATEGORIES--}" />
- <input type="submit" class="form_delete" name="delete" value="{--ADMIN_DELETE_CATEGORIES--}" />
- </td>
- </tr>
+<tr>
+ <td align="center" colspan="4" class="table_header bottom">
+ <strong>{--ADMIN_CONFIG_CATEGORIES_TITLE--}</strong>
+ </td>
+</tr>
+
+<tr>
+ <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
+ <td class="header_column bottom right" align="center"><strong>{--CATEGORY_NAME--}</strong></td>
+ <td class="header_column bottom right" align="center"><strong>{--ADMIN_IS_VISIBLE--}</strong></td>
+ <td class="header_column bottom" align="center"><strong>{--SORTING_KEY--}</strong></td>
+</tr>
+
+$content
+
+<tr>
+ <td class="table_footer" colspan="4">
+ <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
+ <input type="submit" class="form_submit" name="edit" value="{--ADMIN_EDIT_CATEGORIES--}" />
+ <input type="submit" class="form_delete" name="delete" value="{--ADMIN_DELETE_CATEGORIES--}" />
+ </td>
+</tr>
</table>
{%form_close%}
</div>
<div align="center">
{%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">
- <strong>{--ADMIN_LIST_COUNTRIES_TITLE--}:</strong>
- </td>
- </tr>
- <tr>
- <td width="20" align="center" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
- <td width="80" align="center" class="header_column bottom right"><strong>{--ADMIN_COUNTRY_CODE--}:</strong></td>
- <td width="400" align="center" class="header_column bottom right"><strong>{--ADMIN_COUNTRY_NAME--}:</strong></td>
- <td width="120" align="center" class="header_column bottom"><strong>{--ADMIN_COUNTRY_STATUS--}</strong></td>
- </tr>
- $content[rows]
- <tr>
- <td colspan="4" class="table_footer">
- <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
- <input type="submit" class="form_submit" name="change" value="{--ADMIN_DE_ACTIVATE--}" />
- <input type="submit" class="form_submit" name="edit" value="{--ADMIN_EDIT--}" />
- <input type="submit" class="form_delete" name="delete" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
- </td>
- </tr>
+<tr>
+ <td colspan="4" align="center" class="table_header">
+ <strong>{--ADMIN_LIST_COUNTRIES_TITLE--}:</strong>
+ </td>
+</tr>
+
+<tr>
+ <td width="30" align="center" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
+ <td width="80" align="center" class="header_column bottom right"><strong>{--ADMIN_COUNTRY_CODE--}:</strong></td>
+ <td width="390" align="center" class="header_column bottom right"><strong>{--ADMIN_COUNTRY_NAME--}:</strong></td>
+ <td width="120" align="center" class="header_column bottom"><strong>{--ADMIN_COUNTRY_STATUS--}</strong></td>
+</tr>
+
+$content[rows]
+
+<tr>
+ <td colspan="4" class="table_footer">
+ <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
+ <input type="submit" class="form_submit" name="change" value="{--ADMIN_DE_ACTIVATE--}" />
+ <input type="submit" class="form_submit" name="edit" value="{--ADMIN_EDIT--}" />
+ <input type="submit" class="form_delete" name="delete" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
+ </td>
+</tr>
</table>
{%form_close%}
</div>
{%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">
- <strong>$content[title]:</strong>
- </td>
- </tr>
- <tr>
- <td width="20" align="center" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
- <td width="80" align="center" class="header_column bottom right"><strong>{--ADMIN_COUNTRY_CODE--}:</strong></td>
- <td width="300" align="center" class="header_column bottom right"><strong>{--ADMIN_COUNTRY_NAME--}:</strong></td>
- <td width="120" align="center" class="header_column bottom"><strong>{--ADMIN_COUNTRY_STATUS--}</strong></td>
- </tr>
- $content[rows]
- <tr>
- <td colspan="4" class="table_footer">
- $content[reset]
- <input type="submit" name="$content[do]" class="$content[class]" value="$content[submit]" />
- </td>
- </tr>
+<tr>
+ <td colspan="4" align="center" class="table_header">
+ <strong>$content[title]:</strong>
+ </td>
+</tr>
+
+<tr>
+ <td width="30" align="center" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
+ <td width="80" align="center" class="header_column bottom right"><strong>{--ADMIN_COUNTRY_CODE--}:</strong></td>
+ <td width="280" align="center" class="header_column bottom right"><strong>{--ADMIN_COUNTRY_NAME--}:</strong></td>
+ <td width="120" align="center" class="header_column bottom"><strong>{--ADMIN_COUNTRY_STATUS--}</strong></td>
+</tr>
+
+$content[rows]
+
+<tr>
+ <td colspan="4" class="table_footer">
+ $content[reset]
+ <input type="submit" name="$content[do]" class="$content[class]" value="$content[submit]" />
+ </td>
+</tr>
</table>
{%form_close%}
<div align="center">
{%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">
- <strong>{--ADMIN_REGISTERED_EXTENSIONS--}</strong>
- </td>
- </tr>
- <tr>
- <td align="center" class="header_column bottom right" width="40"><strong>{--ID_SELECT--}</strong></td>
- <td align="center" class="header_column bottom right" width="200"><strong>{--ADMIN_EXTENSION_NAME--}</strong></td>
- <td align="center" class="header_column bottom right" width="90"><strong>{--ADMIN_EXTENSION_CSSFILE--}</strong></td>
- <td align="center" class="header_column bottom right" width="90"><strong>{--ADMIN_EXTENSION_ACTIVE--}</strong></td>
- <td align="center" class="header_column bottom" width="90"><strong>{--ADMIN_EXTENSION_VERSION--}</strong></td>
- </tr>
- $content
- <tr>
- <td colspan="5" class="table_footer">
- <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
- <input type="submit" class="form_submit" name="change" value="{--ADMIN_DE_ACTIVATE--}" />
- <input type="submit" class="form_submit" name="edit" value="{--ADMIN_EDIT--}" />
- <input type="submit" class="form_delete" name="delete" value="{--ADMIN_ACTION_UNINSTALL_SUBMIT--}" />
- </td>
- </tr>
+<tr>
+ <td colspan="5" align="center" class="table_header bottom">
+ <strong>{--ADMIN_REGISTERED_EXTENSIONS--}</strong>
+ </td>
+</tr>
+<tr>
+ <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
+ <td align="center" class="header_column bottom right" width="200"><strong>{--ADMIN_EXTENSION_NAME--}</strong></td>
+ <td align="center" class="header_column bottom right" width="95"><strong>{--ADMIN_EXTENSION_CSSFILE--}</strong></td>
+ <td align="center" class="header_column bottom right" width="95"><strong>{--ADMIN_EXTENSION_ACTIVE--}</strong></td>
+ <td align="center" class="header_column bottom" width="90"><strong>{--ADMIN_EXTENSION_VERSION--}</strong></td>
+</tr>
+$content
+<tr>
+ <td colspan="5" class="table_footer">
+ <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
+ <input type="submit" class="form_submit" name="change" value="{--ADMIN_DE_ACTIVATE--}" />
+ <input type="submit" class="form_submit" name="edit" value="{--ADMIN_EDIT--}" />
+ <input type="submit" class="form_delete" name="delete" value="{--ADMIN_ACTION_UNINSTALL_SUBMIT--}" />
+ </td>
+</tr>
</table>
{%form_close%}
</div>
<strong>{--ADMIN_LIST_FORCED_ADS_TITLE--}</strong>
</td>
</tr>
+
<tr>
- <td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+ <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
<td class="header_column bottom right" align="center"><strong>{--_USERID--}</strong></td>
<td class="header_column bottom right" align="center"><strong>{--ADMIN_TEST_URL--}</strong></td>
<td class="header_column bottom right" align="center"><strong>{--ADMIN_FORCED_ADS_TYPE--}</strong></td>
<td class="header_column bottom right" align="center"><strong>{--ADMIN_FORCED_ADS_HAS_FRAMEBREAKER--}</strong></td>
<td class="header_column bottom" align="center"><strong>{--ADMIN_FORCED_ADS_ADDED--}</strong></td>
</tr>
+
$content
+
<tr>
<td class="table_footer" colspan="6">
<input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
<strong>{--ADMIN_LIST_FORCED_CAMPAIGNS_TITLE--}</strong>
</td>
</tr>
+
<tr>
- <td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+ <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
<td class="header_column bottom right" align="center"><strong>{--_USERID--}</strong></td>
<td class="header_column bottom right" align="center"><strong>{--ADMIN_FORCED_CAMPAIGN_STATUS--}</strong></td>
<td class="header_column bottom right" align="center"><strong>{--ADMIN_FORCED_CAMPAIGN_ORDERED_CLICKS--}</strong></td>
<td class="header_column bottom right" align="center"><strong>{--ADMIN_FORCED_CAMPAIGN_EXPIRED--}</strong></td>
<td class="header_column bottom" align="center"><strong>{--ADMIN_FORCED_CAMPAIGN_CREATED--}</strong></td>
</tr>
+
$content
+
<tr>
<td class="table_footer" colspan="11">
<input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
<strong>{--ADMIN_LIST_FORCED_COSTS_TITLE--}</strong>
</td>
</tr>
+
<tr>
- <td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+ <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
<td class="header_column bottom right" align="center"><strong>{--ADMIN_FORCED_COSTS_PRICE_CLICK--}</strong></td>
<td class="header_column bottom right" align="center"><strong>{--ADMIN_FORCED_COSTS_PAYMENT_CLICK--}</strong></td>
<td class="header_column bottom" align="center"><strong>{--ADMIN_FORCED_COSTS_VISIBILITY--}</strong></td>
</tr>
+
$content
+
<tr>
<td class="table_footer" colspan="4">
<input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
<div align="center">
{%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>
- <td width="50" class="header_column bottom right" align="center"><strong>{--_USERID--}:</strong></td>
- <td width="80" class="header_column bottom right" align="center"><strong>{--ADMIN_HOLIDAY_TSTART--}:</strong></td>
- <td width="80" class="header_column bottom right" align="center"><strong>{--ADMIN_HOLIDAY_TEND--}:</strong></td>
- <td width="100" class="header_column bottom right" align="center"><strong>{--ADMIN_HOLIDAY_COMMENTS--}:</strong></td>
- <td width="100" class="header_column bottom right" align="center"><strong>{--ACCOUNT_STATUS--}:</strong></td>
- <td width="160" class="header_column bottom" align="center"><strong>{--LAST_ONLINE_SHORT--}:</strong></td>
- </tr>
- $content
- <tr>
- <td colspan="7" class="table_footer"><input
- type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
- <input type="submit" name="ok" class="form_delete"
- value="{--ADMIN_HOLIDAY_STOP_CHECKED--}" /></td>
- </tr>
+<tr>
+ <td width="10" class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+ <td width="50" class="header_column bottom right" align="center"><strong>{--_USERID--}:</strong></td>
+ <td width="80" class="header_column bottom right" align="center"><strong>{--ADMIN_HOLIDAY_TSTART--}:</strong></td>
+ <td width="80" class="header_column bottom right" align="center"><strong>{--ADMIN_HOLIDAY_TEND--}:</strong></td>
+ <td width="100" class="header_column bottom right" align="center"><strong>{--ADMIN_HOLIDAY_COMMENTS--}:</strong></td>
+ <td width="100" class="header_column bottom right" align="center"><strong>{--ACCOUNT_STATUS--}:</strong></td>
+ <td width="160" class="header_column bottom" align="center"><strong>{--LAST_ONLINE_SHORT--}:</strong></td>
+</tr>
+$content
+<tr>
+ <td colspan="7" class="table_footer">
+ <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
+ <input type="submit" name="ok" class="form_delete" value="{--ADMIN_HOLIDAY_STOP_CHECKED--}" />
+ </td>
+</tr>
</table>
{%form_close%}
</div>
<div align="center">
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
- <tr>
- <td colspan="3" align="center" class="table_header">
- <strong>{--ADMIN_CONFIG_HOME_TITLE--}</strong>
- </td>
- </tr>
- <tr>
- <td align="center" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
- <td align="center" class="header_column bottom right"><strong>{--ADMIN_MENU_WHAT--}</strong></td>
- <td align="center" class="header_column bottom"><strong>{--ADMIN_HOME_ACTION--}</strong></td>
- </tr>
- $content
- <tr>
- <td colspan="3" class="table_footer">
- <div class="notice">{--ADMIN_CONFIG_HOME_NOTICE--}</div>
- </td>
- </tr>
+<tr>
+ <td colspan="3" align="center" class="table_header">
+ <strong>{--ADMIN_CONFIG_HOME_TITLE--}</strong>
+ </td>
+</tr>
+
+<tr>
+ <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
+ <td align="center" class="header_column bottom right"><strong>{--ADMIN_MENU_WHAT--}</strong></td>
+ <td align="center" class="header_column bottom"><strong>{--ADMIN_HOME_ACTION--}</strong></td>
+</tr>
+
+$content
+
+<tr>
+ <td colspan="3" class="table_footer">
+ <div class="notice">{--ADMIN_CONFIG_HOME_NOTICE--}</div>
+ </td>
+</tr>
</table>
</div>
</td>
</tr>
<tr>
- <td align="center" class="header_column bottom right" height="25"><strong>{--ID_SELECT--}</strong></td>
+ <td align="center" class="header_column bottom right" height="25" width="30"><strong>{--ID_SELECT--}</strong></td>
<td align="center" class="header_column bottom right"><strong>{--ADMIN_MODS_NAME--}</strong></td>
<td align="center" class="header_column bottom right"><strong>{--ADMIN_MODS_TITLE--}</strong></td>
<td align="center" class="header_column bottom right"><strong>{--ADMIN_MODS_IS_LOCKED--}</strong></td>
<div align="center">
{%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">
- <div>
- <strong>{--ADMIN_LIST_NETWORK_ARRAY_TRANSLATION_TITLE--}</strong>
- </div>
- <div class="tiny">
- (<a href="{%network,getNetworkDataById,network_reflink=%network_id%%}" target="_blank" title="{%network,getNetworkDataById,network_title=%network_id%%}">{%network,getNetworkDataById,network_title=%network_id%%}</a>)
- </div>
- </td>
- </tr>
- <tr>
- <td align="center" class="header_column bottom right" height="25"><strong>{--ID_SELECT--}</strong></td>
- <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_TYPE_HANDLER--}</strong></td>
- <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[rows]
- <tr>
- <td colspan="6" class="table_footer">
- <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
- <input type="submit" class="form_submit" name="edit" value="{--ADMIN_ACTION_EDIT_SUBMIT--}" />
- <input type="submit" class="form_delete" name="delete" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
- </td>
- </tr>
+<tr>
+ <td colspan="5" align="center" class="table_header bottom">
+ <div>
+ <strong>{--ADMIN_LIST_NETWORK_ARRAY_TRANSLATION_TITLE--}</strong>
+ </div>
+ <div class="tiny">
+ (<a href="{%network,getNetworkDataById,network_reflink=%network_id%%}" target="_blank" title="{%network,getNetworkDataById,network_title=%network_id%%}">{%network,getNetworkDataById,network_title=%network_id%%}</a>)
+ </div>
+ </td>
+</tr>
+
+<tr>
+ <td align="center" class="header_column bottom right" height="25" width="30"><strong>{--ID_SELECT--}</strong></td>
+ <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_TYPE_HANDLER--}</strong></td>
+ <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[rows]
+
+<tr>
+ <td colspan="6" class="table_footer">
+ <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
+ <input type="submit" class="form_submit" name="edit" value="{--ADMIN_ACTION_EDIT_SUBMIT--}" />
+ <input type="submit" class="form_delete" name="delete" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
+ </td>
+</tr>
</table>
{%form_close%}
<td colspan="3" class="header_column bottom separator"> </td>
</tr>
<tr>
- <td align="center" class="header_column bottom right" height="25"><strong>{--ID_SELECT--}</strong></td>
+ <td align="center" class="header_column bottom right" height="25" width="30"><strong>{--ID_SELECT--}</strong></td>
<td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_SHORT_NAME--}</strong></td>
<td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_REFERRAL_LINK--}</strong></td>
<td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_DATA_SEPARATOR2--}</strong></td>
</td>
</tr>
<tr>
- <td align="center" class="header_column bottom right" height="25"><strong>{--ID_SELECT--}</strong></td>
+ <td align="center" class="header_column bottom right" height="25" width="30"><strong>{--ID_SELECT--}</strong></td>
<td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_TYPE_HANDLER--}</strong></td>
<td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_REQUEST_PARAMETER_KEY_SHORT--}</strong></td>
<td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_REQUEST_PARAMETER_VALUE--}</strong></td>
<div align="center">
{%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">
- <div>
- <strong>{--ADMIN_LIST_NETWORK_TYPE_HANDLER_TITLE--}</strong>
- </div>
- <div class="tiny">
- (<a href="{%network,getNetworkDataById,network_reflink=%network_id%%}" target="_blank" title="{%network,getNetworkDataById,network_title=%network_id%%}">{%network,getNetworkDataById,network_title=%network_id%%}</a>)
- </div>
- </td>
- </tr>
- <tr>
- <td align="center" class="header_column bottom right" height="25"><strong>{--ID_SELECT--}</strong></td>
- <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_TYPE_HANDLER--}</strong></td>
- <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_TYPE_HANDLER_API_URL--}</strong></td>
- <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_TYPE_HANDLER_CLICK_URL--}</strong></td>
- <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_TYPE_HANDLER_BANNER_URL--}</strong></td>
- <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[rows]
- <tr>
- <td colspan="7" class="table_footer">
- <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
- <input type="submit" class="form_submit" name="edit" value="{--ADMIN_ACTION_EDIT_SUBMIT--}" />
- <input type="submit" class="form_delete" name="delete" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
- </td>
- </tr>
+<tr>
+ <td colspan="7" align="center" class="table_header bottom">
+ <div>
+ <strong>{--ADMIN_LIST_NETWORK_TYPE_HANDLER_TITLE--}</strong>
+ </div>
+ <div class="tiny">
+ (<a href="{%network,getNetworkDataById,network_reflink=%network_id%%}" target="_blank" title="{%network,getNetworkDataById,network_title=%network_id%%}">{%network,getNetworkDataById,network_title=%network_id%%}</a>)
+ </div>
+ </td>
+</tr>
+
+<tr>
+ <td align="center" class="header_column bottom right" height="25" width="30"><strong>{--ID_SELECT--}</strong></td>
+ <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_TYPE_HANDLER--}</strong></td>
+ <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_TYPE_HANDLER_API_URL--}</strong></td>
+ <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_TYPE_HANDLER_CLICK_URL--}</strong></td>
+ <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_TYPE_HANDLER_BANNER_URL--}</strong></td>
+ <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[rows]
+
+<tr>
+ <td colspan="7" class="table_footer">
+ <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
+ <input type="submit" class="form_submit" name="edit" value="{--ADMIN_ACTION_EDIT_SUBMIT--}" />
+ <input type="submit" class="form_delete" name="delete" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
+ </td>
+</tr>
</table>
{%form_close%}
<div align="center">
{%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">
- <div>
- <strong>{--ADMIN_LIST_NETWORK_VCHECK_PARAMETER_TITLE--}</strong>
- </div>
- <div class="tiny">
- (<a href="{%network,getNetworkDataById,network_reflink=%network_id%%}" target="_blank" title="{%network,getNetworkDataById,network_title=%network_id%%}">{%network,getNetworkDataById,network_title=%network_id%%}</a>)
- </div>
- </td>
- </tr>
- <tr>
- <td align="center" class="header_column bottom right" height="25"><strong>{--ID_SELECT--}</strong></td>
- <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_VCHECK_PARAMETER_KEY--}</strong></td>
- <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[rows]
- <tr>
- <td colspan="4" class="table_footer">
- <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
- <input type="submit" class="form_submit" name="edit" value="{--ADMIN_ACTION_EDIT_SUBMIT--}" />
- <input type="submit" class="form_delete" name="delete" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
- </td>
- </tr>
+<tr>
+ <td colspan="4" align="center" class="table_header bottom">
+ <div>
+ <strong>{--ADMIN_LIST_NETWORK_VCHECK_PARAMETER_TITLE--}</strong>
+ </div>
+ <div class="tiny">
+ (<a href="{%network,getNetworkDataById,network_reflink=%network_id%%}" target="_blank" title="{%network,getNetworkDataById,network_title=%network_id%%}">{%network,getNetworkDataById,network_title=%network_id%%}</a>)
+ </div>
+ </td>
+</tr>
+
+<tr>
+ <td align="center" class="header_column bottom right" height="25" width="30"><strong>{--ID_SELECT--}</strong></td>
+ <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_VCHECK_PARAMETER_KEY--}</strong></td>
+ <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[rows]
+<tr>
+ <td colspan="4" class="table_footer">
+ <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
+ <input type="submit" class="form_submit" name="edit" value="{--ADMIN_ACTION_EDIT_SUBMIT--}" />
+ <input type="submit" class="form_delete" name="delete" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
+ </td>
+</tr>
</table>
{%form_close%}
<strong>{--ADMIN_LIST_NICKNAME_HISTORY_TITLE--}</strong>
</td>
</tr>
+
<tr>
- <td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+ <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
<td class="header_column bottom right" align="center"><strong>{--_USERID--}</strong></td>
<td class="header_column bottom right" align="center"><strong>{--ADMIN_HISTORY_VALUE--}</strong></td>
<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[rows]
+
<tr>
<td class="table_footer" colspan="5">
<input type="hidden" name="history_id[0]" value="1" />
<strong>{--ADMIN_ONLINE_DETAILS--}</strong>
</td>
</tr>
+
<tr>
<td align="center" width="5%" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
<td align="center" width="10%" class="header_column bottom right"><strong>{--_USERID--}:</strong></td>
<td align="center" width="5%" class="header_column bottom right"><strong>{--ADMIN_MENU_WHAT--}:</strong></td>
<td align="center" width="10%" class="header_column bottom"><strong>{--LAST_SEEN--}:</strong></td>
</tr>
+
$content[rows]
+
<tr>
<td colspan="8" class="table_footer">
{--ONLINE_TIMEOUT_IS--}
</td>
</tr>
<tr>
- <td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+ <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
<td class="header_column bottom right" align="center"><strong>{--ADMIN_PAYMENT_TIME--}:</strong></td>
<td class="header_column bottom right" align="center"><strong>{--ADMIN_PAYMENT_PAYMENT--}:</strong></td>
<td class="header_column bottom right" align="center"><strong>{--ADMIN_PAYMENT_PRICE--}:</strong></td>
</td>
</tr>
<tr>
- <td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+ <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
<td class="header_column bottom right" align="center"><strong>{--ADMIN_POINTS_ACCOUNT_SUBJECT--}</strong></td>
<td class="header_column bottom right" align="center"><strong>{--ADMIN_POINTS_ACCOUNT_COLUMN_NAME--}</strong></td>
<td class="header_column bottom right" align="center"><strong>{--ADMIN_POINTS_ACCOUNT_LOCKED_MODE--}</strong></td>
</td>
</tr>
<tr>
- <td align="center" width="10" class="header_column bottom right">
+ <td align="center" width="30" class="header_column bottom right">
<strong>{--ID_SELECT--}</strong>
</td>
<td align="center" width="50" class="header_column bottom right">
<td align="center" width="200" class="header_column bottom right">
<strong>{--ADMIN_RALLYE_PRICE_POINTS--}:</strong>
</td>
- <td align="center" width="320" class="header_column bottom">
+ <td align="center" width="300" class="header_column bottom">
<strong>{--ADMIN_RALLYE_PRICE_INFO--}:</strong>
</td>
</tr>
<div align="center">
{%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">
- <strong>{--ADMIN_LIST_RALLYES_TITLE--}:</strong>
- </td>
- </tr>
- <tr>
- <td align="center" width="10" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
- <td align="center" class="header_column bottom" colspan="5"><strong>{--ADMIN_LIST_RALLYE_DATA_OVERVIEW_TITLE--}:</strong></td>
- </tr>
- $content[rows]
- <tr>
- <td colspan="6" class="table_footer">
- <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
- <input type="submit" class="form_submit" name="edit" value="{--ADMIN_ACTION_EDIT_SUBMIT--}" />
- <input type="submit" class="form_delete" name="delete" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
- </td>
- </tr>
+<tr>
+ <td colspan="6" align="center" class="table_header">
+ <strong>{--ADMIN_LIST_RALLYES_TITLE--}:</strong>
+ </td>
+</tr>
+
+<tr>
+ <td align="center" width="10" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
+ <td align="center" class="header_column bottom" colspan="5"><strong>{--ADMIN_LIST_RALLYE_DATA_OVERVIEW_TITLE--}:</strong></td>
+</tr>
+
+$content[rows]
+
+<tr>
+ <td colspan="6" class="table_footer">
+ <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
+ <input type="submit" class="form_submit" name="edit" value="{--ADMIN_ACTION_EDIT_SUBMIT--}" />
+ <input type="submit" class="form_delete" name="delete" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
+ </td>
+</tr>
</table>
{%form_close%}
</div>
</td>
</tr>
<tr>
- <td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+ <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
<td class="header_column bottom right" align="center"><strong>{--REFERRAL_URL--}:</strong></td>
<td class="header_column bottom right" align="center"><strong>{--REFERRAL_TITLE--}:</strong></td>
<td class="header_column bottom right" align="center"><strong>{--REFERRAL_VIEWS--}:</strong></td>
--- /dev/null
+<div align="center">
+{%form,formMethodPost=modules.php?module=admin&what=list_referral_levels%}
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
+<tr>
+ <td align="center" colspan="3" class="table_header">
+ <strong>{--ADMIN_LIST_REFERRAL_LEVELS_TITLE--}</strong>
+ </td>
+</tr>
+<tr>
+ <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
+ <td class="header_column bottom right" align="center"><strong>{--REFERRAL_LEVEL--}</strong></td>
+ <td class="header_column bottom" align="center"><strong>{--REFERRAL_PERCENTS--}</strong></td>
+</tr>
+$content
+<tr>
+ <td class="table_footer" colspan="3">
+ <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
+ <input type="submit" class="form_submit" name="edit" value="{--ADMIN_EDIT_LEVEL_SUBMIT--}" />
+ <input type="submit" class="form_delete" name="delete" value="{--ADMIN_DELETE_LEVEL_SUBMIT--}" />
+ </td>
+</tr>
+</table>
+{%form_close%}
+</div>
+
+<div class="notice">
+ {--ADMIN_REFERRAL_LEVEL_ZERO_NOTICE--}
+</div>
--- /dev/null
+<tr>
+ <td align="center" class="bottom right {%template,ColorSwitch%}">
+ <input type="checkbox" class="form_field" title="{--ID_SELECT--} $content[id]" name="id[$content[id]]" value="1" />
+ </td>
+ <td align="center" class="bottom right {%template,ColorSwitch%}">
+ $content[level]
+ </td>
+ <td align="center" class="bottom {%template,ColorSwitch%}">
+ {%pipe,translateComma=$content[percents]%}%
+ </td>
+</tr>
-<div align="center">
-{%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">
- <strong>{--ADMIN_EDIT_DELETE_REFERRAL_DEPTH_TITLE--}</strong>
- </td>
- </tr>
- <tr>
- <td class="header_column bottom right" width="30" align="center"><strong>{--ID_SELECT--}</strong></td>
- <td class="header_column bottom right" align="center"><strong>{--REFERRAL_LEVEL--}:</strong></td>
- <td class="header_column bottom" align="center"><strong>{--REFERRAL_PERCENT--}:</strong></td>
- </tr>
- $content
- <tr>
- <td class="table_footer" colspan="3">
- <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
- <input type="submit" class="form_submit" name="edit" value="{--ADMIN_EDIT_LEVEL--}" />
- <input type="submit" class="form_delete" name="delete" value="{--ADMIN_DELETE_LEVEL--}" />
- </td>
- </tr>
-</table>
-{%form_close%}
-</div>
-
-<div class="notice">
- {--ADMIN_REFERRAL_LEVEL_ZERO_NOTICE--}
-</div>
+<!-- @DEPRECATED //-->
-<tr>
- <td align="center" class="bottom right {%template,ColorSwitch%}">
- <input type="checkbox" class="form_field" title="{--ID_SELECT--} $content[id]" name="sel[$content[id]]" value="1" />
- </td>
- <td align="center" class="bottom right {%template,ColorSwitch%}">
- $content[level]
- </td>
- <td align="center" class="bottom {%template,ColorSwitch%}">
- {%pipe,translateComma=$content[percents]%}%
- </td>
-</tr>
+<!-- @DEPRECATED //-->
</td>
</tr>
<tr>
- <td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+ <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
<td class="header_column bottom right" align="center"><strong>{--ADMIN_SERVER_NAME--}</strong></td>
<td class="header_column bottom right" align="center"><strong>{--REMOTE_IP--}</strong></td>
<td class="header_column bottom right" align="center"><strong>{--USER_AGENT--}</strong></td>
</td>
</tr>
<tr>
- <td align="center" class="header_column bottom right" width="20"><strong>{--ID_SELECT--}</strong></td>
- <td align="center" class="header_column bottom right" width="160"><strong>{--SPONSOR_PAYTYPE_NAME--}:</strong></td>
- <td align="center" class="header_column bottom right" width="150"><strong>{--SPONSOR_PAYTYPE_RATE--}:</strong></td>
+ <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
+ <td align="center" class="header_column bottom right" width="155"><strong>{--SPONSOR_PAYTYPE_NAME--}:</strong></td>
+ <td align="center" class="header_column bottom right" width="155"><strong>{--SPONSOR_PAYTYPE_RATE--}:</strong></td>
<td align="center" class="header_column bottom right" width="150"><strong>{--SPONSOR_PAYTYPE_MIN_COUNT2--}:</strong></td>
<td align="center" class="header_column bottom" width="160"><strong>{--SPONSOR_PAYTYPE_CURRENCY--}:</strong></td>
</tr>
<strong>{--SPONSOR_DELETE_PAY_ENTRIES--}</strong>
</td>
</tr>
+
<tr>
- <td align="center" class="header_column bottom right" width="20"><strong>{--ID_SELECT--}</strong></td>
+ <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
<td align="center" class="header_column bottom right" width="160"><strong>{--SPONSOR_PAYTYPE_NAME--}:</strong></td>
- <td align="center" class="header_column bottom right" width="150"><strong>{--SPONSOR_PAYTYPE_RATE--}:</strong></td>
- <td align="center" class="header_column bottom right" width="150"><strong>{--SPONSOR_PAYTYPE_MIN_COUNT2--}:</strong></td>
+ <td align="center" class="header_column bottom right" width="145"><strong>{--SPONSOR_PAYTYPE_RATE--}:</strong></td>
+ <td align="center" class="header_column bottom right" width="145"><strong>{--SPONSOR_PAYTYPE_MIN_COUNT2--}:</strong></td>
<td align="center" class="header_column bottom" width="160"><strong>{--SPONSOR_PAYTYPE_CURRENCY--}:</strong></td>
</tr>
+
$content
+
<tr>
<td align="center" colspan="5" class="table_footer">
<input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
<strong>{--SPONSOR_EDIT_PAY_ENTRIES--}</strong>
</td>
</tr>
+
<tr>
- <td align="center" class="header_column bottom right" width="20"><strong>{--ID_SELECT--}</strong></td>
+ <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
<td align="center" class="header_column bottom right" width="160"><strong>{--SPONSOR_PAYTYPE_NAME--}:</strong></td>
- <td align="center" class="header_column bottom right" width="150"><strong>{--SPONSOR_PAYTYPE_RATE--}:</strong></td>
- <td align="center" class="header_column bottom right" width="150"><strong>{--SPONSOR_PAYTYPE_MIN_COUNT2--}:</strong></td>
+ <td align="center" class="header_column bottom right" width="145"><strong>{--SPONSOR_PAYTYPE_RATE--}:</strong></td>
+ <td align="center" class="header_column bottom right" width="145"><strong>{--SPONSOR_PAYTYPE_MIN_COUNT2--}:</strong></td>
<td align="center" class="header_column bottom" width="160"><strong>{--SPONSOR_PAYTYPE_CURRENCY--}:</strong></td>
</tr>
+
$content
+
<tr>
<td align="center" colspan="5" class="table_footer">
<input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
</td>
</tr>
<tr>
- <td align="center" class="header_column bottom right {%template,ColorSwitch%}">
+ <td align="center" class="header_column bottom right {%template,ColorSwitch%}" width="30">
<strong>{--ID_SELECT--}</strong>
</td>
<td align="center" class="header_column bottom right {%template,ColorSwitch%}">
<tr>
- <td class="right {%template,ColorSwitch%}" align="center"><strong>{--ID_SELECT--}</strong></td>
+ <td class="right {%template,ColorSwitch%}" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
<td class="right {%template,ColorSwitch%}" align="center"><strong>{--_USERID--}</strong></td>
<td class="right {%template,ColorSwitch%}" align="center"><strong>{--ADMIN_BOOKING_PACKAGE_ID--}</strong></td>
<td class="right {%template,ColorSwitch%}" align="center"><strong>{--ADMIN_TEST_URL--}</strong></td>
<td class="right {%template,ColorSwitch%}" align="center"><strong>{--ADMIN_SURFBAR_VIEWS_TOTAL--}</strong></td>
<td class="right {%template,ColorSwitch%}" align="center"><strong>{--ADMIN_SURFBAR_STATUS--}</strong></td>
</tr>
+
<tr>
<td align="center" class="bottom right {%template,ColorSwitch%}">
<input type="checkbox" class="form_field" title="{--ID_SELECT--} $content[url_id]" name="url_id[$content[url_id]]" value="1" />
{%pipe,translateSurfbarUrlStatus=$content[url_status]%}
</td>
</tr>
+
<tr>
<td class="right {%template,ColorSwitch%}" align="center"><strong>{--ADMIN_SURFBAR_REGISTERED--}</strong></td>
<td class="right {%template,ColorSwitch%}" align="center"><strong>{--ADMIN_SURFBAR_FIXED_RELOAD--}</strong></td>
<td class="right {%template,ColorSwitch%}" align="center"><strong>{--ADMIN_SURFBAR_LOCK_REASON--}</strong></td>
<td class="{%template,ColorSwitch%}" align="center"><strong>{--_UNUSED--}</strong></td>
</tr>
+
<tr>
<td align="center" class="bottom right {%template,ColorSwitch%}">
$content[url_registered]
</td>
</tr>
<tr>
- <td align="center" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
+ <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
<td align="center" class="header_column bottom right"><strong>{--ADMIN_ASSIGNED_ADMIN--}</strong></td>
<td align="center" class="header_column bottom right"><strong>{--ADMIN_REGISTER_EXTENSION--}</strong></td>
<td align="center" class="header_column bottom right"><strong>{--ADMIN_TASK_INFOS--}</strong></td>
</td>
</tr>
<tr>
- <td align="center" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
+ <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
<td align="center" class="header_column bottom right"><strong>{--ADMIN_ASSIGNED_ADMIN--}</strong></td>
<td align="center" class="header_column bottom right"><strong>{--ADMIN_REGISTER_EXTENSION--}</strong></td>
<td align="center" class="header_column bottom right"><strong>{--ADMIN_TASK_INFOS--}</strong></td>
<strong>{--ADMIN_LIST_USER_SUBID_TITLE--}</strong>
</td>
</tr>
+
<tr>
- <td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+ <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
<td class="header_column bottom right" align="center"><strong>{--_USERID--}</strong></td>
<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[rows]
+
<tr>
<td class="table_footer" colspan="4">
<input type="hidden" name="userid" value="{%get,bigintval=userid%}" />
</td>
</tr>
<tr>
- <td align="center" class="header_column bottom right" width="20"><strong>{--ID_SELECT--}</strong></td>
+ <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
<td align="center" class="header_column bottom right"><strong>{--SUBID_VALUE--}</strong></td>
<td align="center" class="header_column bottom right"><strong>{--REFERRER_URL--}</strong></td>
<td align="center" class="header_column bottom right"><strong>{--REMOTE_IP--}</strong></td>
</td>
</tr>
<tr>
- <td class="header_column bottom right" align="center" width="60"><strong>{--ID_SELECT--}</strong></td>
+ <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
<td class="header_column bottom right" align="center" width="90"><strong>{--_USERID--}</strong></td>
<td class="header_column bottom right" align="center"><strong>{--ADMIN_WERNIS_WDS66_ACCOUNT--}</strong></td>
<td class="header_column bottom right" align="center"><strong>{--ADMIN_WERNIS_TRANSFERED--}</strong></td>
<strong>{--ADMIN_TASK_SYSTEM_WELCOME--}</strong>
</td>
</tr>
+
<tr>
- <td align="center" class="bottom right left header_column"><strong>{--ID_SELECT--}</strong></td>
+ <td align="center" class="bottom right left header_column" width="30"><strong>{--ID_SELECT--}</strong></td>
<td align="center" class="bottom right header_column"><strong>{--ADMIN_ASSIGNED_ADMIN--}</strong></td>
<td align="center" class="bottom right header_column"><strong>{--ADMIN_REGISTER_EXTENSION--}</strong></td>
<td align="center" class="bottom right header_column"><strong>{--ADMIN_TASK_INFOS--}</strong></td>
<td align="center" class="bottom right header_column"><strong>{--ADMIN_TASK_TYPE--}</strong></td>
<td align="center" class="bottom right header_column"><strong>{--ADMIN_TASK_CREATED--}</strong></td>
</tr>
+
$content
+
<tr>
<td colspan="7" align="center" class="table_footer">
<input type="reset" value="{--ADMIN_UNSELECT_ALL--}" class="form_reset" />
<div align="center">
{%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">
- {--ADMIN_UNLOCK_EMAILS--}
- </td>
- </tr>
- <tr>
- <td class="header_column right" align="center" width="10"><strong>{--ID_SELECT--}</strong></td>
- <td class="header_column right" align="center"><strong>{--EMAIL_SENDER--}</strong></td>
- <td class="header_column right" align="center"><strong>{--EMAIL_SUBJECT--}</strong></td>
- <td class="header_column right" align="center"><strong>{--EMAIL_URL--}</strong></td>
- <td class="header_column right" align="center"><strong>{--EMAIL_CATEGORY--}</strong></td>
- <td class="header_column right" align="center"><strong>{--EMAIL_PAYMENT--}</strong></td>
- <td class="header_column right" align="center"><strong>{--EMAIL_TIMESTAMP--}</strong></td>
- <td class="header_column" style="white-space: nowrap" align="center"><strong>{--EMAIL_TSEND--}</strong></td>
- </tr>
- $content[rows]
- <tr>
- <td class="table_footer bottom top" colspan="8" align="center" height="35">
- {--ADMIN_ENTER_REDIRECT_URL--}:
- <input type="text" class="form_field" name="redirect" size="30" maxlength="255" value="{?reject_url?}" />
- </td>
- </tr>
- <tr>
- <td class="table_footer" colspan="8" align="center" height="35">
- <input type="reset" class="form_reset" value="{--RESET_SELECT--}" />
- <input type="submit" class="form_submit" name="accept" value="{--ADMIN_EMAIL_ACCEPT--}" />
- <input type="submit" class="form_delete" name="reject" value="{--ADMIN_EMAIL_REJECT--}" />
- </td>
- </tr>
+<tr>
+ <td colspan="8" align="center" class="table_header bottom" height="35">
+ {--ADMIN_UNLOCK_EMAILS--}
+ </td>
+</tr>
+
+<tr>
+ <td class="header_column right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
+ <td class="header_column right" align="center"><strong>{--EMAIL_SENDER--}</strong></td>
+ <td class="header_column right" align="center"><strong>{--EMAIL_SUBJECT--}</strong></td>
+ <td class="header_column right" align="center"><strong>{--EMAIL_URL--}</strong></td>
+ <td class="header_column right" align="center"><strong>{--EMAIL_CATEGORY--}</strong></td>
+ <td class="header_column right" align="center"><strong>{--EMAIL_PAYMENT--}</strong></td>
+ <td class="header_column right" align="center"><strong>{--EMAIL_TIMESTAMP--}</strong></td>
+ <td class="header_column" style="white-space: nowrap" align="center"><strong>{--EMAIL_TSEND--}</strong></td>
+</tr>
+
+$content[rows]
+
+<tr>
+ <td class="table_footer bottom top" colspan="8" align="center" height="35">
+ {--ADMIN_ENTER_REDIRECT_URL--}:
+ <input type="text" class="form_field" name="redirect" size="30" maxlength="255" value="{?reject_url?}" />
+ </td>
+</tr>
+
+<tr>
+ <td class="table_footer" colspan="8" align="center" height="35">
+ <input type="reset" class="form_reset" value="{--RESET_SELECT--}" />
+ <input type="submit" class="form_submit" name="accept" value="{--ADMIN_EMAIL_ACCEPT--}" />
+ <input type="submit" class="form_delete" name="reject" value="{--ADMIN_EMAIL_REJECT--}" />
+ </td>
+</tr>
</table>
{%form_close%}
</div>
<strong>{--ADMIN_SPONSOR_UNLOCK_TITLE--}</strong>
</td>
</tr>
+
<tr>
- <td align="center" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
+ <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
<td align="center" class="header_column bottom right"><strong>{--SURNAME_FAMILY--}:</strong></td>
<td align="center" class="header_column bottom right"><strong>{--REMOTE_IP--}:</strong></td>
<td align="center" class="header_column bottom"><strong>{--SPONSOR_CREATED--}:</strong></td>
</tr>
+
$content
+
<tr>
<td colspan="4" class="table_footer" align="center">
<input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
</td>
</tr>
<tr>
- <td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+ <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
<td class="header_column bottom right" align="center"><strong>{--_USERID--}</strong></td>
<td class="header_column bottom right" align="center"><strong>{--ADMIN_SURFBAR_URL--}</strong></td>
<td class="header_column bottom right" align="center"><strong>{--ADMIN_TEST_URL--}</strong></td>
<div align="center">
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
- <td align="center" class="header_column bottom"><strong>{--REFERRAL_LEVEL_PERCENTS--}</strong></td>
+ <td align="center" class="header_column bottom"><strong>{--MEMBER_REFERRAL_LEVEL_PERCENTS--}:</strong></td>
<td align="center" class="header_column bottom"><strong>{?POINTS?}</strong></td>
<td align="center" class="header_column bottom"><strong>{--POINTS_ORDER--}</strong></td>
<td align="center" class="header_column bottom"><strong>{--REFERRALS--}</strong></td>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+This template provides meta data for adding referral level to the database.
+
+@author Roland Haeder <webmaster@mxchange.org>
+@version 0.2.1-FINAL
+@copyright (c) 2003 - 2009 by Roland Haeder
+@copyright (c) 2009 - 2012 by Mailer Developer Team
+@license GNU GPL 2.0 or any newer version
+@link http://mxchange.org
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+MA 02110-1301 USA
+//-->
+<admin-entry-meta-data>
+ <!--
+ Call-back function which should all following parameter handled over
+ to. This will always be type of string but we like homogene XMLs.
+ //-->
+ <callback-function type="string" value="adminAddEntries" />
+ <!--
+ Name of the database table where the entries should be read/write from/to.
+ //-->
+ <database-table name="" type="string" value="refdepths" />
+ <!--
+ 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="level" alias="" function="" />
+ <database-column-list-entry name="" type="string" table="" value="percents" alias="" function="" />
+ </database-column-list>
+ <!--
+ "Filter" call-back functions to call back for piping the fetched data
+ through (can be left empty, no call-back function will be called)
+ //-->
+ <callback-function-list>
+ <callback-function-list-entry name="" type="string" value="bigintval" />
+ <callback-function-list-entry name="" type="string" value="convertCommaToDot" />
+ </callback-function-list>
+ <!--
+ Extra parameters (2nd, 3rd, ...) for above call-back functions. If an array
+ is provided, we have more than two parameters to handle over to the
+ call-back function. See function handleExtraValues() for details.
+ //-->
+ <extra-parameter-list>
+ </extra-parameter-list>
+ <!--
+ Columns for converting single time selections into a timestamp
+ //-->
+ <time-columns-list>
+ </time-columns-list>
+</admin-entry-meta-data>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+This template provides meta data for doing edits on referral levels
+
+@author Roland Haeder <webmaster@mxchange.org>
+@version 0.2.1-FINAL
+@copyright (c) 2003 - 2009 by Roland Haeder
+@copyright (c) 2009 - 2012 by Mailer Developer Team
+@license GNU GPL 2.0 or any newer version
+@link http://mxchange.org
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+MA 02110-1301 USA
+//-->
+<admin-entry-meta-data>
+ <!--
+ Call-back function which should all following parameter handled over
+ to. This will always be type of string but we like homogene XMLs.
+ //-->
+ <callback-function type="string" value="adminEditEntriesConfirm" />
+ <!--
+ Name of the database table where the entries should be read/write from/to.
+ //-->
+ <database-table name="" type="string" value="refdepths" />
+ <!--
+ 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="level" alias="" function="" />
+ <database-column-list-entry name="" type="string" table="" value="percents" alias="" function="" />
+ </database-column-list>
+ <!--
+ "Filter" call-back functions to call back for piping the fetched data
+ through (can be left empty, no call-back function will be called)
+ //-->
+ <callback-function-list>
+ <callback-function-list-entry name="" type="string" value="bigintval" />
+ <callback-function-list-entry name="" type="string" value="convertCommaToDot" />
+ </callback-function-list>
+ <!--
+ Extra parameters (2nd, 3rd, ...) for above call-back functions. If an array
+ is provided, we have more than two parameters to handle over to the
+ call-back function. See function handleExtraValues() for details.
+ //-->
+ <extra-parameter-list>
+ </extra-parameter-list>
+ <!--
+ Columns for converting single time selections into a timestamp
+ //-->
+ <time-columns-list>
+ </time-columns-list>
+ <!--
+ Wether to 'edit/delete/change' (change) the entries (true) or just read them for displaying (false)
+ //-->
+ <enable-modify-entries name="" type="bool" value="true" />
+ <!--
+ The table column which should be taken for the ids (see first parameter).
+ This' type can again only be 'string' (remember why?).
+ //-->
+ <table-id-column name="" type="string" value="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="refdepths" />
+</admin-entry-meta-data>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+This template provides meta data for editing referral levels.
+
+@author Roland Haeder <webmaster@mxchange.org>
+@version 0.2.1-FINAL
+@copyright (c) 2003 - 2009 by Roland Haeder
+@copyright (c) 2009 - 2012 by Mailer Developer Team
+@license GNU GPL 2.0 or any newer version
+@link http://mxchange.org
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+MA 02110-1301 USA
+//-->
+<admin-entry-meta-data>
+ <!--
+ Call-back function which should all following parameter handled over
+ to. This will always be type of string but we like homogene XMLs.
+ //-->
+ <callback-function type="string" value="adminEditEntriesConfirm" />
+ <!--
+ Name of the database table where the entries should be read/write from/to.
+ //-->
+ <database-table name="" type="string" value="refdepths" />
+ <!--
+ And all column names to read/write, leave this list tag empty for all (*).
+ //-->
+ <database-column-list>
+ <!--
+ A column name list entry. The type is always string, or do you have
+ numerical column names?
+ //-->
+ <database-column-list-entry name="" type="string" table="" value="id" alias="" function="" />
+ <database-column-list-entry name="" type="string" table="" value="level" alias="" function="" />
+ <database-column-list-entry name="" type="string" table="" value="percents" alias="" function="" />
+ </database-column-list>
+ <!--
+ "Filter" call-back functions to call back for piping the fetched data
+ through (can be left empty, no call-back function will be called)
+ //-->
+ <callback-function-list>
+ <!--
+ A call-back function list entry
+ //-->
+ <callback-function-list-entry name="" type="string" value="bigintval" />
+ <callback-function-list-entry name="" type="string" value="bigintval" />
+ </callback-function-list>
+ <!--
+ Extra parameters (2nd, 3rd, ...) for above call-back functions. If an array
+ is provided, we have more than two parameters to handle over to the
+ call-back function. See function handleExtraValues() for details.
+ //-->
+ <extra-parameter-list>
+ </extra-parameter-list>
+ <!--
+ Columns for converting single time selections into a timestamp
+ //-->
+ <time-columns-list>
+ </time-columns-list>
+ <!--
+ Wether to 'edit/delete/change' (change) the entries (true) or just read them for displaying (false)
+ //-->
+ <enable-modify-entries name="" type="bool" value="false" />
+ <!--
+ The table column which should be taken for the ids (see first parameter).
+ This' type can again only be 'string' (remember why?).
+ //-->
+ <table-id-column name="" type="string" value="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>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+This template provides meta data for listing member's referral_levels
+
+@author Roland Haeder <webmaster@mxchange.org>
+@version 0.2.1-FINAL
+@copyright (c) 2003 - 2009 by Roland Haeder
+@copyright (c) 2009 - 2012 by Mailer Developer Team
+@license GNU GPL 2.0 or any newer version
+@link http://mxchange.org
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+MA 02110-1301 USA
+//-->
+<member-list-data>
+ <!--
+ Call-back function, the extracted data from this XML will then be re-read
+ from that function. The most common function this XML uses is
+ doGenericListEntries() so mostly you can leave this alone unless you have JOINs.
+ //-->
+ <callback-function type="string" value="doGenericListEntries" />
+ <!--
+ Now we need information which template should be loaded and which functions
+ shall be called back. So lets start with the main list template. This mostly
+ requires no call-back function.
+ //-->
+ <list-template type="string" value="admin_list_refdepths" />
+ <!--
+ The template for all rows, mostly this name has a '_row' suffix and again,
+ no call-back function is usually required.
+ //-->
+ <list-row-template type="string" value="admin_list_refdepths_row" />
+ <!--
+ Message id to display if no entry could be found
+ //-->
+ <no-entry-found-message type="string" value="ADMIN_REFERRAL_LEVELS_404" />
+ <!--
+ The table(s) we shall grab the data from, all as list.
+ //-->
+ <data-tables>
+ <!--
+ A single table entry, with alias and without the configurable
+ _MYSQL_PREFIX. You can specify the table's name or alias later on.
+ //-->
+ <data-table type="string" alias="" value="refdepths" />
+ <!--
+ Columns to perform the SELECT statement on, with alias and name plus which table.
+ //-->
+ <select-data-from-list>
+ <!--
+ A single entry with table name (can be left empty), value (must
+ always be set), alias (again can be left empty) and SQL function
+ (can also be left empty) which shall be applied on the column.
+ //-->
+ <select-data-from-list-entry type="string" table="" value="id" alias="" function="" />
+ <select-data-from-list-entry type="string" table="" value="level" alias="" function="" />
+ <select-data-from-list-entry type="string" table="" value="percents" alias="" function="" />
+ </select-data-from-list>
+ <!--
+ And the column list to perform the WHERE statement on.
+ //-->
+ <where-select-from-list>
+ </where-select-from-list>
+ <!--
+ Columns to perform the ORDER BY statement (GROUP BY is not yet supported)
+ //-->
+ <order-by-list>
+ <!--
+ A single entry to perform the ORDER BY statement on, see above WHERE entry for details.
+ //-->
+ <order-by-list-entry type="string" table="" order="level" value="ASC" />
+ </order-by-list>
+ </data-tables>
+ <!--
+ List all column names from the 'select-data-from-list' node here, but now
+ with call-back informations. The list must only contain those entries where
+ a call-back function shall be called for.
+ //-->
+ <column-callback-list>
+ </column-callback-list>
+ <!--
+ How the named column shall be logical linked to the above.
+ //-->
+ <where-condition type="string" name="" condition="" />
+</member-list-data>