forked from nitcalicut/Paathshaala
-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile.php
66 lines (53 loc) · 1.46 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
<!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'>
<script src='js/myvideos.js' type='text/javascript' ></script>
<script type="text/javascript">
$(document).ready(function() {
updatemyVideos();
updateStoryBox('Liked');
updateStoryBox('Disliked');
});
</script>
</head>
<body>
<div id='topbar'></div>
<img src="pics/load.gif" id='loading'/ style='display:none;'>
<div id='container'>
<?php echo $topNotLoggedIn;
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 />
Insti Roll : <?php echo $u->getRoll(); ?> (Helps us to give you better suggestions )<br />
</div>
</div>
</div><!-- /container -->
<?php echo $bottomBar; ?>
<div id="bottombar"></div>
<script src='js/ui.js' type='text/javascript' ></script>
<?php echo $piwik; ?>
</body>
</html>