-
Notifications
You must be signed in to change notification settings - Fork 9
/
profile.php
55 lines (53 loc) · 1.34 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
<!DOCTYPE HTML>
<html>
<head>
<title>Paathshaala Profile</title>
<?php
include_once 'source.php';
include_once 'functions/functions.php';
include_once 'functions/class.user.php';
if(!checksession()){
redirect();
} else {
$u = new user ($_SESSION['uid']);
}
echo $header;
?>
<link rel='stylesheet' href='css/profile.css'>
</head>
<body>
<div id='topbar'></div>
<img src="pics/load.gif" id='loading' style='display:none;'>
<div id='container'>
<?php echo $topBar;
echo $feedback;
?>
<div id='editProfile'></div>
<div id='profileBox'>
<img id='editProfileButton' src='pics/settings.png'/ >
<div id='snapShot'>
<img src="<?php echo $u->getUserPicture(); ?>"/>
<div id='picUname'><?php echo $_SESSION['fullname']; ?> </div>
</div>
<div id='profileInfo'>
I am : <span id=''><?php echo $u->getFullname(); ?></span><br />
email : <?php echo $u->getEmail(); ?> <br />
here I am called : <span id='profileUsername'><?php echo $u->getUsername(); ?></span><br />
Institute Roll : <?php echo $u->getRoll(); ?> (Helps us to give you better suggestions)<br />
</div>
</div>
</div><!-- /container -->
<?php
echo $bottomBar;
echo $scripts;
echo $piwik;
?>
<script type="text/javascript">
$(document).ready(function() {
P.updateStoryBox('My Uploads')
.updateStoryBox('Liked videos')
.updateStoryBox('Disliked videos');
});
</script>
</body>
</html>