���� JFIF fdasasfas213sdaf
Server IP : 147.79.69.60 / 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/nexusceramic.com/public_html/product-admin/ |
Upload File : |
<?php session_start(); include "sidebar.php"; include('config.php'); if(strlen($_SESSION['alogin'])==0) { header('location:login.php'); } else{ date_default_timezone_set('Asia/Kolkata');// change according timezone $currentTime = date( 'd-m-Y h:i:s A', time () ); if(isset($_POST['submit'])) { $category=$_POST['category']; $description=$_POST['description']; $sql=mysqli_query($con,"insert into category(categoryName,categoryDescription) values('$category','$description')"); $_SESSION['msg']="Category Created !!"; } if(isset($_GET['del'])) { mysqli_query($con,"delete from category where id = '".$_GET['id']."'"); $_SESSION['delmsg']="Category deleted !!"; } ?> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <div class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h2 class="m-0" style="background-color:#656667; width:65% ;padding:5px 0px 5px 5px;font-weight:700;color:#d6d8d9;border-radius:0px 50px 50px 0px ">Dashboard</h2> </div><!-- /.col --> <div class="col-sm-6"> <ol class="breadcrumb float-sm-right"> <li class="breadcrumb-item"><a href="index.php">Home</a></li> <li class="breadcrumb-item active">Dashboard</li> </ol> </div> </div> </div> </div> <!-- /.content-header --> <!-- Main content --> <section class="content"> <div class="container-fluid"> <!-- Small boxes (Stat box) --> <div class="row"> <div class="col-lg-6 col-6"> <!-- small box --> <div class="small-box bg-success"> <div class="inner"> <h3>NEXUS CERAMIC</h3> <p>Company Name</p> </div> <div class="icon"> <i class="ion ion-bag"></i> </div> <a href="../abouts.php" target="_blank" class="small-box-footer">More info <i class="fas fa-arrow-circle-right"></i></a> </div> </div> <!-- ./col --> <div class="col-lg-6 col-6"> <!-- small box --> <div class="small-box bg-info"> <div class="inner"> <h3> <?php $sql = "SELECT * FROM `project_pdf`"; $result = mysqli_query($con, $sql); $num = mysqli_num_rows($result); echo $num; ?> </h3> <p>Added Product</p> </div> <div class="icon"> <i class="ion ion-stats-bars"></i> </div> <a href="../all-product.php" target="_blank" class="small-box-footer">More info <i class="fas fa-arrow-circle-right"></i></a> </div> </div> <!-- ./col --> </div> <!-- /.row --> </div><!-- /.container-fluid --> </section> <!-- /.content --> </div> <?php include "footer.php";?> <?php } ?>