fixed note userpanel
This commit is contained in:
parent
f1d9b8d31e
commit
8c3c3982ac
@ -1,7 +1,10 @@
|
||||
<?php require_once('include/headscript.php'); ?>
|
||||
<?php // require_once('Connections/bkngstm.php'); ?>
|
||||
<?php // require_once('webassist/mysqli/rsobj.php'); ?>
|
||||
<?php // require_once('webassist/mysqli/queryobj.php'); ?>
|
||||
<?php // require_once('Connections/bkngstm.php');
|
||||
?>
|
||||
<?php // require_once('webassist/mysqli/rsobj.php');
|
||||
?>
|
||||
<?php // require_once('webassist/mysqli/queryobj.php');
|
||||
?>
|
||||
<?php // optionquery
|
||||
$optionquery = new WA_MySQLi_RS("optionquery", $bkngstm, 0);
|
||||
$optionquery->setQuery("SELECT * FROM option");
|
||||
@ -14,7 +17,6 @@ $bookedclass = new WA_MySQLi_RS("bookedclass", $bkngstm, 0);
|
||||
// Verifica se è stata specificata una richiesta per cambiare il mese
|
||||
if (isset($_GET['prev_month'])) {
|
||||
$currentMonthStart = $_GET['prev_month'] . '-01';
|
||||
|
||||
} elseif (isset($_GET['next_month'])) {
|
||||
$currentMonthStart = $_GET['next_month'] . '-01';
|
||||
} else {
|
||||
@ -66,7 +68,6 @@ if ($result->num_rows > 0) {
|
||||
while ($row = $result->fetch_assoc()) {
|
||||
$idOrdine = $row["idorderbook"];
|
||||
$totalTickets = $row["total_tickets"];
|
||||
|
||||
}
|
||||
} else {
|
||||
$totalTickets = 0; // Imposta a zero se non ci sono righe nella query
|
||||
@ -109,9 +110,6 @@ if ($result) {
|
||||
$futureRecords = $row['future'];
|
||||
$lost = $row['lost'];
|
||||
$pending = $row['pending'];
|
||||
|
||||
|
||||
|
||||
}
|
||||
// Chiusura della connessione
|
||||
$conn->close();
|
||||
@ -228,7 +226,8 @@ $conn->close();
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.custom-date-box, .custom-event-details {
|
||||
.custom-date-box,
|
||||
.custom-event-details {
|
||||
width: 100%;
|
||||
border-radius: 0;
|
||||
}
|
||||
@ -257,12 +256,10 @@ $conn->close();
|
||||
font-size: 24px;
|
||||
margin: 0 20px;
|
||||
}
|
||||
|
||||
.card {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
</style>
|
||||
<script>
|
||||
function confirmDelete(id, idservice, deletePageUrl) {
|
||||
@ -291,32 +288,39 @@ $conn->close();
|
||||
padding: 0px;
|
||||
text-align: center;
|
||||
border-radius: 10px;
|
||||
margin-right: 20px; /* Spazio tra i box */
|
||||
margin-right: 20px;
|
||||
/* Spazio tra i box */
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.pastel-color.acquistate {
|
||||
background-color: #E2C4FB; /* Azzurro pastello */
|
||||
background-color: #E2C4FB;
|
||||
/* Azzurro pastello */
|
||||
}
|
||||
|
||||
.pastel-color.praticate {
|
||||
background-color: #C4E1FB; /* Verde pastello */
|
||||
background-color: #C4E1FB;
|
||||
/* Verde pastello */
|
||||
}
|
||||
|
||||
.pastel-color.prenotate {
|
||||
background-color: #CDFBC4; /* Rosa pastello */
|
||||
background-color: #CDFBC4;
|
||||
/* Rosa pastello */
|
||||
}
|
||||
|
||||
.pastel-color.conferma {
|
||||
background-color: #FBFAC4; /* Arancio pastello */
|
||||
background-color: #FBFAC4;
|
||||
/* Arancio pastello */
|
||||
}
|
||||
|
||||
.pastel-color.programmare {
|
||||
background-color: #FBE4C4; /* Arancio pastello */
|
||||
background-color: #FBE4C4;
|
||||
/* Arancio pastello */
|
||||
}
|
||||
|
||||
.pastel-color.perse {
|
||||
background-color: #FBC7C4; /* Arancio pastello */
|
||||
background-color: #FBC7C4;
|
||||
/* Arancio pastello */
|
||||
}
|
||||
|
||||
|
||||
@ -324,8 +328,10 @@ $conn->close();
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.pastel-color {
|
||||
margin-right: 0; /* Rimuovi lo spazio tra i box */
|
||||
margin-bottom: 20px; /* Spazio tra i box */
|
||||
margin-right: 0;
|
||||
/* Rimuovi lo spazio tra i box */
|
||||
margin-bottom: 20px;
|
||||
/* Spazio tra i box */
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@ -480,7 +486,7 @@ $conn->close();
|
||||
</div>
|
||||
<div class="alert alert-warning alert-dismissible fade show" role="alert" style="text-align: center;">
|
||||
<i class="mdi mdi-alert-outline me-2"></i>
|
||||
Car* Yogi, ti ricordiamo che il pacchetto 4 lezioni ha validità entro le 5 settimane dall'acquisto e il pacchetto da 12 lezioni entro il <strong>24 aprile 2025</strong> 🙏
|
||||
Car* Yogi, ti ricordiamo che il pacchetto 4 lezioni ha validità entro le 5 settimane dall'acquisto e il pacchetto da 12 lezioni entro il <strong>20 dicembre 2025</strong> 🙏
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@ -704,7 +710,11 @@ $newDateFormat = $dateObj->format("d-m-Y H:i");
|
||||
$bookedclass->moveFirst(); // Ritorna all'inizio del recordset
|
||||
unset($wa_startindex);
|
||||
unset($wa_repeatcount);
|
||||
?></div></div></div></div><br><br>
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><br><br>
|
||||
<!-- Aggiungi altre card qui con le stesse classi -->
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user