zum Commit vorgemerkte Änderungen: neue Datei: addEvent.php neue Datei: addFahrt.php neue Datei: addStarter.php neue Datei: addStarterDev.php neue Datei: admin/.htaccess neue Datei: admin/addEvent.php neue Datei: admin/addMitfahrer.php neue Datei: admin/adminAddStarter.php neue Datei: admin/adminFunctions.php neue Datei: admin/adminFunctions.php.inc neue Datei: admin/adminUpdateStarterErgebnis.php neue Datei: admin/config.inc.php neue Datei: admin/index.php neue Datei: admin/listEvents.php neue Datei: admin/listUsers.php neue Datei: admin/newsLetter.php neue Datei: admin/register.php neue Datei: admin/resetPassword.php neue Datei: admin/reseteMitfahrer.php neue Datei: admin/showEvent.php neue Datei: admin/showFahrt.php neue Datei: admin/showUser.php neue Datei: admin/verteileMitfahrer.php neue Datei: auth.php neue Datei: authLogin.php neue Datei: calendar.php neue Datei: changePassword.php neue Datei: editFahrt.php neue Datei: eventKalender.php neue Datei: galImgPicker.php neue Datei: horstWolfJudosport.php neue Datei: index.php neue Datei: infoZettel.php neue Datei: lib/wkParticipoLib.php.inc neue Datei: local/.htaccess neue Datei: local/db.php.inc neue Datei: local/wkParticipoConf.php.inc neue Datei: login.php neue Datei: loginDev.php neue Datei: logout.php neue Datei: showWkEvent.php neue Datei: style.css neue Datei: styleDev.css neue Datei: test.php neue Datei: userInfo.php
87 lines
2.1 KiB
PHP
87 lines
2.1 KiB
PHP
<?php
|
|
require_once('./local/wkParticipoConf.php.inc');
|
|
require_once('./auth.php');
|
|
require_once('./local/db.php.inc');
|
|
require_once('./lib/wkParticipoLib.php.inc');
|
|
|
|
$mysqlConn = @new mysqli($db_server, $db_user, $db_password, $db_name);
|
|
if($mysqlConn->connect_error){
|
|
$message['error'] .= 'Datenbankverbindung fehlgeschlagen: ' . $mysqli->connect_error;
|
|
}
|
|
|
|
$userInfo = getUserData( $mysqlConn, $_SESSION['user']['userId'] );
|
|
$kinderInfo = getUsersKidsData( $mysqlConn, $_SESSION['user']['userId'] );
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
<title>Userinfo</title>
|
|
<meta name="description" content="Übersicht des Users">
|
|
|
|
<link rel="icon" href="/ressourcen/graphiken/icons/cwsv.ico" />
|
|
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
|
|
|
<link rel="stylesheet" href="style.css">
|
|
</head>
|
|
|
|
<body>
|
|
<?php echo $login_status; ?>
|
|
<?php echo htmlRetMessage( $message );?>
|
|
|
|
<nav>
|
|
<ul>
|
|
<li>
|
|
<a href="./index.php">
|
|
<div>Zur Übersichtsseite</div>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
|
|
|
|
<h1>Wettkampfplanung - Userinfo</h1>
|
|
|
|
<?php //print_r( $userInfo );?>
|
|
<h2>Benutzerdaten</h2>
|
|
<ul>
|
|
<li>
|
|
Login: <?php echo mb_convert_encoding( $userInfo['loginName'], 'UTF-8' );?>
|
|
</li>
|
|
<li>
|
|
Name, Vorname: <?php echo mb_convert_encoding( $userInfo['name'].", ".$userInfo['vorname'], 'UTF-8');?>
|
|
</li>
|
|
<li>E-Mail: <?php echo mb_convert_encoding( $userInfo['eMail'], 'UTF-8', 'ISO-8859-1');?></li>
|
|
<li>
|
|
Meldeberechtigt für:
|
|
<ul>
|
|
<?php foreach( $kinderInfo as $kind) echo mb_convert_encoding( "<li>".$kind['name'].", ".$kind['vorname']." (".$kind['gebDatum'].")</li>", 'UTF-8');?>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
|
|
<h2>Aktionen</h2>
|
|
<nav>
|
|
<ul>
|
|
<li>
|
|
<a href="./userInfo.php">
|
|
<div>
|
|
Zur Benutzerübersichtsseite
|
|
</div>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="./changePassword.php">
|
|
<div>
|
|
Passwort ändern
|
|
</div>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
|
|
</body>
|
|
</html>
|