isAdmin()) { echo "You are logged in as " . $_SESSION['username']; } else { header('Location: ../../index.php'); } } // DEBUG // print_r($Functions->getAllSuggestions()); ?> Suggestion manager - Newalfox

SUGGESTIONS MANAGER
Back to console

getAllSuggestions() == null) { echo ' '; } else { foreach ($Functions->getAllSuggestions() as $suggestion) { $state = " unread "; if (isset($suggestion['state']) == 1) { $state = ' archived '; } else { $state = ' unread '; } if (isset($suggestion['comments']) == "") { $suggestion['comments'] = ""; } else { $suggestion['comments'] = ""; } echo ' '; } } ?>
Username Description Comments Sended date State Actions
CONSOLE SUGGESTIONS MANAGER
No suggestions here :c
' . $suggestion['username'] . ' ' . $Functions->encodeOutput($suggestion['suggestion']) . ' ' . $suggestion['comments'] . ' ' . $suggestion['create_at'] . ' ' . $state . '