<?php
if(isset($_SESSION['logged_user'])){
if($_SESSION['logged_user']->id > 0 ){
echo '<p class="auth">'.$_SESSION['logged_user']->names.'<br>'.$_SESSION['logged_user']->full.' </p>';
}
else
{
echo 123;
}
}
?>