} // END - if
// Load all advert codes for given network
- $result = SQL_QUERY_ESC("SELECT
+ $result = sqlQueryEscaped("SELECT
`p`.`network_array_id`,
`t`.`network_type_id`,
`t`.`network_type_handler`,
), __FILE__, __LINE__);
// Are there entries?
- if (!SQL_HASZERONUMS($result)) {
+ if (!ifSqlHasZeroNums($result)) {
// List all entries
$OUT = '';
- while ($row = SQL_FETCHARRAY($result)) {
+ while ($row = sqlFetchArray($result)) {
// Add it to network if the type matches selected
if ($row['network_type_id'] == postRequestElement('network_type_id')) {
// Matches, then add it for disabling this entry
}
// Free result
- SQL_FREERESULT($result);
+ sqlFreeResult($result);
// Add form for adding new array_translation pair
loadTemplate('admin_add_network_array_translation', FALSE, $networkData);