You're using has_cap in connection with user_level. This is depracated. Should better be a role. Ex. 'administrator'.
Highlighting problems with code (language=php):
echo '<a href="'.some_fn().'">Text</a>';
Ends up in beeing highlightet as php-string, because the plugin can't find the second " and doesn't highlight functions as php until there comes the second ".
Only a suggestion: plain text for copy/paste would be highly appreciated (via some ex. button). Thanks again!