First release of 2.0! :D

This commit is contained in:
Wruczek
2018-12-27 18:59:49 +01:00
parent 7396a76816
commit 628af52b54
293 changed files with 12641 additions and 3 deletions

16
src/faq.php Normal file
View File

@ -0,0 +1,16 @@
<?php
use Wruczek\TSWebsite\Utils\DatabaseUtils;
use Wruczek\TSWebsite\Utils\TemplateUtils;
require_once __DIR__ . "/private/php/load.php";
$db = DatabaseUtils::i()->getDb();
$qa = $db->select("faq", "*");
$data = [
"additionaltext" => '<div class="alert alert-info"><i class="fas fa-info-circle"></i>If you have any more questions feel free to <a href="#">contact us</a></div>',
"qa" => $qa
];
TemplateUtils::i()->renderTemplate("faq", $data);