-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
78 lines (58 loc) · 2.06 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?php
ob_start(function ($buffer) {
$search = [
'/\>[^\S ]+/s', // strip whitespaces after tags, except space
'/[^\S ]+\</s', // strip whitespaces before tags, except space
'/(\s)+/s', // shorten multiple whitespace sequences
'/<!--(.|\s)*?-->/' // Remove HTML comments
];
$replace = [
'>',
'<',
'\\1',
'',
];
return preg_replace($search, $replace, $buffer);
});
require_once 'dependencies/class.AuctionCraftSniper.php';
$AuctionCraftSniper = new AuctionCraftSniper();
$professions = $AuctionCraftSniper->getProfessions();
?>
<!DOCTYPE html>
<html lang="en" prefix="og: http://ogp.me/ns#" itemscope itemtype="https://schema.org/WebPage">
<head>
<?php require_once 'app/inc.head.php' ?>
</head>
<body>
<section class="hero">
<div class="hero-body">
<div class="container">
<h1 class="title is-size-1 is-size-3-mobile has-text-warning"> ` AuctionCraftSniper</h1>
<h2 class="subtitle is-size-6-mobile"><?= $pageDescriptionEnding ?></h2>
<p>AuctionCraftSniper is free, <a rel="noreferrer" href="https://github.com/ljosberinn/AuctionCraftSniper" target="_blank">open-source</a> and will always be. No ads, no tracking, a single cookie to remember your settings. Server cost is 15€/month.<br>If you wish to grab me a ☕, please head over to <a rel="noreferrer" href="https://paypal.me/GerritAlex" target="_blank">PayPal</a>. Thanks!</p>
</div>
</div>
</section>
<div class="container">
<?php
$now = time();
if($now > 1577145600 && $now < 1577880000) {
require 'app/winter.html';
}
require_once 'app/inc.menu.php';
require_once 'app/inc.settings.php';
require_once 'app/inc.description.php';
require_once 'app/inc.houseUnavailability.html';
?>
<div id="auction-craft-sniper">
<?php
require_once 'app/inc.subNav.php';
require_once 'app/inc.tables.php';
?>
</div>
</div>
<footer class="footer is-dark">
<?php require_once 'app/inc.footer.html'; ?>
</footer>
</body>
</html>