changes

parent 335151b8
No preview for this file type
<?php
$con=mysqli_connect("localhost","newuser","password","osm");
// Check connection
if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
// Perform queries
mysqli_query($con,"INSERT INTO users (osmusername,name,email,college,id) VALUES ('$_POST[osmusername]','$_POST[name]','$_POST[email]','$_POST[college]','$_POST[id]')");
mysqli_close($con);
header('Location: http://kluglug.tk/leaderboard')
?>
......@@ -13,9 +13,7 @@
<h4 style="text-align: center">Mapping Leaderboard</h4>
<p style="text-align: center">
<a href="/">Register Here</a> to join.<br/><br/>
Watch this <strong>Leaderboard</strong> for your
contributions. The leaderboard will be <strong>updated</strong>
daily at <strong>10:00AM, 2:00PM, 6:00PM, 10:00PM</strong>
Event <strong>Leaderboard</strong>
</p>
<center>
<table>
......
......@@ -13,9 +13,7 @@
<h4 style="text-align: center">Mapping Leaderboard</h4>
<p style="text-align: center">
<a href="/">Register Here</a> to join.<br/><br/>
Watch this <strong>Leaderboard</strong> for your
contributions. The leaderboard will be <strong>updated</strong>
daily at <strong>10:00AM, 2:00PM, 6:00PM, 10:00PM</strong>
<strong>Overall Leaderboard</strong>
</p>
<center>
<table>
......
......@@ -12,7 +12,7 @@
<img src="static/images/location.gif" width="150px" height="110px"><br/>
<h4><a href="https://swecha.org" target="_blank">Swecha</a> Mapathon</h4>
<h4><a href="https://swecha.org" target="_blank">Swecha</a> Map-a-thon</h4>
<div id="step1" style="display: block;">
<p>Step <strong>1</strong> - 2</p>
......
......@@ -8,7 +8,8 @@
<body>
<div class="container" style="margin-top: 100px">
<h4 style="text-align: center">{{ message }}</h4>
</div>
<a href="/leaderboard" >LEADERBOARD</a>
</div>
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment