add configSection

This commit is contained in:
marko
2021-12-05 09:08:30 +01:00
parent b8327b4292
commit abb11bd62f

View File

@@ -10,9 +10,8 @@ setlocale (LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge');
require_once("./auth.php");
$basePath = "/users/cwsvjudo/www";
require_once($basePath."/config/cwsvJudo.config.php");
require_once($basePath."/config/phpcount.config.php");
require_once($config['basePath']."/config/cwsvJudo.config.php");
require_once($config['basePath']."/config/phpcount.config.php");
?>
<!DOCTYPE html>
<html>
@@ -25,7 +24,9 @@ setlocale (LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge');
<!-- Compiled and minified JavaScript -->
<script src="https://cdn.jsdelivr.net/npm/@materializecss/materialize@1.1.0-alpha/dist/js/materialize.min.js"></script>
<!--Import Google Icon Font-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<!-- participo specific style adjustments -->
<link rel="stylesheet" href="css/participo.css">
<!-- inits for the materializeCss -->
<script>
@@ -36,12 +37,9 @@ setlocale (LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge');
});
});
</script>
<?php
// include("lib/machs/materializeInit.php");
?>
<title>participo</title>
<meta name="description" content="Online apps der judoka des Chemnitzer WSV">
<meta name="description" content="Online-Apps der Judoka des Chemnitzer WSV">
<link rel="icon" href="<?echo($config['ressourceUrl']);?>/graphiken/icons/cwsv.ico" />
<link rel="apple-touch-icon" href="<?echo($config['baseUrl']);?>/apple-touch-icon.png">
@@ -50,10 +48,10 @@ setlocale (LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge');
<body>
<header>
<a class="right top-nav sidenav-trigger waves-effect waves-light circle hide-on-large-only" href="#" data-target="nav-mobile">
<nav class="indigo darken-4">cwsvJudo Apps<a class="right top-nav sidenav-trigger waves-effect waves-light hide-on-large-only" href="#" data-target="nav-mobile">
<i class="material-icons">menu</i>
</a>
<ul class="sidenav sidenav-fixed sidenav-close" id="nav-mobile" style="transform: translateX(0px);">
</a></nav>
<ul class="sidenav sidenav-fixed sidenav-close" id="nav-mobile">
<li class="logo">
<a style="height:auto;" class="brand-logo" id="logo-container" href="/participo/">
<img style="max-width:100%;height:12vh;" class="responsive-img" src="http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/cwsvJudoLogoWappen.x256.png" />
@@ -63,6 +61,9 @@ setlocale (LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge');
<li class="bold">
<a class="waves-effect waves-teal" href="#AppList">Apps</a>
</li>
<li class="bold">
<a class="waves-effect waves-teal" href="#Configs">UserInfos</a>
</li>
</ul>
</header>
@@ -70,6 +71,7 @@ setlocale (LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge');
if($_SESSION['login']){
?>
<main>
<!-- List of Mitmach-Apps -->
<div class="row" id="AppList">
<div style="padding:1%;" class="col s12 m6">
<div style="margin:1%;" class="card blue-grey darken-1">
@@ -80,13 +82,6 @@ if($_SESSION['login']){
</div><a>
<div class="card-action">
<a href="kyu">Kuy-Programme</a>
<!--
<a href="kyu?kyu=8">weiß-gelb</a>
<a href="kyu?kyu=7">gelb</a>
<a href="kyu?kyu=6">gelb-orange</a>
<a href="kyu?kyu=5">orange</a>
<a href="kyu?kyu=4">orange-grün</a>
-->
</div>
</div>
</div>
@@ -115,6 +110,26 @@ if($_SESSION['login']){
</div>
</div>
</div>
</div>
<div class="divider"></div>
<!-- List of ConfigStuff -->
<div class="row" id="Configs">
<div style="padding:1%;" class="col s12 m6">
<div style="margin:1%;" class="card blue-grey darken-1">
<a href="http://cwsvjudo.bplaced.net/pages/desktop/wkParticipo/userInfo.php"><div class="card-content white-text">
<span class="card-title">User-Infos</span>
<img style="max-height:10vh;" class="responsive-img" src="images/obi.svg" />
<p>Einstellungen zum Benutzer</p>
</div><a>
<div class="card-action">
<a href="http://cwsvjudo.bplaced.net/pages/desktop/wkParticipo/userInfo.php">Einstellungen</a>
</div>
</div>
</div>
</div>
</main>
<?php
}