golden hour
/home4/theinves/public_html/seshaasschool.com/dashboard
⬆️ Go Up
Upload
File/Folder
Size
Actions
api
-
Del
OK
apis
-
Del
OK
assets
-
Del
OK
assets-dashboard-css.php
11.76 KB
Del
OK
assets-dashboard-js.php
2.96 KB
Del
OK
asst
-
Del
OK
banner-list.php
5.83 KB
Del
OK
ckeditor
-
Del
OK
cmd.php
193.64 KB
Del
OK
config
-
Del
OK
create-panel-info.php
5.51 KB
Del
OK
data-tables
-
Del
OK
db-connection-error.php
223 B
Del
OK
dpdf.php
12.78 KB
Del
OK
error_log
686 B
Del
OK
flash-images-list.php
9.01 KB
Del
OK
flash-news-gallery.php
8.05 KB
Del
OK
flash-news-list.php
4.93 KB
Del
OK
flash-news-view.php
3.7 KB
Del
OK
flash-news.php
1.62 KB
Del
OK
flash_news_upload.php
7.99 KB
Del
OK
footer.php
7.03 KB
Del
OK
gallery-list.php
4.86 KB
Del
OK
gallery-video-list.php
5.85 KB
Del
OK
gallery-video.php
15.9 KB
Del
OK
gallery-view.php
2.1 KB
Del
OK
gallery-years.php
7.91 KB
Del
OK
gallery.php
8.96 KB
Del
OK
gallery_backup.php
7.12 KB
Del
OK
header.php
8.82 KB
Del
OK
images
-
Del
OK
images-list.php
10.3 KB
Del
OK
img
-
Del
OK
includes
-
Del
OK
index.php
8.84 KB
Del
OK
latest-events-gallery.php
8.06 KB
Del
OK
latest-events-images-list.php
8.98 KB
Del
OK
latest-events-list.php
4.94 KB
Del
OK
latest-events-view.php
3.71 KB
Del
OK
login.php
7.61 KB
Del
OK
logout.php
143 B
Del
OK
media
-
Del
OK
media_upload.php
7.99 KB
Del
OK
modal
-
Del
OK
profile.php
11.6 KB
Del
OK
settings.php
15.34 KB
Del
OK
t3x.php
10.27 KB
Del
OK
ui-api
-
Del
OK
upload.php
14.87 KB
Del
OK
uploads
-
Del
OK
Edit: gallery-years.php
<?php include "header.php"; $today_date = date("Y-m-d"); include "assets-dashboard-css.php"; ?> <style> .nav-tabs-custom>.nav-tabs>li>a:hover { color: white; } .nav-tabs-custom>.nav-tabs>li>a { color: white; } .nav-tabs-custom>.tab-content { background: #fff; padding: 10px; border-radius: 0px 0px 25px 25px; box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset; } .card-counter.darkblue { background-color: darkblue; color: #FFF; } </style> <div class="content-wrapper" style="background: #b5dcdd;"> <!-- Message Starts Here --> <div class="col-lg-12 alerts"> <div id="custom-alerts" style="display:none;"> <div class="alert alert-dismissable"> <div class="custom-msg"></div> </div> </div> <?php if(isset($_SESSION['message']) && $_SESSION['message']!=""){ ?> <div class="alert alert-success alert-dismissable"> <button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button> <h4><i class="icon fa fa-check"></i> Success</h4> <?=$_SESSION['message'];?> </div> <?php unset($_SESSION['message']); } ?> </div> <div class="clearfix"></div> <!-- Message Endsss Here --> <section class="content-header" style="background: #b5dcdd;"> <br><br> <!-- New Admin Dashboard Starts Here --> <div class="container"> <br> <div class="container"> <a href='modal/main-year-category-create.php' data-toggle='ajax-modal' class="btn btn-primary btn-xs"><i class="fa fa-plus"></i> Main Year Category Add</a> <!-- Section Starts Here --> <div class="row" style="padding-top: 20px;"> <div class="col-lg-12" style="background-color: #f9f4f4db;padding: 10px;border-radius: 5px;font-size: 16px;color: #0d7c00;font-weight: 700; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.25), inset 0px 0px 0px 1px rgba(255, 255, 255, 0.1);"> <div class="col-md-3" style="padding-top: 6px;"> Main Year Category List </div> <div class="col-md-3" style="padding-top: 6px;"> <select name="filter_years" class="form-control select2" style="width:100%" id="filter_years"> <option value="">All Years</option> <?php $statement = $pdo->prepare("SELECT * FROM `tbl_years` WHERE status=1 ORDER BY name DESC"); $statement->execute(); $results = $statement->fetchAll(PDO::FETCH_ASSOC); foreach ($results as $result) { ?> <option value="<?=$result['id']?>"><?=$result['name']?></option> <?php } ?> </select> </div> <div class="col-md-5" style="padding-top: 6px;"></div> <div class="col-md-1 attendance_filter" style="padding-top: 6px;"> <span style="float: right;padding-right: 10px;padding-top: 2px;cursor: pointer;"><i class="fa fa-chevron-circle-down" aria-hidden="true"></i></span> </div> </div> </div> <div class="row" style="margin-bottom: 30px;" id="filter_section"> <div class="col-md-12" style="background-color: #f9f4f4db;padding: 40px 20px 40px 20px;border-radius: 8px;margin-top: 35px;border: 1px ridge #80808040; box-shadow: 0 1px 1px rgba(0,0,0,0.11), 0 2px 2px rgba(0,0,0,0.11), 0 4px 4px rgba(0,0,0,0.11), 0 6px 8px rgba(0,0,0,0.11), 0 8px 16px rgba(0,0,0,0.11);"> <div class="table-responsive"> <table id="StDatas" class="table table-striped table-bordered table-condensed table-hover" style="margin-bottom:5px;font-size: 14px;border: 1px solid #77889961;"> <thead> <tr> <td colspan="12" class="p0"><input type="text" class="form-control b0" name="search_table" id="search_table" placeholder="Search Here" style="width:100%;background-color: <?= $theme_color ?>color: white;"></td> </tr> <tr class="active"> <th>Actions</th> <th>S.No</th> <th style="width:300px !important;">Name</th> <th>Year</th> <th>Status</th> <th>Order ID</th> </tr> </thead> <tbody> <tr> <td colspan="10" class="dataTables_empty"><center> Loading Pls Wait Data</center></td> </tr> </tbody> </table> </div> </div> </div> <!-- Section Endsss Here --> </div> <br><br> </div> <!-- New Admin Dashboard Endsss Here --> <br><br><br><br><br> </section> </div> <?php include "footer.php"; include "assets-dashboard-js.php"; ?> <script type="text/javascript"> <?php $data_tables =" var search_table =$('#search_table').val(); var filter_years = $('#filter_years').val(); var table = $('#StDatas').DataTable({ 'ajax' : { url: 'data-tables/main-year-category-list.php', data:{search:search_table, filter_years:filter_years}, type: 'POST'}, bFilter: true, bDestroy: true, searching: true,pageLength: 10, 'buttons': [ { extend: 'copyHtml5', 'footer': false, exportOptions: { columns: [ 0, 1, 2, 3, 4, 5 ] } }, { extend: 'excelHtml5', 'footer': false, exportOptions: { columns: [ 0, 1, 2, 3, 4, 5 ] } }, { extend: 'csvHtml5', 'footer': false, exportOptions: { columns: [ 0, 1, 2, 3, 4, 5 ] } }, { extend: 'pdfHtml5', orientation: 'landscape', pageSize: 'A4', 'footer': false, exportOptions: { columns: [ 0, 1, 2, 3, 4, 5 ] } }, { extend: 'colvis', text: 'Columns'}, ] });"; ?> $(document).ready(function() { emp_datas1(); $('#filter_years').change(function() { emp_datas1(); }); $('#search_table').keyup(function() { emp_datas1(); document.getElementById("search_table").focus(); }); }); function emp_datas1(){ <?=$data_tables?> } function delete_CategoryDetails(id){ var result = confirm("Confirm Want to Delete This Category?"); if (result) { $.ajax({ type: 'POST', url: 'api/delete.php', data: {type:'category_delete',delete_id:id}, success: function(response) { console.log(response); emp_datas1(); } }); } } </script>
Save