getList('1=1')) { $admin_properties = $handler->result(); } else { $admin_properties = array(); # TODO: check if there was an error or simply no admins (which shouldn't happen because nobody could login then...) } $smarty->assign ('admin_properties', $admin_properties); $smarty->assign ('smarty_template', 'adminlistadmin'); $smarty->display ('index.tpl'); /* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */ ?>