File "home.php"
Full Path: /home/analogde/www/Design/fileman/Fusion/PROD/home.php
File size: 3.04 KB
MIME-type: text/x-php
Charset: utf-8
<?php
session_start();
echo "TRACE";
/*
if(!isset($_SESSION['login_user']))
{
echo "PB";
?>
<div class="alert alert-danger" role="alert">
A simple danger alert—check it out!
</div>
<!--
header('location: login013.php');
-->
<?php
echo "Zoulou";
*/
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Bootstrap Sign in Form with Icons</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css" />
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://code.jquery.com/ui/1.13.3/themes/base/jquery-ui.css">
<script src="https://code.jquery.com/ui/1.13.3/jquery-ui.js"></script>
<title>Dashboard</title>
</head>
<body>
<?php
echo '<pre>';
var_dump($_SESSION);
echo '</pre>';
//echo $_SESSION['login_user'] ."<br><br>";
if(!isset($_SESSION['login_user']))
{
?>
<div class="alert alert-danger" role="alert">
Vous devez être connecté pour accéder au site.!
<a href="login013.php" class="btn btn-primary btn-lg active" role="button" aria-pressed="true">Connexion</a>
</div>
<?php
}
else
{
?>
<div class="container">
<div class="row"><br><br><br>
<div class="col-md-4"></div>
<div class="col-md-4" style="background-color: #D2D1D1; border-radius:15px;">
<br><br>
<h4>Hi <b><?=$_SESSION['login_user']?></b>, Welcome to your dashboard.</h4><br>
<p>Love is a variety of different feelings, states, and attitudes that ranges from interpersonal affection ("I love my mother") to pleasure ("I loved that meal"). It can refer to an emotion of a strong attraction and personal attachment. Love can also be a virtue representing human kindness, compassion, and affection—"the unselfish loyal and benevolent concern for the good of another". It may also describe compassionate and affectionate actions towards other humans, one's self or animals.</p>
<p>Click here to <a href="logout.php">logout</a></p>
</div>
<!--
<div class="col-md-4"><br><br>
<h4>Forgot Password DEMO</h4><p>Feel free to create account with your valid email and try changing your password. We do nothing with your email.</p>
<a href="https://github.com/suresh021/forgot-password">Find at Github</a>
</div>
-->
</div>
</div>
<?php
}
?>
</body>
</html>