X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmodules%2Fadmin%2Fwhat-list_network_types.php;h=c6ca40c374b3541728a0a1055c50eb60586746c7;hb=cf3765c38cf0a76f396aca291f71858936e92956;hp=d28dfaa339da697373c7129e8b5558733d2da940;hpb=09f5758c42a33a56bdd461c946ffe759a59c54aa;p=mailer.git diff --git a/inc/modules/admin/what-list_network_types.php b/inc/modules/admin/what-list_network_types.php index d28dfaa339..c6ca40c374 100644 --- a/inc/modules/admin/what-list_network_types.php +++ b/inc/modules/admin/what-list_network_types.php @@ -85,24 +85,22 @@ ORDER BY // Do we have entries? if (SQL_NUMROWS($result) > 0) { // List all entries - $OUT = ''; $SW = 2; + $OUT = ''; while ($row = SQL_FETCHARRAY($result)) { // Add/translate some data - $row['sw'] = $SW; - if (trim($row['network_type_banner_url']) == '') $row['network_type_banner_url'] = '---'; + $row['network_type_banner_url'] = fixNullEmptyToDashes($row['network_type_banner_url'], 3); // Set disabled entry $networkData['disabled'][$row['network_type_handle']] = true; // Add row template and switch color $OUT .= loadTemplate('admin_list_network_types_row', true, $row); - $SW = 3 - $SW; } // END - while // Prepare data for template $content = array( 'rows' => $OUT, - 'network_id' => getRequestParameter('network'), + 'network_id' => bigintval(getRequestParameter('network')), 'network_title' => $networkData['network_title'], 'network_reflink' => $networkData['network_reflink'], ); @@ -130,7 +128,7 @@ ORDER BY 'surfbar', 'surfbar_click', 'surfbar_view', - 'focredbanner', + 'forcedbanner', 'forcedtextlink', 'textlink', 'textlink_click', @@ -148,7 +146,8 @@ ORDER BY 'lead', 'sale', 'payperactive', - 'pagepeel' + 'pagepeel', + 'traffic' ), array( '{--ADMIN_NETWORK_TYPES_BANNER_CLICK_VIEW--}', @@ -178,7 +177,8 @@ ORDER BY '{--ADMIN_NETWORK_TYPES_LEAD--}', '{--ADMIN_NETWORK_TYPES_SALE--}', '{--ADMIN_NETWORK_TYPES_PAYPERACTIVE--}', - '{--ADMIN_NETWORK_TYPES_PAGEPEEL--}' + '{--ADMIN_NETWORK_TYPES_PAGEPEEL--}', + '{--ADMIN_NETWORK_TYPES_TRAFFIC--}' ), '', '', '', $networkData['disabled']