diff --git a/homepage/wkParticipo/addEvent.php b/homepage/wkParticipo/addEvent.php index de4df97..275f9cd 100644 --- a/homepage/wkParticipo/addEvent.php +++ b/homepage/wkParticipo/addEvent.php @@ -54,8 +54,14 @@
Benutzerdaten -
/>
-
/>
+
+ + /> +
+
+ + /> +
diff --git a/homepage/wkParticipo/admin/index.php b/homepage/wkParticipo/admin/index.php index ad967ae..12a3ad8 100644 --- a/homepage/wkParticipo/admin/index.php +++ b/homepage/wkParticipo/admin/index.php @@ -15,10 +15,11 @@

Inhalt

-

Neuen Benutzer anlegen.

-

Neuen Event anlegen.

-

User anzeigen.

-

Events anzeigen.

+

Neuen Benutzer anlegen

+

Neuen Event anlegen

+

User anzeigen

+

Events anzeigen

+

Newsletter manuel senden

">Attribute verteilen

diff --git a/homepage/wkParticipo/admin/listEvents.php b/homepage/wkParticipo/admin/listEvents.php index 5c370a9..5a5f906 100644 --- a/homepage/wkParticipo/admin/listEvents.php +++ b/homepage/wkParticipo/admin/listEvents.php @@ -25,7 +25,8 @@ echo $message['error']; die(); } - $eventList = getAllEvents($mysqli); +// $eventList = getAllEvents($mysqli); + $eventList = getCommingWkEvents($mysqli); foreach($eventList as $event){ // $wkData = getWkData($mysqli, $event['wkId']); $wkData = getWkEventData($mysqli, $event['id']); @@ -49,12 +50,6 @@ } ?> - - - diff --git a/homepage/wkParticipo/admin/showUser.php b/homepage/wkParticipo/admin/showUser.php index 2f856ab..8bded86 100644 --- a/homepage/wkParticipo/admin/showUser.php +++ b/homepage/wkParticipo/admin/showUser.php @@ -3,9 +3,12 @@ require_once('../auth.php'); require_once('../local/db.php.inc'); require_once('../lib/wkParticipoLib.inc.php'); + require_once('../lib/wkParticipo-user.php'); $message = array(); $eventData = array(); + + $user = new participo\user(); if(empty($_POST)){ $message['error'] = "Fehler: leeres POST!"; @@ -16,6 +19,11 @@ } else{ if( (string)(int)$_POST['f']['userId'] == $_POST['f']['userId'] ){ + $user->loadFromDb(getCwsvJudoDbConn(), $_POST['f']['userId']); + var_dump($_POST); + var_dump($user); + var_dump($user->toAssoc()); + $mysqli = @new mysqli($db_server, $db_user, $db_password, $db_name); if ($mysqli->connect_error) { $message['error'] = 'Datenbankverbindung fehlgeschlagen: ' . $mysqli->connect_error; diff --git a/homepage/wkParticipo/index.php b/homepage/wkParticipo/index.php index 44358a7..18986bb 100644 --- a/homepage/wkParticipo/index.php +++ b/homepage/wkParticipo/index.php @@ -72,11 +72,8 @@ return $ret;