Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="nav-item">
- <button class="userButton row">
- <?php if( !isset($_SESSION['id']) and !isset($_SESSION['role']) or empty($user.getPhoto())): ?>
- <i class=" fas fa-user">
- <a id="userButtonText " href=""> Sing Up </a>
- <?php else: ?>
- <img class="userPhoto d-block rounded-circl" src="<?=$user->getPhoto()?>" alt=""/>'
- <a id="userButtonText d-block" href=""> <?="".$user.getName(). $user->getSurname() ?> </a>
- <?php endif; ?>
- <!-- <img class="userPhoto d-block rounded-circl" src="" alt="fa-user" />-->
- <!-- <button class="userButton d-block rounded-circl" > <i class="fas fa-user"> </i> </button>-->
- </button>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement