{php $utils = Wruczek\TSWebsite\Utils\Utils::class; $tplutils = Wruczek\TSWebsite\Utils\TemplateUtils::i(); $auth = Wruczek\TSWebsite\Auth::class; $userlangcode = $userLanguage->getLanguageCode(); $navActiveIndex = isset($navActiveIndex) ? (int) $navActiveIndex : 0; } {$title} | {$config["website_title"]} {$tplutils::includeStylesheet("{cdnjs}/twitter-bootstrap/4.1.3/css/bootstrap.min.css", "sha256-eSi1q2PG6J7g7ib17yAaWMcrr5GrtohYChqibrV7PBE=")} {$tplutils::includeStylesheet("https://use.fontawesome.com/releases/v5.2.0/css/all.css", "sha256-iJGhYPiir7gd5SWfn2jlrzeCNI6iknrZ6Wm8iMfTmYQ=")} {$tplutils::includeStylesheet("{cdnjs}/datatables/1.10.19/css/dataTables.bootstrap4.min.css", "sha256-F+DaKAClQut87heMIC6oThARMuWne8+WzxIDT7jXuPA=")} {$tplutils::includeStylesheet("css/flags/famfamfam-flags.min.css", true)} {$tplutils::includeStylesheet("css/style.css", true)} {$tplutils::includeStylesheet("css/loader.css", true)} {$tplutils::includeStylesheet("css/cookiealert.css", true)} {$tplutils::includeStylesheet("css/themes/dark.css", true)} {if __DEV_MODE} {$tplutils::includeStylesheet("css/dev.css", true)} {/if} {if !$auth::isLoggedIn()} {include "utils/modal-login.latte"} {/if}
{ifset $oldestTimestamp} {include "utils/data-problem.latte", message => ("OUTDATED_DATA"|translate,($oldestTimestamp|fuzzyDateAbbr))} {/ifset} {if $tsExceptions} {include "utils/data-problem.latte", message => "We are having trouble communicating with the server. Some parts of the website might not be working as expected."} {/if}
{block content}{/block}
{include "sidebar.latte"}
{include "utils/cookiealert.latte"} {$tplutils::includeScript("{cdnjs}/jquery/3.3.1/jquery.min.js", "sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=")} {$tplutils::includeScript("{cdnjs}/popper.js/1.14.4/umd/popper.min.js", "sha256-EGs9T1xMHdvM1geM8jPpoo8EZ1V1VRsmcJz8OByENLA=")} {$tplutils::includeScript("{cdnjs}/twitter-bootstrap/4.1.3/js/bootstrap.min.js", "sha256-VsEqElsCHSGmnmHXGQzvoWjWwoznFSZc6hs7ARLRacQ=")} {$tplutils::includeScript("{cdnjs}/js-cookie/2.2.0/js.cookie.min.js", "sha256-9Nt2r+tJnSd2A2CRUvnjgsD+ES1ExvjbjBNqidm9doI=")} {$tplutils::includeScript("{cdnjs}/moment.js/2.22.2/moment.min.js", "sha256-CutOzxCRucUsn6C6TcEYsauvvYilEniTXldPa6/wu0k=")} {var momentjslang = Wruczek\TSWebsite\Utils\Language\LanguageUtils::tl("MOMENTJS_LANG")} {if $momentjslang !== "en-us"} {$tplutils::includeScript("{cdnjs}/moment.js/2.22.2/locale/$momentjslang.js")} {/if} {$tplutils::includeScript("{cdnjs}/datatables/1.10.19/js/jquery.dataTables.min.js", "sha256-t5ZQTZsbQi8NxszC10CseKjJ5QeMw5NINtOXQrESGSU=")} {$tplutils::includeScript("{cdnjs}/datatables/1.10.19/js/dataTables.bootstrap4.min.js", "sha256-hJ44ymhBmRPJKIaKRf3DSX5uiFEZ9xB/qx8cNbJvIMU=")} {$tplutils::includeScript("https://cdn.datatables.net/responsive/2.2.3/js/dataTables.responsive.min.js", "sha256-7Tbik5KSODuGiOLIOFfhP47p5UK6h1wzw8CFSI/TKhc=")} {$tplutils::includeScript("https://cdn.datatables.net/responsive/2.2.3/js/responsive.bootstrap4.min.js", "sha256-aXVO47Rb7s58FhMTCwbM39en/1XcmzGkClRzBe5txKs=")} {$tplutils::includeScript("js/script.js", true)} {$tplutils::includeScript("js/status.js", true)} {$tplutils::includeScript("js/login.js", true)} {block footerbottom}{/block}