Classi non presenti per questo mese
"; } else { while (!$bookedclass->atEnd()) { $wa_startindex = $bookedclass->Index; ?> getColumnVal("dateschedule"); $dateObj = new DateTime($dateschedule); $dayInItalian = $dateObj->format("d"); $monthInItalian = $dateObj->format("F"); $monthInItalian = $italianMonths[$monthInItalian]; $newDateFormat = $dateObj->format("d-m-Y H:i"); $currentTime = new DateTime(); $classTime = new DateTime($dateschedule); $timeDifference = $classTime->diff($currentTime); $hoursDifference = $timeDifference->h + $timeDifference->days * 24; $canBeDeleted = ($hoursDifference >= $timetocancel); $mysqli = new mysqli($servername, $username, $password, $dbname); $eventId = $bookedclass->getColumnVal("idserviceschedule"); $bookingQuery = "SELECT bookingclass.*, auth_users.first_name, auth_users.last_name, auth_users.id FROM bookingclass LEFT JOIN auth_users ON bookingclass.iduser=auth_users.id WHERE bookingclass.idserviceschedule = ? AND bookingclass.status='booked'"; $stmt = $mysqli->prepare($bookingQuery); $stmt->bind_param("i", $eventId); $stmt->execute(); $bookingResult = $stmt->get_result(); $countPersons = $bookingResult->num_rows; $stmt->close(); $mysqli->close(); ?>getColumnVal("servicename")); ?> -/getColumnVal("maxcapacity")); ?>
Quando:
Luogo: via Valassina 62/B Seregno - Sala Contesto Yoga