Header.php: show user name in bold face.
parent
44f478107f
commit
5ba25e7294
|
@ -135,7 +135,7 @@ if (mysqli_connect_errno()) {
|
|||
<a class="nav-link" href="#">
|
||||
<?php
|
||||
if (isset($_SESSION["user_fullname"])) {
|
||||
echo $_SESSION['user_fullname'];
|
||||
echo "<b>" . $_SESSION['user_fullname'] . "</b>";
|
||||
}
|
||||
?>
|
||||
|
||||
|
@ -144,9 +144,9 @@ if (mysqli_connect_errno()) {
|
|||
<?php
|
||||
$c_date = date("Y-m-d H:i");
|
||||
if (isset($_SESSION['user_student_id']))
|
||||
echo "(" . $_SESSION['user_type'] . " - " . $_SESSION['user_student_id'] . ") ";
|
||||
echo "(" . $_SESSION['user_type'] . " ID: " . $_SESSION['user_student_id'] . ") ";
|
||||
elseif (isset($_SESSION['user_type']))
|
||||
echo "(" . $_SESSION['user_type'] . ") ";
|
||||
echo "(" . $_SESSION['user_type'] . ") ";
|
||||
?>
|
||||
</a>
|
||||
|
||||
|
|
Loading…
Reference in New Issue