website fix
This commit is contained in:
parent
e14794bc59
commit
309d08497b
58 changed files with 1690 additions and 363 deletions
18
_website/includes/top.php
Normal file
18
_website/includes/top.php
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
// Top include for all _website pages: logo + site name
|
||||
?>
|
||||
<link rel="stylesheet" href="css/header.css">
|
||||
<?php
|
||||
// Optionally set a background image from config
|
||||
if (isset($SITE_BACKGROUND) && $SITE_BACKGROUND) {
|
||||
$bg = htmlspecialchars($SITE_BACKGROUND, ENT_QUOTES, 'UTF-8');
|
||||
echo "<style>body{background-image:url('". $bg ."');background-size:cover;background-position:center fixed;}</style>\n";
|
||||
}
|
||||
?>
|
||||
|
||||
<div class="gsw-top">
|
||||
<div class="gsw-top-left">
|
||||
<img src="images/logo-sm.png" alt="Gameservers World logo">
|
||||
</div>
|
||||
<div class="gsw-site-name">Gameservers World</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue