query(" SELECT uq.ID, uq.Question, uq.UserID, uq.Date FROM user_questions AS uq WHERE uq.ID NOT IN (SELECT sq.QuestionID FROM staff_answers AS sq WHERE sq.UserID = '$LoggedUser[ID]') ORDER BY uq.Date DESC"); $Questions = $DB->to_array(); $DB->query("SELECT COUNT(1) FROM user_questions"); list($TotalQuestions) = $DB->next_record(); View::show_header("Ask the Staff", "questions"); ?>

User Questions questions asked, left to answer

full_format($Question['Question'])?>