From 70d88449d385c3e979674fdbf1f2df9ceb6ba5f2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 9 Apr 2010 05:57:20 +0000 Subject: [PATCH] Network 'ABisZed Netz' added --- inc/extensions/ext-debug.php | 5 +- inc/extensions/ext-network.php | 125 +++++++++++++++++++++++++++++++++ 2 files changed, 127 insertions(+), 3 deletions(-) diff --git a/inc/extensions/ext-debug.php b/inc/extensions/ext-debug.php index fda15d3e87..d18b6d28ff 100644 --- a/inc/extensions/ext-debug.php +++ b/inc/extensions/ext-debug.php @@ -161,15 +161,14 @@ PRIMARY KEY (`id`) break; case 'update': // Update an extension - switch (getCurrentExtensionVersion()) - { + switch (getCurrentExtensionVersion()) { case '0.0.1': // SQL queries for v0.0.1 addExtensionSql(''); // Update notes (these will be set as task text!) setExtensionUpdateNotes(''); break; - } + } // END - switch break; case 'modify': // When the extension got modified diff --git a/inc/extensions/ext-network.php b/inc/extensions/ext-network.php index ef2cd29ecb..a08448b0a4 100644 --- a/inc/extensions/ext-network.php +++ b/inc/extensions/ext-network.php @@ -275,6 +275,22 @@ PRIMARY KEY (`network_reload_id`) (11, 1, 'htmlmail', 'http://www.a3h.de/interface/out_paidmail.php', 'http://www.a3h.de/emailf.php?id=%CID%', NULL)"); // Network type handlers - AbisZED-Netz + 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 +(187, 2, 'banner_click', 'http://www.abiszed-netz.de/interface/out_banner.php', 'http://www.abiszed-netz.de/bannerklf.php?id=%CID%', 'http://www.abiszed-netz.de/banner.php?id=%CID%'), +(188, 2, 'banner_view', 'http://www.abiszed-netz.de/interface/out_banner.php', 'http://www.abiszed-netz.de/bannerklf.php?id=%CID%', 'http://www.abiszed-netz.de/banner.php?id=%CID%'), +(189, 2, 'textlink_click', 'http://www.abiszed-netz.de/interface/out_textlink.php', 'http://www.abiszed-netz.de/textlinkklick.php?id=%CID%', NULL), +(190, 2, 'textlink_view', 'http://www.abiszed-netz.de/interface/out_textlink.php', 'http://www.abiszed-netz.de/textlinkklick.php?id=%CID%', NULL), +(191, 2, 'surfbar_click', 'http://www.abiszed-netz.de/interface/out_sbanner.php', 'http://www.abiszed-netz.de/bannerklf.php?id=%CID%', 'http://www.abiszed-netz.de/banner.php?id=%CID%'), +(192, 2, 'surfbar_view', 'http://www.abiszed-netz.de/interface/out_sbanner.php', 'http://www.abiszed-netz.de/bannerklf.php?id=%CID%', 'http://www.abiszed-netz.de/banner.php?id=%CID%'), +(193, 2, 'forcedbanner', 'http://www.abiszed-netz.de/interface/out_fbanner.php', 'http://www.abiszed-netz.de/bannerklf.php?id=%CID%', 'http://www.abiszed-netz.de/banner.php?id=%CID%'), +(194, 2, 'textmail', 'http://www.abiszed-netz.de/interface/out_paidmail.php', 'http://www.abiszed-netz.de/emailf.php?id=%CID%', NULL), +(195, 2, 'htmlmail', 'http://www.abiszed-netz.de/interface/out_paidmail.php', 'http://www.abiszed-netz.de/emailf.php?id=%CID%', NULL), +(196, 2, 'layer_click', 'http://www.abiszed-netz.de/interface/out_layer.php', 'http://www.abiszed-netz.de/layer.php?id=%CID%', NULL), +(197, 2, 'layer_view', 'http://www.abiszed-netz.de/interface/out_layer.php', 'http://www.abiszed-netz.de/layer.php?id=%CID%', NULL), +(198, 2, 'popup', 'http://www.abiszed-netz.de/interface/out_popup.php', 'http://www.abiszed-netz.de/popup.php?id=%CID%', NULL), +(199, 2, 'popdown', 'http://www.abiszed-netz.de/interface/out_popdown.php', 'http://www.abiszed-netz.de/popdown.php?id=%CID%', NULL), +(200, 2, 'lead', 'http://www.abiszed-netz.de/interface/out_lead.php', 'http://www.abiszed-netz.de/lead.php?id=%CID%', NULL), +(201, 2, 'sale', 'http://www.abiszed-netz.de/interface/out_sale.php', 'http://www.abiszed-netz.de/sale.php?id=%CID%', NULL)"); // Network type handlers - Ad-Magnet @@ -589,6 +605,115 @@ PRIMARY KEY (`network_reload_id`) (78, 1, 10, 'remain', 'uebrig', NULL)"); // Request parameters per type handler - AbisZED-Netz + 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 +(1337, 2, 187, 'id', 'id', NULL), +(1338, 2, 187, 'sid', 'sid', NULL), +(1339, 2, 187, 'password', 'pw', NULL), +(1340, 2, 187, 'reward', 'verguetung', NULL), +(1341, 2, 187, 'reload', 'reload', NULL), +(1342, 2, 187, 'remain', 'uebrig', NULL), +(1343, 2, 187, 'type', 'typ', 'klick'), +(1344, 2, 187, 'size', 'size', NULL), +(1345, 2, 188, 'id', 'id', NULL), +(1346, 2, 188, 'sid', 'sid', NULL), +(1347, 2, 188, 'password', 'pw', NULL), +(1349, 2, 188, 'reward', 'verguetung', NULL), +(1350, 2, 188, 'reload', 'reload', NULL), +(1351, 2, 188, 'remain', 'uebrig', NULL), +(1352, 2, 188, 'type', 'typ', 'view'), +(1353, 2, 188, 'size', 'size', NULL), +(1354, 2, 189, 'id', 'id', NULL), +(1355, 2, 189, 'sid', 'sid', NULL), +(1356, 2, 189, 'password', 'pw', NULL), +(1357, 2, 189, 'reward', 'verguetung', NULL), +(1358, 2, 189, 'reload', 'reload', NULL), +(1359, 2, 189, 'remain', 'uebrig', NULL), +(1360, 2, 189, 'type', 'typ', 'klick'), +(1361, 2, 190, 'id', 'id', NULL), +(1362, 2, 190, 'sid', 'sid', NULL), +(1363, 2, 190, 'password', 'pw', NULL), +(1364, 2, 190, 'reward', 'verguetung', NULL), +(1365, 2, 190, 'reload', 'reload', NULL), +(1366, 2, 190, 'remain', 'uebrig', NULL), +(1367, 2, 190, 'type', 'typ', 'view'), +(1368, 2, 191, 'id', 'id', NULL), +(1369, 2, 191, 'sid', 'sid', NULL), +(1370, 2, 191, 'password', 'pw', NULL), +(1371, 2, 191, 'reward', 'verguetung', NULL), +(1372, 2, 191, 'reload', 'reload', NULL), +(1373, 2, 191, 'remain', 'uebrig', NULL), +(1374, 2, 191, 'type', 'typ', 'klick'), +(1375, 2, 191, 'size', 'size', NULL), +(1376, 2, 192, 'id', 'id', NULL), +(1377, 2, 192, 'sid', 'sid', NULL), +(1378, 2, 192, 'password', 'pw', NULL), +(1379, 2, 192, 'reward', 'verguetung', NULL), +(1380, 2, 192, 'reload', 'reload', NULL), +(1381, 2, 192, 'remain', 'uebrig', NULL), +(1382, 2, 192, 'type', 'typ', 'view'), +(1383, 2, 192, 'size', 'size', NULL), +(1384, 2, 193, 'id', 'id', NULL), +(1385, 2, 193, 'sid', 'sid', NULL), +(1386, 2, 193, 'password', 'pw', NULL), +(1387, 2, 193, 'reward', 'verguetung', NULL), +(1388, 2, 193, 'reload', 'reload', NULL), +(1389, 2, 193, 'remain', 'uebrig', NULL), +(1390, 2, 193, 'size', 'size', NULL), +(1391, 2, 193, 'min_stay', 'ma', NULL), +(1392, 2, 194, 'id', 'id', NULL), +(1393, 2, 194, 'sid', 'sid', NULL), +(1394, 2, 194, 'password', 'pw', NULL), +(1395, 2, 194, 'reward', 'verguetung', NULL), +(1396, 2, 194, 'reload', 'reload', NULL), +(1397, 2, 194, 'remain', 'uebrig', NULL), +(1398, 2, 194, 'min_stay', 'ma', NULL), +(1399, 2, 194, 'type', 'typ', 'text'), +(1400, 2, 195, 'id', 'id', NULL), +(1401, 2, 195, 'sid', 'sid', NULL), +(1402, 2, 195, 'password', 'pw', NULL), +(1403, 2, 195, 'reward', 'verguetung', NULL), +(1404, 2, 195, 'reload', 'reload', NULL), +(1405, 2, 195, 'remain', 'uebrig', NULL), +(1406, 2, 195, 'min_stay', 'ma', NULL), +(1407, 2, 195, 'type', 'typ', 'html'), +(1408, 2, 196, 'id', 'id', NULL), +(1409, 2, 196, 'sid', 'sid', NULL), +(1410, 2, 196, 'password', 'pw', NULL), +(1411, 2, 196, 'reward', 'verguetung', NULL), +(1412, 2, 196, 'reload', 'reload', NULL), +(1413, 2, 196, 'remain', 'uebrig', NULL), +(1414, 2, 196, 'type', 'typ', 'klick'), +(1415, 2, 197, 'id', 'id', NULL), +(1416, 2, 197, 'sid', 'sid', NULL), +(1417, 2, 197, 'password', 'pw', NULL), +(1418, 2, 197, 'reward', 'verguetung', NULL), +(1419, 2, 197, 'reload', 'reload', NULL), +(1420, 2, 197, 'remain', 'uebrig', NULL), +(1421, 2, 197, 'type', 'typ', 'view'), +(1422, 2, 198, 'id', 'id', NULL), +(1423, 2, 198, 'sid', 'sid', NULL), +(1424, 2, 198, 'password', 'pw', NULL), +(1425, 2, 198, 'reward', 'verguetung', NULL), +(1426, 2, 198, 'reload', 'reload', NULL), +(1427, 2, 198, 'remain', 'uebrig', NULL), +(1428, 2, 198, 'min_stay', 'ma', NULL), +(1429, 2, 199, 'id', 'id', NULL), +(1430, 2, 199, 'sid', 'sid', NULL), +(1431, 2, 199, 'password', 'pw', NULL), +(1432, 2, 199, 'reward', 'verguetung', NULL), +(1433, 2, 199, 'reload', 'reload', NULL), +(1434, 2, 199, 'remain', 'uebrig', NULL), +(1435, 2, 199, 'max_stay', 'ma', NULL), +(1436, 2, 200, 'id', 'id', NULL), +(1437, 2, 200, 'sid', 'sid', NULL), +(1438, 2, 200, 'password', 'pw', NULL), +(1439, 2, 200, 'reward', 'verguetung', NULL), +(1440, 2, 200, 'remain', 'uebrig', NULL), +(1441, 2, 201, 'id', 'id', NULL), +(1442, 2, 201, 'sid', 'sid', NULL), +(1443, 2, 201, 'password', 'pw', NULL), +(1444, 2, 201, 'reward', 'verguetung', NULL), +(1445, 2, 201, 'remain', 'uebrig', NULL)"); // Request parameters per type handler - Ad-Magnet -- 2.39.5