We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
1 | <?php declare(strict_types=1); |
||
2 | |||
3 | use Smr\PlayerLevel; |
||
4 | |||
5 | try { |
||
6 | require_once('../bootstrap.php'); ?> |
||
7 | |||
8 | <!DOCTYPE html> |
||
9 | <html> |
||
10 | <head> |
||
11 | <link rel="stylesheet" type="text/css" href="<?php echo DEFAULT_CSS; ?>"> |
||
12 | <link rel="stylesheet" type="text/css" href="<?php echo DEFAULT_CSS_COLOUR; ?>"> |
||
13 | <title>Level Requirements</title> |
||
14 | <meta http-equiv="pragma" content="no-cache"> |
||
15 | </head> |
||
16 | |||
17 | <body> |
||
18 | <table class="standard center"> |
||
19 | |||
20 | <tr> |
||
21 | <th>Rank Level</th> |
||
22 | <th>Rank Name</th> |
||
23 | <th>Required Experience</th> |
||
24 | </tr><?php |
||
25 | foreach (PlayerLevel::getAll() as $levelID => $level) { ?> |
||
26 | <tr> |
||
27 | <td><?php echo $levelID; ?></td> |
||
28 | <td><?php echo $level->name; ?></td> |
||
29 | <td><?php echo $level->expRequired; ?></td> |
||
30 | </tr><?php |
||
31 | } ?> |
||
32 | </table><?php |
||
33 | } catch (Throwable $e) { |
||
34 | handleException($e); |
||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||
35 | } |
||
36 |