-
Notifications
You must be signed in to change notification settings - Fork 0
/
user_info.php
84 lines (74 loc) · 3.25 KB
/
user_info.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?php
session_start();
if(!isset($_SESSION['user_id'])){
header('Location: ./login.html');
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- CSS -->
<link rel="stylesheet" href="css/styles.css">
<title>RAINBOW</title>
</head>
<!-- 반응형 사이드바 -->
<body id="body-pd">
<div class="l-navbar" id="navbar">
<nav class="nav">
<div>
<div class="nav__brand">
<ion-icon name="menu-outline" class="nav__toggle" id="nav-toggle"></ion-icon>
<a href="home_user.php" class="nav__logo">RAINBOW</a>
</div>
<div class="nav__list">
<a href="home_user.php" class="nav__link">
<ion-icon name="home-outline" class="nav__icon"></ion-icon>
<span class="nav_name">HOME</span>
</a>
<a href="week_hot_user.php" class="nav__link">
<ion-icon name="flame-outline" class="nav__icon"></ion-icon>
<span class="nav_name">이 주의 HOT Fashion!</span>
</a>
<a href="direct_search_user.php" class="nav__link">
<ion-icon name="search-outline" class="nav__icon"></ion-icon>
<span class="nav_name">검색</span>
</a>
<a href="User_custom.php" class="nav__link">
<ion-icon name="thumbs-up-outline" class="nav__icon"></ion-icon>
<span class="nav_name">맞춤 추천</span>
</a>
<a href="user_info.php" class="nav__link active">
<ion-icon name="person-outline" class="nav__icon"></ion-icon>
<span class="nav_name">내 정보</span>
</a>
</div>
<a href="logout.php" class="nav__link">
<ion-icon name="log-out-outline" class="nav__icon"></ion-icon>
<span class="nav_name">Log out</span>
</a>
</div>
</nav>
</div>
<div class="center">
<form method="post" action="login.php">
<h1>내 정보</h1>
<table>
<tr>
<td>ID: </td>
<td style="margin-bottom: 3px; padding: 5px 20px; border-radius: 7px;"><?php echo $_SESSION['user_id'];?></td>
</tr>
<tr>
<td>PASSWORD: </td>
<td><input style="margin-left: 15px; padding: 5px 5px; border-radius: 7px;" type="button" value="비밀번호 변경" onclick="location.href = 'pw_change.php'"></td>
</tr>
</table>
<input style="margin-top: 8px; width: 100%; padding: 5px 5px; border-radius: 7px; background-color: #E5DDC4;" type="button" value="회원 탈퇴" onclick="location.href = 'user_leave.php'"/>
</div>
<!-- IONICONS -->
<script src="https://unpkg.com/[email protected]/dist/ionicons.js"></script>
<!-- JS -->
<script src="js/main.js"></script>
</body>
</html>