returnsql_query("INSERT INTO `LogEntries` SET `timestamp`='".sql_escape(time())."', `nick`='".sql_escape($nick)."', `message`='".sql_escape($message)."'");
returnsql_select("SELECT * FROM `LogEntries` WHERE `nick` LIKE '%".sql_escape($keyword)."%' OR `message` LIKE '%".sql_escape($keyword)."%' ORDER BY `timestamp` DESC");