loginhttps)) { $wwwroot = $CFG->wwwroot; } else { $wwwroot = str_replace("http://", "https://", $CFG->wwwroot); } if (!isloggedin()) { echo ''.get_string('loggedinnot').''; } elseif (isguestuser()) { echo '

You are logged in as a Guest (Login)

'; } else { echo '

You are logged in as '.$USER->firstname.' '.$USER->lastname.'

'; } ?>
wwwroot.'/user/view.php?id='.$USER->id.'&course='.$COURSE->id.'">'.$USER->firstname.' '.$USER->lastname.''; ?>
'; echo '
'; echo '

'; echo '

'; echo '

'; echo '
'; echo '
'; } else { echo '
'; echo ''.get_string('updatemyprofile').'
'; echo ''.get_string('mycourses').'
'; echo ''.get_string('logout').''; echo '
'; } ?>