process($_REQUEST['unignoreid']); $notice = 'ignore removed';} $stmt = new Statement("SELECT * FROM {$GLOBALS['fc_config']['db']['pref']}ignors ORDER BY userid"); $rs = $stmt->process(); $ignores = array(); while($rec = $rs->next()) { $ignores_temp = array(); $user = ChatServer::getUser($rec['userid']); $iuser = ChatServer::getUser($rec['ignoreduserid']); $ignores_temp['user'] = $user['login']; $ignores_temp['userid'] = $rec['userid']; $ignores_temp['iuser'] = $iuser['login']; $ignores_temp['iuserid'] = $rec['ignoreduserid']; $ignores_temp['created'] = $rec['created']; array_push($ignores, $ignores_temp); } if ($_REQUEST['sort'] != 'none') { sort_table($_REQUEST['sort'], $ignores); } //Assign Smarty variables and load the admin template $smarty->assign('notice',$notice); $smarty->assign('error',$error); $smarty->assign('ignores',$ignores); $smarty->display('ignorelist.tpl'); ?>