%PDF- %PDF-
Direktori : /mnt/tnb2/los/backend/ |
Current File : //mnt/tnb2/los/backend/upravit.php |
<!doctype html> <html lang="cs"> <head> <title>Správa závodů LOS</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="canonical" href="https://loslex.cz/backend/"> <!-- favicons --> <link rel="apple-touch-icon" sizes="180x180" href="/theme/public/images/apple-touch-icon.png"> <link rel="icon" type="image/png" sizes="32x32" href="/theme/public/images/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="/theme/public/images/favicon-16x16.png"> <link rel="shortcut icon" type="image/vnd.microsoft.icon" href="/theme/public/images/logo.png"> <link rel="mask-icon" href="/theme/public/images/safari-pinned-tab.svg" color="#5bbad5"> <meta name="apple-mobile-web-app-title" content="Správa závodů LOS"> <meta name="application-name" content="Správa závodů LOS"> <meta name="msapplication-TileColor" content="#da532c"> <meta name="theme-color" content="#ffffff"> <meta name="color-scheme" content="dark light"> <!-- css --> <link rel="stylesheet" href="../css/bootstrap.min.css"> <link rel="stylesheet" href="css/dashboard.css"> </head> <body> <?php ini_set( "session.gc_maxlifetime", 86400 ); session_start(); $admin=$_SESSION["admin"]; $poradatel_id=$_SESSION["poradatel_id"]; $poradatel=$_SESSION["poradatel"]; include('../sql.php'); $mysqli = new mysqli(pc,user,pass,data); $dotaz="select * from zavody where id=".$id; $udaje=mysqli_fetch_assoc($mysqli->query($dotaz)); $jmeno=$udaje["jmeno"]; ?> <header> <div class="wrapper"> <nav class="navbar navbar-expand-md fixed-top bg-light border-bottom"> <div class="container-fluid"> <span class="navbar-brand fw-bold fs-6">SK LOS SEVER z. s.</span> <button type="button" class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#loslex"><span class="fas fa-bars"></span></button> <div class="collapse navbar-collapse" id="loslex"> <div class="navbar-nav mx-auto"> <ul class="navbar-nav mb-2 mb-lg-0"> <li class="nav-item"><a class="nav-link" href="main.php">Přehled závodů</a></li> <li class="nav-item"><a class="nav-link" href="novy.php">Nový závod</a></li> <?php if ($admin==1) {echo '<li class="nav-item"><a class="nav-link" href="zavodnici.php">Seznam závodníků</a></li>';} if (isset($_SESSION["poradatel"])){echo '</div><div class="navbar-nav ms-auto"> <li class="nav-item dropdown"><a class="nav-link dropdown-toggle" href="login.php" role="button" data-bs-toggle="dropdown" aria-expanded="false">Pořadatel: '.$_SESSION["poradatel"].'</a> <ul class="dropdown-menu rounded-0"> <li class="nav-item"><a class="nav-link dropdown-item" href="nastaveni.php">Nastavení</a></li> <li class="nav-item"><a class="nav-link dropdown-item" href="logout.php">Odhlásit</a></div></li> </ul> </li> ';} ?> </ul> </div> </div> </nav> </header> <!-- menu tab-content --> <div class="container"> <div class="row"> <div class="col-lg-12 offset-lg-0"> <h4 class="text-center mt-3 mt-lg-0 mb-3">Změna závodu LOS SEVER - 23-09-2023</h4> <ul class="nav nav-pills justify-content-center"> <li class="nav-item"> <a class="nav-link active" data-bs-toggle="tab" href="#step-1">Nastavení závodu</a> </li> <li class="nav-item"> <a class="nav-link" data-bs-toggle="tab" href="#step-2">Nastavení skupin</a> </li> <li class="nav-item"> <a class="nav-link" data-bs-toggle="tab" href="#step-3">Propozice</a> </li> </ul> <div class="tab-content"> <!-- krok 1 --> <div class="tab-pane active" id="step-1"> <div class="row py-2"> <div class="col-12 mb-3 mt-lg-0 mt-3"> <form action="" method="post"> <div class="row"> <!-- Parametry --> <div class="col-md-6"> <fieldset class="border bg-white px-3 px-lg-4 pb-3 mb-3"> <legend class="float-none w-auto px-2 fs-6 fw-bold">Nastavení závodu:</legend> <div class="row"> <div class="col-md-12 mb-3"> <label for="matchname" class="form-label small fw-semibold mb-1">Název závodu:</label> <input type="text" class="form-control form-control-sm" name="matchname" id="matchname" value="LOS SEVER"> </div> <div class="col-md-6"> <div class="form-group mb-3"> <label for="matchdate" class="form-label small fw-semibold mb-1">Datum konání:</label> <input type="date" class="form-control form-control-sm" name="matchdate" id="matchdate" value="2023-09-23"> </div> </div> <div class="col-md-6 mb-3"> <div class="form-group"> <label for="years" class="form-label small fw-semibold mb-1">Ročník:</label> <select id="years" name="years" class="form-select form-select-sm"> <option selected>2024</option> <option>2023</option> </select> </div> </div> <div class="col-md-6 mb-3"> <div class="form-group"> <label for="category" class="form-label small fw-semibold mb-1">Kategorie závodu:</label> <select id="category" name="category" class="form-select form-select-sm"> <option value="" disabled selected hidden>Vyberte variantu</option> <option>Krátká</option> <option>Dlouhá</option> <option>Broková</option> </select> </div> </div> <div class="col-md-6 mb-3"> <div class="form-group"> <label for="level" class="form-label small fw-semibold mb-1">Úroveň závodu:</label> <select id="level" name="level" class="form-select form-select-sm"> <option value="" disabled selected hidden>Vyberte variantu</option> <option>Klubový závod</option> <option>Pohárový závod</option> <option>Mistrovský závod</option> <option>Losík</option> <option>Drill</option> </select> </div> </div> <div class="col-md-6 mb-3"> <div class="form-group"> <label for="local" class="form-label small fw-semibold mb-1">Lokální pohár:</label> <select id="local" name="local" class="form-select form-select-sm"> <option value="" disabled selected hidden>Vyberte variantu</option> <option>Anatares CUP 2023</option> <option>výběr z nastavení pořadatele</option> <option>nebo Ano/Ne pro jedinou možnost</option> </select> </div> </div> <div class="col-md-6 mb-3"> <div class="form-group"> <label for="inputCity" class="form-label small fw-semibold mb-1">Kalibrační zbraň:</label> <input type="text" class="form-control form-control-sm" id="inputCity" value="nestanovena"> </div> </div> </div> </fieldset> </div> <!-- /Parametry --> <!-- Rozložení --> <div class="col-md-6"> <fieldset class="border bg-white px-3 px-lg-4 pb-3 mb-3"> <legend class="float-none w-auto px-2 fs-6 fw-bold">Rozložení závodu:</legend> <div class="row"> <div class="col-md-6 mb-3"> <div class="form-group"> <label for="numstage" class="form-label small fw-semibold mb-1">Počet situací:</label> <input type="number" class="form-control form-control-sm" name="numstage" id="numstage" value="3"> </div> </div> <div class="col-md-6 mb-3"> <div class="form-group"> <label for="numsquad" class="form-label small fw-semibold mb-1">Počet skupin:</label> <input type="number" class="form-control form-control-sm" name="numsquad" id="numsquad" value="6"> </div> </div> <div class="col-md-6 mb-3"> <div class="form-group"> <label for="inputCity" class="form-label small fw-semibold mb-1">Začátek závodu:</label> <input type="time" class="form-control form-control-sm" id="inputCity" value="09:30"> </div> </div> <div class="col-md-6 mb-3"> <div class="form-group"> <label for="inputCity" class="form-label small fw-semibold mb-1">Konec závodu:</label> <input type="time" class="form-control form-control-sm" id="inputCity" value="15:00"> </div> </div> <div class="col-md-6 mb-3"> <div class="form-group"> <label for="local" class="form-label small fw-semibold mb-1">Registrace:</label> <select id="local" name="local" class="form-select form-select-sm"> <option value="" disabled selected hidden>Vyberte variantu</option> <option>On-line - konec v 18 hodin den před závodem</option> <option>On-line - konec v ... před závodem</option> <option>Zajišťuje si sám pořadatel</option> </select> </div> </div> <div class="col-md-6 mb-3"> <div class="form-group"> <label for="local" class="form-label small fw-semibold mb-1">Prezence:</label> <select id="local" name="local" class="form-select form-select-sm"> <option value="" disabled selected hidden>Vyberte variantu</option> <option>30 minut před zahájením závodu</option> <option>30 minut před startem skupiny</option> <option>Dle propozic pořadatele</option> </select> </div> </div> <div class="col-md-6 mb-3"> <label for="inputCity" class="form-label small fw-semibold mb-1">Startovné plné:</label> <div class="input-group input-group-sm"> <input type="number" class="form-control form-control-sm" id="inputCity" value="300"> <span class="input-group-text">Kč</span> </div> </div> <div class="col-md-6 mb-3"> <label for="inputCity" class="form-label small fw-semibold mb-1">Startovné sleva:</label> <div class="input-group input-group-sm"> <input type="number" class="form-control form-control-sm" id="inputCity" value="250"> <span class="input-group-text">Kč</span> </div> </div> </div> </fieldset> </div> <!-- /Rozložení --> </div> <div class="col-12 text-center pt-3"> <button type="submit" name="zpet" class="btn btn-sm btn-warning">Zpět</button> <button type="submit" class="btn btn-sm btn-success">Uložit nastavení závodu</button> </div> </form> </div> </div> </div> <!-- /krok 1 --> <!-- krok 2 --> <div class="tab-pane" id="step-2"> <div class="row py-2"> <div class="col-12 mb-3 mt-lg-0 mt-3"> <form action="" method="post"> <div class="row"> <!-- Závodníci skupiny --> <!-- Skupina 1 --> <div class="col-md-6"> <fieldset class="border bg-white px-3 px-lg-4 pb-3 pb-lg-1 mb-3"> <legend class="float-none w-auto px-2 fs-6 fw-bold">Skupina č. 1: <span class="small fw-normal">[obsazeno: 5]</span></legend> <div class="row"> <div class="col-lg-5 col-md-6"> <div class="form-group mb-3"> <label for="matchdate" class="form-label small fw-semibold mb-1">Počet závodníků:</label> <input type="number" class="form-control form-control-sm" name="matchdate" id="matchdate" min="5" value="6"> </div> </div> <div class="col-lg-5 col-md-6"> <div class="form-group mb-3"> <label for="matchdate" class="form-label small fw-semibold mb-1">Čas startu:</label> <input type="time" class="form-control form-control-sm" name="matchdate" id="matchdate" value="09:00"> </div> </div> <div class="col text-center mt-lg-4"> <button type="submit" class="btn btn-sm btn-secondary">Změnit</button> </div> </div> </fieldset> </div> <!-- /Skupina 1 --> <!-- Skupina 2 --> <div class="col-md-6"> <fieldset class="border bg-white px-3 px-lg-4 pb-3 pb-lg-1 mb-3"> <legend class="float-none w-auto px-2 fs-6 fw-bold">Skupina č. 2: <span class="small fw-normal">[obsazeno: 6]</span></legend> <div class="row"> <div class="col-lg-5 col-md-6"> <div class="form-group mb-3"> <label for="matchdate" class="form-label small fw-semibold mb-1">Počet závodníků:</label> <input type="number" class="form-control form-control-sm" name="matchdate" id="matchdate" min="6" value="6"> </div> </div> <div class="col-lg-5 col-md-6"> <div class="form-group mb-3"> <label for="matchdate" class="form-label small fw-semibold mb-1">Čas startu:</label> <input type="time" class="form-control form-control-sm" name="matchdate" id="matchdate" value="09:00"> </div> </div> <div class="col text-center mt-lg-4"> <button type="submit" class="btn btn-sm btn-secondary">Změnit</button> </div> </div> </fieldset> </div> <!-- /Skupina 2 --> <!-- Skupina 3 --> <div class="col-md-6"> <fieldset class="border bg-white px-3 px-lg-4 pb-3 pb-lg-1 mb-3"> <legend class="float-none w-auto px-2 fs-6 fw-bold">Skupina č. 3: <span class="small fw-normal">[obsazeno: 5]</span></legend> <div class="row"> <div class="col-lg-5 col-md-6"> <div class="form-group mb-3"> <label for="matchdate" class="form-label small fw-semibold mb-1">Počet závodníků:</label> <input type="number" class="form-control form-control-sm" name="matchdate" id="matchdate" min="5" value="6"> </div> </div> <div class="col-lg-5 col-md-6"> <div class="form-group mb-3"> <label for="matchdate" class="form-label small fw-semibold mb-1">Čas startu:</label> <input type="time" class="form-control form-control-sm" name="matchdate" id="matchdate" value="10:00"> </div> </div> <div class="col text-center mt-lg-4"> <button type="submit" class="btn btn-sm btn-secondary">Změnit</button> </div> </div> </fieldset> </div> <!-- /Skupina 3 --> <!-- Skupina 4 --> <div class="col-md-6"> <fieldset class="border bg-white px-3 px-lg-4 pb-3 pb-lg-1 mb-3"> <legend class="float-none w-auto px-2 fs-6 fw-bold">Skupina č. 4: <span class="small fw-normal">[obsazeno: 5]</span></legend> <div class="row"> <div class="col-lg-5 col-md-6"> <div class="form-group mb-3"> <label for="matchdate" class="form-label small fw-semibold mb-1">Počet závodníků:</label> <input type="number" class="form-control form-control-sm" name="matchdate" id="matchdate" min="5" value="6"> </div> </div> <div class="col-lg-5 col-md-6"> <div class="form-group mb-3"> <label for="matchdate" class="form-label small fw-semibold mb-1">Čas startu:</label> <input type="time" class="form-control form-control-sm" name="matchdate" id="matchdate" value="10:00"> </div> </div> <div class="col text-center mt-lg-4"> <button type="submit" class="btn btn-sm btn-secondary">Změnit</button> </div> </div> </fieldset> </div> <!-- /Skupina 4 --> <!-- Skupina 5 --> <div class="col-md-6"> <fieldset class="border bg-white px-3 px-lg-4 pb-3 pb-lg-1 mb-3"> <legend class="float-none w-auto px-2 fs-6 fw-bold">Skupina č. 5: <span class="small fw-normal">[obsazeno: 3]</span></legend> <div class="row"> <div class="col-lg-5 col-md-6"> <div class="form-group mb-3"> <label for="matchdate" class="form-label small fw-semibold mb-1">Počet závodníků:</label> <input type="number" class="form-control form-control-sm" name="matchdate" id="matchdate" min="3" value="6"> </div> </div> <div class="col-lg-5 col-md-6"> <div class="form-group mb-3"> <label for="matchdate" class="form-label small fw-semibold mb-1">Čas startu:</label> <input type="time" class="form-control form-control-sm" name="matchdate" id="matchdate" value="11:00"> </div> </div> <div class="col text-center mt-lg-4"> <button type="submit" class="btn btn-sm btn-secondary">Změnit</button> </div> </div> </fieldset> </div> <!-- /Skupina 5 --> <!-- Skupina 6 --> <div class="col-md-6"> <fieldset class="border bg-white px-3 px-lg-4 pb-3 pb-lg-1 mb-3"> <legend class="float-none w-auto px-2 fs-6 fw-bold">Skupina č. 6: <span class="small fw-normal">[obsazeno: 4]</span></legend> <div class="row"> <div class="col-lg-5 col-md-6"> <div class="form-group mb-3"> <label for="matchdate" class="form-label small fw-semibold mb-1">Počet závodníků:</label> <input type="number" class="form-control form-control-sm" name="matchdate" id="matchdate" min="4" value="6"> </div> </div> <div class="col-lg-5 col-md-6"> <div class="form-group mb-3"> <label for="matchdate" class="form-label small fw-semibold mb-1">Čas startu:</label> <input type="time" class="form-control form-control-sm" name="matchdate" id="matchdate" value="11:00"> </div> </div> <div class="col text-center mt-lg-4"> <button type="submit" class="btn btn-sm btn-secondary">Změnit</button> </div> </div> </fieldset> </div> <!-- /Skupina 6 --> <!-- /Závodníci skupiny --> <div class="col-12 text-center pt-3"> <button type="submit" class="btn btn-sm btn-success">Uložit nastavení skupin</button> </div> </div> </form> </div> </div> </div> <!-- /krok 2 --> <!-- krok 3 --> <div class="tab-pane" id="step-3"> <div class="row py-2"> <div class="col-12 mb-3 mt-lg-0 mt-3"> <form action="" method="post"> <div class="row"> <!-- Propozice --> <div class="col-md-12"> <fieldset class="border bg-white px-3 px-lg-4 pb-3 mb-3"> <legend class="float-none w-auto px-2 fs-6 fw-bold">Propozice závodu:</legend> <div class="row"> <div class="col-md-6 mb-3"> <label for="exampleFormControlTextarea1" class="form-label small fw-semibold">Kapacita:</label> <textarea class="form-control" id="exampleFormControlTextarea1" rows="5"></textarea> </div> <div class="col-md-6"> <div class="form-group mb-3"> <label for="exampleFormControlTextarea1" class="form-label small fw-semibold">Situace:</label> <textarea class="form-control" id="exampleFormControlTextarea1" rows="5"></textarea> </div> </div> <div class="col-md-6 mb-3"> <div class="mb-3"> <label for="exampleFormControlTextarea1" class="form-label small fw-semibold">Průběh závodu:</label> <textarea class="form-control" id="exampleFormControlTextarea1" rows="5"></textarea> </div> </div> <div class="col-md-6 mb-3"> <div class="mb-3"> <label for="exampleFormControlTextarea1" class="form-label small fw-semibold">Ceny:</label> <textarea class="form-control" id="exampleFormControlTextarea1" rows="5"></textarea> </div> </div> </div> </fieldset> </div> <!-- /Propozice --> <div class="col-12 text-center pt-3"> <button type="submit" class="btn btn-sm btn-success">Uložit nastavení propozic</button> </div> </div> </form> </div> </div> <!-- /krok 3 --> </div> </div> </div> </div> <!-- footer --> <footer class="footer mt-auto py-3"> <div class="container"> <p class="text-center copyright">2023 | mickey & strasidlo | created for defens shooting</p> </div> </footer> <!-- scripts --> <script src="../js/bootstrap.min.js"></script> </body> </html>