-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile.php
210 lines (202 loc) · 7.8 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
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<?php
require_once('config.php');
ob_start();
session_start();
if(!isset($_SESSION['logged_in']) ){
header('location:login.php');
}
?>
<?php
$stm = $pdo->prepare("SELECT * FROM admin WHERE email=?");
$stm->execute(array($_SESSION['logged_in']['email']));
foreach($stm->fetchAll(PDO::FETCH_ASSOC) as $row){
$photo = $row['photo'];
$name = $row['firstname'] ." " . $row['lastname'];
$account_id = $row['account_id'];
$school = $row['school'];
$grade = $row['grade'];
$email = $row['email'];
$birthday = $row['birthday'];
}
?>
<!DOCTYPE html>
<html lang="zh">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="keywords" content="your keywords">
<meta name="description" content="your description">
<meta name="author" content="author,email address">
<meta name="robots" content="index,follow">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="renderer" content="webkit"/>
<meta name="force-rendering" content="webkit"/>
<link type="text/css" rel="stylesheet" href="css/swiper.min.css" />
<link type="text/css" rel="stylesheet" href="css/animate.min.css" />
<link type="text/css" rel="stylesheet" href="css/wSelect.css" />
<link type="text/css" rel="stylesheet" href="css/app.css" />
<link type="text/css" rel="stylesheet" href="css/bootstrap.min.css" />
<link type="text/css" rel="stylesheet" href="css/owl.carousel.min.css" />
<link type="text/css" rel="stylesheet" href="css/owl.theme.default.min.css" />
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700,800,900&display=swap" rel="stylesheet">
<link type="text/css" rel="stylesheet" href="css/responsive.css" />
<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="js/swiper.min.js"></script>
<script type="text/javascript" src="js/wow.js"></script>
<title>Register - HiLink</title>
<link rel="icon" href="i/Hi3.jpg" type="image/x-icon" />
</head>
<body>
<!--<div class="header_tip_box">
<div class="warpin">
<div class="header_sele_box">
<select class="header_lang" tabindex="1">
<option value="">Select a Country</option>
<option value="EN" data-icon="i/gq.png">English</option>
</select>
</div>
</div>
</div>-->
<!-- -->
<div class="profile-usersetting-area index_search_box">
<div class="warpin clear">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="menu_box">
<img src="i/menu.png" alt=""> Table of Contents
</div>
<div class="search_box">
<input type="text" name="" placeholder="Enter keyword">
</div>
<!-- -->
<div class="menu_nav_box canvas-menu">
<div class="index_navi_cont">
<div class="warpin clear">
<div class="content_box clear">
<a href="javascript:void(0)" class="nav-icon closebtn" onclick="closeNav()">×</a>
<div class="nav_last">
<a href="tutor.html">HiClass</a>
</div>
<div class="nav_last">
<a href="WhyHiClass.html">Why HiClass</a>
</div>
<div class="nav_last">
<a href="programIntroduction.html">HiCamp</a>
<!--<div class="nav_bit_last">
<div class="list">
<a href="summerProgram.html">program</a>
</div>
<div class="list">
<a href="summerProgram.html">program</a>
</div>
<div class="list">
<a href="summerProgram.html">program</a>
</div>
</div>-->
</div>
<!-- <div class="nav_last">-->
<!-- <a href="dowloadArea.html">Resources</a>-->
<!-- </div>-->
<div class="nav_last">
<a href="pricing.html">Pricing</a>
</div>
</div>
</div>
</div>
</div>
<div class="profile-img-area">
<div class="profile-page-icon">
<a href="javascript:void(0)" class="nav-icon openbtn" onclick="openNav()">☰</a>
</div>
<div class="profile-right-area"><div class="profile-img"><a href="profile.php"><img src="profile-picture/<?php echo $photo;?>"></div><a href="logout.php">Logout</a>
</div>
</div>
<!-- -->
</div>
</div>
</div>
</div>
<div class="welcome-area">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="alert alert-success" role="alert">
<h4 class="alert-heading">Welcome <?php echo $name;?></h4>
</div>
</div>
</div>
</div>
<!---->
<div class="user_center_content_bg">
<div class="user_center_content_box">
<div class="nav_box">
<a href="profile.php" class="hover">My Profile</a>
<a href="profile-setting.php" class="hover">Account settings</a>
<a href="hiClass.php" class="hover">HiClass Status</a>
</div>
<div class="content_box">
<div class="tis_tle"><span>Personal Information</span></div>
<div class="main-profile-area">
<div class="profile-area">
<div class="profile-image-area">
<img src="profile-picture/<?php echo $photo;?>" alt="profile">
</div>
<div class="desicnatins-area">
<div class="profile-desicnatins-area">
<h2><?php echo $name;?></h2>
<p>Account ID : <?php echo $account_id;?></p>
<div class="contact-information-area">
<div class="information-item">
<div class="contact-information-item">
<h3>CONTACT INFORMATION</h3>
<ul>
<li><label>E-mail:</label><span class="color-span"><a href="mailto:<?php echo $email;?>"><?php echo $email;?></a></span></li>
</ul>
</div>
<div class="bacik-information contact-information-item">
<h3>BASIC INFORMATION</h3>
<ul>
<li><label>School Name:</label><span><?php echo $school;?></span></li>
<li><label>Grade:</label><span><?php echo $grade;?></span></li>
<li><label>Birthday:</label><span><?php echo $birthday;?></span></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!---->
<!--Start of Tawk.to Script-->
<script type="text/javascript">
var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date();
(function(){
var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0];
s1.async=true;
s1.src='https://embed.tawk.to/5efb7a294a7c6258179ba250/default';
s1.charset='UTF-8';
s1.setAttribute('crossorigin','*');
s0.parentNode.insertBefore(s1,s0);
})();
</script>
<!--End of Tawk.to Script-->
<div class="footer_copy">
TEl:(317)426-6189 Mail: hiclass@hilink.llc
</div>
<div class="footer_copy">
Follow Us <a href="https://www.instagram.com/hilinkeducation/"><img class="mx-1" style="height: 15px; width: 15px; " src="i/insta_logo.png"></a><a href="https://www.facebook.com/HiLinkEducation"><img class="mx-1" style="height: 15px; width: 15px; " src="i/fb_logo.png"></a><a href="https://www.linkedin.com/company/hilink-education/"><img class="mx-1" style="height: 15px; width: 15px; " src="i/linkedin_logo.png"></a><a href="https://twitter.com/HiLinkEducation"><img class="mx-1" style="height: 15px; width: 15px; " src="i/twitter_logo.png"></a>
</div>
<div class="footer_copy">
HiLink LLC © 2020 All Rights Reserved
</div>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/wSelect.min.js"></script>
<script type="text/javascript" src="js/dynamics.js"></script>
<script type="text/javascript" src="js/minigrid.js"></script>
<script type="text/javascript" src="js/app.js"></script>
<script type="text/javascript" src="js/owl.carousel.min.js"></script>
<script type="text/javascript" src="js/custom.js"></script>