16 lines
648 B
PHP
Executable File
16 lines
648 B
PHP
Executable File
<?php
|
|
$email = Auth::user()->email;
|
|
$user = DB::table('users')->where('email', $email)->first();
|
|
?>
|
|
<nav class="navbar navbar-default">
|
|
<div class="container-fluid">
|
|
<a class="navbar-brand" href="#">Espace {{ $nameRoute }}</a>
|
|
<!-- <span class="glyphicon glyphicon-user" aria-hidden="true"></span> -->
|
|
<p class="navbar-text"><img height="50" weight="50" src="<?php echo $user->image; ?>"></img> </p>
|
|
<p class="navbar-text"><?php echo $user->name; ?></p>
|
|
<p class="navbar-text"><?php echo $user->email; ?></p>
|
|
<ul class="nav navbar-nav navbar-right">
|
|
<li><a href="logout">Se déconnecter</a></li>
|
|
</ul>
|
|
</div>
|
|
</nav>
|