summaryrefslogtreecommitdiff
path: root/about.php
blob: 939705b21720c901bc16c391a181396d150d5e6d (plain)
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
<?php

include "data/config.php";
include "lib/frontend.php";
$frontend = new frontend();

echo
	$frontend->load(
		"header_nofilters.html",
		[
			"title" => "About",
			"class" => " class=\"about\""
		]
	);

$left =
	explode(
		"\n",
		file_get_contents("template/about.html")
	);

$out = "";

foreach($left as $line){
	
	$out .= trim($line);
}

echo
	$frontend->load(
		"search.html",
		[
			"class" => "",
			"right-left" => "",
			"right-right" => "",
			"left" => $out
		]
	);