* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2013 by Mailer Developer Team *
+ * Copyright (c) 2009 - 2016 by Mailer Developer Team *
* For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
`network_request_type`,
`network_charset`,
`network_require_id_card`,
- `network_query_amount`
+ `network_query_amount`,
+ `network_active`
FROM
`{?_MYSQL_PREFIX?}_network_data`
ORDER BY
`network_short_name` ASC', __FILE__, __LINE__);
// Are there entries?
-if (!ifSqlHasZeroNums($result)) {
+if (!ifSqlHasZeroNumRows($result)) {
// List all
$OUT = '';
while ($content = sqlFetchArray($result)) {
- // Load row template
- $OUT .= loadTemplate('admin_list_network_data_row', TRUE, $content);
+ // Is the network still active?
+ if ($content['network_active'] == 'Y') {
+ // Load row template
+ $OUT .= loadTemplate('admin_list_network_data_row', TRUE, $content);
+ } else {
+ // No more active
+ $OUT .= loadTemplate('admin_list_network_data_inactive_row', TRUE, $content);
+ }
} // END - while
// Load main template