smrealms /
smr
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 | try { |
||
| 3 | require_once('../bootstrap.php'); |
||
| 4 | require_once(LIB . 'Default/help.inc.php'); |
||
| 5 | |||
| 6 | $topic_id = filter_var($_SERVER['QUERY_STRING'], FILTER_VALIDATE_INT); |
||
| 7 | if ($topic_id === false) { |
||
| 8 | $topic_id = 1; |
||
| 9 | } |
||
| 10 | ?> |
||
| 11 | <!DOCTYPE html> |
||
| 12 | |||
| 13 | <html> |
||
| 14 | <head> |
||
| 15 | <link rel="stylesheet" type="text/css" href="<?php echo DEFAULT_CSS; ?>"> |
||
| 16 | <link rel="stylesheet" type="text/css" href="<?php echo DEFAULT_CSS_COLOUR; ?>"> |
||
| 17 | <title>Space Merchant Realms - Manual</title> |
||
| 18 | <meta http-equiv="pragma" content="no-cache"> |
||
| 19 | </head> |
||
| 20 | |||
| 21 | <body> |
||
| 22 | |||
| 23 | <table width="100%" border="0"> |
||
| 24 | <tr> |
||
| 25 | <td> |
||
| 26 | <?php echo_nav($topic_id); ?> |
||
| 27 | </td> |
||
| 28 | </tr> |
||
| 29 | <tr> |
||
| 30 | <td> |
||
| 31 | <?php echo_content($topic_id); ?> |
||
| 32 | </td> |
||
| 33 | </tr> |
||
| 34 | |||
| 35 | <tr> |
||
| 36 | <td> |
||
| 37 | <?php echo_subsection($topic_id); ?> |
||
| 38 | </td> |
||
| 39 | </tr> |
||
| 40 | |||
| 41 | <tr> |
||
| 42 | <td> |
||
| 43 | <?php echo_nav($topic_id); ?> |
||
| 44 | </td> |
||
| 45 | </tr> |
||
| 46 | |||
| 47 | </table> |
||
| 48 | |||
| 49 | </body> |
||
| 50 | </html><?php |
||
| 51 | } catch (Throwable $e) { |
||
| 52 | handleException($e); |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 53 | } |
||
| 54 |