1 2 3 4 5 6 7 8 9 10 11 12
<?php global $VARS; $t = $VARS['template']; $username = $VARS['username']; $t->header('Authentication'); $t->openTag('div',array('class'=>'login')); $t->text("Logged in as ".htmlentities($username).'.'); $t->logout_button('Logout'); $t->closeTag('div'); $t->footer();