added some forgoten sections in the html parts for user deprecated by benutzer

This commit is contained in:
Ivan Hörler 2017-02-16 12:46:33 +01:00
parent 85d8c84288
commit f5edf87d85
2 changed files with 7 additions and 7 deletions

View File

@ -8,7 +8,7 @@
$user_id = $_SESSION['user_session'];
$stmt = $auth_user->runQuery("SELECT * FROM benutzer WHERE benutzer_id=:user_id");
$stmt->execute(array(":user_id"=>$benutzer_id));
$stmt->execute(array(":user_id"=>$user_id));
$userRow=$stmt->fetch(PDO::FETCH_ASSOC);
@ -18,7 +18,7 @@
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="style.css" type="text/css" />
<title>welcome - <?php print($userRow['user_name']); ?></title>
<title>welcome - <?php print($userRow['benutzer_name']); ?></title>
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top">
@ -43,7 +43,7 @@
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
<span class="glyphicon glyphicon-user">
</span>&nbsp;Hi'
<?php echo $userRow['user_name'];
<?php echo $userRow['benutzer_name'];
?>&nbsp;
<span class="caret">
</span>
@ -62,7 +62,7 @@
<div class="container-fluid" style="margin-top:80px;">
<div class="container">
<label class="h5">welcome :
<?php print($userRow['user_name']);
<?php print($userRow['benutzer_name']);
?>
</label>
<hr />

View File

@ -19,7 +19,7 @@
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="style.css" type="text/css" />
<title>welcome - <?php print($userRow['user_name']); ?></title>
<title>welcome - <?php print($userRow['benutzer_name']); ?></title>
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top">
@ -42,7 +42,7 @@
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
<span class="glyphicon glyphicon-user"></span>&nbsp;Hi' <?php echo $userRow['user_name']; ?>&nbsp;<span class="caret"></span></a>
<span class="glyphicon glyphicon-user"></span>&nbsp;Hi' <?php echo $userRow['benutzer_name']; ?>&nbsp;<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#"><span class="glyphicon glyphicon-user"></span>&nbsp;View Profile</a></li>
<li><a href="logout.php?logout=true"><span class="glyphicon glyphicon-log-out"></span>&nbsp;Sign Out</a></li>
@ -56,7 +56,7 @@
</div>
<div class="container-fluid" style="margin-top:80px;">
<div class="container">
<label class="h5">welcome : <?php print($userRow['user_name']); ?></label>
<label class="h5">welcome : <?php print($userRow['benutzer_name']); ?></label>
<hr />
<h1>
<a href="home.php"><span class="glyphicon glyphicon-home"></span> home</a> &nbsp;