<!DOCTYPE html>
<html lang="zxx">
    <?php require __DIR__ . '/includes/head.php'; ?>

    <body class="bg-body-bg"><?php require __DIR__ . '/includes/loading.php'; ?><?php require __DIR__ . '/includes/sidebar.php'; ?>


        <!-- Start Main Content Area -->
        <div class="container-fluid">
            <div class="main-content d-flex flex-column">
                <?php require __DIR__ . '/includes/topbar.php'; ?>


                <div class="main-content-container overflow-hidden">
                    <div class="d-flex justify-content-between align-items-center flex-wrap gap-2 mb-4 mt-1">
                        <h3 class="mb-0">Edit An Event</h3>

                        <nav aria-label="breadcrumb">
                            <ol class="breadcrumb align-items-center mb-0 lh-1">
                                <li class="breadcrumb-item">
                                    <a href="index.html" class="d-flex align-items-center text-decoration-none">
                                        <i class="ri-home-8-line fs-15 text-primary me-1"></i>
                                        <span class="text-body fs-14 hover">Dashboard</span>
                                    </a>
                                </li>
                                <li class="breadcrumb-item active" aria-current="page">
                                    <span>Events</span>
                                </li>
                                <li class="breadcrumb-item active" aria-current="page">
                                    <span class="text-secondary">Edit An Event</span>
                                </li>
                            </ol>
                        </nav>
                    </div>
                    
                    <div class="card bg-white p-20 rounded-10 border border-white mb-4">
                        <h3 class="mb-20">Create An Event</h3>
                        <form>
                            <div class="row">
                                <div class="col-lg-4">
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Event Name</label>
                                        <div class="form-floating">
                                            <input type="text" class="form-control" id="floatingInput1" value="E.g. Annual Conference 2025">
                                            <label for="floatingInput1">Event name</label>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-4">
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Ticket Type</label>
                                        <div class="form-floating">
                                            <select class="form-select form-control" id="floatingSelect2" aria-label="Floating label select example">
                                                <option selected>Free</option>
                                                <option value="1">Select</option>
                                                <option value="2">Paid</option>
                                            </select>
                                            <label for="floatingSelect2">Select</label>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-4">
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Ticket Price</label>
                                        <div class="form-floating">
                                            <input type="text" class="form-control" id="floatingInput3" value="E.g. $20.00">
                                            <label for="floatingInput3">Ticket price</label>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-4">
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Event Type</label>
                                        <div class="form-floating">
                                            <select class="form-select form-control" id="floatingSelect4" aria-label="Floating label select example">
                                                <option selected>Online</option>
                                                <option value="1">Select</option>
                                                <option value="2">Offline</option>
                                                <option value="2">Both</option>
                                            </select>
                                            <label for="floatingSelect4">Select</label>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-4">
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Select Topic</label>
                                        <div class="form-floating">
                                            <select class="form-select form-control" id="floatingSelect5" aria-label="Floating label select example">
                                                <option selected>Pepper Festival</option>
                                                <option value="1">Select</option>
                                                <option value="2">A Day of Comedy</option>
                                                <option value="3">Replicate Oktoberfest</option>
                                                <option value="4">Kite Flying Festival</option>
                                                <option value="5">Music Concert</option>
                                            </select>
                                            <label for="floatingSelect5">Select</label>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-4">
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Event Vanue</label>
                                        <div class="form-floating">
                                            <input type="text" class="form-control" id="floatingInput6" value="E.g. 2750 Quadra Street Victoria Road">
                                            <label for="floatingInput6">Event vanue</label>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-4">
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Event Country</label>
                                        <div class="form-floating">
                                            <select class="form-select form-control" id="floatingSelect7" aria-label="Floating label select example">
                                                <option selected>Switzerland</option>
                                                <option value="1">Select</option>
                                                <option value="2">New Zealand</option>
                                                <option value="3">Germany</option>
                                                <option value="4">United States</option>
                                                <option value="5">Japan</option>
                                                <option value="6">Netherlands</option>
                                                <option value="7">Sweden</option>
                                                <option value="8">Canada</option>
                                                <option value="9">United Kingdom</option>
                                                <option value="10">Australia</option>
                                            </select>
                                            <label for="floatingSelect7">Select</label>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-4">
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Event State</label>
                                        <div class="form-floating">
                                            <select class="form-select form-control" id="floatingSelect8" aria-label="Floating label select example">
                                                <option selected>Florida</option>
                                                <option value="1">Select</option>
                                                <option value="2">Wisconsin</option>
                                                <option value="3">Washington</option>
                                                <option value="4">Nebraska</option>
                                                <option value="5">Minnesota</option>
                                            </select>
                                            <label for="floatingSelect8">Select</label>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-4">
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Event City</label>
                                        <div class="form-floating">
                                            <select class="form-select form-control" id="floatingSelect9" aria-label="Floating label select example">
                                                <option selected>New York</option>
                                                <option value="1">Select</option>
                                                <option value="2">Tokyo</option>
                                                <option value="3">London</option>
                                                <option value="4">Amsterdam</option>
                                                <option value="5">Paris</option>
                                            </select>
                                            <label for="floatingSelect9">Select</label>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-4">
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Event Start Date</label>
                                        <input type="date" class="form-control">
                                    </div>
                                </div>
                                <div class="col-lg-4">
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Event End Date</label>
                                        <input type="date" class="form-control">
                                    </div>
                                </div>
                                <div class="col-lg-4">
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Event Time</label>
                                        <input type="time" class="form-control">
                                    </div>
                                </div>
                                <div class="col-lg-4">
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Registration Deadline</label>
                                        <input type="date" class="form-control">
                                    </div>
                                </div>
                                <div class="col-lg-4">
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Event Organizers</label>
                                        <div class="form-floating">
                                            <input type="text" class="form-control" id="floatingInput10" value="E.g. Hand Watch">
                                            <label for="floatingInput10">Event organizers name</label>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-4">
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Event Sponsors</label>
                                        <div class="form-floating">
                                            <input type="text" class="form-control" id="floatingInput11" value="E.g. Hand Watch">
                                            <label for="floatingInput11">Event sponsors name</label>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-6">
                                    <div class="form-group mb-20">
                                        <label class="label fs-16">Description</label>
                                        <div id="standalone-container" class="bg-transparent rounded-10">
                                            <div id="toolbar-container" class="rounded-top-3 bg-transparent">
                                                <span class="ql-formats">
                                                    <select class="ql-font"></select>
                                                    <select class="ql-size"></select>
                                                </span>
                                                <span class="ql-formats">
                                                    <button class="ql-bold"></button>
                                                    <button class="ql-italic"></button>
                                                    <button class="ql-underline"></button>
                                                    <button class="ql-strike"></button>
                                                </span>
                                                <span class="ql-formats">
                                                    <button class="ql-blockquote"></button>
                                                    <button class="ql-code-block"></button>
                                                </span>
                                                <span class="ql-formats">
                                                    <button class="ql-list" value="ordered"></button>
                                                    <button class="ql-list" value="bullet"></button>
                                                    <button class="ql-indent" value="-1"></button>
                                                    <button class="ql-indent" value="+1"></button>
                                                </span>
                                                <span class="ql-formats">
                                                    <button class="ql-link"></button>
                                                    <button class="ql-image"></button>
                                                    <button class="ql-video"></button>
                                                </span>
                                            </div>
                                            <div id="editor-container" style="height: 163px; border-color: #D5D9E2;" class="rounded-bottom-3"></div>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-6">
                                    <div class="form-group mb-4 only-file-upload" id="file-upload">
                                        <label class="label text-secondary fs-16">Upload Product Images</label>
                                        <div class="form-control h-100 text-center position-relative p-4 p-lg-5">
                                            <div class="product-upload">
                                                <label class="file-upload mb-0" style="line-height: 54px;">
                                                    <i class="ri-folder-image-line bg-primary bg-opacity-10 p-2 rounded-1 text-primary"></i>
                                                    <span class="d-block text-body fs-14">Drag and drop an image or <span class="text-primary text-decoration-underline">Browse</span></span>
                                                </label>
                                                <label class="position-absolute top-0 bottom-0 start-0 end-0 cursor" id="upload-container">
                                                    <input class="form__file bottom-0" id="upload-files" type="file" multiple="multiple">
                                                </label>
                                            </div>
                                        </div>
                                        <div id="files-list-container"></div>
                                    </div>
                                </div>
                                <div class="col-lg-12">
                                    <div class="d-flex gap-2">
                                        <button type="button" class="btn btn-primary fw-normal text-white">Create/Publish</button>
                                        <button type="button" class="btn btn-danger fw-normal text-white" data-bs-dismiss="modal">Cancel</button>
                                    </div>
                                </div>
                            </div>
                        </form> 
                    </div>
                </div>

                <div class="flex-grow-1"></div>

                <?php require __DIR__ . '/includes/footer.php'; ?>

            </div>
        </div>
        <!-- Start Main Content Area -->

        <!-- Start Theme Setting Area -->
        <button class="btn btn-primary theme-settings-btn p-0 position-fixed z-2 text-center rounded-circle" style="bottom: 24px; right: 24px; width: 56px; height: 56px; line-height: 54px;" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasScrolling" aria-controls="offcanvasScrolling">
            <i class="text-white ri-settings-3-fill fs-28" data-bs-toggle="tooltip" data-bs-placement="left" data-bs-title="Click On Theme Settings"></i>
        </button>

        <!-- Start Theme Setting Area -->
        <div class="offcanvas offcanvas-end bg-white border-0" data-bs-scroll="true" data-bs-backdrop="true" tabindex="-1" id="offcanvasScrolling" aria-labelledby="offcanvasScrollingLabel" style="box-shadow: 0 4px 20px #2f8fe812 !important; max-width: 300px;">
            <div class="offcanvas-header bg-light p-20">
                <h5 class="offcanvas-title fs-18 fw-medium" id="offcanvasScrollingLabel">Configuration Panel</h5>
                <button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
            </div>
            <div class="offcanvas-body p-0 overflow-hidden">
                <div class="last-child-none" style="max-height: 858px;" data-simplebar>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">RTL Mode</h4>
                        <div class="rtl-btn">
                            <label id="switch">
                                <input type="checkbox" onchange="toggleTheme()" class="toggle-switch rtl-switch" id="slider">
                            </label>
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Only Sidebar Dark</h4>
                        <div class="sidebar-light-dark" id="sidebar-light-dark">
                            <input type="checkbox" class="toggle-switch sidebar-dark-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Only Header Dark</h4>
                        <div class="header-light-dark" id="header-light-dark">
                            <input type="checkbox" class="toggle-switch header-dark-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Right Sidebar</h4>
                        <div class="right-sidebar" id="right-sidebar">
                            <input type="checkbox" class="toggle-switch right-sidebar-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Hide Sidebar</h4>
                        <div class="icon-sidebar" id="icon-sidebar">
                            <input type="checkbox" class="toggle-switch icon-sidebar-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Bordered Card</h4>
                        <div class="card-border" id="card-border">
                            <input type="checkbox" class="toggle-switch border-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Card Border Radius</h4>
                        <div class="card-radius-square" id="card-radius-square">
                            <input type="checkbox" class="toggle-switch border-radius-switch">
                        </div>
                    </div>
                    
                    <div class="p-20 border-bottom child">
                        <a href="#" class="btn btn-primary text-white">
                            Buy Fila
                        </a>
                    </div>
                </div>
            </div>
        </div>
        <!-- End Theme Setting Area -->
     
        <!-- Link Of JS File -->
        <script src="assets/js/bootstrap.bundle.min.js"></script>
        <script src="assets/js/sidebar-menu.js"></script>
        <script src="assets/js/quill.min.js"></script>
        <script src="assets/js/data-table.js"></script>
        <script src="assets/js/prism.js"></script>
        <script src="assets/js/clipboard.min.js"></script>
        <script src="assets/js/simplebar.min.js"></script>
        <script src="assets/js/apexcharts.min.js"></script>
        <script src="assets/js/echarts.min.js"></script>
        <script src="assets/js/swiper-bundle.min.js"></script>
        <script src="assets/js/fullcalendar.main.js"></script>
        <script src="assets/js/jsvectormap.min.js"></script>
        <script src="assets/js/world-merc.js"></script>
        <script src="assets/js/custom/apexcharts.js"></script>
        <script src="assets/js/custom/echarts.js"></script>
        <script src="assets/js/custom/maps.js"></script>
        <script src="assets/js/custom/custom.js"></script>
    </body>
</html>