]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-network.php
Variable renamed, function refactured/moved:
[mailer.git] / inc / extensions / ext-network.php
index 26307a43d49ff91b2cb602b2a554586bc5f2df1f..515a053c2517563a9ed390ddf634382d2c71b706 100644 (file)
@@ -14,8 +14,6 @@
  * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
  * $Author::                                                          $ *
- * Needs to be in all Files and every File needs "svn propset           *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * @TODO AbisZED: Which charset?                                        *
  * @TODO Ad-Magnet: Layer(klick?). Layerviews.Skybannerklick/-view,     *
@@ -299,7 +297,8 @@ PRIMARY KEY (`network_reload_id`)
 ('doubleads', 'doubleads.de', 'http://www.doubleads.de?ref=1063', '|', '|', 'GET', 'ISO-8859-1'),
 ('vipads', 'VIPads.de', 'http://vipads.de/index.php?seite=anmeldung&ref=Quix0r', '|', '|', 'GET', 'ISO-8859-1'),
 ('homeads', 'homeADS', 'http://www.homeads.de/?ref=1540', '|', '|', 'GET', 'WINDOWS-1252'),
-('fucoexsponsor', 'FuCoExSponsor.net', 'http://fucoexsponsor.net/index.php?seite=anmeldung&ref=Quix0r', '|', '|', 'GET', 'ISO-8859-1')");
+('fucoexsponsor', 'FuCoExSponsor.net', 'http://fucoexsponsor.net/index.php?seite=anmeldung&ref=Quix0r', '|', '|', 'GET', 'ISO-8859-1'),
+('adconvention', 'AdConvention', 'http://www.adconvention.de?ref=233', '|', '|', 'GET', 'WINDOWS-1252')");
 
                // 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`) VALUES
@@ -340,6 +339,19 @@ PRIMARY KEY (`network_reload_id`)
 (13, 4, 'forcedbanner', 'http://www.adcocktail.com/sc/kas/kas_fk.php', 'http://fk.adcocktail.com/fk_k.php?uid=%UID%&wid=%CID%&wsid=%SID%', 'http://fk.adcocktail.com/fk_v.php?uid=%UID%&wid=%CID%&wsid=%SID%'),
 (12, 4, 'textmail', 'http://www.adcocktail.com/sc/kas/kas_pm.php', 'http://pm.adcocktail.com/pm.php?uid=%UID%&wid=%CID%&wsid=%SID%', NULL)");
 
+               // Network type handlers - AdConvention
+               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
+(295, 30, 'banner_click', 'http://www.adconvention.de/interface/', 'http://www.adconvention.de/codes/klickbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.adconvention.de/codes/viewbanner.php?id=%UID%&bid=%CID%&aid=%SID%'),
+(294, 30, 'banner_view', 'http://www.adconvention.de/interface/', 'http://www.adconvention.de/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%CID%', 'http://www.adconvention.de/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%'),
+(297, 30, 'button_view', 'http://www.adconvention.de/interface/', 'http://www.adconvention.de/codes/buttonklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.adconvention.de/codes/buttonview.php?id=%UID%&bid=%CID%&aid=%SID%'),
+(292, 30, 'forcedbanner', 'http://www.adconvention.de/interface/', 'http://www.adconvention.de/codes/forcedbannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.adconvention.de/codes/forcedbannerview.php?id=%UID%&bid=%CID%&aid=%SID%'),
+(293, 30, 'forcedtextlink', 'http://www.adconvention.de/interface/', 'http://www.adconvention.de/codes/forcedtextlinkklick.php?id=%UID%&bid=%CID%&aid=%SI%', NULL),
+(300, 30, 'popup', 'http://www.adconvention.de/interface/', 'http://www.adconvention.de/codes/popup.php?id=%UID%&bid=%CID%&aid=%SID%', NULL),
+(296, 30, 'skybanner_view', 'http://www.adconvention.de/interface/', 'http://www.adconvention.de/codes/skybannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.adconvention.de/codes/skybannerview.php?id=%UID%&bid=%CID%&aid=%SID%'),
+(298, 30, 'textlink_view', 'http://www.adconvention.de/interface/', 'http://www.adconvention.de/codes/textlinkview.php?id=%UID%&bid=%CID%&aid=%SID%', NULL),
+(301, 30, 'textmail', 'http://www.adconvention.de/interface/', 'http://www.adconvention.de/codes/paidmail.php?id=%UID%&bid=%CID%&aid=%SID%', NULL),
+(299, 30, 'traffic', 'http://www.adconvention.de/interface/', 'http://www.adconvention.de/codes/traffic.php?id=%UID%&bid=%CID%&aid=%SID%', NULL)");
+
                // 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`) 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%'),
@@ -872,6 +884,79 @@ PRIMARY KEY (`network_reload_id`)
 
                // Request parameters per type handler - AdCocktail
 
