-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshowAccount.php
99 lines (87 loc) · 3.11 KB
/
showAccount.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<?php
session_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title id="title_room_page">Trang cá nhân</title>
<link rel="icon" type="image/png" href="images/favicon/favicon.png"/>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- <script type="text/javascript" src="vendor/bootstrap.js"></script>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<link rel="stylesheet" href="vendor/bootstrap.css"> -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="styles/CSS.css">
<style type="text/css">
button {
margin: 0px 10px;
}
</style>
</head>
<body>
<!-- Khung đăng ký, đăng nhập -->
<?php
include('module/LogInAndSignIn.php');
?>
<!-- Menu hiển thị ra khi scroll màn hình -->
<?php
include('module/menuScroll.php');
?>
<!-- Header -->
<?php
include('module/header.php');
?>
<!-- Menu chính -->
<?php
include('module/menu.php');
?>
<!-- Phần hiển thị đường dẫn các trang -->
<div class="container">
<p id="path">
<a href="index.php" class="link">Trang chủ / </a>
<a href="TrangCaNhan.php" class="link">Trang cá nhân / </a>
<a href="showAccount.php" class="link">Các tài khoản</a>
</p>
</div>
<!-- Phần thân để hiển thị filter và chi tiết căn phòng -->
<div class="container" style="margin-top: 20px; margin-bottom: 20px;">
<div class="row">
<div class="col-lg-4 col-md-4 col-sm-5 col-xs-12" style="padding: 0px;">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-7" style="font-size: 23px; margin: 10px 0px; color: #9a9999;">
<?php
$name = $_SESSION['user_name'];
if($name == "admin"){
echo '<div style="font-size:1.25em;color:black;font-weight:bold;">Quản lí tài khoản:<span style="font-size:1.25em;color:#0e3c68;font-weight:bold;"></span></div>';
echo '<span style="font-style: italic;color:black;text-align:center;font-size:0.70em">Bạn đang đăng nhập với tư cách là quản trị viên</span>';
}
else{
echo '<div style="font-size:1.25em;color:black;font-weight:bold;">Các bài bạn đã đăng:<span style="font-size:1.25em;color:#0e3c68;font-weight:bold;"></span></div>';
echo '<span style="font-style: italic;color:black;text-align:center;font-size:0.70em">Tài khoản: '.$name.'</span>';
}
?>
</div>
</div>
<!-- Phần hiển thị các tin bài -->
<div class="col-xs-12" id="room_main_content">
<div class="row" id="new_rooms">
<!-- Hiển thị các phòng trọ -->
<?php
include('module/account.php');
?>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Phần chân trang -->
<?php
include('module/footer.php');
?>
<!-- Nhúng file javascript -->
<script type="text/javascript" src="scripts/JavaScript.js"></script>
</body>
</html>