From: Roland Häder Date: Sat, 28 Aug 2010 20:41:19 +0000 (+0000) Subject: Fixes for broken SQL/language string id X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5fb5a921c011a3c1778b4abc4645530a5de50f59;p=mailer.git Fixes for broken SQL/language string id --- diff --git a/inc/extensions/ext-network.php b/inc/extensions/ext-network.php index 26307a43d4..dfaf1fd892 100644 --- a/inc/extensions/ext-network.php +++ b/inc/extensions/ext-network.php @@ -299,7 +299,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 +341,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 +886,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 +3028,9 @@ PRIMARY KEY (`network_reload_id`) // API array elements - ADCocktail + // API array elements - AdConvention + addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}"); + // 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), diff --git a/inc/modules/admin/what-list_unconfirmed.php b/inc/modules/admin/what-list_unconfirmed.php index 2049183e5b..f9cc421aa6 100644 --- a/inc/modules/admin/what-list_unconfirmed.php +++ b/inc/modules/admin/what-list_unconfirmed.php @@ -67,7 +67,7 @@ ON WHERE p.`id`=%s LIMIT 1", - array(bigintval(getRequestParameter('mid'))) + bigintval(getRequestParameter('mid')) ); // Column, type and id for member's mail @@ -86,7 +86,7 @@ FROM WHERE `id`=%s LIMIT 1", - array(bigintval(getRequestParameter('bid'))) + bigintval(getRequestParameter('bid')) ); // Column, type and id for member's mail diff --git a/templates/de/html/guest/guest_doubler_list.tpl b/templates/de/html/guest/guest_doubler_list.tpl index 5182304480..d54fd1baea 100644 --- a/templates/de/html/guest/guest_doubler_list.tpl +++ b/templates/de/html/guest/guest_doubler_list.tpl @@ -14,7 +14,7 @@ $content - {--GUEST_table_footer--} + {--GUEST_DOUBLER_FOOTER--}