Something
public text v1 · immutable<?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!';
}
}
?>