<?php
-if ($username = @$_REQUEST['login']) {
+if ($User->admin('user') and $username = @$_REQUEST['login']) {
try {
$user = new User("profile/$username");
}
}
$Place['pass'] = htmlspecialchars($password) ?: '<em>zelf ingesteld</em>';
}
+else {
+ $Place['pass'] = '<em>onbekend</em>';
+}
+
+print '<p class="nav right"><a href="javascript:window.print()">Print</a></p>'."\n";