} // END - if
// Load all what menu points
- $result = SQL_QUERY("SELECT
+ $result = sqlQuery("SELECT
`id`,
`what`,
`title`
$OUT = '';
// Process all entries
- while ($content = SQL_FETCHARRAY($result)) {
+ while ($content = sqlFetchArray($result)) {
// Link for setting 'what' as new 'home'
$newHomeLink = '<a href="{%url=modules.php?module=admin&what=config_home&sub=target&home=' . $content['what'] . '%}">{--_IS_NEW_HOME--}</a>';
} // END - while
// Free memory
- SQL_FREERESULT($result);
+ sqlFreeResult($result);
// Load template
loadTemplate('admin_list_home', FALSE, $OUT);