-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfooter.php
123 lines (98 loc) · 2.95 KB
/
footer.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
<div class="sidebar">
<div class="box">
<div class="box_top"></div>
<?php
include_once('allFunctions.php');
if (isset($_SESSION['SESS_MEMBER_ID']))
{echo '
<div id="box_content" align="center">
<div class="button_01"> Hi '.$_SESSION['SESS_FIRST_NAME'].' !!! </div>
<h2 > Current Cash $'.getAmount($_SESSION['SESS_LOGIN']).'</h2>
<br/>
<br/>
<form action="endContest.php" method="post">
<input type="submit" value=" Logout " />
<br/>
<br/>
<br/>
<br/>
<br/>
</p>
</form>
</div>
';}
else {echo '
<div class="box_content" align="center">
<div class="button_01"><a>Login </a></div>
<form action="login-exec.php" method="post" align="center">
<p>Username:<br/><input name="login" type="text"><br>
Password:<br><input name="password" type="password" /><br><br>
<input type="submit" value=" Login " />
<input name="reset" type="reset" value=" Reset "/>
<br><br>
<a href="login-failed.php" style="color:#00baff">Forgot username/password?</a>
</p>
</form>
</div>
';}
?>
<div class="box_content">
<div class="button_01" align="center"><a>Elite Five</a></div>
<table width="80%" border="0" align="center">
<tr>
<td><center>
<b>Rank</b>
</center> </td>
<td>
<center>
<b>Name </b>
</center> </td>
<td>
<center>
<b>Dollars</b>
</center> </td>
</tr>
<?php
include_once("database.php");
$result=mysql_query("SELECT * FROM user_amount ORDER BY amount DESC");
$srno=1;
while($srno<=5&&$result)
{
$row=mysql_fetch_array($result);
print "<tr>";
print "<td>";
print "<center>";
print $srno;
print "</center>";
print "</td>";
print "<td>";
print "<center>";
print htmlentities($row['login']);
print "</center>";
print "</td>";
print "<td align='right'>";
print " ".$row['amount'];
print "</td>";
print "</tr>";
$srno++;
}
mysql_close($con);
?>
</table>
</div>
<div class="box_bottom"></div>
</div>
</div>
<div class="cleaner_h10"></div>
</div> <!-- end of templatemo_content -->
<div id="templatemo_content_bottom"></div>
<div class="cleaner_h10"></div>
</div> <!-- end of templatemo_content_wrapper -->
<div id="templatemo_footer">
<center>
Developed by <a href="aboutus.php" style="color:#00baff;">FOREX Team</a> |
Copyright © <span style="color:#00baff;">FOREX <a href="http://technovanza.org" style="color:#00baff;">Technovanza 11</a></span>. All Rights Reserved
</center>
</div> <!-- end of footer -->
</body>
</html>