-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprofile.php
54 lines (50 loc) · 1.91 KB
/
profile.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php
session_start();
if(! isset($_SESSION['user']))
header("Location: login.php");
?>
<!DOCTYPE html>
<html>
<head>
<title>Real hack Team blackhawks</title>
<link type="text/css" rel="stylesheet" href="css/style.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link type="text/css" rel="stylesheet" href="css/material.css">
<link type="text/css" rel="stylesheet" href="fonts/font.css">
</head>
<body id="pro">
<!-- navigation bar -->
<a href="index.php">
<div id="log">
<div id="ntro">Real hack Team blackhawks</div>
</div>
</a>
<ul id="nav-bar">
<a href="index.php"><li>Home</li></a>
<a href="ask.php"><li>Ask Question</li></a>
<a href="profile.php"><li id="home">Hi, <?php echo $_SESSION["user"]; ?></li></a>
<a href="logout.php"><li>Log Out</li></a>
</ul>
<!-- content -->
<div id="content">
<center>
<h1 id="hea"><?php echo "Hello ".$_SESSION["user"]; ?></h1>
<div class="clearfix">
<div id="hea-det">
<p id="first">N</p><p class="tit">ame: </p>
<p class="det"><?php echo $_SESSION["name"]; ?></p><br>
<p id="first">E</p><p class="tit">mail: </p>
<p class="det"><?php echo $_SESSION["email"]; ?></p><br>
<p id="first">J</p><p class="tit">oin Date : </p>
<p class="det"><?php echo $_SESSION["date"]; ?></p>
</div>
<div id="pic"></div>
</div>
</center>
</div>
<!-- Footer -->
<div id="footer">
Real hack Team blackhawks
</div>
</body>
</html>