All pastes #264363 Raw Edit

Something

public text v1 · immutable
·published 2006-12-02 09:21 UTC
rendered paste body
<?php
require("/home/altscr/public_html/forum/SSI.php"); 

if ($context['user']['is_guest'])
 {
   echo 
   '<h5>Access Denied</h5>
   We are sorry guest, You must be logged in to view this section';
 }
else
 {
 if ( isset( $context['user']['is_admin'] ) || in_array(10, $user_info['groups'] )) {
echo 'admin stuff';
}

else
 {
   echo
   '<h5>Welcome ', $context['user']['name'], '!</h5>
   Here you may submit challenges in the future!';
 }
 }
?>