wip pmelo: still promoting missing
This commit is contained in:
@@ -59,9 +59,16 @@
|
||||
<tr><th>Platz</th><th>Name</th><th>Aufstieg</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php if(!empty($pmelo->fighters)) foreach($pmelo->fighters as $fighter){
|
||||
echo("<tr><td>#</td><td>".$fighter->getFirstname()." ".$fighter->getName()."</td><td>^</td></tr>".PHP_EOL);
|
||||
}
|
||||
<?php
|
||||
if(!empty($pmelo->fighters)){
|
||||
foreach($pmelo->rankings as $rank=>$id){
|
||||
if(array_key_exists($id, $pmelo->fighters)){
|
||||
$fighter = $pmelo->fighters[$id];
|
||||
// echo("<tr><td>".$rank."</td><td>".$fighter->getFirstName()."</td></tr>".PHP_EOL);
|
||||
echo("<tr><td>".$rank."</td><td>".$fighter->getFirstName()." ".$fighter->getName()."</td><td>^</td></tr>".PHP_EOL);
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user