get rid of id="customers" and replace by a class, because more than one table uses the css for it
This commit is contained in:
parent
02b8cf4904
commit
3b16d49364
|
|
@ -1 +0,0 @@
|
||||||
*.pdf
|
|
||||||
|
|
@ -126,7 +126,7 @@ if (isset($_POST['DienstSearch'])) {
|
||||||
?>
|
?>
|
||||||
<button class=back name="BackHelferdaten" value="1" onclick="window.location.href = 'Admin.php';"><b>↩</b></button>
|
<button class=back name="BackHelferdaten" value="1" onclick="window.location.href = 'Admin.php';"><b>↩</b></button>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<table border="0" id='customers'>
|
<table border="0" class='commontable'>
|
||||||
<tr><th> Dienst</th><th><select name="DienstSearch" id="DienstSearch" onchange="submit()">
|
<tr><th> Dienst</th><th><select name="DienstSearch" id="DienstSearch" onchange="submit()">
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
@ -168,25 +168,25 @@ echo "<p><noscript><button name='ShowSchichten' value='1'>Schichten Anzeigen</bu
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<table border="0" id="customers">
|
<table border="0" class="commontable">
|
||||||
<tr>
|
<tr>
|
||||||
<td style="border: 0px solid black;">Was</td></tr><tr><td style="border: 0px solid black;">
|
<td style="border: 0px solid black;">Was</td></tr><tr><td style="border: 0px solid black;">
|
||||||
<input name="Dienst-Was" type="text" value="<?php echo htmlspecialchars($Was ?? '')?>">
|
<input name="Dienst-Was" type="text" value="<?php echo htmlspecialchars($Was ?? '')?>">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="border: 0px solid black;">Wo</td></tr><tr><td style="border: 0px solid black;">
|
<td style="border: 0px solid black;">Wo</td></tr><tr><td style="border: 0px solid black;">
|
||||||
<input name="Dienst-Wo" type="text " value="<?php echo htmlspecialchars($Wo ?? '')?>">
|
<input name="Dienst-Wo" type="text " value="<?php echo htmlspecialchars($Wo ?? '')?>">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tr>
|
</tr>
|
||||||
<td style="border: 0px solid black;">Info</td></tr><tr><td style="border: 0px solid black;">
|
<td style="border: 0px solid black;">Info</td></tr><tr><td style="border: 0px solid black;">
|
||||||
<input name="Dienst-Info" type="text" value="<?php echo htmlspecialchars($Info ?? '')?>" >
|
<input name="Dienst-Info" type="text" value="<?php echo htmlspecialchars($Info ?? '')?>" >
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="border: 0px solid black;">Leiter</td></tr><tr><td style="border: 0px solid black;">
|
<td style="border: 0px solid black;">Leiter</td></tr><tr><td style="border: 0px solid black;">
|
||||||
|
|
||||||
<!-- <input name="Dienst-Leiter" type="text" value="<?php echo htmlspecialchars($Leiter ?? '')?>" > -->
|
<!-- <input name="Dienst-Leiter" type="text" value="<?php echo htmlspecialchars($Leiter ?? '')?>" > -->
|
||||||
<?php
|
<?php
|
||||||
echo "<select name='Dienst-Leiter'>";
|
echo "<select name='Dienst-Leiter'>";
|
||||||
|
|
@ -200,10 +200,10 @@ echo "<p><noscript><button name='ShowSchichten' value='1'>Schichten Anzeigen</bu
|
||||||
}
|
}
|
||||||
echo "</select>";
|
echo "</select>";
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="border: 0px solid black;">Gruppe</td></tr><tr><td style="border: 0px solid black;">
|
<td style="border: 0px solid black;">Gruppe</td></tr><tr><td style="border: 0px solid black;">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
//echo "#####".$Gruppe."#####";
|
//echo "#####".$Gruppe."#####";
|
||||||
|
|
@ -219,7 +219,7 @@ echo "<p><noscript><button name='ShowSchichten' value='1'>Schichten Anzeigen</bu
|
||||||
echo "</select>";
|
echo "</select>";
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr><td style="border: 0px solid black;">HelferLevel</td></tr>
|
<tr><td style="border: 0px solid black;">HelferLevel</td></tr>
|
||||||
<tr><td style="border: 0px solid black;">
|
<tr><td style="border: 0px solid black;">
|
||||||
|
|
@ -243,7 +243,7 @@ echo "<p><noscript><button name='ShowSchichten' value='1'>Schichten Anzeigen</bu
|
||||||
|
|
||||||
|
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<table border="0" id='customers'">
|
<table border="0" class='commontable'">
|
||||||
<tr><th>Schicht</th><th><select name="SchichtSearch" id="SchichtSearch" onchange="submit()">
|
<tr><th>Schicht</th><th><select name="SchichtSearch" id="SchichtSearch" onchange="submit()">
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -277,19 +277,19 @@ echo "<p><noscript><button name='ShowSchicht' value='1'>Schicht Anzeigen</button
|
||||||
|
|
||||||
|
|
||||||
<!-- <table border="0" style="border: 0px solid black;"> -->
|
<!-- <table border="0" style="border: 0px solid black;"> -->
|
||||||
<table border="0" id='customers'">
|
<table border="0" class='commontable'">
|
||||||
<tr>
|
<tr>
|
||||||
<td style="border: 0px solid black;">Von</td></tr><tr><td style="border: 0px solid black;">
|
<td style="border: 0px solid black;">Von</td></tr><tr><td style="border: 0px solid black;">
|
||||||
<input name="Schicht-Von" type="datetime-local" value="<?php echo htmlspecialchars($Von ?? '')?>" required>
|
<input name="Schicht-Von" type="datetime-local" value="<?php echo htmlspecialchars($Von ?? '')?>" required>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
<tr>
|
||||||
</tr>
|
</tr>
|
||||||
<td style="border: 0px solid black;">Bis</td></tr><tr><td style="border: 0px solid black;">
|
<td style="border: 0px solid black;">Bis</td></tr><tr><td style="border: 0px solid black;">
|
||||||
<input name="Schicht-Bis" type="datetime-local" value="<?php echo htmlspecialchars($Bis ?? '')?>" required>
|
<input name="Schicht-Bis" type="datetime-local" value="<?php echo htmlspecialchars($Bis ?? '')?>" required>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
<tr>
|
||||||
</tr>
|
</tr>
|
||||||
<td style="border: 0px solid black;">Soll</td></tr><tr><td style="border: 0px solid black;">
|
<td style="border: 0px solid black;">Soll</td></tr><tr><td style="border: 0px solid black;">
|
||||||
<input name="Schicht-Soll" type="number" min=1 value="<?php echo htmlspecialchars((int)$Soll ?? '')?>" required>
|
<input name="Schicht-Soll" type="number" min=1 value="<?php echo htmlspecialchars((int)$Soll ?? '')?>" required>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
||||||
|
|
@ -214,7 +214,7 @@ if (! $db_erg) {
|
||||||
$iSQLCount = mysqli_num_rows($db_erg);
|
$iSQLCount = mysqli_num_rows($db_erg);
|
||||||
//$iSQLCount = 3;
|
//$iSQLCount = 3;
|
||||||
|
|
||||||
echo '<table id="customers">';
|
echo '<table class="commontable">';
|
||||||
|
|
||||||
echo "<thead>";
|
echo "<thead>";
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
|
|
@ -245,7 +245,7 @@ echo "<br><br>";
|
||||||
$iAlleSchichtenCount = AlleSchichtenCount($db_link);
|
$iAlleSchichtenCount = AlleSchichtenCount($db_link);
|
||||||
$iBelegteSchichtenCount = AlleBelegteSchichtenCount($db_link);
|
$iBelegteSchichtenCount = AlleBelegteSchichtenCount($db_link);
|
||||||
|
|
||||||
echo '<table id="customers" onclick="window.location.href=\'AdminAlleSchichten.php\'">';
|
echo '<table class="commontable" onclick="window.location.href=\'AdminAlleSchichten.php\'">';
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
echo "<th>" . "Alle Schichten der Con (" . $iBelegteSchichtenCount . "/" . $iAlleSchichtenCount . ")</th>";
|
echo "<th>" . "Alle Schichten der Con (" . $iBelegteSchichtenCount . "/" . $iAlleSchichtenCount . ")</th>";
|
||||||
echo "</tr>";
|
echo "</tr>";
|
||||||
|
|
|
||||||
|
|
@ -124,7 +124,7 @@ while ($zeile = mysqli_fetch_array($db_erg, MYSQLI_ASSOC)) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<table id="customers">
|
<table class="commontable">
|
||||||
<tr>
|
<tr>
|
||||||
<th><button name="BackHelferdaten" value="1" onclick="window.location.href = 'Admin.php';"><b>↩</b></button> Helferdaten</th>
|
<th><button name="BackHelferdaten" value="1" onclick="window.location.href = 'Admin.php';"><b>↩</b></button> Helferdaten</th>
|
||||||
<?php echo "<b>" . EVENTNAME . "</b>"; ?>
|
<?php echo "<b>" . EVENTNAME . "</b>"; ?>
|
||||||
|
|
@ -157,7 +157,7 @@ while ($zeile = mysqli_fetch_array($db_erg, MYSQLI_ASSOC)) {
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<table id="customers">
|
<table class="commontable">
|
||||||
<col style="width:20px">
|
<col style="width:20px">
|
||||||
<tr>
|
<tr>
|
||||||
<td><input type="checkbox" name="IsAdmin" value=1 align="right" <?php if ($HelferIsAdmin == 1) {
|
<td><input type="checkbox" name="IsAdmin" value=1 align="right" <?php if ($HelferIsAdmin == 1) {
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ require '_login.php';
|
||||||
|
|
||||||
<div style="width: 100%;">
|
<div style="width: 100%;">
|
||||||
|
|
||||||
<table id="customers" >
|
<table class="commontable" >
|
||||||
<tr>
|
<tr>
|
||||||
<th><button name="BackHelferdaten" value="1" onclick="window.location.href = 'Admin.php';"><b>↩</b></button> <b>Übersicht Dienst DAS 2023</b></th>
|
<th><button name="BackHelferdaten" value="1" onclick="window.location.href = 'Admin.php';"><b>↩</b></button> <b>Übersicht Dienst DAS 2023</b></th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
@ -31,7 +31,7 @@ require '_login.php';
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
echo '<table id="customers" >';
|
echo '<table class="commontable" >';
|
||||||
|
|
||||||
$db_erg = GetDiensteChilds($db_link, 0);
|
$db_erg = GetDiensteChilds($db_link, 0);
|
||||||
while ($zeile = mysqli_fetch_array($db_erg, MYSQLI_ASSOC)) {
|
while ($zeile = mysqli_fetch_array($db_erg, MYSQLI_ASSOC)) {
|
||||||
|
|
@ -55,7 +55,7 @@ echo "</table>";
|
||||||
$db_erg = AlleSchichtenImZeitbereich($db_link, "2000-05-18 00:00:00", "2200-05-19 00:00:00");
|
$db_erg = AlleSchichtenImZeitbereich($db_link, "2000-05-18 00:00:00", "2200-05-19 00:00:00");
|
||||||
|
|
||||||
$OldWas = "";
|
$OldWas = "";
|
||||||
echo "<br><br><table id='customers' style='page-break-before:always'>";
|
echo "<br><br><table class='commontable' style='page-break-before:always'>";
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<th><button name="BackHelferdaten" value="1" onclick="window.location.href = 'Admin.php';"><b>↩</b></button> <b>Übersicht Schichten der Dienste DAS 2023</b></th>
|
<th><button name="BackHelferdaten" value="1" onclick="window.location.href = 'Admin.php';"><b>↩</b></button> <b>Übersicht Schichten der Dienste DAS 2023</b></th>
|
||||||
|
|
@ -66,8 +66,8 @@ while ($zeile = mysqli_fetch_array($db_erg, MYSQLI_ASSOC)) {
|
||||||
|
|
||||||
if ($Was != $OldWas) {
|
if ($Was != $OldWas) {
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
//echo '<table id="customers" style="page-break-before:always">';
|
//echo '<table class="commontable" style="page-break-before:always">';
|
||||||
echo '<table id="customers">';
|
echo '<table class="commontable">';
|
||||||
echo "<tr><th colspan=3>";
|
echo "<tr><th colspan=3>";
|
||||||
echo $Was;
|
echo $Was;
|
||||||
echo "</th></tr>";
|
echo "</th></tr>";
|
||||||
|
|
@ -94,7 +94,7 @@ echo "</table>";
|
||||||
|
|
||||||
$OldHelferName = "";
|
$OldHelferName = "";
|
||||||
|
|
||||||
echo "<br><br><table id='customers' style='page-break-before:always'>";
|
echo "<br><br><table class='commontable' style='page-break-before:always'>";
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<th><button name="BackHelferdaten" value="1" onclick="window.location.href = 'Admin.php';"><b>↩</b></button> <b>Übersicht Helfer und Ihre Schichten DAS 2023</b></th>
|
<th><button name="BackHelferdaten" value="1" onclick="window.location.href = 'Admin.php';"><b>↩</b></button> <b>Übersicht Helfer und Ihre Schichten DAS 2023</b></th>
|
||||||
|
|
@ -106,8 +106,8 @@ while ($zeile = mysqli_fetch_array($db_erg, MYSQLI_ASSOC)) {
|
||||||
|
|
||||||
if ($HelferName != $OldHelferName) {
|
if ($HelferName != $OldHelferName) {
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
//echo '<table id="customers" style="page-break-before:always">';
|
//echo '<table class="commontable" style="page-break-before:always">';
|
||||||
echo '<table id="customers">';
|
echo '<table class="commontable">';
|
||||||
echo "<tr><th colspan=3>";
|
echo "<tr><th colspan=3>";
|
||||||
echo $HelferName;
|
echo $HelferName;
|
||||||
echo "</th></tr>";
|
echo "</th></tr>";
|
||||||
|
|
|
||||||
|
|
@ -98,7 +98,7 @@ if (isset($_POST['sent'])) {
|
||||||
<p>Hier können Sie sich selbst einen Account als Helfer anlegen.</p>
|
<p>Hier können Sie sich selbst einen Account als Helfer anlegen.</p>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
|
|
||||||
<table id="customers">
|
<table class="commontable">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Helferdaten</th>
|
<th>Helferdaten</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
||||||
|
|
@ -105,7 +105,7 @@ $_SESSION["HelferID"] = $HelferID;
|
||||||
////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
echo '<table id="customers">';
|
echo '<table class="commontable">';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -263,7 +263,7 @@ if (! $db_erg) {
|
||||||
$iSQLCount = mysqli_num_rows($db_erg);
|
$iSQLCount = mysqli_num_rows($db_erg);
|
||||||
//$iSQLCount = 3;
|
//$iSQLCount = 3;
|
||||||
|
|
||||||
echo '<table id="customers">';
|
echo '<table class="commontable">';
|
||||||
|
|
||||||
echo "<thead>";
|
echo "<thead>";
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
|
|
@ -294,7 +294,7 @@ echo "<br><br>";
|
||||||
$iAlleSchichtenCount = AlleSchichtenCount($db_link);
|
$iAlleSchichtenCount = AlleSchichtenCount($db_link);
|
||||||
$iBelegteSchichtenCount = AlleBelegteSchichtenCount($db_link);
|
$iBelegteSchichtenCount = AlleBelegteSchichtenCount($db_link);
|
||||||
|
|
||||||
echo '<table id="customers" onclick="window.location.href=\'AlleSchichten.php\'">';
|
echo '<table class="commontable" onclick="window.location.href=\'AlleSchichten.php\'">';
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
echo "<th>" . '<img src="Bilder/PfeilRechts2.png" style="width:30px;height:30px;align:middle;">' . " Alle Schichten der Con (" . $iBelegteSchichtenCount . "/" . $iAlleSchichtenCount . ")</th>";
|
echo "<th>" . '<img src="Bilder/PfeilRechts2.png" style="width:30px;height:30px;align:middle;">' . " Alle Schichten der Con (" . $iBelegteSchichtenCount . "/" . $iAlleSchichtenCount . ")</th>";
|
||||||
echo "</tr>";
|
echo "</tr>";
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ require '_login.php';
|
||||||
echo "<b>" . EVENTNAME . "</b><br>";
|
echo "<b>" . EVENTNAME . "</b><br>";
|
||||||
echo '<H1> Helferdaten - Log </H1>';
|
echo '<H1> Helferdaten - Log </H1>';
|
||||||
echo '<p>Hier werden alle Aktionen, die einen Helfer betreffen aufgelistet</p>';
|
echo '<p>Hier werden alle Aktionen, die einen Helfer betreffen aufgelistet</p>';
|
||||||
echo '<table id="customers">' . "\n";
|
echo '<table class="commontable">' . "\n";
|
||||||
|
|
||||||
//check for admin status
|
//check for admin status
|
||||||
$HelferID = $_SESSION["HelferID"];
|
$HelferID = $_SESSION["HelferID"];
|
||||||
|
|
|
||||||
|
|
@ -110,7 +110,7 @@ if (isset($_POST['login'])) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<table id="customers">
|
<table class="commontable">
|
||||||
<tr>
|
<tr>
|
||||||
<th><button name="BackHelferdaten" value="1" onclick="window.location.href = 'index.php';"><b>↩</b></button> Helferdaten <?php echo EVENTNAME; ?></th>
|
<th><button name="BackHelferdaten" value="1" onclick="window.location.href = 'index.php';"><b>↩</b></button> Helferdaten <?php echo EVENTNAME; ?></th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ if ($AdminStatus != 1) {
|
||||||
<body>
|
<body>
|
||||||
<div style="width: 100%;">
|
<div style="width: 100%;">
|
||||||
|
|
||||||
<table id="customers" >
|
<table class="commontable" >
|
||||||
<tr onclick="window.location.href='Info.php';">
|
<tr onclick="window.location.href='Info.php';">
|
||||||
<th><img src="Bilder/Info.jpeg" style="width:30px;height:30px;"> <b><?php echo EVENTNAME ?></b></th>
|
<th><img src="Bilder/Info.jpeg" style="width:30px;height:30px;"> <b><?php echo EVENTNAME ?></b></th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
alert("jquery-3.7.1.min.js is missing from the js directory");
|
|
||||||
Loading…
Reference in New Issue