Files
ms1inscription-v5/inc_tableau_inscriptions_gestion.php
stephan 9acc8102e8 Add AJAX functionality for event registration management and QR code scanning
This commit introduces new AJAX endpoints for managing event registrations, including a dedicated script for handling QR code scans. The new functionality validates user sessions and event access, providing JSON responses for both successful and error states. Additionally, it enhances the overall structure of the event management system by integrating various helper functions for improved maintainability and user experience.
2026-06-27 12:09:56 -04:00

29 lines
695 B
PHP

<?php
include_once('php/inc_fx_modifierinscriptions.php');
include_once('php/inc_fx_memberships.php');
include_once('php/inc_fx_promoteur.php');
include_once('php/inc_fx_inscriptions_mobile.php');
require_once('superadm/php/inc_manager.php');
global $objDatabase, $vDomaine, $strLangue;
$intEveId = 0;
if (isset($_GET['promoteur_eve_id'])) {
$intEveId = fxInscrMobileParseEveId($_GET['promoteur_eve_id']);
}
if ($intEveId === 0) {
if ($strLangue === 'fr') {
echo 'Une erreur quelconque est survenue.';
} else {
echo 'A generic error occurred.';
}
return;
}
echo '<div class="inscr-mobile-page">';
fxInscrMobileRun($intEveId, $strLangue);
echo '</div>';