GigaPromo now fully integrated
[mailer.git] / inc / extensions / ext-network.php
1 <?php
2 /************************************************************************
3  * Mailer v0.2.1-FINAL                                Start: 12/18/2008 *
4  * ===================                          Last change: 11/01/2009 *
5  *                                                                      *
6  * -------------------------------------------------------------------- *
7  * File              : ext-network.php                                  *
8  * -------------------------------------------------------------------- *
9  * Short description : Generic (sponsor) network connection extension   *
10  * -------------------------------------------------------------------- *
11  * Kurzbeschreibung  : Allgemeine Werbenetzwerk-Erweiterung             *
12  * -------------------------------------------------------------------- *
13  * $Revision::                                                        $ *
14  * $Date::                                                            $ *
15  * $Tag:: 0.2.1-FINAL                                                 $ *
16  * $Author::                                                          $ *
17  * Needs to be in all Files and every File needs "svn propset           *
18  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
19  * -------------------------------------------------------------------- *
20  * @TODO AbisZED: Which charset?                                        *
21  * @TODO Ad-Magnet: Layer(klick?). Layerviews.Skybannerklick/-view,     *
22  * @TODO Ad-Magnet: Banner-View, Textlink-Klick/-View. Page-Peel        *
23  * @TODO ADCocktail: Traffic, BIDausKAS???                              *
24  * @TODO Ads4.de: Traffic                                               *
25  * @TODO Ads4Webbis: Traffic                                            *
26  * @TODO Ads4World: Traffic                                             *
27  * @TODO Affiliblatt: All except banner                                 *
28  * @TODO doubleads: Which charset?                                      *
29  * @TODO Fusion-Ads: Has click/banner URL in API response               *
30  * @TODO GigaPromo: Traffic                                             *
31  * @TODO GolloX: Which charset?                                         *
32  * @TODO homeADS: Which charset?                                        *
33  * @TODO paid4ad: Waiting for approval                                  *
34  * @TODO secash: Traffic                                                *
35  * @TODO ultraPROMO: Traffic                                            *
36  * -------------------------------------------------------------------- *
37  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
38  * For more information visit: http://www.mxchange.org                  *
39  *                                                                      *
40  * This program is free software; you can redistribute it and/or modify *
41  * it under the terms of the GNU General Public License as published by *
42  * the Free Software Foundation; either version 2 of the License, or    *
43  * (at your option) any later version.                                  *
44  *                                                                      *
45  * This program is distributed in the hope that it will be useful,      *
46  * but WITHOUT ANY WARRANTY; without even the implied warranty of       *
47  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        *
48  * GNU General Public License for more details.                         *
49  *                                                                      *
50  * You should have received a copy of the GNU General Public License    *
51  * along with this program; if not, write to the Free Software          *
52  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,               *
53  * MA  02110-1301  USA                                                  *
54  ************************************************************************/
55
56 // Some security stuff...
57 if (!defined('__SECURITY')) {
58         die();
59 } // END - if
60
61 // Version number
62 setThisExtensionVersion('0.0');
63
64 // Version history array (add more with , '0.1.0' and so on)
65 setExtensionVersionHistory(array('0.0'));
66
67 // This extension is in development (non-productive)
68 enableExtensionProductive(false);
69
70 switch (getExtensionMode()) {
71         case 'register': // Do stuff when installation is running (modules.php?module=admin is called)
72                 // Main table which hold
73                 addExtensionSql('DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_network_data`');
74                 addExtensionSql("CREATE TABLE `{?_MYSQL_PREFIX?}_network_data` (
75 `network_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
76 `network_short_name` VARCHAR(50) NOT NULL DEFAULT '',
77 `network_title` VARCHAR(255) NOT NULL DEFAULT '',
78 `network_reflink` VARCHAR(255) NOT NULL DEFAULT '',
79 `network_data_seperator` CHAR(4) NOT NULL DEFAULT '|',
80 `network_row_seperator` CHAR(4) NOT NULL DEFAULT '|',
81 `network_request_type` ENUM('GET','POST') NOT NULL DEFAULT 'GET',
82 `network_charset` VARCHAR(20) NOT NULL DEFAULT 'UTF-8',
83 UNIQUE (`network_short_name`),
84 PRIMARY KEY (`network_id`)
85 ) TYPE={?_TABLE_TYPE?} COMMENT='Network data'");
86
87                 // Types the network provider is supporting (e.g. Forced-Banner and so on)
88                 // @TODO network_type_handle is an internal name and needs documentation
89                 addExtensionSql('DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_network_types`');
90                 addExtensionSql("CREATE TABLE `{?_MYSQL_PREFIX?}_network_types` (
91 `network_type_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
92 `network_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
93 `network_type_handle` VARCHAR(255) NOT NULL DEFAULT '',
94 `network_type_api_url` VARCHAR(255) NOT NULL DEFAULT '',
95 `network_type_click_url` VARCHAR(255) NOT NULL DEFAULT '',
96 `network_type_banner_url` VARCHAR(255) NULL DEFAULT NULL,
97 UNIQUE `provider_type` (`network_id`,`network_type_handle`),
98 PRIMARY KEY (`network_type_id`)
99 ) TYPE={?_TABLE_TYPE?} COMMENT='Types provideable by networks'");
100
101                 // HTTP parameters (names) for URLs
102                 addExtensionSql('DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_network_request_params`');
103                 addExtensionSql("CREATE TABLE `{?_MYSQL_PREFIX?}_network_request_params` (
104 `network_param_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
105 `network_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
106 `network_type_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
107 `request_param_key` VARCHAR(10) NOT NULL DEFAULT 'invalid',
108 `request_param_value` VARCHAR(10) NOT NULL DEFAULT 'invalid',
109 `request_param_default` VARCHAR(10) NULL DEFAULT NULL,
110 UNIQUE `provider_type_key` (`network_id`,`network_type_id`,`request_param_key`),
111 UNIQUE `provider_type_value` (`network_id`,`network_type_id`,`request_param_value`),
112 PRIMARY KEY (`network_param_id`)
113 ) TYPE={?_TABLE_TYPE?} COMMENT='Request parameters for GET/POST request'");
114
115                 // Error status codes
116                 addExtensionSql('DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_network_type_codes`');
117                 addExtensionSql("CREATE TABLE `{?_MYSQL_PREFIX?}_network_type_codes` (
118 `network_type_code_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
119 `network_type_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
120 `network_type_code_value` VARCHAR(50) NOT NULL DEFAULT '',
121 `network_type_code_type` VARCHAR(100) NOT NULL DEFAULT 'INVALID_TYPE',
122 UNIQUE `code_type` (`network_type_code_value`,`network_type_id`),
123 INDEX (`network_type_id`),
124 PRIMARY KEY (`network_type_code_id`)
125 ) TYPE={?_TABLE_TYPE?} COMMENT='Error codes for all types'");
126
127                 // Code types (internal table)
128                 addExtensionSql('DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_network_codes`');
129                 addExtensionSql("CREATE TABLE `{?_MYSQL_PREFIX?}_network_codes` (
130 `network_code_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
131 `network_code` VARCHAR(100) NOT NULL DEFAULT 'INVALID_CODE',
132 UNIQUE (`network_code`),
133 PRIMARY KEY (`network_code_id`)
134 ) TYPE={?_TABLE_TYPE?} COMMENT='Error types, generic data, DO NOT ALTER!'");
135
136                 // Valid translation keys (we hate hard-coded arrays, you see?)
137                 addExtensionSql('DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_network_translations`');
138                 addExtensionSql("CREATE TABLE `{?_MYSQL_PREFIX?}_network_translations` (
139 `network_translate_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
140 `network_type_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
141 `network_translation` VARCHAR(100) NOT NULL DEFAULT '',
142 UNIQUE `type_trans` (`network_type_id`,`network_translation`),
143 PRIMARY KEY (`network_translate_id`)
144 ) TYPE={?_TABLE_TYPE?} COMMENT='Translations for array keys, generic data, DO NOT ALTER!'");
145
146                 // Array-Element translation tables per type/provider
147                 addExtensionSql('DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_network_array_translation`');
148                 addExtensionSql("CREATE TABLE `{?_MYSQL_PREFIX?}_network_array_translation` (
149 `network_translate_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
150 `network_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
151 `network_type_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
152 `network_array_key` SMALLINT(5) UNSIGNED NOT NULL DEFAULT 0,
153 `network_translation` VARCHAR(100) NOT NULL DEFAULT '',
154 UNIQUE `provider_type_key` (`network_id`,`network_type_id`,`network_array_key`),
155 UNIQUE `provider_type_trans` (`network_id`,`network_type_id`,`network_translation`),
156 PRIMARY KEY (`network_translate_id`)
157 ) TYPE={?_TABLE_TYPE?} COMMENT='Cache for all queried APIs'");
158
159                 // Data from the webmaster (you!)
160                 addExtensionSql('DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_network_config`');
161                 addExtensionSql("CREATE TABLE `{?_MYSQL_PREFIX?}_network_config` (
162 `network_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
163 `network_affiliate_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
164 `network_api_password` VARCHAR(255) NOT NULL DEFAULT '',
165 `network_site_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
166 `network_query_amount` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
167 `network_active` ENUM('Y','N') NOT NULL DEFAULT 'Y',
168 UNIQUE `network_affiliate` (`network_id`,`network_affiliate_id`),
169 UNIQUE `affiliate_site` (`network_affiliate_id`,`network_site_id`),
170 PRIMARY KEY (`network_id`)
171 ) TYPE={?_TABLE_TYPE?} COMMENT='Configuration data from the webmaster (you!)'");
172
173                 // Configuration data for e.g. reload-time
174                 addExtensionSql('DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_network_types_config`');
175                 addExtensionSql("CREATE TABLE `{?_MYSQL_PREFIX?}_network_types_config` (
176 `network_data_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
177 `network_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
178 `network_type_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
179 `max_reload_time` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
180 `min_waiting_time` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
181 `min_remain_clicks` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
182 `min_payment` FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000,
183 `allow_erotic` VARCHAR(10) NOT NULL DEFAULT '',
184 UNIQUE `provider_type` (`network_id`,`network_type_id`),
185 PRIMARY KEY (`network_data_id`)
186 ) TYPE={?_TABLE_TYPE?} COMMENT='Configuration data for every type (e.g. reload-time)'");
187
188                 // Cache for queried APIs. Re-check depends on config
189                 // `network_cache_refresh` in seconds or if set to zero, full day
190                 // divided by query amount.
191                 addExtensionSql('DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_network_cache`');
192                 addExtensionSql("CREATE TABLE `{?_MYSQL_PREFIX?}_network_cache` (
193 `network_cache_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
194 `network_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
195 `network_type_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
196 `network_cache_data` MEDIUMBLOB,
197 `network_cache_timestamp` TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00',
198 UNIQUE `provider_type` (`network_id`,`network_type_id`),
199 PRIMARY KEY (`network_cache_id`)
200 ) TYPE={?_TABLE_TYPE?} COMMENT='Cache for all queried APIs'");
201
202                 // Reload locks for several types
203                 addExtensionSql('DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_network_reloads`');
204                 addExtensionSql("CREATE TABLE `{?_MYSQL_PREFIX?}_network_reloads` (
205 `network_reload_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
206 `network_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
207 `network_type_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
208 `network_reload_lock` SMALLINT(5) UNSIGNED NOT NULL DEFAULT 0,
209 `network_inserted` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP(),
210 UNIQUE `provider_type` (`network_id`,`network_type_id`),
211 PRIMARY KEY (`network_reload_id`)
212 ) TYPE={?_TABLE_TYPE?} COMMENT='Reload locks'");
213
214                 // Insert error code types
215                 // - Affiliate id or interface password wrong
216                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_codes` (`network_code`) VALUES ('AFF_ID_PASS_WRONG')");
217                 // - Webmaster's site id is not assigned (invalid, different affiliate id)
218                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_codes` (`network_code`) VALUES ('SITE_ID_NOT_ASSIGNED')");
219                 // - Webmaster's site id is locked
220                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_codes` (`network_code`) VALUES ('SITE_ID_LOCKED')");
221                 // - General error in interface data
222                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_codes` (`network_code`) VALUES ('INTERFACE_DATA_ERROR')");
223                 // - Request amount depleted
224                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_codes` (`network_code`) VALUES ('REQUESTS_DEPLETED')");
225                 // - No campaigns found for given criteria (but maybe there are with more widen criteria)
226                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_codes` (`network_code`) VALUES ('NO_CAMPAIGNS_FOUND')");
227                 // - No campaigns found with allowed interface output (but there are maybe non-interface campaigns)
228                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_codes` (`network_code`) VALUES ('NO_CAMPAIGNS_FOUND_INTERFACE')");
229                 // - Webmaster's site id is not unlocked for choosen type
230                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_codes` (`network_code`) VALUES ('SITE_ID_NOT_ALLOWED_TYPE')");
231                 // - Request parameters incomplete
232                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_codes` (`network_code`) VALUES ('REQUEST_PARAMS_INCOMPLETE')");
233
234                 // Sponsor networks
235                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_data` (`network_short_name`, `network_title`, `network_reflink`, `network_data_seperator`, `network_row_seperator`, `network_request_type`, `network_charset`) VALUES
236 ('a3h', 'A3H', 'http://www.a3h.de?ref=1447', '|', '|', 'GET', 'WINDOWS-1252'),
237 ('abiszed','AbisZED-Netz','http://abiszed-netz.de/index.php?ref=557', '|', '|', 'GET', 'WINDOWS-1252'),
238 ('admagnet', 'AD-Magnet', 'http://www.ad-magnet.de/index.php?ref=495', '|', '|', 'GET', 'ISO-8859-1'),
239 ('adcocktail', 'ADCocktail', 'http://www.adcocktail.com/?rid=2596', '|', '|', 'GET', 'WINDOWS-1252'),
240 ('ads4', 'Ads4.de', 'http://www.ads4.de/?werber=Quix0r', '|', '|', 'GET', 'WINDOWS-1252'),
241 ('ads4webbis', 'Ads4Webbis', 'http://www.ads4webbis.de?ref=835', '|', '|', 'GET', 'UTF-8'),
242 ('ads4world', 'Ads4World', 'http://www.ads4world.de?ref=252', '|', '|', 'GET', 'UTF-8'),
243 ('affiliblatt', 'Affiliblatt', 'http://www.Affiliblatt.de/?sid=MTAzNQ==&site=home', '|', '|', 'GET', 'UTF-8'),
244 ('alster', 'Alster-Marketing', 'http://www.alstermarketing.de?ref=1851', '|', '|', 'GET', 'ISO-8859-16'),
245 ('bonus', 'BonusSponsor', 'http://www.bonussponsor.de?ref=1286', '|', '|', 'GET', 'WINDOWS-1252'),
246 ('fusion', 'Fusion-Ads', 'http://www.fusion-ads.de/?ref=84', '|', '|', 'GET', 'UTF-8'),
247 ('gigapromo', 'GigaPromo', 'http://www.gigapromo.de/index.php?ref=953', '|', '|', 'GET', 'WINDOWS-1252'),
248 ('make-euros', 'Make-Euros.de', 'http://www.make-euros.de?ref=1184', '|', '|', 'GET', 'ISO-8859-1'),
249 ('power-promo', 'Power-Promo', 'http://www.power-promo.de?ref=1231', '|', '|', 'GET', 'WINDOWS-1252'),
250 ('secash', 'SeCash', 'http://www.secash.de?ref=758', '|', '|', 'GET', 'UTF-8'),
251 ('yoomedia', 'Yoo!Media Solutions', 'http://www.yoomedia.de?ref=1715', '|', '|', 'GET', 'WINDOWS-1252')");
252
253                 // Network type handlers - A3H
254                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`,`network_type_handle`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`) VALUES
255 (1, 1, 'banner', 'http://www.a3h.de/interface/out_banner.php', 'http://www.a3h.de/bannerklf.php?id=%CID%', 'http://www.a3h.de/banner.php?id=%CID%'),
256 (2, 1, 'textlink', 'http://www.a3h.de/interface/out_textlink.php', 'http://www.a3h.de/textlinkklick.php?id=%CID%', NULL),
257 (3, 1, 'surfbar', 'http://www.a3h.de/interface/out_sbanner.php', 'http://www.a3h.de/bannerklf.php?id=%CID%', 'http://www.a3h.de/banner.php?id=%CID%'),
258 (4, 1, 'focredbanner', 'http://www.a3h.de/interface/out_fbanner.php', 'http://www.a3h.de/bannerklf.php?id=%CID%', 'http://www.a3h.de/banner.php?id=%CID%'),
259 (5, 1, 'textmail', 'http://www.a3h.de/interface/out_paidmail.php', 'http://www.a3h.de/emailf.php?id=%CID%', NULL),
260 (6, 1, 'layer', 'http://www.a3h.de/interface/out_layer.php', 'http://www.a3h.de/layer.php?id=%CID%', NULL),
261 (7, 1, 'popup', 'http://www.a3h.de/interface/out_popup.php', 'http://www.a3h.de/popup.php?id=%CID%', NULL),
262 (8, 1, 'popdown', 'http://www.a3h.de/interface/out_popdown.php', 'http://www.a3h.de/popdown.php?id=%CID%', NULL),
263 (9, 1, 'lead', 'http://www.a3h.de/interface/out_lead.php', 'http://www.a3h.de/lead.php?id=%CID%', NULL),
264 (10, 1, 'sale', 'http://www.a3h.de/interface/out_sale.php', 'http://www.a3h.de/sale.php?id=%CID%', NULL),
265 (11, 1, 'htmlmail', 'http://www.a3h.de/interface/out_paidmail.php', 'http://www.a3h.de/emailf.php?id=%CID%', NULL)");
266
267                 // Network type handlers - AbisZED-Netz
268
269                 // Network type handlers - Ad-Magnet
270
271                 // Network type handlers - AdCocktail
272                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES
273 (13, 4, 'focredbanner', 'http://www.adcocktail.com/sc/kas/kas_fk.php', 'http://fk.adcocktail.com/fk_k.php?uid=%ID%&wid=%CID%&wsid=%SID%', 'http://fk.adcocktail.com/fk_v.php?uid=%ID%&wid=%CID%&wsid=%SID%'),
274 (12, 4, 'textmail', 'http://www.adcocktail.com/sc/kas/kas_pm.php', 'http://pm.adcocktail.com/pm.php?uid=%ID%&wid=%CID%&wsid=%SID%', NULL)");
275
276                 // Network type handlers - Ads4
277                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES
278 (14, 5, 'focredbanner', 'http://www.ads4.de/interface/interface.php', 'http://www.ads4.de/forced_click.php?fb_id=%CID%&sid=%SID%', 'http://www.ads4.de/forced_view.php?fb_id=%CID%&sid=%SID%'),
279 (16, 5, 'htmlmail', 'http://www.ads4.de/interface/interface.php', 'http://www.ads4.de/paidmail_click.php?pm=%CID%&%sid=%SID%', NULL),
280 (15, 5, 'textmail', 'http://www.ads4.de/interface/interface.php', 'http://www.ads4.de/paidmail_click.php?pm=%CID%&%sid=%SID%', NULL)");
281
282                 // Network type handlers - Ads4Webbis
283                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES
284 (20, 6, 'banner_click', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/klickbanner.php?id=%ID%&bid=%CID%&aid=%SID%', 'http://www.ads4webbis.de/codes/viewbanner.php?id=%ID%&bid=%CID%&aid=%SID%'),
285 (19, 6, 'banner_view', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/bannerklick.php?id=%ID%&bid=%CID%&aid=%SID%', 'http://www.ads4webbis.de/codes/bannerview.php?id=%ID%&bid=%CID%&aid=%SID%'),
286 (22, 6, 'button_view', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/buttonklick.php?id=%ID%&bid=%CID%&aid=%SID%', 'http://www.ads4webbis.de/codes/buttonview.php?id=%ID%&bid=%CID%&aid=%SID%'),
287 (17, 6, 'focredbanner', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/forcedbannerklick.php?id=%ID%&bid=%CID%&aid=%SID%', 'http://www.ads4webbis.de/codes/forcedbannerview.php?id=%ID%&bid=%CID%&aid=%SID%'),
288 (18, 6, 'forcedtextlink', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/forcedtextlinkklick.php?id=%ID%&bid=%CID%&aid=%SID%', NULL),
289 (24, 6, 'popup', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/popup.php?id=%ID%&bid=%CID%&aid=%SID%', NULL),
290 (21, 6, 'skybanner_view', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/skybannerklick.php?id=%ID%&bid=%CID%&aid=%SID%', 'http://www.ads4webbis.de/codes/skybannerview.php?id=%ID%&bid=%CID%&aid=%SID%'),
291 (23, 6, 'textlink_view', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/textlinkview.php?id=%ID%&bid=%CID%&aid=%SID%', NULL),
292 (25, 6, 'textmail', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/paidmail.php?id=%ID%&bid=%CID%&aid=%SID%', NULL)");
293
294                 // Network type handlers - Ads4World
295                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES
296 (29, 7, 'banner_click', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/klickbanner.php?id=%ID%&bid=%CID%&aid=%SID%', 'http://www.ads4world.de/codes/viewbanner.php?id=%ID%&bid=%CID%&aid=%SID%'),
297 (28, 7, 'banner_view', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/bannerklick.php?id=%ID%&bid=%CID%&aid=%SID%', 'http://www.ads4world.de/codes/bannerview.php?id=%ID%&bid=%CID%&aid=%SID%'),
298 (31, 7, 'button_view', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/buttonklick.php?id=%ID%&bid=%CID%&aid=%SID%', 'http://www.ads4world.de/codes/buttonview.php?id=%ID%&bid=%CID%&aid=%SID%'),
299 (26, 7, 'focredbanner', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/forcedbannerklick.php?id=%ID%&bid=%CID%&aid=%SID%', 'http://www.ads4world.de/codes/forcedbannerview.php?id=%ID%&bid=%CID%&aid=%SID%'),
300 (27, 7, 'forcedtextlink', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/forcedtextlinkklick.php?id=%ID%&bid=%CID%&aid=%SID%', NULL),
301 (33, 7, 'popup', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/popup.php?id=%ID%&bid=%CID%&aid=%SID%', NULL),
302 (30, 7, 'skybanner_view', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/skybannerklick.php?id=%ID%&bid=%CID%&aid=%SID%', 'http://www.ads4world.de/codes/skybannerview.php?id=%ID%&bid=%CID%&aid=%SID%'),
303 (32, 7, 'textlink_view', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/textlinkview.php?id=%ID%&bid=%CID%&aid=%SID%', NULL),
304 (34, 7, 'textmail', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/paidmail.php?id=%ID%&bid=%CID%&aid=%SID%', NULL)");
305
306                 // Network type handlers - Affiliblatt
307
308                 // Network type handlers - Alster-Marketing
309                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES
310 (35, 9, 'banner_click', 'http://if.alstermarketing.de/interface/out_banner.php', 'http://www.alstermarketing.de/bannerklf.php?id=%CID%', 'http://www.alstermarketing.de/banner.php?id=%CID%'),
311 (45, 9, 'banner_view', 'http://if.alstermarketing.de/interface/out_banner.php', 'http://www.alstermarketing.de/bannerklf.php?id=%CID%', 'http://www.alstermarketing.de/banner.php?id=%CID%'),
312 (38, 9, 'focredbanner', 'http://if.alstermarketing.de/interface/out_fbanner.php', 'http://www.alstermarketing.de/bannerklf.php?id=%CID%', 'http://www.alstermarketing.de/banner.php?id=%CID%'),
313 (48, 9, 'htmlmail', 'http://if.alstermarketing.de/interface/out_paidmail.php', 'http://www.alstermarketing.de/emailf.php?id=%CID%', NULL),
314 (40, 9, 'layer_click', 'http://if.alstermarketing.de/interface/out_layer.php', 'http://www.alstermarketing.de/layer.php?id=%CID%', NULL),
315 (49, 9, 'layer_view', 'http://if.alstermarketing.de/interface/out_layer.php', 'http://www.alstermarketing.de/layer.php?id=%CID%', NULL),
316 (43, 9, 'lead', 'http://if.alstermarketing.de/interface/out_lead.php', 'http://www.alstermarketing.de/lead.php?id=%CID%', NULL),
317 (42, 9, 'popdown', 'http://if.alstermarketing.de/interface/out_popdown.php', 'http://www.alstermarketing.de/popdown.php?id=%CID%', NULL),
318 (41, 9, 'popup', 'http://if.alstermarketing.de/interface/out_popup.php', 'http://www.alstermarketing.de/popup.php?id=%CID%', NULL),
319 (44, 9, 'sale', 'http://if.alstermarketing.de/interface/out_sale.php', 'http://www.alstermarketing.de/sale.php?id=%CID%', NULL),
320 (37, 9, 'surfbar_click', 'http://if.alstermarketing.de/interface/out_sbanner.php', 'http://www.alstermarketing.de/bannerklf.php?id=%CID%', 'http://www.alstermarketing.de/banner.php?id=%CID%'),
321 (47, 9, 'surfbar_view', 'http://if.alstermarketing.de/interface/out_sbanner.php', 'http://www.alstermarketing.de/bannerklf.php?id=%CID%', 'http://www.alstermarketing.de/banner.php?id=%CID%'),
322 (36, 9, 'textlink_click', 'http://if.alstermarketing.de/interface/out_textlink.php', 'http://www.alstermarketing.de/textlinkklick.php?id=%CID%', NULL),
323 (46, 9, 'textlink_view', 'http://if.alstermarketing.de/interface/out_textlink.php', 'http://www.alstermarketing.de/textlinkklick.php?id=%CID%', NULL),
324 (39, 9, 'textmail', 'http://if.alstermarketing.de/interface/out_paidmail.php', 'http://www.alstermarketing.de/emailf.php?id=%CID%', NULL)");
325
326                 // Network type handlers - BonusSponsor
327                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES
328 (50, 10, 'banner_click', 'http://www.bonussponsor.de/interface/out_banner.php', 'http://www.bonussponsor.de/bannerklf.php?id=%CID%', 'http://www.bonussponsor.de/banner.php?id=%CID%'),
329 (51, 10, 'banner_view', 'http://www.bonussponsor.de/interface/out_banner.php', 'http://www.bonussponsor.de/bannerklf.php?id=%CID%', 'http://www.bonussponsor.de/banner.php?id=%CID%'),
330 (54, 10, 'focredbanner', 'http://www.bonussponsor.de/interface/out_fbanner.php', 'http://www.bonussponsor.de/bannerklf.php?id=%CID%', 'http://www.bonussponsor.de/banner.php?id=%CID%'),
331 (56, 10, 'htmlmail', 'http://www.bonussponsor.de/interface/out_paidmail.php', 'http://www.bonussponsor.de/emailf.php?id=%CID%', NULL),
332 (57, 10, 'layer_click', 'http://www.bonussponsor.de/interface/out_layer.php', 'http://www.bonussponsor.de/layer.php?id=%CID%', NULL),
333 (58, 10, 'layer_view', 'http://www.bonussponsor.de/interface/out_layer.php', 'http://www.bonussponsor.de/layer.php?id=%CID%', NULL),
334 (61, 10, 'lead', 'http://www.bonussponsor.de/interface/out_lead.php', 'http://www.bonussponsor.de/lead.php?id=%CID%', NULL),
335 (60, 10, 'popdown', 'http://www.bonussponsor.de/interface/out_popdown.php', 'http://www.bonussponsor.de/popdown.php?id=%CID%', NULL),
336 (59, 10, 'popup', 'http://www.bonussponsor.de/interface/out_popup.php', 'http://www.bonussponsor.de/popup.php?id=%CID%', NULL),
337 (62, 10, 'sale', 'http://www.bonussponsor.de/interface/out_sale.php', 'http://www.bonussponsor.de/sale.php?id=%CID%', NULL),
338 (52, 10, 'textlink_click', 'http://www.bonussponsor.de/interface/out_textlink.php', 'http://www.bonussponsor.de/textlinkklick.php?id=%CID%', NULL),
339 (53, 10, 'textlink_view', 'http://www.bonussponsor.de/interface/out_textlink.php', 'http://www.bonussponsor.de/textlinkklick.php?id=%CID%', NULL),
340 (55, 10, 'textmail', 'http://www.bonussponsor.de/interface/out_paidmail.php', 'http://www.bonussponsor.de/emailf.php?id=%CID%', NULL)");
341
342                 // Network type handlers - Fusion-Ads
343
344                 // Network type handlers - GigaPromo
345                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES
346 (102, 12, 'banner_view', 'http://www.gigapromo.de/interface/output_viewbanner.php', 'http://www.gigapromo.de/view/klickbanner.php?id=%ID%&bid=%CID%&aid=%SID%', 'http://www.gigapromo.de/view/viewbanner.php?id=%ID%&bid=%CID%&aid=%SID%'),
347 (104, 12, 'focredbanner', 'http://www.gigapromo.de/interface/output_forcedbanner.php', 'http://www.gigapromo.de/view/forcedclickbanner.php?id=%ID%&bid=%CID%&aid=%SID%', 'http://www.gigapromo.de/view/forcedviewbanner.php?id=%ID%&bid=%CID%&aid=%SID%'),
348 (105, 12, 'forcedtextlink', 'http://www.gigapromo.de/interface/output_forcedtextlink.php', 'http://www.gigapromo.de/view/forcedclicktextlink.php?id=%ID%&bid=%CID%&aid=%SID%', NULL),
349 (103, 12, 'layer_view', 'http://www.gigapromo.de/interface/output_layerviews.php', 'http://www.gigapromo.de/view/layer.php?id=%ID%&bid=%CID%&aid=%SID%', NULL),
350 (108, 12, 'popdown', 'http://www.gigapromo.de/interface/output_popdown.php', 'http://www.gigapromo.de/view/popdown.php?id=%ID%&bid=%CID%&aid=%SID%', NULL),
351 (107, 12, 'popup', 'http://www.gigapromo.de/interface/output_popup.php', 'http://www.gigapromo.de/view/popup.php?id=%ID%&bid=%CID%&aid=%SID%', NULL),
352 (106, 12, 'textmail', 'http://www.gigapromo.de/interface/output_paidmails.php', 'http://www.gigapromo.de/view/paidmail.php?id=%ID%&bid=%CID%&aid=%SID%', NULL)");
353
354                 // Network type handlers - Make-Euros
355                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES
356 (63, 13, 'banner_click', 'http://www.make-euros.de/interface/out_banner.php', 'http://www.make-euros.de/bannerklf.php?id=%CID%', 'http://www.make-euros.de/banner.php?id=%CID%'),
357 (64, 13, 'banner_view', 'http://www.make-euros.de/interface/out_banner.php', 'http://www.make-euros.de/bannerklf.php?id=%CID%', 'http://www.make-euros.de/banner.php?id=%CID%'),
358 (68, 13, 'focredbanner', 'http://www.make-euros.de/interface/out_fbanner.php', 'http://www.make-euros.de/bannerklf.php?id=%CID%', 'http://www.make-euros.de/banner.php?id=%CID%'),
359 (71, 13, 'htmlmail', 'http://www.make-euros.de/interface/out_paidmail.php', 'http://www.make-euros.de/emailf.php?id=%CID%', NULL),
360 (72, 13, 'layer_click', 'http://www.make-euros.de/interface/out_layer.php', 'http://www.make-euros.de/layer.php?id=%CID%', NULL),
361 (73, 13, 'layer_view', 'http://www.make-euros.de/interface/out_layer.php', 'http://www.make-euros.de/layer.php?id=%CID%', NULL),
362 (76, 13, 'lead', 'http://www.make-euros.de/interface/out_lead.php', 'http://www.make-euros.de /lead.php?id=%CID%', NULL),
363 (75, 13, 'popdown', 'http://www.make-euros.de/interface/out_popdown.php', 'http://www.make-euros.de/popdown.php?id=%CID%', NULL),
364 (74, 13, 'popup', 'http://www.make-euros.de/interface/out_popup.php', 'http://www.make-euros.de/popup.php?id=%CID%', NULL),
365 (77, 13, 'sale', 'http://www.make-euros.de/interface/out_sale.php', 'http://www.make-euros.de /sale.php?id=%CID%', NULL),
366 (67, 13, 'surfbar_click', 'http://www.make-euros.de/interface/out_sbanner.php', 'http://www.make-euros.de/bannerklf.php?id=%CID%', 'http://www.make-euros.de/banner.php?id=%CID%'),
367 (69, 13, 'surfbar_view', 'http://www.make-euros.de/interface/out_sbanner.php', 'http://www.make-euros.de/bannerklf.php?id=%CID%', 'http://www.make-euros.de/banner.php?id=%CID%'),
368 (65, 13, 'textlink_click', 'http://www.make-euros.de/interface/out_textlink.php', 'http://www.make-euros.de/textlinkklick.php?id=%CID%', NULL),
369 (66, 13, 'textlink_view', 'http://www.make-euros.de/interface/out_textlink.php', 'http://www.make-euros.de/textlinkklick.php?id=%CID%', NULL),
370 (70, 13, 'textmail', 'http://www.make-euros.de/interface/out_paidmail.php', 'http://www.make-euros.de/emailf.php?id=%CID%', NULL)");
371
372                 // Network type handlers - Power-Promo
373                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES
374 (78, 14, 'banner_click', 'http://www.power-promo.de/interface/out_banner.php', 'http://www.power-promo.de/bannerklf.php?id=%CID%', 'http://www.power-promo.de/banner.php?id=%CID%'),
375 (79, 14, 'banner_view', 'http://www.power-promo.de/interface/out_banner.php', 'http://www.power-promo.de/bannerklf.php?id=%CID%', 'http://www.power-promo.de/banner.php?id=%CID%'),
376 (84, 14, 'focredbanner', 'http://www.power-promo.de/interface/out_fbanner.php', 'http://www.power-promo.de/bannerklf.php?id=%CID%', 'http://www.power-promo.de/banner.php?id=%CID%'),
377 (86, 14, 'htmlmail', 'http://www.power-promo.de/interface/out_paidmail.php', 'http://www.power-promo.de/emailf.php?id=%CID%', NULL),
378 (87, 14, 'layer_click', 'http://www.power-promo.de/interface/out_layer.php', 'http://www.power-promo.de/layer.php?id=%CID%', NULL),
379 (88, 14, 'layer_view', 'http://www.power-promo.de/interface/out_layer.php', 'http://www.power-promo.de/layer.php?id=%CID%', NULL),
380 (91, 14, 'lead', 'http://www.power-promo.de/interface/out_lead.php', 'http://www.power-promo.de/lead.php?id=%CID%', NULL),
381 (90, 14, 'popdown', 'http://www.power-promo.de/interface/out_popdown.php', 'http://www.power-promo.de/popdown.php?id=%CID%', NULL),
382 (89, 14, 'popup', 'http://www.power-promo.de/interface/out_popup.php', 'http://www.power-promo.de/popup.php?id=%CID%', NULL),
383 (92, 14, 'sale', 'http://www.power-promo.de/interface/out_sale.php', 'http://www.power-promo.de/sale.php?id=%CID%', NULL),
384 (82, 14, 'surfbar_click', 'http://www.power-promo.de/interface/out_sbanner.php', 'http://www.power-promo.de/bannerklf.php?id=%CID%', 'http://www.power-promo.de/banner.php?id=%CID%'),
385 (83, 14, 'surfbar_view', 'http://www.power-promo.de/interface/out_sbanner.php', 'http://www.power-promo.de/bannerklf.php?id=%CID%', 'http://www.power-promo.de/banner.php?id=%CID%'),
386 (80, 14, 'textlink_click', 'http://www.power-promo.de/interface/out_textlink.php', 'http://www.power-promo.de/textlinkklick.php?id=%CID%', NULL),
387 (81, 14, 'textlink_view', 'http://www.power-promo.de/interface/out_textlink.php', 'http://www.power-promo.de/textlinkklick.php?id=%CID%', NULL),
388 (85, 14, 'textmail', 'http://www.power-promo.de/interface/out_paidmail.php', 'http://www.power-promo.de/emailf.php?id=%CID%', NULL)");
389
390                 // Network type handlers - SeCash
391                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES
392 (96, 15, 'banner_click', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/klickbanner.php?id=%ID%&bid=%CID%&aid=%SID%', 'http://www.secash.de/codes/viewbanner.php?id=%ID%&bid=%CID%&aid=%SID%'),
393 (95, 15, 'banner_view', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/bannerklick.php?id=%ID%&bid=%CID%&aid=%SID%', 'http://www.secash.de/codes/bannerview.php?id=%ID%&bid=%CID%&aid=%SID%'),
394 (98, 15, 'button_view', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/buttonklick.php?id=%ID%&bid=%CID%&aid=%SID%', 'http://www.secash.de/codes/buttonview.php?id=%ID%&bid=%CID%&aid=%SID%'),
395 (93, 15, 'focredbanner', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/forcedbannerklick.php?id=%ID%&bid=%CID%&aid=%SID%', 'http://www.secash.de/codes/forcedbannerview.php?id=%ID%&bid=%CID%&aid=%SID%'),
396 (94, 15, 'forcedtextlink', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/forcedtextlinkklick.php?id=%ID%&bid=%CID%&aid=%SID%', NULL),
397 (100, 15, 'popup', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/popup.php?id=%ID%&bid=%CID%&aid=%SID%', NULL),
398 (97, 15, 'skybanner_view', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/skybannerklick.php?id=%ID%&bid=%CID%&aid=%SID%', 'http://www.secash.de/codes/skybannerview.php?id=%ID%&bid=%CID%&aid=%SID%'),
399 (99, 15, 'textlink_view', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/textlinkview.php?id=%ID%&bid=%CID%&aid=%SID%', NULL),
400 (101, 15, 'textmail', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/paidmail.php?id=%ID%&bid=%CID%&aid=%SID%', NULL)");
401
402                 // Network type handlers - Yoo!Media
403
404                 // Request parameters per type handler - A3H
405                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_param_id`, `network_id`, `network_type_id`, `request_param_key`, `request_param_value`, `request_param_default`) VALUES
406 (1, 1, 1, 'id', 'id', NULL),
407 (2, 1, 1, 'sid', 'sid', NULL),
408 (3, 1, 1, 'password', 'pw', NULL),
409 (4, 1, 1, 'reload', 'reload', NULL),
410 (5, 1, 1, 'reward', 'verguetung', NULL),
411 (6, 1, 1, 'min_stay', 'ma', NULL),
412 (7, 1, 1, 'type', 'typ', NULL),
413 (8, 1, 1, 'remain', 'uebrig', NULL),
414 (9, 1, 1, 'size', 'size', NULL),
415 (10, 1, 2, 'id', 'id', NULL),
416 (11, 1, 2, 'sid', 'sid', NULL),
417 (12, 1, 2, 'password', 'pw', NULL),
418 (13, 1, 2, 'reload', 'reload', NULL),
419 (14, 1, 2, 'reward', 'verguetung', NULL),
420 (15, 1, 2, 'remain', 'uebrig', NULL),
421 (16, 1, 3, 'id', 'id', NULL),
422 (17, 1, 3, 'sid', 'sid', NULL),
423 (18, 1, 3, 'password', 'pw', NULL),
424 (19, 1, 3, 'reload', 'reload', NULL),
425 (20, 1, 3, 'reward', 'verguetung', NULL),
426 (21, 1, 3, 'type', 'typ', NULL),
427 (22, 1, 3, 'remain', 'uebrig', NULL),
428 (23, 1, 3, 'size', 'size', NULL),
429 (24, 1, 4, 'id', 'id', NULL),
430 (25, 1, 4, 'sid', 'sid', NULL),
431 (26, 1, 4, 'password', 'pw', NULL),
432 (27, 1, 4, 'reload', 'reload', NULL),
433 (28, 1, 4, 'reward', 'verguetung', NULL),
434 (29, 1, 4, 'min_stay', 'ma', NULL),
435 (30, 1, 4, 'remain', 'uebrig', NULL),
436 (31, 1, 4, 'size', 'size', NULL),
437 (32, 1, 5, 'id', 'id', NULL),
438 (33, 1, 5, 'sid', 'sid', NULL),
439 (34, 1, 5, 'password', 'pw', NULL),
440 (35, 1, 5, 'reload', 'reload', NULL),
441 (36, 1, 5, 'reward', 'verguetung', NULL),
442 (37, 1, 5, 'min_stay', 'ma', NULL),
443 (38, 1, 5, 'type', 'typ', 'text'),
444 (39, 1, 5, 'remain', 'uebrig', NULL),
445 (40, 1, 11, 'id', 'id', NULL),
446 (41, 1, 11, 'sid', 'sid', NULL),
447 (42, 1, 11, 'password', 'pw', NULL),
448 (43, 1, 11, 'reload', 'reload', NULL),
449 (44, 1, 11, 'reward', 'verguetung', NULL),
450 (45, 1, 11, 'min_stay', 'ma', NULL),
451 (46, 1, 11, 'type', 'typ', 'html'),
452 (47, 1, 11, 'remain', 'uebrig', NULL),
453 (48, 1, 6, 'id', 'id', NULL),
454 (49, 1, 6, 'sid', 'sid', NULL),
455 (50, 1, 6, 'password', 'pw', NULL),
456 (51, 1, 6, 'reload', 'reload', NULL),
457 (52, 1, 6, 'reward', 'verguetung', NULL),
458 (53, 1, 6, 'type', 'typ', NULL),
459 (54, 1, 6, 'remain', 'uebrig', NULL),
460 (55, 1, 7, 'id', 'id', NULL),
461 (56, 1, 7, 'sid', 'sid', NULL),
462 (57, 1, 7, 'password', 'pw', NULL),
463 (58, 1, 7, 'reload', 'reload', NULL),
464 (59, 1, 7, 'reward', 'verguetung', NULL),
465 (60, 1, 7, 'min_stay', 'ma', NULL),
466 (61, 1, 7, 'remain', 'uebrig', NULL),
467 (62, 1, 8, 'id', 'id', NULL),
468 (63, 1, 8, 'sid', 'sid', NULL),
469 (64, 1, 8, 'password', 'pw', NULL),
470 (65, 1, 8, 'reload', 'reload', NULL),
471 (66, 1, 8, 'reward', 'verguetung', NULL),
472 (67, 1, 8, 'min_stay', 'ma', NULL),
473 (68, 1, 8, 'remain', 'uebrig', NULL),
474 (69, 1, 9, 'id', 'id', NULL),
475 (70, 1, 9, 'sid', 'sid', NULL),
476 (71, 1, 9, 'password', 'pw', NULL),
477 (72, 1, 9, 'reward', 'verguetung', NULL),
478 (73, 1, 9, 'remain', 'uebrig', NULL),
479 (74, 1, 10, 'id', 'id', NULL),
480 (75, 1, 10, 'sid', 'sid', NULL),
481 (76, 1, 10, 'password', 'pw', NULL),
482 (77, 1, 10, 'reward', 'verguetung', NULL),
483 (78, 1, 10, 'remain', 'uebrig', NULL)");
484
485                 // Request parameters per type handler - AbisZED-Netz
486
487                 // Request parameters per type handler - Ad-Magnet
488
489                 // Request parameters per type handler - AdCocktail
490
491                 // Request parameters per type handler - Ads4
492                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_param_id`, `network_id`, `network_type_id`, `request_param_key`, `request_param_value`, `request_param_default`) VALUES
493 (79, 5, 14, 'id', 'id', NULL),
494 (80, 5, 14, 'password', 'pwd', NULL),
495 (81, 5, 14, 'currency', 'waehrung', NULL),
496 (82, 5, 14, 'extra', 'mediatype', 'forced_banner'),
497 (83, 5, 14, 'reward', 'verg', NULL),
498 (84, 5, 14, 'reload', 'reload', NULL),
499 (85, 5, 14, 'remain', 'uebrig', NULL),
500 (86, 5, 14, 'min_stay', 'ma', NULL),
501 (87, 5, 15, 'id', 'id', NULL),
502 (88, 5, 15, 'password', 'pwd', NULL),
503 (89, 5, 15, 'currency', 'waehrung', NULL),
504 (90, 5, 15, 'extra', 'mediatype', 'textmails'),
505 (91, 5, 15, 'reward', 'verg', NULL),
506 (92, 5, 15, 'reload', 'reload', NULL),
507 (93, 5, 15, 'remain', 'uebrig', NULL),
508 (94, 5, 15, 'min_stay', 'ma', NULL),
509 (95, 5, 16, 'id', 'id', NULL),
510 (96, 5, 16, 'password', 'pw', NULL),
511 (97, 5, 16, 'currency', 'waehrung', NULL),
512 (98, 5, 16, 'extra', 'mediatype', 'htmlmails'),
513 (99, 5, 16, 'reward', 'verg', NULL),
514 (100, 5, 16, 'reload', 'reload', NULL),
515 (101, 5, 16, 'remain', 'uebrig', NULL),
516 (102, 5, 16, 'min_stay', 'ma', NULL)");
517
518                 // Request parameters per type handler - Ads4Webbis
519                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_param_id`, `network_id`, `network_type_id`, `request_param_key`, `request_param_value`, `request_param_default`) VALUES
520 (109, 6, 17, 'extra', 'typ', 'forcedbanner'),
521 (110, 6, 17, 'id', 'id', NULL),
522 (111, 6, 17, 'password', 'pw', NULL),
523 (113, 6, 17, 'reload', 'reload', NULL),
524 (112, 6, 17, 'remain', 'uebrig', NULL),
525 (114, 6, 17, 'reward', 'verguetung', NULL),
526 (115, 6, 18, 'extra', 'typ', 'forcedtextlink'),
527 (116, 6, 18, 'id', 'id', NULL),
528 (117, 6, 18, 'password', 'pw', NULL),
529 (119, 6, 18, 'reload', 'reload', NULL),
530 (118, 6, 18, 'remain', 'uebrig', NULL),
531 (120, 6, 18, 'reward', 'verguetung', NULL),
532 (121, 6, 19, 'extra', 'typ', 'bannerview'),
533 (122, 6, 19, 'id', 'id', NULL),
534 (123, 6, 19, 'password', 'pw', NULL),
535 (125, 6, 19, 'reload', 'reload', NULL),
536 (124, 6, 19, 'remain', 'uebrig', NULL),
537 (126, 6, 19, 'reward', 'verguetung', NULL),
538 (103, 6, 20, 'extra', 'typ', 'bannerklick'),
539 (104, 6, 20, 'id', 'id', NULL),
540 (105, 6, 20, 'password', 'pw', NULL),
541 (107, 6, 20, 'reload', 'reload', NULL),
542 (106, 6, 20, 'remain', 'uebrig', NULL),
543 (108, 6, 20, 'reward', 'verguetung', NULL),
544 (127, 6, 21, 'extra', 'typ', 'skybannerview'),
545 (128, 6, 21, 'id', 'id', NULL),
546 (129, 6, 21, 'password', 'pw', NULL),
547 (131, 6, 21, 'reload', 'reload', NULL),
548 (130, 6, 21, 'remain', 'uebrig', NULL),
549 (132, 6, 21, 'reward', 'verguetung', NULL),
550 (133, 6, 22, 'extra', 'typ', 'buttonview'),
551 (134, 6, 22, 'id', 'id', NULL),
552 (135, 6, 22, 'password', 'pw', NULL),
553 (137, 6, 22, 'reload', 'reload', NULL),
554 (136, 6, 22, 'remain', 'uebrig', NULL),
555 (138, 6, 22, 'reward', 'verguetung', NULL),
556 (139, 6, 23, 'extra', 'typ', 'textview'),
557 (140, 6, 23, 'id', 'id', NULL),
558 (141, 6, 23, 'password', 'pw', NULL),
559 (143, 6, 23, 'reload', 'reload', NULL),
560 (142, 6, 23, 'remain', 'uebrig', NULL),
561 (144, 6, 23, 'reward', 'verguetung', NULL),
562 (145, 6, 24, 'extra', 'typ', 'popup'),
563 (146, 6, 24, 'id', 'id', NULL),
564 (151, 6, 24, 'min_stay', 'ma', NULL),
565 (147, 6, 24, 'password', 'pw', NULL),
566 (149, 6, 24, 'reload', 'reload', NULL),
567 (148, 6, 24, 'remain', 'uebrig', NULL),
568 (150, 6, 24, 'reward', 'verguetung', NULL),
569 (152, 6, 25, 'extra', 'typ', 'paidmail'),
570 (153, 6, 25, 'id', 'id', NULL),
571 (158, 6, 25, 'min_stay', 'ma', NULL),
572 (154, 6, 25, 'password', 'pw', NULL),
573 (156, 6, 25, 'reload', 'reload', NULL),
574 (155, 6, 25, 'remain', 'uebrig', NULL),
575 (157, 6, 25, 'reward', 'verguetung', NULL)");
576
577                 // Request parameters per type handler - Ads4World
578                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_param_id`, `network_id`, `network_type_id`, `request_param_key`, `request_param_value`, `request_param_default`) VALUES
579 (159, 7, 29, 'type', 'typ', 'bannerklick'),
580 (160, 7, 29, 'id', 'id', NULL),
581 (161, 7, 29, 'password', 'pw', NULL),
582 (162, 7, 29, 'remain', 'uebrig', NULL),
583 (163, 7, 29, 'reload', 'reload', NULL),
584 (164, 7, 29, 'reward', 'verguetung', NULL),
585 (165, 7, 28, 'type', 'typ', 'bannerview'),
586 (166, 7, 28, 'id', 'id', NULL),
587 (167, 7, 28, 'password', 'pw', NULL),
588 (168, 7, 28, 'remain', 'uebrig', NULL),
589 (169, 7, 28, 'reload', 'reload', NULL),
590 (170, 7, 28, 'reward', 'verguetung', NULL),
591 (171, 7, 31, 'type', 'typ', 'buttonview'),
592 (172, 7, 31, 'id', 'id', NULL),
593 (173, 7, 31, 'password', 'pw', NULL),
594 (174, 7, 31, 'remain', 'uebrig', NULL),
595 (175, 7, 31, 'reload', 'reload', NULL),
596 (176, 7, 31, 'reward', 'verguetung', NULL),
597 (177, 7, 26, 'type', 'typ', 'forcedbanner'),
598 (178, 7, 26, 'id', 'id', NULL),
599 (179, 7, 26, 'password', 'pw', NULL),
600 (180, 7, 26, 'remain', 'uebrig', NULL),
601 (181, 7, 26, 'reload', 'reload', NULL),
602 (182, 7, 26, 'reward', 'verguetung', NULL),
603 (183, 7, 27, 'type', 'typ', 'forcedtextlink'),
604 (184, 7, 27, 'id', 'id', NULL),
605 (185, 7, 27, 'password', 'pw', NULL),
606 (186, 7, 27, 'remain', 'uebrig', NULL),
607 (187, 7, 27, 'reload', 'reload', NULL),
608 (188, 7, 27, 'reward', 'verguetung', NULL),
609 (189, 7, 33, 'type', 'typ', 'popup'),
610 (190, 7, 33, 'id', 'id', NULL),
611 (191, 7, 33, 'password', 'pw', NULL),
612 (192, 7, 33, 'remain', 'uebrig', NULL),
613 (193, 7, 33, 'reload', 'reload', NULL),
614 (194, 7, 33, 'reward', 'verguetung', NULL),
615 (195, 7, 33, 'min_stay', 'ma', NULL),
616 (196, 7, 30, 'type', 'typ', 'skybannerview'),
617 (197, 7, 30, 'id', 'id', NULL),
618 (198, 7, 30, 'password', 'pw', NULL),
619 (199, 7, 30, 'remain', 'uebrig', NULL),
620 (200, 7, 30, 'reload', 'reload', NULL),
621 (201, 7, 30, 'reward', 'verguetung', NULL),
622 (202, 7, 32, 'type', 'typ', 'textview'),
623 (203, 7, 32, 'id', 'id', NULL),
624 (204, 7, 32, 'password', 'pw', NULL),
625 (205, 7, 32, 'remain', 'uebrig', NULL),
626 (206, 7, 32, 'reload', 'reload', NULL),
627 (207, 7, 32, 'reward', 'verguetung', NULL),
628 (208, 7, 34, 'type', 'typ', 'textmails'),
629 (209, 7, 34, 'id', 'id', NULL),
630 (210, 7, 34, 'password', 'pw', NULL),
631 (211, 7, 34, 'remain', 'uebrig', NULL),
632 (212, 7, 34, 'reload', 'reload', NULL),
633 (213, 7, 34, 'reward', 'verguetung', NULL),
634 (214, 7, 34, 'min_stay', 'ma', NULL)");
635
636                 // Request parameters per type handler - Affiliblatt
637
638                 // Request parameters per type handler - Alster-Marketing
639                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_param_id`, `network_id`, `network_type_id`, `request_param_key`, `request_param_value`, `request_param_default`) VALUES
640 (215, 9, 35, 'id', 'id', NULL),
641 (216, 9, 35, 'sid', 'sid', NULL),
642 (217, 9, 35, 'password', 'pw', NULL),
643 (218, 9, 35, 'reward', 'verguetung', NULL),
644 (219, 9, 35, 'reload', 'reload', NULL),
645 (220, 9, 35, 'remain', 'uebrig', NULL),
646 (221, 9, 35, 'type', 'typ', 'klick'),
647 (222, 9, 35, 'size', 'size', NULL),
648 (223, 9, 45, 'id', 'id', NULL),
649 (224, 9, 45, 'sid', 'sid', NULL),
650 (225, 9, 45, 'password', 'pw', NULL),
651 (226, 9, 45, 'reward', 'verguetung', NULL),
652 (227, 9, 45, 'reload', 'reload', NULL),
653 (228, 9, 45, 'remain', 'uebrig', NULL),
654 (229, 9, 45, 'type', 'typ', 'view'),
655 (230, 9, 45, 'size', 'size', NULL),
656 (231, 9, 36, 'id', 'id', NULL),
657 (232, 9, 36, 'sid', 'sid', NULL),
658 (233, 9, 36, 'password', 'pw', NULL),
659 (234, 9, 36, 'reward', 'verguetung', NULL),
660 (235, 9, 36, 'reload', 'reload', NULL),
661 (236, 9, 36, 'remain', 'uebrig', NULL),
662 (237, 9, 36, 'type', 'typ', 'klick'),
663 (238, 9, 46, 'id', 'id', NULL),
664 (239, 9, 46, 'sid', 'sid', NULL),
665 (240, 9, 46, 'password', 'pw', NULL),
666 (241, 9, 46, 'reward', 'verguetung', NULL),
667 (242, 9, 46, 'reload', 'reload', NULL),
668 (243, 9, 46, 'remain', 'uebrig', NULL),
669 (244, 9, 46, 'type', 'typ', 'view'),
670 (245, 9, 37, 'id', 'id', NULL),
671 (246, 9, 37, 'sid', 'sid', NULL),
672 (247, 9, 37, 'password', 'pw', NULL),
673 (248, 9, 37, 'reward', 'verguetung', NULL),
674 (249, 9, 37, 'reload', 'reload', NULL),
675 (250, 9, 37, 'remain', 'uebrig', NULL),
676 (251, 9, 37, 'type', 'typ', 'klick'),
677 (252, 9, 37, 'size', 'size', NULL),
678 (253, 9, 47, 'id', 'id', NULL),
679 (254, 9, 47, 'sid', 'sid', NULL),
680 (255, 9, 47, 'password', 'pw', NULL),
681 (256, 9, 47, 'reward', 'verguetung', NULL),
682 (257, 9, 47, 'reload', 'reload', NULL),
683 (258, 9, 47, 'remain', 'uebrig', NULL),
684 (259, 9, 47, 'type', 'typ', 'view'),
685 (260, 9, 47, 'size', 'size', NULL),
686 (261, 9, 38, 'id', 'id', NULL),
687 (262, 9, 38, 'sid', 'sid', NULL),
688 (263, 9, 38, 'password', 'pw', NULL),
689 (264, 9, 38, 'reward', 'verguetung', NULL),
690 (265, 9, 38, 'reload', 'reload', NULL),
691 (266, 9, 38, 'remain', 'uebrig', NULL),
692 (267, 9, 38, 'size', 'size', NULL),
693 (268, 9, 38, 'min_stay', 'ma', NULL),
694 (269, 9, 39, 'id', 'id', NULL),
695 (270, 9, 39, 'sid', 'sid', NULL),
696 (271, 9, 39, 'password', 'pw', NULL),
697 (272, 9, 39, 'reward', 'verguetung', NULL),
698 (273, 9, 39, 'reload', 'reload', NULL),
699 (274, 9, 39, 'remain', 'uebrig', NULL),
700 (275, 9, 39, 'min_stay', 'ma', NULL),
701 (276, 9, 39, 'type', 'typ', 'text'),
702 (277, 9, 48, 'id', 'id', NULL),
703 (278, 9, 48, 'sid', 'sid', NULL),
704 (279, 9, 48, 'password', 'pw', NULL),
705 (280, 9, 48, 'reward', 'verguetung', NULL),
706 (281, 9, 48, 'reload', 'reload', NULL),
707 (282, 9, 48, 'remain', 'uebrig', NULL),
708 (283, 9, 48, 'min_stay', 'ma', NULL),
709 (284, 9, 48, 'type', 'typ', 'html'),
710 (285, 9, 40, 'id', 'id', NULL),
711 (286, 9, 40, 'sid', 'sid', NULL),
712 (287, 9, 40, 'password', 'pw', NULL),
713 (288, 9, 40, 'reward', 'verguetung', NULL),
714 (289, 9, 40, 'reload', 'reload', NULL),
715 (290, 9, 40, 'remain', 'uebrig', NULL),
716 (291, 9, 40, 'type', 'typ', 'klick'),
717 (292, 9, 49, 'id', 'id', NULL),
718 (293, 9, 49, 'sid', 'sid', NULL),
719 (294, 9, 49, 'password', 'pw', NULL),
720 (295, 9, 49, 'reward', 'verguetung', NULL),
721 (296, 9, 49, 'reload', 'reload', NULL),
722 (297, 9, 49, 'remain', 'uebrig', NULL),
723 (298, 9, 49, 'type', 'typ', 'view'),
724 (299, 9, 41, 'id', 'id', NULL),
725 (300, 9, 41, 'sid', 'sid', NULL),
726 (301, 9, 41, 'password', 'pw', NULL),
727 (302, 9, 41, 'reward', 'verguetung', NULL),
728 (303, 9, 41, 'reload', 'reload', NULL),
729 (304, 9, 41, 'remain', 'uebrig', NULL),
730 (305, 9, 41, 'min_stay', 'ma', NULL),
731 (306, 9, 42, 'id', 'id', NULL),
732 (307, 9, 42, 'sid', 'sid', NULL),
733 (308, 9, 42, 'password', 'pw', NULL),
734 (309, 9, 42, 'reward', 'verguetung', NULL),
735 (310, 9, 42, 'reload', 'reload', NULL),
736 (311, 9, 42, 'remain', 'uebrig', NULL),
737 (312, 9, 42, 'min_stay', 'ma', NULL),
738 (313, 9, 43, 'id', 'id', NULL),
739 (314, 9, 43, 'sid', 'sid', NULL),
740 (315, 9, 43, 'password', 'pw', NULL),
741 (316, 9, 43, 'reward', 'verguetung', NULL),
742 (317, 9, 43, 'remain', 'uebrig', NULL),
743 (318, 9, 44, 'id', 'id', NULL),
744 (319, 9, 44, 'sid', 'sid', NULL),
745 (320, 9, 44, 'password', 'pw', NULL),
746 (321, 9, 44, 'reward', 'verguetung', NULL),
747 (322, 9, 44, 'remain', 'uebrig', NULL)");
748
749                 // Request parameters per type handler - BonusSponsor
750                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_param_id`, `network_id`, `network_type_id`, `request_param_key`, `request_param_value`, `request_param_default`) VALUES
751 (323, 10, 50, 'id', 'id', NULL),
752 (324, 10, 50, 'sid', 'sid', NULL),
753 (325, 10, 50, 'password', 'pw', NULL),
754 (326, 10, 50, 'reward', 'verguetung', NULL),
755 (327, 10, 50, 'reload', 'reload', NULL),
756 (328, 10, 50, 'remain', 'uebrig', NULL),
757 (329, 10, 50, 'type', 'typ', 'klick'),
758 (330, 10, 50, 'size', 'size', NULL),
759 (331, 10, 51, 'id', 'id', NULL),
760 (332, 10, 51, 'sid', 'sid', NULL),
761 (333, 10, 51, 'password', 'pw', NULL),
762 (334, 10, 51, 'reward', 'verguetung', NULL),
763 (335, 10, 51, 'reload', 'reload', NULL),
764 (336, 10, 51, 'remain', 'uebrig', NULL),
765 (337, 10, 51, 'type', 'typ', 'view'),
766 (338, 10, 51, 'size', 'size', NULL),
767 (339, 10, 52, 'id', 'id', NULL),
768 (340, 10, 52, 'sid', 'sid', NULL),
769 (341, 10, 52, 'password', 'pw', NULL),
770 (342, 10, 52, 'reward', 'verguetung', NULL),
771 (343, 10, 52, 'reload', 'reload', NULL),
772 (344, 10, 52, 'remain', 'uebrig', NULL),
773 (345, 10, 52, 'type', 'typ', 'klick'),
774 (346, 10, 53, 'id', 'id', NULL),
775 (347, 10, 53, 'sid', 'sid', NULL),
776 (348, 10, 53, 'password', 'pw', NULL),
777 (349, 10, 53, 'reward', 'verguetung', NULL),
778 (350, 10, 53, 'reload', 'reload', NULL),
779 (351, 10, 53, 'remain', 'uebrig', NULL),
780 (352, 10, 53, 'type', 'typ', 'view'),
781 (353, 10, 54, 'id', 'id', NULL),
782 (354, 10, 54, 'sid', 'sid', NULL),
783 (355, 10, 54, 'password', 'pw', NULL),
784 (356, 10, 54, 'reward', 'verguetung', NULL),
785 (357, 10, 54, 'reload', 'reload', NULL),
786 (358, 10, 54, 'remain', 'uebrig', NULL),
787 (359, 10, 54, 'size', 'size', NULL),
788 (360, 10, 54, 'min_stay', 'ma', NULL),
789 (361, 10, 55, 'id', 'id', NULL),
790 (362, 10, 55, 'sid', 'sid', NULL),
791 (363, 10, 55, 'password', 'pw', NULL),
792 (364, 10, 55, 'reward', 'verguetung', NULL),
793 (365, 10, 55, 'reload', 'reload', NULL),
794 (366, 10, 55, 'remain', 'uebrig', NULL),
795 (367, 10, 55, 'min_stay', 'ma', NULL),
796 (368, 10, 55, 'type', 'typ', 'text'),
797 (369, 10, 56, 'id', 'id', NULL),
798 (370, 10, 56, 'sid', 'sid', NULL),
799 (371, 10, 56, 'password', 'pw', NULL),
800 (372, 10, 56, 'reward', 'verguetung', NULL),
801 (373, 10, 56, 'reload', 'reload', NULL),
802 (374, 10, 56, 'remain', 'uebrig', NULL),
803 (375, 10, 56, 'min_stay', 'ma', NULL),
804 (376, 10, 56, 'type', 'typ', 'html'),
805 (377, 10, 57, 'id', 'id', NULL),
806 (378, 10, 57, 'sid', 'sid', NULL),
807 (379, 10, 57, 'password', 'pw', NULL),
808 (380, 10, 57, 'reward', 'verguetung', NULL),
809 (381, 10, 57, 'reload', 'reload', NULL),
810 (382, 10, 57, 'remain', 'uebrig', NULL),
811 (383, 10, 57, 'type', 'typ', 'klick'),
812 (384, 10, 58, 'id', 'id', NULL),
813 (385, 10, 58, 'sid', 'sid', NULL),
814 (386, 10, 58, 'password', 'pw', NULL),
815 (387, 10, 58, 'reward', 'verguetung', NULL),
816 (388, 10, 58, 'reload', 'reload', NULL),
817 (389, 10, 58, 'remain', 'uebrig', NULL),
818 (390, 10, 58, 'type', 'typ', 'view'),
819 (391, 10, 59, 'id', 'id', NULL),
820 (392, 10, 59, 'sid', 'sid', NULL),
821 (393, 10, 59, 'password', 'pw', NULL),
822 (394, 10, 59, 'reward', 'verguetung', NULL),
823 (395, 10, 59, 'reload', 'reload', NULL),
824 (396, 10, 59, 'remain', 'uebrig', NULL),
825 (397, 10, 59, 'min_stay', 'ma', NULL),
826 (398, 10, 60, 'id', 'id', NULL),
827 (399, 10, 60, 'sid', 'sid', NULL),
828 (400, 10, 60, 'password', 'pw', NULL),
829 (401, 10, 60, 'reward', 'verguetung', NULL),
830 (402, 10, 60, 'reload', 'reload', NULL),
831 (403, 10, 60, 'remain', 'uebrig', NULL),
832 (404, 10, 60, 'min_stay', 'ma', NULL),
833 (405, 10, 61, 'id', 'id', NULL),
834 (406, 10, 61, 'sid', 'sid', NULL),
835 (407, 10, 61, 'password', 'pw', NULL),
836 (408, 10, 61, 'reward', 'verguetung', NULL),
837 (409, 10, 61, 'remain', 'uebrig', NULL),
838 (410, 10, 62, 'id', 'id', NULL),
839 (411, 10, 62, 'sid', 'sid', NULL),
840 (412, 10, 62, 'password', 'pw', NULL),
841 (413, 10, 62, 'reward', 'verguetung', NULL),
842 (414, 10, 62, 'remain', 'uebrig', NULL)");
843
844                 // Request parameters per type handler - Fusion-Ads
845
846                 // Request parameters per type handler - GigapPromo
847                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_request_params` (`network_param_id`, `network_id`, `network_type_id`, `request_param_key`, `request_param_value`, `request_param_default`) VALUES
848 (687, 12, 102, 'id', 'id', NULL),
849 (688, 12, 102, 'sid', 'aid', NULL),
850 (689, 12, 102, 'password', 'pw', NULL),
851 (690, 12, 102, 'reload', 'reload', NULL),
852 (691, 12, 102, 'reward', 'verguetung', NULL),
853 (692, 12, 102, 'remain', 'uebrig', NULL),
854 (693, 12, 102, 'size', 'typ', NULL),
855 (694, 12, 103, 'id', 'id', NULL),
856 (695, 12, 103, 'sid', 'aid', NULL),
857 (696, 12, 103, 'password', 'pw', NULL),
858 (697, 12, 103, 'reload', 'reload', NULL),
859 (698, 12, 103, 'reward', 'verguetung', NULL),
860 (699, 12, 103, 'remain', 'uebrig', NULL),
861 (700, 12, 104, 'id', 'id', NULL),
862 (701, 12, 104, 'sid', 'aid', NULL),
863 (702, 12, 104, 'password', 'pw', NULL),
864 (703, 12, 104, 'reload', 'reload', NULL),
865 (704, 12, 104, 'reward', 'verguetung', NULL),
866 (705, 12, 104, 'remain', 'uebrig', NULL),
867 (706, 12, 104, 'max_stay', 'ma', NULL),
868 (707, 12, 105, 'id', 'id', NULL),
869 (708, 12, 105, 'sid', 'aid', NULL),
870 (709, 12, 105, 'password', 'pw', NULL),
871 (710, 12, 105, 'reload', 'reload', NULL),
872 (711, 12, 105, 'reward', 'verguetung', NULL),
873 (712, 12, 105, 'remain', 'uebrig', NULL),
874 (713, 12, 105, 'max_stay', 'ma', NULL),
875 (714, 12, 106, 'id', 'id', NULL),
876 (715, 12, 106, 'sid', 'aid', NULL),
877 (716, 12, 106, 'password', 'pw', NULL),
878 (717, 12, 106, 'reload', 'reload', NULL),
879 (718, 12, 106, 'reward', 'verguetung', NULL),
880 (719, 12, 106, 'remain', 'uebrig', NULL),
881 (720, 12, 106, 'max_stay', 'ma', NULL),
882 (721, 12, 107, 'id', 'id', NULL),
883 (722, 12, 107, 'sid', 'aid', NULL),
884 (723, 12, 107, 'password', 'pw', NULL),
885 (724, 12, 107, 'reload', 'reload', NULL),
886 (725, 12, 107, 'reward', 'verguetung', NULL),
887 (726, 12, 107, 'remain', 'uebrig', NULL),
888 (727, 12, 107, 'max_stay', 'ma', NULL),
889 (728, 12, 108, 'id', 'id', NULL),
890 (729, 12, 108, 'sid', 'aid', NULL),
891 (730, 12, 108, 'password', 'pw', NULL),
892 (731, 12, 108, 'reload', 'reload', NULL),
893 (732, 12, 108, 'reward', 'verguetung', NULL),
894 (733, 12, 108, 'remain', 'uebrig', NULL),
895 (734, 12, 108, 'max_stay', 'ma', NULL)");
896
897                 // Request parameters per type handler - Make-Euros
898                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_param_id`, `network_id`, `network_type_id`, `request_param_key`, `request_param_value`, `request_param_default`) VALUES
899 (415, 13, 63, 'id', 'id', NULL),
900 (416, 13, 63, 'sid', 'sid', NULL),
901 (417, 13, 63, 'password', 'pw', NULL),
902 (418, 13, 63, 'reward', 'verguetung', NULL),
903 (419, 13, 63, 'reload', 'reload', NULL),
904 (420, 13, 63, 'remain', 'uebrig', NULL),
905 (421, 13, 63, 'type', 'typ', 'klick'),
906 (422, 13, 63, 'size', 'size', NULL),
907 (423, 13, 64, 'id', 'id', NULL),
908 (424, 13, 64, 'sid', 'sid', NULL),
909 (425, 13, 64, 'password', 'pw', NULL),
910 (426, 13, 64, 'reward', 'verguetung', NULL),
911 (427, 13, 64, 'reload', 'reload', NULL),
912 (428, 13, 64, 'remain', 'uebrig', NULL),
913 (429, 13, 64, 'type', 'typ', 'view'),
914 (430, 13, 64, 'size', 'size', NULL),
915 (431, 13, 65, 'id', 'id', NULL),
916 (432, 13, 65, 'sid', 'sid', NULL),
917 (433, 13, 65, 'password', 'pw', NULL),
918 (434, 13, 65, 'reward', 'verguetung', NULL),
919 (435, 13, 65, 'reload', 'reload', NULL),
920 (436, 13, 65, 'remain', 'uebrig', NULL),
921 (437, 13, 65, 'type', 'typ', 'klick'),
922 (438, 13, 66, 'id', 'id', NULL),
923 (439, 13, 66, 'sid', 'sid', NULL),
924 (440, 13, 66, 'password', 'pw', NULL),
925 (441, 13, 66, 'reward', 'verguetung', NULL),
926 (442, 13, 66, 'reload', 'reload', NULL),
927 (443, 13, 66, 'remain', 'uebrig', NULL),
928 (444, 13, 66, 'type', 'typ', 'view'),
929 (445, 13, 67, 'id', 'id', NULL),
930 (446, 13, 67, 'sid', 'sid', NULL),
931 (447, 13, 67, 'password', 'pw', NULL),
932 (448, 13, 67, 'reward', 'verguetung', NULL),
933 (449, 13, 67, 'reload', 'reload', NULL),
934 (450, 13, 67, 'remain', 'uebrig', NULL),
935 (451, 13, 67, 'max_stay', 'typ', 'klick'),
936 (452, 13, 67, 'size', 'size', NULL),
937 (453, 13, 69, 'id', 'id', NULL),
938 (454, 13, 69, 'sid', 'sid', NULL),
939 (455, 13, 69, 'password', 'pw', NULL),
940 (456, 13, 69, 'reward', 'verguetung', NULL),
941 (457, 13, 69, 'reload', 'reload', NULL),
942 (458, 13, 69, 'remain', 'uebrig', NULL),
943 (459, 13, 69, 'type', 'typ', 'view'),
944 (460, 13, 69, 'size', 'size', NULL),
945 (461, 13, 68, 'id', 'id', NULL),
946 (462, 13, 68, 'sid', 'sid', NULL),
947 (463, 13, 68, 'password', 'pw', NULL),
948 (464, 13, 68, 'reward', 'verguetung', NULL),
949 (465, 13, 68, 'reload', 'reload', NULL),
950 (466, 13, 68, 'remain', 'uebrig', NULL),
951 (467, 13, 68, 'size', 'size', NULL),
952 (468, 13, 68, 'min_stay', 'ma', NULL),
953 (469, 13, 70, 'id', 'id', NULL),
954 (470, 13, 70, 'sid', 'sid', NULL),
955 (471, 13, 70, 'password', 'pw', NULL),
956 (472, 13, 70, 'reward', 'verguetung', NULL),
957 (473, 13, 70, 'reload', 'reload', NULL),
958 (474, 13, 70, 'remain', 'uebrig', NULL),
959 (475, 13, 70, 'min_stay', 'ma', NULL),
960 (476, 13, 70, 'type', 'typ', 'text'),
961 (477, 13, 71, 'id', 'id', NULL),
962 (478, 13, 71, 'sid', 'sid', NULL),
963 (479, 13, 71, 'password', 'pw', NULL),
964 (480, 13, 71, 'reward', 'verguetung', NULL),
965 (481, 13, 71, 'reload', 'reload', NULL),
966 (482, 13, 71, 'remain', 'uebrig', NULL),
967 (483, 13, 71, 'min_stay', 'ma', NULL),
968 (484, 13, 71, 'type', 'typ', 'html'),
969 (485, 13, 72, 'id', 'id', NULL),
970 (486, 13, 72, 'sid', 'sid', NULL),
971 (487, 13, 72, 'password', 'pw', NULL),
972 (488, 13, 72, 'reward', 'verguetung', NULL),
973 (489, 13, 72, 'reload', 'reload', NULL),
974 (490, 13, 72, 'remain', 'uebrig', NULL),
975 (491, 13, 72, 'type', 'typ', 'klick'),
976 (492, 13, 73, 'id', 'id', NULL),
977 (493, 13, 73, 'sid', 'sid', NULL),
978 (494, 13, 73, 'password', 'pw', NULL),
979 (495, 13, 73, 'reward', 'verguetung', NULL),
980 (496, 13, 73, 'reload', 'reload', NULL),
981 (497, 13, 73, 'remain', 'uebrig', NULL),
982 (498, 13, 73, 'type', 'typ', 'view'),
983 (499, 13, 74, 'id', 'id', NULL),
984 (500, 13, 74, 'sid', 'sid', NULL),
985 (501, 13, 74, 'password', 'pw', NULL),
986 (502, 13, 74, 'reward', 'verguetung', NULL),
987 (503, 13, 74, 'reload', 'reload', NULL),
988 (504, 13, 74, 'remain', 'uebrig', NULL),
989 (505, 13, 74, 'min_stay', 'ma', NULL),
990 (506, 13, 75, 'id', 'id', NULL),
991 (507, 13, 75, 'sid', 'sid', NULL),
992 (508, 13, 75, 'password', 'pw', NULL),
993 (509, 13, 75, 'reward', 'verguetung', NULL),
994 (510, 13, 75, 'reload', 'reload', NULL),
995 (511, 13, 75, 'remain', 'uebrig', NULL),
996 (512, 13, 75, 'min_stay', 'ma', NULL),
997 (513, 13, 76, 'id', 'id', NULL),
998 (514, 13, 76, 'sid', 'sid', NULL),
999 (515, 13, 76, 'password', 'pw', NULL),
1000 (516, 13, 76, 'reward', 'verguetung', NULL),
1001 (517, 13, 76, 'remain', 'uebrig', NULL),
1002 (518, 13, 77, 'id', 'id', NULL),
1003 (519, 13, 77, 'sid', 'sid', NULL),
1004 (520, 13, 77, 'password', 'pw', NULL),
1005 (521, 13, 77, 'reward', 'verguetung', NULL),
1006 (522, 13, 77, 'remain', 'uebrig', NULL)");
1007
1008                 // Request parameters per type handler - Power-Promo
1009                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_param_id`, `network_id`, `network_type_id`, `request_param_key`, `request_param_value`, `request_param_default`) VALUES
1010 (523, 14, 78, 'id', 'id', NULL),
1011 (524, 14, 78, 'sid', 'sid', NULL),
1012 (525, 14, 78, 'password', 'pw', NULL),
1013 (526, 14, 78, 'reward', 'verguetung', NULL),
1014 (527, 14, 78, 'reload', 'reload', NULL),
1015 (528, 14, 78, 'remain', 'uebrig', NULL),
1016 (529, 14, 78, 'type', 'typ', 'klick'),
1017 (530, 14, 78, 'size', 'size', NULL),
1018 (531, 14, 79, 'id', 'id', NULL),
1019 (532, 14, 79, 'sid', 'sid', NULL),
1020 (533, 14, 79, 'password', 'pw', NULL),
1021 (534, 14, 79, 'reward', 'verguetung', NULL),
1022 (535, 14, 79, 'reload', 'reload', NULL),
1023 (536, 14, 79, 'remain', 'uebrig', NULL),
1024 (537, 14, 79, 'type', 'typ', 'view'),
1025 (538, 14, 79, 'size', 'size', NULL),
1026 (539, 14, 80, 'id', 'id', NULL),
1027 (540, 14, 80, 'sid', 'sid', NULL),
1028 (541, 14, 80, 'password', 'pw', NULL),
1029 (542, 14, 80, 'reward', 'verguetung', NULL),
1030 (543, 14, 80, 'reload', 'reload', NULL),
1031 (544, 14, 80, 'remain', 'uebrig', NULL),
1032 (545, 14, 80, 'type', 'typ', 'klick'),
1033 (546, 14, 81, 'id', 'id', NULL),
1034 (547, 14, 81, 'sid', 'sid', NULL),
1035 (548, 14, 81, 'password', 'pw', NULL),
1036 (549, 14, 81, 'reward', 'verguetung', NULL),
1037 (550, 14, 81, 'reload', 'reload', NULL),
1038 (551, 14, 81, 'remain', 'uebrig', NULL),
1039 (552, 14, 81, 'type', 'typ', 'view'),
1040 (553, 14, 82, 'id', 'id', NULL),
1041 (554, 14, 82, 'sid', 'sid', NULL),
1042 (555, 14, 82, 'password', 'pw', NULL),
1043 (556, 14, 82, 'reward', 'verguetung', NULL),
1044 (557, 14, 82, 'reload', 'reload', NULL),
1045 (558, 14, 82, 'remain', 'uebrig', NULL),
1046 (559, 14, 82, 'type', 'typ', 'klick'),
1047 (560, 14, 82, 'size', 'size', NULL),
1048 (561, 14, 83, 'id', 'id', NULL),
1049 (562, 14, 83, 'sid', 'sid', NULL),
1050 (563, 14, 83, 'password', 'pw', NULL),
1051 (564, 14, 83, 'reward', 'verguetung', NULL),
1052 (565, 14, 83, 'reload', 'reload', NULL),
1053 (566, 14, 83, 'remain', 'uebrig', NULL),
1054 (567, 14, 83, 'type', 'typ', 'view'),
1055 (568, 14, 83, 'size', 'size', NULL),
1056 (569, 14, 84, 'id', 'id', NULL),
1057 (570, 14, 84, 'sid', 'sid', NULL),
1058 (571, 14, 84, 'password', 'pw', NULL),
1059 (572, 14, 84, 'reward', 'verguetung', NULL),
1060 (573, 14, 84, 'reload', 'reload', NULL),
1061 (574, 14, 84, 'remain', 'uebrig', NULL),
1062 (575, 14, 84, 'size', 'size', NULL),
1063 (576, 14, 84, 'min_stay', 'ma', NULL),
1064 (577, 14, 85, 'id', 'id', NULL),
1065 (578, 14, 85, 'sid', 'sid', NULL),
1066 (579, 14, 85, 'password', 'pw', NULL),
1067 (580, 14, 85, 'reward', 'verguetung', NULL),
1068 (581, 14, 85, 'reload', 'reload', NULL),
1069 (582, 14, 85, 'remain', 'uebrig', NULL),
1070 (583, 14, 85, 'min_stay', 'ma', NULL),
1071 (584, 14, 85, 'type', 'typ', 'text'),
1072 (585, 14, 86, 'id', 'id', NULL),
1073 (586, 14, 86, 'sid', 'sid', NULL),
1074 (587, 14, 86, 'password', 'pw', NULL),
1075 (588, 14, 86, 'reward', 'verguetung', NULL),
1076 (589, 14, 86, 'reload', 'reload', NULL),
1077 (590, 14, 86, 'remain', 'uebrig', NULL),
1078 (591, 14, 86, 'min_stay', 'ma', NULL),
1079 (592, 14, 86, 'type', 'typ', 'html'),
1080 (593, 14, 87, 'id', 'id', NULL),
1081 (594, 14, 87, 'sid', 'sid', NULL),
1082 (595, 14, 87, 'password', 'pw', NULL),
1083 (596, 14, 87, 'reward', 'verguetung', NULL),
1084 (597, 14, 87, 'reload', 'reload', NULL),
1085 (598, 14, 87, 'remain', 'uebrig', NULL),
1086 (599, 14, 87, 'type', 'typ', 'klick'),
1087 (600, 14, 88, 'id', 'id', NULL),
1088 (601, 14, 88, 'sid', 'sid', NULL),
1089 (602, 14, 88, 'password', 'pw', NULL),
1090 (603, 14, 88, 'reward', 'verguetung', NULL),
1091 (604, 14, 88, 'reload', 'reload', NULL),
1092 (605, 14, 88, 'remain', 'uebrig', NULL),
1093 (606, 14, 88, 'type', 'typ', 'view'),
1094 (607, 14, 89, 'id', 'id', NULL),
1095 (608, 14, 89, 'sid', 'sid', NULL),
1096 (609, 14, 89, 'password', 'pw', NULL),
1097 (610, 14, 89, 'reward', 'verguetung', NULL),
1098 (611, 14, 89, 'reload', 'reload', NULL),
1099 (612, 14, 89, 'remain', 'uebrig', NULL),
1100 (613, 14, 89, 'min_stay', 'ma', NULL),
1101 (614, 14, 90, 'id', 'id', NULL),
1102 (615, 14, 90, 'sid', 'sid', NULL),
1103 (616, 14, 90, 'password', 'pw', NULL),
1104 (617, 14, 90, 'reward', 'verguetung', NULL),
1105 (618, 14, 90, 'reload', 'reload', NULL),
1106 (619, 14, 90, 'remain', 'uebrig', NULL),
1107 (620, 14, 90, 'min_stay', 'ma', NULL),
1108 (621, 14, 91, 'id', 'id', NULL),
1109 (622, 14, 91, 'sid', 'sid', NULL),
1110 (623, 14, 91, 'password', 'pw', NULL),
1111 (624, 14, 91, 'reward', 'verguetung', NULL),
1112 (625, 14, 91, 'remain', 'uebrig', NULL),
1113 (626, 14, 92, 'id', 'id', NULL),
1114 (627, 14, 92, 'sid', 'sid', NULL),
1115 (628, 14, 92, 'password', 'pw', NULL),
1116 (629, 14, 92, 'reward', 'verguetung', NULL),
1117 (630, 14, 92, 'remain', 'uebrig', NULL)");
1118
1119                 // Request parameters per type handler - SeCash
1120                 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_param_id`, `network_id`, `network_type_id`, `request_param_key`, `request_param_value`, `request_param_default`) VALUES
1121 (631, 15, 93, 'type', 'typ', 'forcedbanner'),
1122 (632, 15, 93, 'id', 'id', NULL),
1123 (633, 15, 93, 'password', 'pw', NULL),
1124 (634, 15, 93, 'reward', 'verguetung', NULL),
1125 (635, 15, 93, 'reload', 'reload', NULL),
1126 (636, 15, 93, 'remain', 'uebrig', NULL),
1127 (637, 15, 94, 'type', 'typ', 'forcedtextlink'),
1128 (638, 15, 94, 'id', 'id', NULL),
1129 (639, 15, 94, 'password', 'pw', NULL),
1130 (640, 15, 94, 'reward', 'verguetung', NULL),
1131 (641, 15, 94, 'reload', 'reload', NULL),
1132 (642, 15, 94, 'remain', 'uebrig', NULL),
1133 (643, 15, 95, 'type', 'typ', 'bannerview'),
1134 (644, 15, 95, 'id', 'id', NULL),
1135 (645, 15, 95, 'password', 'pw', NULL),
1136 (646, 15, 95, 'reward', 'verguetung', NULL),
1137 (647, 15, 95, 'reload', 'reload', NULL),
1138 (648, 15, 95, 'remain', 'uebrig', NULL),
1139 (649, 15, 96, 'type', 'typ', 'bannerklick'),
1140 (650, 15, 96, 'id', 'id', NULL),
1141 (651, 15, 96, 'password', 'pw', NULL),
1142 (652, 15, 96, 'reward', 'verguetung', NULL),
1143 (653, 15, 96, 'reload', 'reload', NULL),
1144 (654, 15, 96, 'remain', 'uebrig', NULL),
1145 (655, 15, 97, 'type', 'typ', 'skybannerview'),
1146 (656, 15, 97, 'id', 'id', NULL),
1147 (657, 15, 97, 'password', 'pw', NULL),
1148 (658, 15, 97, 'reward', 'verguetung', NULL),
1149 (659, 15, 97, 'reload', 'reload', NULL),
1150 (660, 15, 97, 'remain', 'uebrig', NULL),
1151 (661, 15, 98, 'type', 'typ', 'buttonview'),
1152 (662, 15, 98, 'id', 'id', NULL),
1153 (663, 15, 98, 'password', 'pw', NULL),
1154 (664, 15, 98, 'reward', 'verguetung', NULL),
1155 (665, 15, 98, 'reload', 'reload', NULL),
1156 (666, 15, 98, 'remain', 'uebrig', NULL),
1157 (667, 15, 99, 'type', 'typ', 'textview'),
1158 (668, 15, 99, 'id', 'id', NULL),
1159 (669, 15, 99, 'password', 'pw', NULL),
1160 (670, 15, 99, 'reward', 'verguetung', NULL),
1161 (671, 15, 99, 'reload', 'reload', NULL),
1162 (672, 15, 99, 'remain', 'uebrig', NULL),
1163 (673, 15, 100, 'type', 'typ', 'popup'),
1164 (674, 15, 100, 'id', 'id', NULL),
1165 (675, 15, 100, 'password', 'pw', NULL),
1166 (676, 15, 100, 'reward', 'verguetung', NULL),
1167 (677, 15, 100, 'reload', 'reload', NULL),
1168 (678, 15, 100, 'remain', 'uebrig', NULL),
1169 (679, 15, 100, 'min_stay', 'ma', NULL),
1170 (680, 15, 101, 'type', 'typ', 'paidmail'),
1171 (681, 15, 101, 'id', 'id', NULL),
1172 (682, 15, 101, 'password', 'pw', NULL),
1173 (683, 15, 101, 'reward', 'verguetung', NULL),
1174 (684, 15, 101, 'reload', 'reload', NULL),
1175 (685, 15, 101, 'remain', 'uebrig', NULL),
1176 (686, 15, 101, 'min_stay', 'ma', NULL)");
1177
1178                 // Request parameters per type handler - Yoo!Media
1179
1180                 // Fix empty defaults to NULL
1181                 addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_network_types` SET `network_type_banner_url`=NULL WHERE `network_type_banner_url`=''");
1182                 addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_network_request_params` SET `request_param_default`=NULL WHERE `request_param_default`=''");
1183
1184                 // Admin menu entries
1185                 addAdminMenuSql('network',NULL,'Werbenetzwerke','Verwalten Sie hier Werbenetzwerke (API-Anbindung), versenden Sie deren Mails, oder &uuml;bernehmen Sie deren Textlinks und vieles mehr. <strong>VORSICHT:</strong> Das Einrichten von weiteren Werbenetzwerken ist nicht leicht, daf&uuml;r aber sehr flexibel! Sollte ein Netzwerk fehlen, so melden Sie dies bitte <a href="http://forum.mxchange.org/topic-462.html" target="_blank" title="Direktlink zum Forum">im Forum</a>!',4);
1186                 addAdminMenuSql('network','config_networks','API-Daten','Stellen Sie Ihre Affiliate- Webseiten-Id und API-Passwort ein. Diese erhalten Sie zu &uuml;ber 99% aus dem jeweiligen Zugangsbereich des Anbieters. Sollten Sie bei einem Netzwerk noch nicht angemeldet sein, verwenden Sie bitte meinen Referal-Link.',1);
1187                 addAdminMenuSql('network','config_network_types','Werbearten','Stellen Sie hier Reload-Zeiten, Mindestauffenthalt und so weiter pro Werbeart und Werbenetzwerk ein. Es werden sonst Standart-Werte (Mimimumwerte: 0, Maximumwerte: sehr gross, Erotik: aus) angenommen, die Sie meistens nicht wollen.',2);
1188                 addAdminMenuSql('network','query_networks','APIs abfragen','Fragt alle eingestellten APIs ab. Die Ergebnisse werden dann f&uuml;r einen einstellbaren Zeitraum gecacht und nicht erneut angefordert.',3);
1189                 addAdminMenuSql('network','config_network','Einstellungen','Stellen Sie generelle Einstellungen ein, die f&uuml;r alle Werbenetzwerke gelten, wie z.B. Cache-Erneuerungsinterval. Generell sind aber die Einstellungen in Ordnung, da z.B. sonst Ihre freien Abfragen beim Werbenetzwerk sich zu schnell abbauen.',4);
1190                 addAdminMenuSql('network','list_network_reloads','Reload-Sperren','Listen oder l&ouml;schen Sie hier Reload-Sperren. <strong>Vorsicht:</strong> Die hier gespeicherten Reload-Sperren sind vom jeweiligen Werbenetzwerk &uuml;bernommen. Eventuell verdienen Sie nichts, wenn Sie z.B. eine Mail innerhalb der Reload-Sperre erneut versenden.',5);
1191                 addAdminMenuSql('network','list_networks','Auflisten/Verwalten','<strong>Experten-Einstellungen!</strong> Hier &auml;ndern Sie die Einstellungen an den Grunddaten (Stammdaten) des jeweiligen Werbenetzwerks ab. Sie sollten hier generell nichts einstellen und <a href="http://forum.mxchange.org/forum-43.html" target="_blank" title="Direktlink zum Forum">im Forum</a> um Hilfe fragen, wenn Sie selber ein Werbenetzwerk einrichten m&ouml;chten.',6);
1192                 addAdminMenuSql('network','list_network_types','Werbearten','<strong>Experten-Einstellungen!</strong> Hier &auml;ndern Sie die Einstellungen zu den Werbearten pro Werbenetzwerken. Sie sollten hier generell nichts einstellen und <a href="http://forum.mxchange.org/forum-43.html" target="_blank" title="Direktlink zum Forum">im Forum</a> um Hilfe fragen, wenn Sie selber ein Werbenetzwerk einrichten m&ouml;chten.',7);
1193                 addAdminMenuSql('network','list_network_params','Abfrageparameter','<strong>Experten-Einstellungen!</strong> Hier stellen Sie die Abfrageparameter (wie sie genannt werden m&uuml;ssen, um das API-Script korrekt aufrufen zu k&ouml;nnen) ein, pro Werbenetzwerk. Sie sollten hier generell nichts einstellen und <a href="http://forum.mxchange.org/forum-43.html" target="_blank" title="Direktlink zum Forum">im Forum</a> um Hilfe fragen, wenn Sie selber ein Werbenetzwerk einrichten m&ouml;chten.',8);
1194                 addAdminMenuSql('network','list_network_code_types','R&uuml;ckgabewerte','<strong>Experten-Einstellungen!</strong> Hier stellen Sie die R&uuml;ckgabewerte ein, die im Falle eines Fehlers pro API-Script kommen k&ouml;nnen. Sie sollten hier generell nichts einstellen und <a href="http://forum.mxchange.org/forum-43.html" target="_blank" title="Direktlink zum Forum">im Forum</a> um Hilfe fragen, wenn Sie selber ein Werbenetzwerk einrichten m&ouml;chten.',9);
1195                 addAdminMenuSql('network','list_network_codes','Fehlercodes','<strong>Experten-Einstellungen!</strong> Hier stellen Sie die Namen von Fehlercodes ein, die Scripte zur&uuml;ckliefern k&ouml;nnen. <strong>Dies sind INTERNE Daten und sollten nur vom Entwicklerteam angepasst werden.</strong> Stellen Sie an diesen Einstellungen bitte nichts um. Sie sollten hier generell nichts einstellen und <a href="http://forum.mxchange.org/forum-43.html" target="_blank" title="Direktlink zum Forum">im Forum</a> um Hilfe fragen, wenn Sie selber ein Werbenetzwerk einrichten m&ouml;chten.',10);
1196
1197                 // Configuration entries
1198                 addExtensionSql('ALTER TABLE `{?_MYSQL_PREFIX?}_config` ADD `network_cache_refresh` BIGINT(20) UNSIGNED NOT NULL DEFAULT ' . (60 * 15) . '');
1199                 break;
1200
1201         case 'remove': // Do stuff when removing extension
1202                 // SQL commands to run
1203                 addExtensionSql('DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_network_data`');
1204                 addExtensionSql('DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_network_types`');
1205                 addExtensionSql('DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_network_request_params`');
1206                 addExtensionSql('DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_network_type_codes`');
1207                 addExtensionSql('DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_network_codes`');
1208                 addExtensionSql('DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_network_translations`');
1209                 addExtensionSql('DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_network_array_translation`');
1210                 addExtensionSql('DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_network_config`');
1211                 addExtensionSql('DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_network_types_config`');
1212                 addExtensionSql('DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_network_cache`');
1213                 addExtensionSql('DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_network_reloads`');
1214
1215                 // Admin menu
1216                 addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE `action`='network'");
1217                 break;
1218
1219         case 'activate': // Do stuff when admin activates this extension
1220                 // SQL commands to run
1221                 break;
1222
1223         case 'deactivate': // Do stuff when admin deactivates this extension
1224                 // SQL commands to run
1225                 break;
1226
1227         case 'update': // Update an extension
1228                 switch (getCurrentExtensionVersion()) {
1229                         case '0.0.1': // SQL queries for v0.0.1
1230                                 addExtensionSql('');
1231
1232                                 // Update notes (these will be set as task text!)
1233                                 setExtensionUpdateNotes('');
1234                                 break;
1235                 } // END - switch
1236                 break;
1237
1238         case 'modify': // When the extension got modified
1239                 break;
1240
1241         case 'test': // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
1242                 break;
1243
1244         case 'init': // Do stuff when extension is initialized
1245                 break;
1246
1247         default: // Unknown extension mode
1248                 logDebugMessage(__FILE__, __LINE__, sprintf("Unknown extension mode %s detected.", getExtensionMode()));
1249                 break;
1250 } // END - switch
1251
1252 // [EOF]
1253 ?>