���� JFIF fdasasfas213sdaf
Server IP : 147.79.69.148 / Your IP : 216.73.216.200 Web Server : LiteSpeed System : Linux in-mum-web669.main-hosting.eu 5.14.0-503.23.2.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 12 05:52:18 EST 2025 x86_64 User : u479334040 ( 479334040) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/u479334040/domains/saumasale.in/public_html/admin/ |
Upload File : |
<?php session_start(); if(empty($_SESSION['logged_in_id'])){ header('Location:login.php'); } include_once('includes/db.php'); $ob = new database(); include('function.php'); head(); ?> <div class="content-wrapper"> <!-- Main content --> <section class="content mt-2"> <div class="container-fluid"> <div class="row"> <div class="col-12"> <div class="card"> <div class="card-header"> <h2 class="card-title">Products</h2> <a href="#" class="btn btn-success btn-sm btn-icon icon-left success_button float-right" data-toggle="modal" data-target="#add_new_product"> <i class="fas fa-plus"></i> Add Product </a> </div> <!-- /.card-header --> <div class="card-body"> <table id="example1" class="table table-bordered table-striped"> <thead> <tr> <th>S no.</th> <th>Title</th> <th>Price</th> <th>Description</th> <th>Image</th> <th style="min-width: 170px;">Action</th> </tr> </thead> <tbody id="show_product" class="show_product"></tbody> </table> </div> <!-- /.card-body --> </div> <!-- /.card --> </div> <!-- /.col --> </div> <!-- /.row --> </div> <!-- /.container-fluid --> </section> <!-- /.content --> </div> <div class="modal fade mt-3" id="add_new_product"> <div class="modal-dialog modal-lg"> <div class="modal-content"> <div class="modal-header mymodel-header"> <h4 class="modal-title mymodel-title">Add Product</h4> <button type="button" class="mymodel-button close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <form> <div class="modal-body"> <div class="form-group"> <input type="text" name="title" id="title" class="form-control txt" placeholder="Title" required /> </div> <div class="form-group"> <input type="text" name="price" id="price" class="form-control txt" placeholder="Price" required /> </div> <div class="form-group"> <textarea id="summernote" name="description"> Description <strong>here</strong> </textarea> </div> <div class="form-group file btn btn-lg btn-primary"> <label for="image">Choose Image: </label> <input type="file" name="image"> </div> </div> <div class="modal-footer"> <div class="form-group"> <input type="reset" name="reset" class="btn btn-danger boton" /> <input type="submit" name="submit" class="btn btn-success boton" /> </div> <input type="hidden" name="command" value="do_add_product" /> <input type="hidden" name="ajax" value="add_product" /> </div> </form> </div> <!-- /.modal-content --> </div> <!-- /.modal-dialog --> </div> <div class="modal fade mt-3" id="myuser"> <div class="modal-dialog modal-lg"> <div class="modal-content"> <div class="modal-header mymodel-header"> <h4 class="modal-title mymodel-title">Edit Product</h4> <button type="button" class="mymodel-button close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="product_edit"></div> </div> </div> </div> <?php foter(); ?>