195 lines
9.4 KiB
PHP
195 lines
9.4 KiB
PHP
<!doctype html>
|
|
<html lang="en" data-layout="vertical" data-topbar="light" data-sidebar="dark" data-sidebar-size="lg"
|
|
data-sidebar-image="none" data-preloader="disable">
|
|
|
|
|
|
<!-- Mirrored from themesbrand.com/velzon/html/default/ by HTTrack Website Copier/3.x [XR&CO'2014], Thu, 23 Mar 2023 12:52:34 GMT -->
|
|
|
|
<head>
|
|
|
|
<?php include 'link/links.php'?>
|
|
|
|
</head>
|
|
<!-- Begin page -->
|
|
<div id="layout-wrapper">
|
|
|
|
<?php include 'common_file/header.php'?>
|
|
<!-- removeNotificationModal -->
|
|
|
|
<!-- ========== App Menu ========== --
|
|
<--?php include 'common_file/sidebar.php'?>-->
|
|
<!-- Left Sidebar End -->
|
|
<!-- Vertical Overlay-->
|
|
<div class="vertical-overlay"></div>
|
|
|
|
<!-- ============================================================== -->
|
|
<!-- Start right Content here -->
|
|
<!-- ============================================================== -->
|
|
</div>
|
|
|
|
<div class="main-content">
|
|
|
|
<div class="page-content">
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<div class="page-title-box d-sm-flex align-items-center justify-content-between">
|
|
<h4 class="mb-sm-0">Tournament Management</h4>
|
|
|
|
<div class="page-title-right">
|
|
<ol class="breadcrumb m-0">
|
|
<li class="breadcrumb-item"><a href="<?php echo base_url('dashboard')?>">Home</a>
|
|
</li>
|
|
<li class="breadcrumb-item active">Tournament Management</li>
|
|
</ol>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="col-md-12">
|
|
<?php if ($this->session->flashdata('error')): ?>
|
|
<div class="alert alert-danger">
|
|
<?php echo $this->session->flashdata('error'); ?>
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
<?php if ($this->session->flashdata('success')): ?>
|
|
<div class="alert alert-success">
|
|
<?php echo $this->session->flashdata('success'); ?>
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
<div class="row">
|
|
<div class="col-xl-12">
|
|
<div class="card">
|
|
<div class="card-header align-items-center d-flex">
|
|
<h4 class="card-title mb-0 flex-grow-1">Tournament Management</h4>
|
|
<div class="flex-shrink-0">
|
|
<!-- <div class="form-check form-switch form-switch-right form-switch-md">
|
|
<label for="responsive-table-showcode" class="form-label text-muted">Show
|
|
Code</label>
|
|
<input class="form-check-input code-switcher" type="checkbox"
|
|
id="responsive-table-showcode">
|
|
</div> -->
|
|
<div class="d-flex align-items-center gap-2">
|
|
<button data-bs-toggle="modal" data-bs-target="#adddeals"
|
|
class="btn btn-primary btn-sm"><i
|
|
class="ri-add-fill align-bottom me-1"></i>
|
|
Add
|
|
Tournament</button>
|
|
<div class="search-box">
|
|
<input type="search" class="form-control search-input form-control-sm "
|
|
id=" searchMemberList" placeholder="Search here..."
|
|
data-table="table_list">
|
|
<i class="ri-search-line search-icon"></i>
|
|
</div>
|
|
</div>
|
|
<!-- <div id="example3_filter" class="dataTables_filter" style="float:right;">
|
|
<label>
|
|
<input id="abc" type="search" placeholder="Search"
|
|
class=" form-control search-input form-control-sm mt-2"
|
|
aria-controls="example3" data-table="table_list"></label>
|
|
</div> -->
|
|
</div>
|
|
</div><!-- end card header -->
|
|
|
|
<div class="card-body">
|
|
<!-- <p class="text-muted">Use <code>table-responsive</code> class to make any table
|
|
responsive across all viewports. Responsive tables allow tables to be scrolled
|
|
horizontally with ease.</p> -->
|
|
<div class="live-preview">
|
|
<div class="table-responsive">
|
|
<table
|
|
class="table align-middle table-bordered table-sortable table-nowrap mb-0 table_list">
|
|
<thead class="table-light">
|
|
|
|
<tr>
|
|
|
|
<th scope="col">Sr.No.</th>
|
|
<th scope="col">Tournament Name</th>
|
|
|
|
<th scope="col">Entry Fee</th>
|
|
<th scope="col">Start Date</th>
|
|
<th scope="col">End Date</th>
|
|
<th scope="col">Win Amount</th>
|
|
<th scope="col">Time Slot</th>
|
|
|
|
<th scope="col">Participants</th>
|
|
|
|
<th scope="col">Round</th>
|
|
|
|
<!-- <th scope="col">Participants</th> -->
|
|
|
|
|
|
<th scope="col">Action</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-light" id="close-modal"
|
|
data-bs-dismiss="modal">Close</button>
|
|
<!-- <button type="submit" class="btn btn-success">
|
|
Update</button> -->
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!---
|
|
update tournament form
|
|
-->
|
|
|
|
<!-- application/views/update_tournament.php -->
|
|
|
|
<!-- Your previous HTML content -->
|
|
|
|
<!-- Edit Form Modal -->
|
|
<!--<div class="modal fade" id="edittournament_<--?php echo $i; ?>" tabindex="-1" aria-labelledby="exampleModalLabel" aria-modal="true" role="dialog">-->
|
|
|
|
|
|
<!-- update tournament update end-->
|
|
<!-- edit -->
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
<p id="table_list" class="text-warning">No matching records found
|
|
</p>
|
|
<div class="d-flex justify-content-end mt-4">
|
|
<?php echo $this->pagination->create_links(); ?>
|
|
</div>
|
|
<!-- end table -->
|
|
</div>
|
|
|
|
<!-- end table responsive -->
|
|
</div>
|
|
|
|
</div><!-- end card-body -->
|
|
</div><!-- end card -->
|
|
</div><!-- end col -->
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|