+               // Request parameters per type handler - AdConvention
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `request_param_key`, `request_param_value`, `request_param_default`) VALUES
+(30, 292, 'extra', 'typ', 'forcedbanner'),
+(30, 292, 'id', 'id', NULL),
+(30, 292, 'minimum_stay', 'ma', NULL),
+(30, 292, 'password', 'pw', NULL),
+(30, 292, 'reload', 'reload', NULL),
+(30, 292, 'remain', 'uebrig', NULL),
+(30, 292, 'reward', 'verguetung', NULL),
+(30, 293, 'extra', 'typ', 'forcedtextlink'),
+(30, 293, 'id', 'id', NULL),
+(30, 293, 'minimum_stay', 'ma', NULL),
+(30, 293, 'password', 'pw', NULL),
+(30, 293, 'reload', 'reload', NULL),
+(30, 293, 'remain', 'uebrig', NULL),
+(30, 293, 'reward', 'verguetung', NULL),
+(30, 294, 'extra', 'typ', 'bannerview'),
+(30, 294, 'id', 'id', NULL),
+(30, 294, 'minimum_stay', 'ma', NULL),
+(30, 294, 'password', 'pw', NULL),
+(30, 294, 'reload', 'reload', NULL),
+(30, 294, 'remain', 'uebrig', NULL),
+(30, 294, 'reward', 'verguetung', NULL),
+(30, 295, 'extra', 'typ', 'bannerklick'),
+(30, 295, 'id', 'id', NULL),
+(30, 295, 'minimum_stay', 'ma', NULL),
+(30, 295, 'password', 'pw', NULL),
+(30, 295, 'reload', 'reload', NULL),
+(30, 295, 'remain', 'uebrig', NULL),
+(30, 295, 'reward', 'verguetung', NULL),
+(30, 296, 'extra', 'typ', 'skybannerview'),
+(30, 296, 'id', 'id', NULL),
+(30, 296, 'minimum_stay', 'ma', NULL),
+(30, 296, 'password', 'pw', NULL),
+(30, 296, 'reload', 'reload', NULL),
+(30, 296, 'remain', 'uebrig', NULL),
+(30, 296, 'reward', 'verguetung', NULL),
+(30, 297, 'extra', 'typ', 'buttonview'),
+(30, 297, 'id', 'id', NULL),
+(30, 297, 'minimum_stay', 'ma', NULL),
+(30, 297, 'password', 'pw', NULL),
+(30, 297, 'reload', 'reload', NULL),
+(30, 297, 'remain', 'uebrig', NULL),
+(30, 297, 'reward', 'verguetung', NULL),
+(30, 298, 'extra', 'typ', 'textview'),
+(30, 298, 'id', 'id', NULL),
+(30, 298, 'minimum_stay', 'ma', NULL),
+(30, 298, 'password', 'pw', NULL),
+(30, 298, 'reload', 'reload', NULL),
+(30, 298, 'remain', 'uebrig', NULL),
+(30, 298, 'reward', 'verguetung', NULL),
+(30, 299, 'extra', 'typ', 'traffic'),
+(30, 299, 'id', 'id', NULL),
+(30, 299, 'minimum_stay', 'ma', NULL),
+(30, 299, 'password', 'pw', NULL),
+(30, 299, 'reload', 'reload', NULL),
+(30, 299, 'remain', 'uebrig', NULL),
+(30, 299, 'reward', 'verguetung', NULL),
+(30, 300, 'extra', 'typ', 'popup'),
+(30, 300, 'id', 'id', NULL),
+(30, 300, 'minimum_stay', 'ma', NULL),
+(30, 300, 'password', 'pw', NULL),
+(30, 300, 'reload', 'reload', NULL),
+(30, 300, 'remain', 'uebrig', NULL),
+(30, 300, 'reward', 'verguetung', NULL),
+(30, 301, 'extra', 'typ', 'paidmail'),
+(30, 301, 'id', 'id', NULL),
+(30, 301, 'minimum_stay', 'ma', NULL),
+(30, 301, 'password', 'pw', NULL),
+(30, 301, 'reload', 'reload', NULL),
+(30, 301, 'remain', 'uebrig', NULL),
+(30, 301, 'reward', 'verguetung', NULL)");
+
                // Request parameters per type handler - AdPaid
                addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `request_param_key`, `request_param_value`, `request_param_default`) VALUES
 (5, 177, 'id', 'id', NULL),
@@ -2941,6 +3026,65 @@ PRIMARY KEY (`network_reload_id`)
 
                // API array elements - ADCocktail
 
+               // API array elements - AdConvention
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`, `network_type_id`, `network_api_index`, `sort`) VALUES
+(30, 292, 1, 1),
+(30, 292, 2, 2),
+(30, 292, 4, 3),
+(30, 292, 5, 4),
+(30, 292, 6, 5),
+(30, 292, 10, 6),
+(30, 293, 1, 1),
+(30, 293, 2, 2),
+(30, 293, 4, 3),
+(30, 293, 5, 4),
+(30, 293, 6, 5),
+(30, 293, 10, 6),
+(30, 294, 1, 1),
+(30, 294, 2, 2),
+(30, 294, 4, 3),
+(30, 294, 5, 4),
+(30, 294, 6, 5),
+(30, 295, 1, 1),
+(30, 295, 2, 2),
+(30, 295, 4, 3),
+(30, 295, 5, 4),
+(30, 295, 6, 5),
+(30, 296, 1, 1),
+(30, 296, 2, 2),
+(30, 296, 4, 3),
+(30, 296, 5, 4),
+(30, 296, 6, 5),
+(30, 297, 1, 1),
+(30, 297, 2, 2),
+(30, 297, 4, 3),
+(30, 297, 5, 4),
+(30, 297, 6, 5),
+(30, 298, 1, 1),
+(30, 298, 2, 2),
+(30, 298, 4, 3),
+(30, 298, 5, 4),
+(30, 298, 6, 5),
+(30, 299, 1, 1),
+(30, 299, 2, 2),
+(30, 299, 4, 3),
+(30, 299, 5, 4),
+(30, 299, 6, 5),
+(30, 299, 10, 6),
+(30, 300, 1, 1),
+(30, 300, 2, 2),
+(30, 300, 4, 3),
+(30, 300, 5, 4),
+(30, 300, 6, 5),
+(30, 300, 10, 6),
+(30, 301, 1, 1),
+(30, 301, 2, 2),
+(30, 301, 4, 3),
+(30, 301, 5, 4),
+(30, 301, 6, 5),
+(30, 301, 10, 6),
+(30, 301, 9, 7)");
+
                // 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),