45 lines
7.5 KiB
SQL
45 lines
7.5 KiB
SQL
-- MSIN-4471 — Pages intro PDF distribution des dossards
|
|
-- Prérequis : tables doc_mod / doc_page / doc_anchor (MSIN-doc-module.sql)
|
|
-- Idempotent : DELETE puis INSERT du module bib_dist_print
|
|
-- Images : images/doc/dossardposition.png (page table participants)
|
|
|
|
SET NAMES utf8mb4;
|
|
|
|
DELETE FROM doc_page WHERE doc_mod_clef = 'bib_dist_print';
|
|
DELETE FROM doc_anchor WHERE doc_anchor_clef = 'bib_v4_dist_print_doc';
|
|
DELETE FROM doc_mod WHERE doc_mod_clef = 'bib_dist_print';
|
|
|
|
INSERT INTO `doc_mod` (`doc_mod_clef`, `doc_mod_prg`, `doc_mod_titre`, `doc_mod_actif`, `doc_mod_tri`, `doc_mod_creation`)
|
|
VALUES ('bib_dist_print', 'compte.php', 'PDF distribution des dossards', 1, 15, NOW());
|
|
|
|
INSERT INTO `doc_anchor` (`doc_anchor_clef`, `doc_mod_clef`, `doc_prg`, `doc_actif`, `doc_creation`)
|
|
VALUES ('bib_v4_dist_print_doc', 'bib_dist_print', 'compte.php', 1, NOW());
|
|
|
|
-- ---------------------------------------------------------------------------
|
|
-- FR
|
|
-- ---------------------------------------------------------------------------
|
|
INSERT INTO `doc_page` (`doc_mod_clef`, `doc_page_clef`, `doc_langue`, `doc_titre`, `doc_sous_titre`, `doc_html`, `doc_prg`, `doc_tri`, `doc_actif`, `doc_creation`) VALUES
|
|
('bib_dist_print', 'bib_dist_print_reco', 'fr', 'Conseils à la distribution', 'Pour une remise de dossards sans erreur — Responsable de la distribution des dossards',
|
|
'<article class="ms1-doc-article"><p><em>À lire avant de commencer.</em> Quelques secondes à chaque remise évitent les échanges, les erreurs de chronométrage et les résultats incorrects.</p><h3>1. Familles et groupes — plusieurs dossards</h3><p>Lorsque vous remettez plusieurs dossards à une même famille ou à un groupe, assurez-vous que le prénom figure sur chaque dossard. S''il n''y est pas déjà, <strong>écrivez-le au verso</strong>. Ainsi, chacun part avec le bon numéro : un échange entre proches fausse le chronométrage et les résultats.</p><h3>2. Ne pas céder son dossard</h3><p>Un dossard inscrit à un nom <strong>ne doit pas</strong> être remis à une autre personne. Si un échange a déjà eu lieu, <strong>avisez immédiatement les organisateurs</strong> afin qu''ils corrigent la base de données avant la course.</p><h3>3. Dossard bien visible à l''avant</h3><p>Rappelez au participant d''épingler son dossard <strong>bien visible à l''avant du torse</strong>. C''est essentiel pour un chronométrage fiable et un bon temps officiel.</p><h3>4. Vérifier ses infos avant la course (code QR)</h3><p>Invitez les participants à scanner le code QR de l''événement pour consulter les résultats en ligne <strong>avant le départ</strong>. Ils pourront confirmer que leur nom, leur âge et leur numéro de dossard sont correctement associés à leur inscription.</p></article>',
|
|
'compte.php', 10, 1, NOW()),
|
|
('bib_dist_print', 'bib_dist_print_table', 'fr', 'Votre dossard', 'À placer sur la table — pour les participants',
|
|
'<article class="ms1-doc-article"><p><em>Vous venez de recevoir votre dossard.</em> Prenez un moment pour vérifier ces points avant le départ.</p><h3>1. Vérifiez vos informations (code QR)</h3><p>Scannez le code QR de l''événement pour consulter les résultats en ligne. Vérifiez que <strong>votre nom est bien orthographié</strong>, que vous êtes dans la <strong>bonne catégorie</strong> et la <strong>bonne distance</strong>. En cas d''erreur, revenez voir l''organisation pour corriger <strong>avant la course</strong>.</p><h3>2. Portez votre dossard correctement</h3><p>Épinglez votre dossard <strong>bien visible à l''avant du torse</strong>, aux quatre coins. Un dossard mal placé ou caché peut compromettre votre chronométrage.</p><img src="/images/doc/dossardposition.png" alt="Position correcte du dossard à l''avant"><h3>3. Courez avec le bon dossard</h3><p>Assurez-vous de courir avec le dossard qui vous a été remis — celui inscrit à votre nom. Un mauvais numéro fausse les résultats.</p><h3>4. Ne cédez pas votre dossard</h3><p>Ne remettez pas votre dossard à une autre personne. Si un échange a déjà eu lieu, <strong>avisez immédiatement les organisateurs</strong> pour qu''ils corrigent la base de données.</p></article>',
|
|
'compte.php', 20, 1, NOW()),
|
|
('bib_dist_print', 'bib_dist_print_qr', 'fr', 'Code QR de l''événement', 'À afficher / découper pour l''événement',
|
|
'<p>Utilisez ce code pour consulter vos résultats en ligne pendant la course.</p>',
|
|
'compte.php', 30, 1, NOW());
|
|
|
|
-- ---------------------------------------------------------------------------
|
|
-- EN
|
|
-- ---------------------------------------------------------------------------
|
|
INSERT INTO `doc_page` (`doc_mod_clef`, `doc_page_clef`, `doc_langue`, `doc_titre`, `doc_sous_titre`, `doc_html`, `doc_prg`, `doc_tri`, `doc_actif`, `doc_creation`) VALUES
|
|
('bib_dist_print', 'bib_dist_print_reco', 'en', 'Distribution tips', 'For a smooth, error-free bib handout — Bib distribution lead',
|
|
'<article class="ms1-doc-article"><p><em>Read before you start.</em> A few seconds at each handout prevent swaps, timing errors, and incorrect results.</p><h3>1. Families and groups — multiple bibs</h3><p>When handing out several bibs to the same family or group, make sure each bib shows a first name. If it is not already there, <strong>write it on the back</strong>. This way everyone leaves with the right number: a swap between relatives will skew timing and results.</p><h3>2. Do not give away your bib</h3><p>A bib registered under one name <strong>must not</strong> be given to someone else. If a swap has already happened, <strong>notify the organizers immediately</strong> so they can correct the database before the race.</p><h3>3. Bib clearly visible on the front</h3><p>Remind the participant to pin the bib <strong>clearly visible on the front of the torso</strong>. This is essential for reliable timing and an accurate official time.</p><h3>4. Check details before the race (QR code)</h3><p>Invite participants to scan the event QR code and view results online <strong>before the start</strong>. They can confirm that their name, age, and bib number are correctly linked to their registration.</p></article>',
|
|
'compte.php', 10, 1, NOW()),
|
|
('bib_dist_print', 'bib_dist_print_table', 'en', 'Your bib', 'Place on the table — for participants',
|
|
'<article class="ms1-doc-article"><p><em>You just received your bib.</em> Take a moment to check these points before the start.</p><h3>1. Check your details (QR code)</h3><p>Scan the event QR code to view results online. Confirm that <strong>your name is spelled correctly</strong>, and that you are in the <strong>right category</strong> and <strong>right distance</strong>. If anything is wrong, see the organizers to correct it <strong>before the race</strong>.</p><h3>2. Wear your bib correctly</h3><p>Pin your bib <strong>clearly visible on the front of your torso</strong>, at all four corners. A hidden or poorly placed bib can compromise your timing.</p><img src="/images/doc/dossardposition.png" alt="Correct bib placement on the front"><h3>3. Run with the correct bib</h3><p>Make sure you run with the bib that was handed to you — the one registered under your name. The wrong number will skew results.</p><h3>4. Do not give away your bib</h3><p>Do not give your bib to someone else. If a swap has already happened, <strong>notify the organizers immediately</strong> so they can correct the database.</p></article>',
|
|
'compte.php', 20, 1, NOW()),
|
|
('bib_dist_print', 'bib_dist_print_qr', 'en', 'Event QR code', 'Display / cut out for the event',
|
|
'<p>Use this code to view your results online during the race.</p>',
|
|
'compte.php', 30, 1, NOW());
|