general cleanup
All checks were successful
Build and publish the docker image / build (push) Successful in 18s
All checks were successful
Build and publish the docker image / build (push) Successful in 18s
Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
39
src/donate.php
Normal file
39
src/donate.php
Normal file
@ -0,0 +1,39 @@
|
||||
<?php
|
||||
|
||||
include "data/config.php";
|
||||
include "lib/frontend.php";
|
||||
$frontend = new frontend();
|
||||
|
||||
echo
|
||||
$frontend->load(
|
||||
"header_nofilters.html",
|
||||
[
|
||||
"title" => "Donate to the project",
|
||||
"class" => " class=\"about\""
|
||||
]
|
||||
);
|
||||
|
||||
$left =
|
||||
explode(
|
||||
"\n",
|
||||
file_get_contents("template/donate.html")
|
||||
);
|
||||
|
||||
$out = "";
|
||||
|
||||
foreach($left as $line){
|
||||
|
||||
$out .= trim($line);
|
||||
}
|
||||
|
||||
echo
|
||||
$frontend->load(
|
||||
"search.html",
|
||||
[
|
||||
"timetaken" => null,
|
||||
"class" => "",
|
||||
"right-left" => "",
|
||||
"right-right" => "",
|
||||
"left" => $out
|
||||
]
|
||||
);
|
Reference in New Issue
Block a user