trainingskartenvorbereitung 2022
This commit is contained in:
@@ -20,10 +20,7 @@ $dbConnection = getPdoDbConnection(
|
||||
$basePath = "/users/cwsvjudo/www";
|
||||
require_once($basePath."/config/cwsvJudo.config.php");
|
||||
require_once($basePath."/config/phpcount.config.php");
|
||||
// require_once($basePath."/ressourcen/phpLib/phpcount/phpcount.php");
|
||||
// require_once($basePath."/ressourcen/phpLib/cwsvJudo/miscAssis.php");
|
||||
|
||||
// $dbConnection = getCwsvJudoDbConn();
|
||||
$dbConnection = getPdoDbConnection(
|
||||
$cwsvJudoConfig["db"]["host"],
|
||||
$cwsvJudoConfig["db"]["name"],
|
||||
@@ -31,7 +28,12 @@ $dbConnection = getPdoDbConnection(
|
||||
$cwsvJudoConfig["db"]["password"]
|
||||
);
|
||||
|
||||
$achievementGroups = getAchievementGroups($dbConnection);
|
||||
require_once("./auth.php");
|
||||
|
||||
achievementGroup::setDbConnection($dbConnection);
|
||||
record::setDbConnection($dbConnection);
|
||||
|
||||
$achievementGroups = achievementGroup::getAllAchievementGroups();
|
||||
|
||||
processPostData($dbConnection, $_POST);
|
||||
|
||||
@@ -58,9 +60,8 @@ processPostData($dbConnection, $_POST);
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<?php echo $login_status; ?>
|
||||
|
||||
<?php
|
||||
<?php include("lib/machs/sidenav.php");?>
|
||||
<?php
|
||||
if( hasUserAttribute($dbConnection, $_SESSION['user']['userId'], "inTraining" ) ){
|
||||
echo( "<h2>Eigene Achievements</h2>" );
|
||||
echo( htmlUsersUploadBox($dbConnection, $_SESSION['user']['userId']) );
|
||||
|
||||
Reference in New Issue
Block a user