X7ROOT File Manager
Current Path:
/home/bmglobalcareers/public_html/ktgadmin
home
/
bmglobalcareers
/
public_html
/
ktgadmin
/
📁
..
📄
about.php
(9.2 KB)
📄
appointment_details.php
(6.5 KB)
📄
appointments_block_dates.php
(9.51 KB)
📄
banner_images.php
(11 KB)
📄
banner_update.php
(8.22 KB)
📄
category_update.php
(5.73 KB)
📄
clients.php
(11.39 KB)
📄
clients_update.php
(8.28 KB)
📄
counselling.php
(10.78 KB)
📄
counselling_appointments.php
(9.88 KB)
📄
counselling_appointments_date.php
(8.55 KB)
📄
counselling_appointments_date_update.php
(6.27 KB)
📄
counselling_timings.php
(11.05 KB)
📁
css
📄
dashboard.php
(13.27 KB)
📄
designation_details.php
(5.24 KB)
📄
designation_details_update.php
(7.57 KB)
📄
event_images.php
(10.48 KB)
📄
event_update.php
(8.09 KB)
📄
events_details.php
(11.15 KB)
📄
footer.php
(1.25 KB)
📄
gallery.php
(11.05 KB)
📄
gallery_update.php
(7.96 KB)
📄
header.php
(4.43 KB)
📄
index.php
(4.27 KB)
📄
join_our_community.php
(10.46 KB)
📄
join_our_community_update.php
(8.26 KB)
📁
js
📁
media
📄
meta_details.php
(10.37 KB)
📄
meta_details_update.php
(7.59 KB)
📄
news_update.php
(8.89 KB)
📁
phpservices
📁
phpspreadsheet
📄
portfolio.php
(8 KB)
📄
portfolio_multi_images.php
(9.29 KB)
📄
process_details.php
(11 KB)
📄
process_update.php
(8.22 KB)
📄
service_update.php
(7.83 KB)
📄
services.php
(10.62 KB)
📄
services_new.php
(6.99 KB)
📄
sessionservices.php
(4.98 KB)
📄
settings.php
(19.05 KB)
📁
social_media
📄
social_media.php
(11.68 KB)
📄
social_media_delete.php
(555 B)
📄
social_media_update.php
(8.65 KB)
📄
team_details.php
(11.38 KB)
📄
team_update.php
(8.19 KB)
📁
temp
📄
testimonals.php
(11.3 KB)
📄
testimonals_update.php
(8.39 KB)
📄
update_appointme1nts.php
(19.98 KB)
📄
update_appointments.php
(22.11 KB)
📄
update_portfolio.php
(6.27 KB)
📁
userdata
📁
vendors
📄
video_details.php
(16.41 KB)
📄
video_update.php
(17.93 KB)
📄
youtube_details.php
(11.5 KB)
📄
youtube_update.php
(13.63 KB)
Editing: youtube_details.php
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>BM Global Careers</title> <!-- begin::global styles --> <link rel="stylesheet" href="vendors/bundle.css" type="text/css"> <!-- end::global styles --> <!-- begin::datepicker --> <link rel="stylesheet" href="vendors/datepicker/daterangepicker.css"> <link rel="stylesheet" href="vendors/dataTable/responsive.bootstrap.min.css" type="text/css"> <!-- begin::datepicker --> <!-- begin::vmap --> <link rel="stylesheet" href="vendors/vmap/jqvmap.min.css"> <!-- begin::vmap --> <!-- begin::custom styles --> <link rel="stylesheet" href="css/app.min.css" type="text/css"> <link rel="stylesheet" href="css/custom.css" type="text/css"> <link rel="stylesheet" href="css/themify-icons.css" type="text/css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <link href="css/editor.css" type="text/css" rel="stylesheet"/> <!-- end::custom styles --> </head> <body> <?php include('sessionservices.php'); ?> <!-- begin::page loader--> <div class="page-loader"> <div class="spinner-border"></div> <span>Loading ...</span> </div> <!-- end::page loader --> <?php echo $header;?> <!-- begin::main content --> <main class="main-content"> <div class="container-fluid"> <div class="page-header d-md-flex justify-content-between align-items-center"> <h4>Youtube videos Details</h4> </div> </div> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-body"> <form id="mainform" method="POST" action="" enctype="multipart/form-data"> <div class="row"> <div class="col-md-3"> <div class="form-group"> <label>Title : </label> <input type="text" class="form-control" id="title" name="title" placeholder="Enter Title"> </div> </div> <div class="col-md-3"> <div class="form-group"> <label>Link : </label> <input type="text" class="form-control" id="link" name="link" placeholder="Enter Link"> </div> </div> <!-- <div class="col-md-3"> <div class="form-group"> <label>Send Notication : </label> <input type="checkbox" class="form-control" id="send_notification" name="send_notification" value="1" placeholder="Enter"> </div> </div> --> <div class="col-md-3 text-center"> <div class="form-group"> <button type="button" name="submit" id="submit" class="btn btn-success" style="font-weight:bold;text-align:center">Save</button> </div> </div> <div class="col-md-3"> <div class="form-group"> <span id="msg" style="font-weight:bold;margin-top:12px;"></span> </div> </div> </div> </form> </div> </div> <div class="card"> <div class="card-body"> <table id="detailsgrid" class="table table-striped table-bordered" width="100%" cellspacing="0"> <thead> <tr> <th>S.no</th> <!-- <th>Category</th> --> <th>Title</th> <th>Link</th> <th>Last Update</th> <th>Action</th> </tr> </thead> <tbody> <?php $sql = "SELECT t2.*,date_format(t2.create_date,'%d/%m/%Y %H:%i:%s') as create_date,date_format(t2.update_date,'%d/%m/%Y %H:%i:%s') as update_date FROM tbl_youtube_details t2 WHERE t2.delete_status='NDL' order by vcat_dt_id desc"; $exec_sql=mysqli_query($conn,$sql); $i=1; while($fetch_sql=mysqli_fetch_array($exec_sql)) { ?> <tr> <td><?php echo $i; ?></td> <!-- <td><?php echo str_replace("^","'",$fetch_sql['cattitle']); ?></td> --> <td><?php echo str_replace("^","'",$fetch_sql['title']); ?></td> <td><?php echo $fetch_sql['url']; ?></td> <?php if($fetch_sql['update_date']!=''){ ?> <td><a href="javascript:void(0)" class="badge badge-primary" style="color:#fff"><?php echo $fetch_sql['update_date']; ?></a></td> <?php } else{ ?> <td><a href="javascript:void(0)" class="badge badge-primary" style="color:#fff"><?php echo $fetch_sql['create_date']; ?></a></td> <?php } ?> <td><div class="btn-group" role="group" aria-label="Basic example"> <a href="youtube_update.php?id=<?php echo $fetch_sql['vcat_dt_id']; ?>" > <button type="button" class="btn btn-success" style="padding:3px 5px;margin-right:5px"> <i class="fa fa-edit" style="color: #fff;padding: 3px;margin: 0;font-size: 20px;"></i> </button> </a> <a href="javascript:void(0)" class="deleteTriger" data-value="<?php echo $fetch_sql['vcat_dt_id']; ?>"> <button type="button" class="btn btn-danger" style="padding:3px 5px;"> <i class="fa fa-trash" style="color: #fff;padding: 3px;margin: 0;font-size: 20px;"></i> </button> </a> </div> </td> </tr> <?php $i++; } ?> </tbody> </table> </div> </div> </div> </div> </main> <button type="button" class="btn btn-success sweet-delete" style="display:none"></button> <button type="button" class="btn btn-success sweet-insert" style="display:none"></button> <button type="button" class="btn btn-success sweet-update" style="display:none"></button> <div class="modal fade" id="exampleModalCenter" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalCenterTitle">Category Details</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <div class="row"> <div class="col-md-12"> <form id="catform" method="POST" action="" enctype="multipart/form-data"> <div class="row"> <div class="col-md-6"> <div class="form-group" style="text-align:left;"> <input type="text" class="form-control" id="cat_name" name="cat_name" placeholder="Enter Category Name"> </div> </div> <input type="hidden" id="cat_req" name="req"> <input type="hidden" id="upd_cat_id" name="upd_cat_id"> <div class="col-md-6"> <div class="form-group" style="text-align:left;"> <button type="submit" name="submit" id="cat_submit" class="btn btn-success">Save</button> </div> </div> <div class="col-md-12"> <div class="form-group"> <span id="cat_msg" style="font-weight:bold"></span> </div> </div> </div> </form> <hr/> <table id="catgrid" class="table table-striped table-bordered" width="100%" cellspacing="0"> <thead> <tr> <th>S.no</th> <th>Category</th> <th>Last Update</th> <th>Action</th> </tr> </thead> </table> </div> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-secondary" data-dismiss="modal">Close </button> </div> </div> </div> </div> <script src="vendors/bundle.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> <script src="js/editor.js"></script> <!-- end::global scripts --> <script src="vendors/dataTable/jquery.dataTables.min.js"></script> <script src="vendors/dataTable/dataTables.bootstrap4.min.js"></script> <script src="vendors/dataTable/dataTables.responsive.min.js"></script> <script src="js/examples/datatable.js"></script> <!-- begin::charts --> <script src="vendors/charts/chartjs/chart.min.js"></script> <script src="vendors/charts/peity/jquery.peity.min.js"></script> <script src="js/examples/charts/chartjs.js"></script> <script src="js/examples/charts/peity.js"></script> <!-- end::charts --> <!-- begin::daterangepicker --> <script src="vendors/datepicker/daterangepicker.js"></script> <script src="js/examples/datepicker.js"></script> <!-- end::daterangepicker --> <!-- begin::dashboard --> <script src="js/examples/dashboard.js"></script> <!-- end::dashboard --> <!-- begin::vamp --> <script src="vendors/vmap/jquery.vmap.min.js"></script> <script src="vendors/vmap/maps/jquery.vmap.usa.js"></script> <script src="js/examples/vmap.js"></script> <!-- end::vamp --> <!-- begin::custom scripts --> <script src="js/custom.js"></script> <script src="js/app.min.js"></script> <script src="js/examples/sweet-alert.js"></script> <!-- end::custom scripts --> </body> <style> @media(min-width:992px){ .navbar-nav{ display:block!important; width:100%; } .userdiv{ float:right; } #submit{ margin-top:32px; } } @media(max-width:480px){ nav.navbar .header-logo a img{ width:180px; } } </style> <script> $(document).ready(function(){ $("#detailsgrid").dataTable({"responsive":true}); $("#submit").click(function(e){ e.preventDefault(); if($("#link").val()==''){ $("#msg").css("color","red").html('* Enter Link'); setTimeout(function(){$("#msg").html('')},3000); return false; } else{ $("#msg").css("color","green").html("Processing . . ."); $.ajax({ type: "POST", url: "phpservices/add_youtube.php", dataType:'json', data: $("#mainform").serialize(), success: function(result) { console.log(result.op); if(result.op==1){ $("#msg").css("color","green").html("Successfully Saved !"); setTimeout(function(){ location.reload(); },1500); } else{ $("#msg").html(result.op); } },error:function(xhr,status,error){ console.log(JSON.stringify(xhr,status,error)); } }); } }); $(document).on('click','.deleteTriger', function(){ var delid=$(this).data('value'); var alertmsg=confirm("Do you want to Delete ?"); if (alertmsg == true) { $.ajax({ type: "POST", url: "phpservices/youtube_delete.php", dataType:'json', data: {delid:delid}, success: function(result) { if(result.op==1){ alert("Successfully Deleted"); location.reload(); } else{ $("#msg").html(result.op); } },error:function(xhr,status,error){ console.log(JSON.stringify(xhr,status,error)); } }); } }); }); </script> </html>
Upload File
Create Folder