* @TODO ADCocktail: Zero array element is return code! *
* @TODO adgain.de: HTML mails are encoded with BASE64 *
* @TODO adgain.de: Textlink-View is a JavaScript URL *
+ * @TODO ADkracher: HTML mails are encoded with BASE64 *
+ * @TODO ADkracher: Textlink-View is a JavaScript URL *
* @TODO Affiliblatt: All except banner, do they really have UTF-8? *
* @TODO AllAds4You: Traffic from abroad, High-Forced banner *
* @TODO FuCoExSponsor: No High-Forced banner, HTML is BASE64 encoded *
('adconvention', 'AdConvention', 'http://www.adconvention.de?ref=233', '|', '|', 'GET', 'WINDOWS-1252', 'N', 0),
('ad-hit', 'Ad-Hit.de', 'http://www.ad-hit.de?ref=41', '|', '|', 'GET', 'WINDOWS-1252', 'N', 0),
('adcity', 'AdCity.eu', 'http://www.adcity.eu?ref=38', '|', '|', 'GET', 'WINDOWS-1252', 'N', 200),
-('adgain', 'adgain.de', 'http://www.adgain.de/index.php?seite=anmeldung&ref=Quix0r', '|', '|', 'GET', 'ISO-8859-1', 'N', 150)");
+('adgain', 'adgain.de', 'http://www.adgain.de/index.php?seite=anmeldung&ref=Quix0r', '|', '|', 'GET', 'ISO-8859-1', 'N', 150),
+('adkracher', 'ADkracher', 'http://www.adkracher.de/index.php?seite=anmeldung&ref=Quix0r', '|', '|', 'GET', 'ISO-8859-1', 'N', 350)");
// Network type handlers - A3H
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`,`network_type_reload_time_unit`) VALUES
// Network type handlers - Ad-Magnet
// Network type handlers - AdCity.eu
- 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`,`network_type_reload_time_unit`) VALUES
+ 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`,`network_type_reload_time_unit`) VALUES
(312, 32, 'forcedbanner', 'http://www.adcity.eu/interface/', 'http://www.adcity.eu/codes/forcedbannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.adcity.eu/codes/forcedbannerview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(313, 32, 'forcedtextlink', 'http://www.adcity.eu/interface/', 'http://www.adcity.eu/codes/forcedtextlinkklick.php?id=%UID%&bid=%CID%&aid=%SID%', NULL, 'h'),
(314, 32, 'banner_view', 'http://www.adcity.eu/interface/', 'http://www.adcity.eu/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.adcity.eu/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(299, 30, 'traffic', 'http://www.adconvention.de/interface/', 'http://www.adconvention.de/codes/traffic.php?id=%UID%&bid=%CID%&aid=%SID%', NULL, 'h')");
// Network type handlers - AdGain
- 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`, `network_type_reload_time_unit`) VALUES
+ 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`,`network_type_reload_time_unit`) VALUES
(322, 33, 'banner_click', 'http://www.adgain.de/int/get.php', 'http://www.adgain.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', 'http://www.adgain.de/kamp/b_view.php?uid=%UID%&bid=%CID%&sid=%SID%', 'h'),
(323, 33, 'banner_view', 'http://www.adgain.de/int/get.php', 'http://www.adgain.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', 'http://www.adgain.de/kamp/b_view.php?uid=%UID%&bid=%CID%&sid=%SID%', 'h'),
(324, 33, 'forcedbanner', 'http://www.adgain.de/int/get.php', 'http://www.adgain.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', 'http://www.adgain.de/kamp/b_view.php?uid=%UID%&bid=%CID%&sid=%SID%', 'h'),
(334, 33, 'textlink_click', 'http://www.adgain.de/int/get.php', 'http://www.adgain.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', NULL, 'h'),
(335, 33, 'textlink_view', 'http://www.adgain.de/int/get.php', 'http://www.adgain.de/kamp/sc_textview.php?uid=%UID%&bid=%CID%&sid=%SID%', NULL, 'h')");
+ // Network type handlers - ADkracher
+ 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`,`network_type_reload_time_unit`) VALUES
+(336, 34, 'banner_click', 'http://www.adkracher.de/int/get.php', 'http://www.adkracher.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', 'http://www.adkracher.de/kamp/b_view.php?uid=%UID%&bid=%CID%&sid=%SID%', 'h'),
+(337, 34, 'banner_view', 'http://www.adkracher.de/int/get.php', 'http://www.adkracher.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', 'http://www.adkracher.de/kamp/b_view.php?uid=%UID%&bid=%CID%&sid=%SID%', 'h'),
+(338, 34, 'forcedbanner', 'http://www.adkracher.de/int/get.php', 'http://www.adkracher.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', 'http://www.adkracher.de/kamp/b_view.php?uid=%UID%&bid=%CID%&sid=%SID%', 'h'),
+(339, 34, 'forcedtextlink', 'http://www.adkracher.de/int/get.php', 'http://www.adkracher.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', NULL, 'h'),
+(340, 34, 'htmlmail', 'http://www.adkracher.de/int/get.php', 'http://www.adkracher.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', NULL, 'h'),
+(341, 34, 'layer', 'http://www.adkracher.de/int/get.php', 'http://www.adkracher.de/kamp/sc_layer.php?uid=%UID%&bid=%CID%&sid=%SID%', NULL, 'h'),
+(342, 34, 'textmail', 'http://www.adkracher.de/int/get.php', 'http://www.adkracher.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', NULL, 'h'),
+(343, 34, 'popup', 'http://www.adkracher.de/int/get.php', 'http://www.adkracher.de/kamp/sc_popup.php?uid=%UID%&bid=%CID%&sid=%SID%', NULL, 'h'),
+(344, 34, 'skybanner_click', 'http://www.adkracher.de/int/get.php', 'http://www.adkracher.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', 'http://www.adkracher.de/kamp/b_view.php?uid=%UID%&bid=%CID%&sid=%SID%', 'h'),
+(345, 34, 'skybanner_view', 'http://www.adkracher.de/int/get.php', 'http://www.adkracher.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', 'http://www.adkracher.de/kamp/b_view.php?uid=%UID%&bid=%CID%&sid=%SID%', 'h'),
+(346, 34, 'textlink_click', 'http://www.adkracher.de/int/get.php', 'http://www.adkracher.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', NULL, 'h'),
+(347, 34, 'textlink_view', 'http://www.adkracher.de/int/get.php', 'http://www.adkracher.de/kamp/sc_textview.php?uid=%UID%&bid=%CID%&sid=%SID%', NULL, 'h'),
+(348, 34, 'traffic', 'http://www.adkracher.de/int/get.php', 'http://www.adkracher.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', NULL, 'h')");
+
// Network type handlers - AdPaid
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`,`network_type_reload_time_unit`) VALUES
(177, 5, 'banner', 'http://www.adpaid.de/interface/out_banner.php', 'http://www.adpaid.de/bannerklf.php?id=%CID%', 'http://www.adpaid.de/banner.php?id=%CID%', 'h'),
// Request parameters per type handler - Ad-Magnet
// Request parameters per type handler - AdCity.eu
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
(32, 312, 'extra', 'typ', 'forcedbanner'),
(32, 312, 'id', 'id', NULL),
(32, 312, 'password', 'pw', NULL),
(30, 301, 'reward', 'verguetung', NULL)");
// Request parameters per type handler - adgain.de
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
(33, 322, 'extra', 'art', 'bannerklick'),
(33, 322, 'id', 'uid', NULL),
(33, 322, 'password', 'pw', NULL),
(33, 335, 'reload', 'reload', NULL),
(33, 335, 'remain', 'uebrig', NULL)");
+ // Request parameters per type handler - ADkracher
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
+(34, 336, 'extra', 'art', 'bannerklick'),
+(34, 336, 'id', 'uid', NULL),
+(34, 336, 'password', 'pw', NULL),
+(34, 336, 'reload', 'reload', NULL),
+(34, 336, 'remain', 'uebrig', NULL),
+(34, 336, 'reward', 'verguetung', NULL),
+(34, 336, 'sid', 'sid', NULL),
+(34, 337, 'extra', 'art', 'bannerview'),
+(34, 337, 'id', 'uid', NULL),
+(34, 337, 'password', 'pw', NULL),
+(34, 337, 'reload', 'reload', NULL),
+(34, 337, 'remain', 'uebrig', NULL),
+(34, 337, 'reward', 'verguetung', NULL),
+(34, 337, 'sid', 'sid', NULL),
+(34, 338, 'extra', 'art', 'forcedbanner'),
+(34, 338, 'id', 'uid', NULL),
+(34, 338, 'minimum_stay', 'ma', NULL),
+(34, 338, 'password', 'pw', NULL),
+(34, 338, 'reload', 'reload', NULL),
+(34, 338, 'remain', 'uebrig', NULL),
+(34, 338, 'reward', 'verguetung', NULL),
+(34, 338, 'sid', 'sid', NULL),
+(34, 339, 'extra', 'art', 'forcedtextlink'),
+(34, 339, 'id', 'uid', NULL),
+(34, 339, 'minimum_stay', 'ma', NULL),
+(34, 339, 'password', 'pw', NULL),
+(34, 339, 'reload', 'reload', NULL),
+(34, 339, 'remain', 'uebrig', NULL),
+(34, 339, 'reward', 'verguetung', NULL),
+(34, 339, 'sid', 'sid', NULL),
+(34, 340, 'extra', 'art', 'htmlmail'),
+(34, 340, 'id', 'uid', NULL),
+(34, 340, 'minimum_stay', 'ma', NULL),
+(34, 340, 'password', 'pw', NULL),
+(34, 340, 'reload', 'reload', NULL),
+(34, 340, 'remain', 'uebrig', NULL),
+(34, 340, 'reward', 'verguetung', NULL),
+(34, 340, 'sid', 'sid', NULL),
+(34, 341, 'extra', 'art', 'layer'),
+(34, 341, 'id', 'uid', NULL),
+(34, 341, 'password', 'pw', NULL),
+(34, 341, 'reload', 'reload', NULL),
+(34, 341, 'remain', 'uebrig', NULL),
+(34, 341, 'reward', 'verguetung', NULL),
+(34, 341, 'sid', 'sid', NULL),
+(34, 342, 'extra', 'art', 'paidmail'),
+(34, 342, 'id', 'uid', NULL),
+(34, 342, 'maximum_stay', 'ma', NULL),
+(34, 342, 'password', 'pw', NULL),
+(34, 342, 'reload', 'reload', NULL),
+(34, 342, 'remain', 'uebrig', NULL),
+(34, 342, 'reward', 'verguetung', NULL),
+(34, 342, 'sid', 'sid', NULL),
+(34, 343, 'extra', 'art', 'popup'),
+(34, 343, 'id', 'uid', NULL),
+(34, 343, 'maximum_stay', 'ma', NULL),
+(34, 343, 'password', 'pw', NULL),
+(34, 343, 'reload', 'reload', NULL),
+(34, 343, 'remain', 'uebrig', NULL),
+(34, 343, 'reward', 'verguetung', NULL),
+(34, 343, 'sid', 'sid', NULL),
+(34, 344, 'extra', 'art', 'skybannerklick'),
+(34, 344, 'id', 'uid', NULL),
+(34, 344, 'password', 'pw', NULL),
+(34, 344, 'reload', 'reload', NULL),
+(34, 344, 'remain', 'uebrig', NULL),
+(34, 344, 'reward', 'verguetung', NULL),
+(34, 344, 'sid', 'sid', NULL),
+(34, 345, 'extra', 'art', 'skybannerview'),
+(34, 345, 'id', 'uid', NULL),
+(34, 345, 'password', 'pw', NULL),
+(34, 345, 'reload', 'reload', NULL),
+(34, 345, 'remain', 'uebrig', NULL),
+(34, 345, 'reward', 'verguetung', NULL),
+(34, 345, 'sid', 'sid', NULL),
+(34, 346, 'extra', 'art', 'textlinkklick'),
+(34, 346, 'id', 'uid', NULL),
+(34, 346, 'password', 'pw', NULL),
+(34, 346, 'reload', 'reload', NULL),
+(34, 346, 'remain', 'uebrig', NULL),
+(34, 346, 'reward', 'verguetung', NULL),
+(34, 346, 'sid', 'sid', NULL),
+(34, 347, 'extra', 'art', 'textlinkview'),
+(34, 347, 'id', 'uid', NULL),
+(34, 347, 'password', 'pw', NULL),
+(34, 347, 'reload', 'reload', NULL),
+(34, 347, 'reward', 'verguetung', NULL),
+(34, 347, 'sid', 'sid', NULL),
+(34, 348, 'extra', 'art', 'traffic'),
+(34, 348, 'id', 'uid', NULL),
+(34, 348, 'minimum_stay', 'ma', NULL),
+(34, 348, 'password', 'pw', NULL),
+(34, 348, 'reload', 'reload', NULL),
+(34, 348, 'remain', 'uebrig', NULL),
+(34, 348, 'reward', 'verguetung', NULL),
+(34, 348, 'sid', 'sid', NULL)");
+
// Request parameters per type handler - AdPaid
addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
(5, 177, 'id', 'id', NULL),
// API array elements - AD-Magnet
// API array elements - ADCity.eu
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`, `network_type_id`, `network_api_index`, `sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
(32, 312, 1, 1),
(32, 312, 2, 2),
(32, 312, 4, 3),
(30, 301, 9, 7)");
// API array elements - adgain.de
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`, `network_type_id`, `network_api_index`, `sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
(33, 322, 1, 1),
(33, 322, 2, 2),
(33, 322, 5, 3),
(33, 335, 6, 5),
(33, 335, 9, 6)");
+ // API array elements - adgain.de
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+(34, 336, 1, 1),
+(34, 336, 2, 2),
+(34, 336, 5, 3),
+(34, 336, 4, 4),
+(34, 336, 6, 5),
+(34, 337, 1, 1),
+(34, 337, 2, 2),
+(34, 337, 5, 3),
+(34, 337, 4, 4),
+(34, 337, 6, 5),
+(34, 338, 1, 1),
+(34, 338, 2, 2),
+(34, 338, 5, 3),
+(34, 338, 4, 4),
+(34, 338, 6, 5),
+(34, 338, 10, 6),
+(34, 339, 1, 1),
+(34, 339, 2, 2),
+(34, 339, 5, 3),
+(34, 339, 4, 4),
+(34, 339, 6, 5),
+(34, 339, 10, 6),
+(34, 339, 9, 7),
+(34, 340, 1, 1),
+(34, 340, 2, 2),
+(34, 340, 5, 3),
+(34, 340, 4, 4),
+(34, 340, 6, 5),
+(34, 340, 10, 6),
+(34, 340, 37, 7),
+(34, 340, 9, 8),
+(34, 341, 1, 1),
+(34, 341, 2, 2),
+(34, 341, 5, 3),
+(34, 341, 4, 4),
+(34, 341, 6, 5),
+(34, 342, 1, 1),
+(34, 342, 2, 2),
+(34, 342, 5, 3),
+(34, 342, 4, 4),
+(34, 342, 6, 5),
+(34, 342, 10, 6),
+(34, 342, 37, 7),
+(34, 342, 9, 8),
+(34, 343, 1, 1),
+(34, 343, 2, 2),
+(34, 343, 5, 3),
+(34, 343, 4, 4),
+(34, 343, 6, 5),
+(34, 343, 10, 6),
+(34, 344, 1, 1),
+(34, 344, 2, 2),
+(34, 344, 5, 3),
+(34, 344, 4, 4),
+(34, 344, 6, 5),
+(34, 345, 1, 1),
+(34, 345, 2, 2),
+(34, 345, 5, 3),
+(34, 345, 4, 4),
+(34, 345, 6, 5),
+(34, 346, 1, 1),
+(34, 346, 2, 2),
+(34, 346, 5, 3),
+(34, 346, 4, 4),
+(34, 346, 6, 5),
+(34, 346, 9, 6),
+(34, 347, 1, 1),
+(34, 347, 2, 2),
+(34, 347, 5, 3),
+(34, 347, 4, 4),
+(34, 347, 6, 5),
+(34, 348, 1, 1),
+(34, 348, 2, 2),
+(34, 348, 5, 3),
+(34, 348, 4, 4),
+(34, 348, 6, 5),
+(34, 348, 10, 6)");
+
// API array elements - AdPaid
addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
(5, 177, 7, 1),