- php7-Kompatibilität
modified: eventKalender.php modified: galImgPicker.php modified: infoZettel.php modified: horstWolfJudosport.php - Wettkampfsaten als dl statt ul modified: index.php modified: lib/wkParticipoLib.inc.php
This commit is contained in:
@@ -1,80 +1,81 @@
|
||||
<?php
|
||||
require_once('./local/wkParticipoConf.php.inc');
|
||||
require_once('./authLogin.php');
|
||||
require_once('./local/db.php.inc');
|
||||
require_once('./lib/wkParticipoLib.inc.php');
|
||||
|
||||
$sqlMessage = array();
|
||||
|
||||
$mysqlConn = @new mysqli($db_server, $db_user, $db_password, $db_name);
|
||||
if ($mysqlConn->connect_error) {
|
||||
$sqlMessage['error'] .= 'Datenbankverbindung fehlgeschlagen: ' . $mysqlConn->connect_error;
|
||||
}
|
||||
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<title>Wettkampfplanung der Judoka des CWSV</title>
|
||||
<link rel="stylesheet" href="./style.css">
|
||||
<link rel="stylesheet" href="wkParticipo.css">
|
||||
</head>
|
||||
<body>
|
||||
<?php echo $login_status;?>
|
||||
<?php echo htmlRetMessage($sqlMessage);?>
|
||||
|
||||
<h1>Wettkampfplanung - Kalender</h1>
|
||||
|
||||
<style>
|
||||
.navBar{
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
}
|
||||
</style>
|
||||
<div class="navBar">
|
||||
<a class="touchLink" href="./index.php">
|
||||
<div>Zur Übersicht zurück</div>
|
||||
</a>
|
||||
<a class="touchLink" href="http://cwsvjudo.bplaced.net/pages/desktop/wkParticipo/calendar.php">
|
||||
<div>die geplanten Wettkämpfe als iCal</div>
|
||||
</a>
|
||||
<a class="touchLink" href="https://www.google.com/calendar/render?cid=http://cwsvjudo.bplaced.net/pages/desktop/wkParticipo/calendar.php">
|
||||
<div>alle geplanten Wettkämpfe in den Google Kalender übernehmen</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<h2 id="wettkaempfen">Anstehende Wettkämpfe</h2>
|
||||
<?php
|
||||
$wkEvents = getCommingWkEvents($mysqlConn);
|
||||
|
||||
if( empty($wkEvents) ){
|
||||
?>
|
||||
<p>Momentan befinden sich anscheinend keine Wettkämpfe in Planung!</p>
|
||||
<?php
|
||||
}
|
||||
else{
|
||||
foreach( $wkEvents as $wk){
|
||||
$wkEvent = getWkEventData($mysqlConn, $wk['id']);
|
||||
echo htmlWkEvent($wkEvent, getStarterForEvent($mysqlConn, $wkEvent['id']), getFahrtenForEvent($mysqlConn, $wkEvent['id']));
|
||||
?>
|
||||
<hr />
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<!--Beginn der Einbindung des Counters-->
|
||||
<?php
|
||||
$chCounter_page_title = "Wettkampfplaner -- Eventkalender";
|
||||
$chCounter_page_url = $_SERVER[HTTP_HOST] . $_SERVER[REQUEST_URI] . "?user=".$_SESSION['user']['username'];
|
||||
$chCounter_visible=0;
|
||||
// include( $_SERVER['DOCUMENT_ROOT'].'/expCounter/counter.php');
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
<?php
|
||||
setlocale (LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge');
|
||||
require_once('./local/wkParticipoConf.php.inc');
|
||||
require_once('./authLogin.php');
|
||||
require_once('./local/db.php.inc');
|
||||
require_once('./lib/wkParticipoLib.inc.php');
|
||||
|
||||
$sqlMessage = array();
|
||||
|
||||
$mysqlConn = @new mysqli($db_server, $db_user, $db_password, $db_name);
|
||||
if ($mysqlConn->connect_error) {
|
||||
$sqlMessage['error'] .= 'Datenbankverbindung fehlgeschlagen: ' . $mysqlConn->connect_error;
|
||||
}
|
||||
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<title>Wettkampfplanung der Judoka des CWSV</title>
|
||||
<link rel="stylesheet" href="wkParticipo.css">
|
||||
<link rel="stylesheet" href="./style.css">
|
||||
</head>
|
||||
<body>
|
||||
<?php echo $login_status;?>
|
||||
<?php echo htmlRetMessage($sqlMessage);?>
|
||||
|
||||
<h1>Wettkampfplanung - Kalender</h1>
|
||||
|
||||
<style>
|
||||
.navBar{
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
}
|
||||
</style>
|
||||
<div class="navBar">
|
||||
<a class="touchLink" href="./index.php">
|
||||
<div>Zur Übersicht zurück</div>
|
||||
</a>
|
||||
<a class="touchLink" href="http://cwsvjudo.bplaced.net/pages/desktop/wkParticipo/calendar.php">
|
||||
<div>die geplanten Wettkämpfe als iCal</div>
|
||||
</a>
|
||||
<a class="touchLink" href="https://www.google.com/calendar/render?cid=http://cwsvjudo.bplaced.net/pages/desktop/wkParticipo/calendar.php">
|
||||
<div>alle geplanten Wettkämpfe in den Google Kalender übernehmen</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<h2 id="wettkaempfen">Anstehende Wettkämpfe</h2>
|
||||
<?php
|
||||
$wkEvents = getCommingWkEvents($mysqlConn);
|
||||
|
||||
if( empty($wkEvents) ){
|
||||
?>
|
||||
<p>Momentan befinden sich anscheinend keine Wettkämpfe in Planung!</p>
|
||||
<?php
|
||||
}
|
||||
else{
|
||||
foreach( $wkEvents as $wk){
|
||||
$wkEvent = getWkEventData($mysqlConn, $wk['id']);
|
||||
echo htmlWkEvent($wkEvent, getStarterForEvent($mysqlConn, $wkEvent['id']), getFahrtenForEvent($mysqlConn, $wkEvent['id']));
|
||||
?>
|
||||
<hr />
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<!--Beginn der Einbindung des Counters-->
|
||||
<?php
|
||||
$chCounter_page_title = "Wettkampfplaner -- Eventkalender";
|
||||
$chCounter_page_url = $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] . "?user=".$_SESSION['user']['username'];
|
||||
$chCounter_visible=0;
|
||||
// include( $_SERVER['DOCUMENT_ROOT'].'/expCounter/counter.php');
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user