} // END - if
// Check for all accounts
-$result = SQL_QUERY("SELECT
+$result = sqlQuery("SELECT
`d`.`userid`,
`d`.`gender`,
`d`.`surname`,
ORDER BY
`d`.`userid` ASC", __FILE__, __LINE__);
-if (!SQL_HASZERONUMS($result)) {
+if (!ifSqlHasZeroNums($result)) {
// Ok, we have found some inactive accounts
$OUT = '';
- while ($content = SQL_FETCHARRAY($result)) {
+ while ($content = sqlFetchArray($result)) {
// Prepare data for the row template
$content = array(
'userid' => $content['userid'],
} // END - while
// Free memory
- SQL_FREERESULT($result);
+ sqlFreeResult($result);
$content['rows'] = $OUT;
// Load main template