medals and places, plus sort
This commit is contained in:
@@ -148,7 +148,7 @@ if(isset($_GET['write_success'])){
|
||||
<p></p><a href="https://en.mapy.cz/s/mukotozoco" target="_new"><img src="./img/gpx_rodina.jpg" alt="rodina_trasa_gpx" class="w3-image"><br>
|
||||
TRASA // MAPA</a></p>
|
||||
<h3>Registrovaní</h3>
|
||||
<table class="w3-table w3-striped w3-bordered w3-border w3-white"><tr><th>ID</th><th>Přezdívka / Team</th><th>Závod</th><th>Čas</th><th>Místo</th></tr>
|
||||
<table class="w3-table w3-striped w3-bordered w3-border w3-white"><tr><th>ID</th><th>Přezdívka / Team</th><th>Čas</th><th>Místo</th></tr>
|
||||
<?
|
||||
if($reg_racers_4 != null){
|
||||
$place = 1;
|
||||
@@ -157,7 +157,7 @@ if(isset($_GET['write_success'])){
|
||||
if($place == 1) $medal = '<img src="./img/1st.jpg" class="w3-image" width="20">';
|
||||
if($place == 2) $medal = '<img src="./img/2nd.jpg" class="w3-image" width="20">';
|
||||
if($place == 3) $medal = '<img src="./img/3rd.jpg" class="w3-image" width="20">';
|
||||
echo '<tr><td>'.$racer['ID'].'</td><td>'.$racer["NICK"].'</td><td>'.$racer["RACE"].'</td><td>'.$racer["TIME"].'</td><td>'.$place.'. '.$medal.'</td></tr>';
|
||||
echo '<tr><td>'.$racer['ID'].'</td><td>'.$racer["NICK"].'</td><td><td>'.$racer["TIME"].'</td><td>'.$place.'. '.$medal.'</td></tr>';
|
||||
$place++;
|
||||
$medal = '';
|
||||
}
|
||||
@@ -179,7 +179,7 @@ if(isset($_GET['write_success'])){
|
||||
<p><a href="https://mapy.cz/s/rajuzabona" target="_new"><img src="./img/gpx_junior.jpg" alt="junior_trasa_gpx" class="w3-image"><br>
|
||||
TRASA // MAPA</a></p>
|
||||
<h3>Registrovaní</h3>
|
||||
<table class="w3-table w3-striped w3-bordered w3-border w3-white"><tr><th>ID</th><th>Přezdívka / Team</th><th>Závod</th><th>Čas</th><th>Místo</th></tr>
|
||||
<table class="w3-table w3-striped w3-bordered w3-border w3-white"><tr><th>ID</th><th>Přezdívka / Team</th><th>Čas</th><th>Místo</th></tr>
|
||||
<?
|
||||
if($reg_racers_3 != null){
|
||||
$place = 1;
|
||||
@@ -188,7 +188,7 @@ if(isset($_GET['write_success'])){
|
||||
if($place == 1) $medal = '<img src="./img/1st.jpg" class="w3-image" width="20">';
|
||||
if($place == 2) $medal = '<img src="./img/2nd.jpg" class="w3-image" width="20">';
|
||||
if($place == 3) $medal = '<img src="./img/3rd.jpg" class="w3-image" width="20">';
|
||||
echo '<tr><td>'.$racer['ID'].'</td><td>'.$racer["NICK"].'</td><td>'.$racer["RACE"].'</td><td>'.$racer["TIME"].'</td><td>'.$place.'. '.$medal.'</td></tr>';
|
||||
echo '<tr><td>'.$racer['ID'].'</td><td>'.$racer["NICK"].'</td><td>'.$racer["TIME"].'</td><td>'.$place.'. '.$medal.'</td></tr>';
|
||||
$place++;
|
||||
$medal = '';
|
||||
}
|
||||
@@ -209,7 +209,7 @@ if(isset($_GET['write_success'])){
|
||||
<p><a href="https://mapy.cz/s/jomafocaza" target="_new"><img src="./img/gpx_xc.jpg" alt="xc_trasa_gpx" class="w3-image"><br>
|
||||
TRASA // MAPA</a></p>
|
||||
<h3>Registrovaní</h3>
|
||||
<table class="w3-table w3-striped w3-bordered w3-border w3-white"><tr><th>ID</th><th>Přezdívka / Team</th><th>Závod</th><th>Čas</th><th>Místo</th></tr>
|
||||
<table class="w3-table w3-striped w3-bordered w3-border w3-white"><tr><th>ID</th><th>Přezdívka / Team</th><th>Čas</th><th>Místo</th></tr>
|
||||
<?
|
||||
if($reg_racers_2 != null){
|
||||
$place = 1;
|
||||
@@ -218,7 +218,7 @@ if(isset($_GET['write_success'])){
|
||||
if($place == 1) $medal = '<img src="./img/1st.jpg" class="w3-image" width="20">';
|
||||
if($place == 2) $medal = '<img src="./img/2nd.jpg" class="w3-image" width="20">';
|
||||
if($place == 3) $medal = '<img src="./img/3rd.jpg" class="w3-image" width="20">';
|
||||
echo '<tr><td>'.$racer['ID'].'</td><td>'.$racer["NICK"].'</td><td>'.$racer["RACE"].'</td><td>'.$racer["TIME"].'</td><td>'.$place.'. '.$medal.'</td></tr>';
|
||||
echo '<tr><td>'.$racer['ID'].'</td><td>'.$racer["NICK"].'</td><td>'.$racer["TIME"].'</td><td>'.$place.'. '.$medal.'</td></tr>';
|
||||
$place++;
|
||||
$medal = '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user