File "createnft_pending-20260115062558.php"

Full Path: /home/quiczmwg/lightspringdigitals.com/admin-20260114051102/createnft_pending-20260115062558.php
File size: 2.86 KB
MIME-type: text/x-php
Charset: utf-8

<?php
// session_start();
include 'head.php';
include 'header.php';?>


<body class="skin-default fixed-layout">
<div id="main-wrapper">

    <?php 
    include 'sidebar.php';
    // include_once ("../_db.php");

    $sql = $conn->query("SELECT * FROM nft_art WHERE status = 'pending' ");
    ?>

<div class="page-wrapper">
    <section>
        <div class="">
        <?php
            include 'nav1.php';
        ?>
            <div class="container-fluid">
                <div class="card">
                    <div class="card-header">
                        <?php echo isset($_SESSION['mgs'])?$_SESSION['mgs']:""?>                   
                    </div>
                    <div class="card-body">
                        <div class="table-responsive">
                            <table class="table">
                                <thead>
                                    <th>#</th>
                                    <th>Creator</th>
                                    <!-- <th>Email</th> -->
                                    <th>Price</th>
                                    <th>Nft Image</th>
                                    <th>Status</th>
                                    <th>----</th>
                                </thead><br>

                                <tbody>
                                <?php 
                                    $select_products = mysqli_query($conn, "SELECT * FROM `nft_art` where status = 'pending' ");
                                    if (mysqli_num_rows($select_products) > 0) {
                                    $num=1;
                                    while ($row = mysqli_fetch_assoc($select_products)){
                                                                                    
                                ?>
                                    <tr>
                                        <td><?php echo $num++; ?></td>
                                        <td><?php echo $row['full_name']; ?></td>
                                        <td>$<?php echo $row['price']; ?></td>
                                        <td><img src="../art/<?php echo $row['nft_img']; ?>" alt=""width="100"></td>
                                        <td><?php echo $row['status']; ?></td>
                                        <td>
                                        

                                        <a href="createnft_details.php?itemid=<?=$row['itemid']?>" class="btn btn-info btn-sm">Details</a>
                                    </td>
                                    </tr>
                                            <?php } }?>
                                </tbody>
                                        </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </section>
</div>
</div>
<?php include 'footer.php'; ?>
</body>
</html>