diff --git a/homepage/wkParticipo/abbildungen/060-066.DeAshiBarei.png b/homepage/wkParticipo/abbildungen/060-066.DeAshiBarei.png new file mode 100644 index 0000000..b59b654 Binary files /dev/null and b/homepage/wkParticipo/abbildungen/060-066.DeAshiBarei.png differ diff --git a/homepage/wkParticipo/abbildungen/067-072.HizaGuruma.png b/homepage/wkParticipo/abbildungen/067-072.HizaGuruma.png new file mode 100644 index 0000000..df6dc06 Binary files /dev/null and b/homepage/wkParticipo/abbildungen/067-072.HizaGuruma.png differ diff --git a/homepage/wkParticipo/abbildungen/073-078.png b/homepage/wkParticipo/abbildungen/073-078.png new file mode 100644 index 0000000..ff40ef9 Binary files /dev/null and b/homepage/wkParticipo/abbildungen/073-078.png differ diff --git a/homepage/wkParticipo/abbildungen/177-181.TaiOtoshi.png b/homepage/wkParticipo/abbildungen/177-181.TaiOtoshi.png new file mode 100644 index 0000000..66a2dcb Binary files /dev/null and b/homepage/wkParticipo/abbildungen/177-181.TaiOtoshi.png differ diff --git a/homepage/wkParticipo/abbildungen/182-184.TaiOtoshi.png b/homepage/wkParticipo/abbildungen/182-184.TaiOtoshi.png new file mode 100644 index 0000000..b46dee2 Binary files /dev/null and b/homepage/wkParticipo/abbildungen/182-184.TaiOtoshi.png differ diff --git a/homepage/wkParticipo/abbildungen/185-187.TaiOtoshi.png b/homepage/wkParticipo/abbildungen/185-187.TaiOtoshi.png new file mode 100644 index 0000000..f260f6d Binary files /dev/null and b/homepage/wkParticipo/abbildungen/185-187.TaiOtoshi.png differ diff --git a/homepage/wkParticipo/abbildungen/188-190.TaiOtoshi.png b/homepage/wkParticipo/abbildungen/188-190.TaiOtoshi.png new file mode 100644 index 0000000..6570e92 Binary files /dev/null and b/homepage/wkParticipo/abbildungen/188-190.TaiOtoshi.png differ diff --git a/homepage/wkParticipo/abbildungen/SeoiNage.125-128.png b/homepage/wkParticipo/abbildungen/SeoiNage.125-128.png new file mode 100644 index 0000000..fa7f2c0 Binary files /dev/null and b/homepage/wkParticipo/abbildungen/SeoiNage.125-128.png differ diff --git a/homepage/wkParticipo/abbildungen/SeoiNage.129-131.png b/homepage/wkParticipo/abbildungen/SeoiNage.129-131.png new file mode 100644 index 0000000..51b0d05 Binary files /dev/null and b/homepage/wkParticipo/abbildungen/SeoiNage.129-131.png differ diff --git a/homepage/wkParticipo/addEvent.php b/homepage/wkParticipo/addEvent.php index 30a6ff1..de4df97 100644 --- a/homepage/wkParticipo/addEvent.php +++ b/homepage/wkParticipo/addEvent.php @@ -3,7 +3,7 @@ require_once('../local/wkParticipoConf.php.inc'); $message = array(); if(!empty($_POST)){ - if( empty($_POST['f']['wkId']) || empty($_POST['f']['meldefrist']) || empty($_POST['f']['datum']) ){ + if( empty($_POST['f']['wkId']) || empty($_POST['f']['meldefrist']) ){ $message['error'] = 'Es wurden nicht alle Felder ausgefüllt.'; } else{ @@ -12,13 +12,12 @@ $message['error'] = 'Datenbankverbindung fehlgeschlagen: ' . $mysqli->connect_error; } $query = sprintf( - "INSERT INTO wkParticipo_Events (wkId, datum, meldefrist) - SELECT * FROM (SELECT '%s', '%s', '%s') as new_event + "INSERT INTO wkParticipo_Events (wkId, meldefrist) + SELECT * FROM (SELECT '%s', '%s') as new_event WHERE NOT EXISTS ( SELECT wkId FROM wkParticipo_Events WHERE wkId = '%s' ) LIMIT 1;", $mysqli->real_escape_string($_POST['f']['wkId']), - $mysqli->real_escape_string($_POST['f']['datum']), $mysqli->real_escape_string($_POST['f']['meldefrist']), $mysqli->real_escape_string($_POST['f']['wkId']) ); @@ -56,7 +55,6 @@
Benutzerdaten
/>
-
/>
/>
diff --git a/homepage/wkParticipo/addFahrt.php b/homepage/wkParticipo/addFahrt.php index a7dfa59..81d25c8 100644 --- a/homepage/wkParticipo/addFahrt.php +++ b/homepage/wkParticipo/addFahrt.php @@ -65,7 +65,13 @@ Wettkampfplaner - Meldung - + Wettkampfplaner - Meldung - + diff --git a/homepage/wkParticipo/addStarterDev.php b/homepage/wkParticipo/addStarterDev.php index 347420a..4eba386 100644 --- a/homepage/wkParticipo/addStarterDev.php +++ b/homepage/wkParticipo/addStarterDev.php @@ -19,7 +19,7 @@ $message['error'] .= "Datenbankverbindung fehlgeschlagen: ".$mysqlConn->connect_error."
$wkEventData['meldefrist']){ $message['error'] .= "Die Meldefrist ist bereits abgelaufen!
"; diff --git a/homepage/wkParticipo/admin/index.php b/homepage/wkParticipo/admin/index.php index f59da92..ad967ae 100644 --- a/homepage/wkParticipo/admin/index.php +++ b/homepage/wkParticipo/admin/index.php @@ -1,4 +1,5 @@ Neuen Event anlegen.

User anzeigen.

Events anzeigen.

- +

">Attribute verteilen

diff --git a/homepage/wkParticipo/admin/listUsers.php b/homepage/wkParticipo/admin/listUsers.php index 6e6e40a..5c616e5 100644 --- a/homepage/wkParticipo/admin/listUsers.php +++ b/homepage/wkParticipo/admin/listUsers.php @@ -1,18 +1,8 @@ diff --git a/homepage/wkParticipo/admin/newsLetter.php b/homepage/wkParticipo/admin/newsLetter.php index 0c778ed..1fc6a63 100644 --- a/homepage/wkParticipo/admin/newsLetter.php +++ b/homepage/wkParticipo/admin/newsLetter.php @@ -15,6 +15,7 @@ "WHERE kinder IS NOT NULL AND attribute LIKE '%wantsNewsletter=true%';"; $eMailErgebnis = $mysqlConn->query( $queryForEmailAdresses ); $eMailAdresses = $eMailErgebnis->fetchAll(); +// foreach($eMailAdresses as $add) echo($add[0].", "); // print_r($eMailAdresses);die(); $queryForEinschreibefristen = diff --git a/homepage/wkParticipo/admin/showEvent.php b/homepage/wkParticipo/admin/showEvent.php index 4a55cca..0789ef3 100644 --- a/homepage/wkParticipo/admin/showEvent.php +++ b/homepage/wkParticipo/admin/showEvent.php @@ -23,24 +23,24 @@ $basePath = "/users/cwsvjudo/www"; } else{ if( (string)(int)$_POST['f']['eventId'] == $_POST['f']['eventId'] ){ - $mysqlConn = @new mysqli($db_server, $db_user, $db_password, $db_name); - if ($mysqlConn->connect_error) { - $sqlMessage['error'] .= 'Datenbankverbindung fehlgeschlagen: ' . $mysqlConn->connect_error; + $mysqli = @new mysqli($db_server, $db_user, $db_password, $db_name); + if ($mysqli->connect_error) { + $sqlMessage['error'] .= 'Datenbankverbindung fehlgeschlagen: ' . $mysqli->connect_error; } else{ // Abfrage der Eventdaten - $eventData = getWkEventData($mysqlConn, $_POST['f']['eventId'], array('outCharset'=>"UTF-8")); + $eventData = getWkEventData($mysqli, $_POST['f']['eventId'], array('outCharset'=>"UTF-8")); if( empty($eventData) ) $message['error'] = 'Fehler: keine Eventdaten zurückgeliefert!'; else{ // Abfrage der Starterdaten des Events - $starterData = getStarterForEvent($mysqlConn, $eventData['id']); + $starterData = getStarterForEvent($mysqli, $eventData['id']); // Abfrage der Fahrtdaten des Events - $fahrten = getFahrtenForEvent($mysqlConn, $eventData['id']); + $fahrten = getFahrtenForEvent($mysqli, $eventData['id']); } } } - //var_dump($_POST); + var_dump($_POST); if( $_POST['action'] == "deleteStarter" ){ try{ $dbConnection = new PDO( @@ -204,7 +204,7 @@ $basePath = "/users/cwsvjudo/www"; } echo(""); - echo(""); + echo(""); foreach( $starterData as $starter ){ if( empty($starter) ){ @@ -217,6 +217,7 @@ $basePath = "/users/cwsvjudo/www"; $userData = getUserData($mysqli, $starter['userId']); echo(""); echo(""); + echo(""); echo(""); echo(""); echo(""); @@ -227,7 +228,7 @@ $basePath = "/users/cwsvjudo/www"; } } // $fahrtenData = array(); -// $fahrtenData = getFahrtenForEvent($mysqli, $eventData['id']); + $fahrtenData = getFahrtenForEvent($mysqli, $eventData['id']); ?>

Fahrten:

NameVornameMassePlatzstarterIdfahrtId
NameVornameGeb.Dat.MassePlatzstarterIdfahrtId
".mb_convert_encoding($userData['name'], 'UTF-8', 'ISO-8859-1')."".mb_convert_encoding($userData['vorname'], 'UTF-8', 'ISO-8859-1')."".mb_convert_encoding(date("d.m.Y", strtotime($userData['gebDatum'])), 'UTF-8', 'ISO-8859-1')."".$starter['masse']."".$starter['platz']."".$starter['id']."