-
Notifications
You must be signed in to change notification settings - Fork 114
Expand file tree
/
Copy pathMya.php
More file actions
88 lines (72 loc) · 1.79 KB
/
Mya.php
File metadata and controls
88 lines (72 loc) · 1.79 KB
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
<?php
require_once __DIR__.'/header.php';
?>
<!-- Start Header -->
<?php
include 'top_menu.php';
?>
<!-- End Header -->
<!-- Top Breadcrumb Start -->
<div id="breadcrumb">
<ul>
<li><img src="img/icons/icon_breadcrumb.png" alt="Location" /></li>
<li><strong>Location:</strong></li>
<li class="current">My Account</li>
</ul>
</div>
<!-- Top Breadcrumb End -->
<!-- Right Side/Main Content Start -->
<div id="rightside">
<div class="contentcontainer med left">
<div class="headings alt">
<h2>Account Info</h2>
</div>
<div class="contentbox">
<p style="padding:0px;margin:0px">
<font size="2" Color="Black" font-family="Impact">Name:</font>
<?php
$sql="SELECT `name` FROM `users` WHERE username='$_SESSION[myusername]'";
$result=mysql_query($sql);
echo mysql_result($result, 0, 'name');
?><br />
<font size="2" Color="Black" font-family="Impact">Username:</font>
<?php
$sql="SELECT `username` FROM `users` WHERE username='$_SESSION[myusername]'";
$result=mysql_query($sql);
echo mysql_result($result, 0, 'username');
?><br />
<font size="2" Color="Black" font-family="Impact"> Email:</font>
<?php
$sql="SELECT `email` FROM `users` WHERE username='$_SESSION[myusername]'";
$result=mysql_query($sql);
echo mysql_result($result, 0, 'email');
?>
<br />
<br />
</div>
<!-- Start Footer -->
<?php
include 'footer.php';
?>
<!-- End Footer -->
</div>
</div>
<!-- Right Side/Main Content End -->
<!-- Start Left Bar Menu -->
<?php
include 'left_bar.php';
?>
<!-- End Left Bar Menu -->
<!-- Start Js -->
<?php
include 'scripts.php';
?>
<!-- End Js -->
<!--[if IE 6]>
<script type='text/javascript' src='scripts/png_fix.js'></script>
<script type='text/javascript'>
DD_belatedPNG.fix('img, .notifycount, .selected');
</script>
<![endif]-->
</body>
</html>