This commit updates the event management interface by replacing the previous V2 implementation with a new gestion epreuves section. The associated PHP files have been modified to include the new functionality, and the old V2 files have been removed. CSS styles have been cleaned up to reflect these changes. The version code has been incremented to 4.72.650 to signify the updates made.
85 lines
2.7 KiB
PHP
85 lines
2.7 KiB
PHP
|
|
<?php
|
|
|
|
// MSIN-3880 nouveau tableau
|
|
include_once("php/inc_fx_modifierinscriptions.php");
|
|
include_once("php/inc_fx_memberships.php");
|
|
include_once("php/inc_fx_promoteur.php");
|
|
require_once('superadm/php/inc_manager.php');
|
|
|
|
global $objDatabase, $vDomaine, $strLangue;
|
|
$intEveId = 0;
|
|
$blnDon = false;
|
|
|
|
if ($strLangue == 'fr') {
|
|
$strPage = '/compte';
|
|
} else {
|
|
$strPage = '/account';
|
|
}
|
|
if($strLangue == 'fr')
|
|
$strCode = 'compte/';
|
|
else
|
|
$strCode = 'account/';
|
|
|
|
$strBibCode = $strCode;
|
|
|
|
if (!empty($_GET['code'])) {
|
|
$code = $_GET['code'];
|
|
} else {
|
|
$code = 'bib_assignment';
|
|
}
|
|
|
|
if (isset($_GET['promoteur_eve_id'])) {
|
|
$intEveId = base64_decode(urldecode($_GET['promoteur_eve_id']));
|
|
$arrEvenement = fxGetEvenementsId($intEveId);
|
|
//$tabEvenement['general'] = $arrEvenement;
|
|
}
|
|
?>
|
|
<a class="btn btn-primary rounded-pill" id="link_back" href="<?php echo $vDomaine . $strPage . "/inc_tableau_promoteur?promoteur_eve_id=" . urlencode(base64_encode($intEveId)); ?>">
|
|
<i class="fa fa-chevron-left mr-2" aria-hidden="true"></i>
|
|
<?php afficheTexte('promoteur_back'); ?>
|
|
</a>
|
|
<br><br>
|
|
<?php
|
|
// recalculer les catégorie
|
|
if (isset($_REQUEST['resetcategorie'])) {
|
|
fxregles_niveau_updateall($intEveId);
|
|
}
|
|
// Annuler/retablir une inscriptions dans le tableau du promoteur
|
|
if (isset($_POST['btn_cancel_event_promo'])) {
|
|
$int_pec_id = $_POST['pec_id_original'];
|
|
$int_epr_id = $_POST['epr_id'];
|
|
|
|
$tabEpreuve = fxGetEpreuve($int_epr_id);
|
|
fxAnnulerRetablirInscription($tabEpreuve, $int_pec_id);
|
|
}
|
|
|
|
if ($intEveId != 0) {
|
|
$arrEvenement = fxGetEvenementsId($intEveId);
|
|
$tabRapports = fxGetMenussuperadm(0, 0, 1, $intEveId);
|
|
|
|
|
|
//$tabEvenement['general'] = $arrEvenement;
|
|
?> <ul class="nav flex-column ms1-menu-compte">
|
|
<li class="nav-item">
|
|
<a class="nav-list" href="<?php echo $vDomaine . "/" . $strCode; ?>bib_assignment?a=show_bib_dupes&promoteur_eve_id=<?php echo urlencode(base64_encode($intEveId)); ?>"> <i class="fa fa-clone" aria-hidden="true"></i> <?php echo afficheTexte('tableau_dossards_doublons', 0) ;?>
|
|
</a>
|
|
</li> </ul>
|
|
|
|
<?php
|
|
/* MSIN-4379 — Ancienne UI dossards (Tool3). La v4 complète : inc_tableau_gestion_epreuves (superadm). */
|
|
fxShowBibTool3($strBibCode, $intEveId, $strLangue);
|
|
|
|
?>
|
|
|
|
<a class="btn btn-primary rounded-pill" id="link_back" href="<?php echo $vDomaine . $strPage . "/inc_tableau_promoteur?promoteur_eve_id=" . urlencode(base64_encode($intEveId)); ?>">
|
|
<i class="fa fa-chevron-left mr-2" aria-hidden="true"></i>
|
|
<?php afficheTexte('promoteur_back'); ?>
|
|
</a>
|
|
<?php
|
|
} else {
|
|
if ($strLangue == 'fr')
|
|
echo "Une erreur quelconque est survenue.";
|
|
else
|
|
echo "A generic error occurred.";
|
|
}
|