File "customOrder.php"

Full Path: /home/krishnamexports/public_html/panel/common/customOrder.php
File size: 3.04 KB
MIME-type: text/html; charset=us-ascii
Charset: utf-8

<div class="col-lg-12 grid-margin stretch-card">

  <div class="card">

    <div class="card-body">            	

        <h4 class="card-title">Custom Order List</h4>        

        <div class="table-responsive">

                    <table class="table table-striped">

                      <thead>

                            <tr>

                                <th width="13%">Order Date</th>

                                <th width="13%">Name</th>                                                               

                                <th width="30%">Email</th>

                                <th width="30%">Mobile</th>

                                <th width="30%">Jewellery Type</th>                                

                                <th width="15%">ACTION</th>                                                    

                            </tr>                                               		

                      </thead>

                      <tbody>

                      <?php						

                        $sqlBusiness = mysqli_query($cn,"select * from `tbl_custom_order` order by `id` DESC ");

                        while($sqlBusinessData = mysqli_fetch_array($sqlBusiness))

                        {?>

                            <tr>                                

                                <td><?php echo date('d M, Y',strtotime($sqlBusinessData['date']));?></td>

                                <td style="text-align:center;"><a href="javascript:void(0);"><?php echo $sqlBusinessData['name'];?></a></td>                                                                

                                <td><?php echo $sqlBusinessData['email'];?></td>                    

                                <td><?php echo $sqlBusinessData['isd_code'].$sqlBusinessData['phone'];?></td>

                                <td><?php echo $sqlBusinessData['jewellery_type'];?></td>                                

                                <td><a href="home.php?pages=customOrderDetail&id=<?php echo $sqlBusinessData['id'];?>" class="btn btn-primary btn-labeled btn-labeled-left" target="_blank"><b><i class="icon-printer4 "></i></b> View Detail</a></span></td>                                

                            </tr>

                        <?php }?>

                      </tbody>

                    </table>

          		</div>

    </div>                

  </div>

</div>

<style>

.nav-tabs .nav-link {

    border: 1px solid transparent;

    border-top-left-radius: 0.15rem;

    border-top-right-radius: 0.15rem;

}

.nav-link {

    display: block;

    padding: 1rem 0.5rem;

}

.form-check .form-check-label {

    font-size: 13px;

    line-height: 1.9;

}

.form-check .form-check-label input:checked + .input-helper::after {

    width: 18px;

    opacity: 1;

    line-height: 0px;

    filter: alpha(opacity=100);

    -webkit-transform: scale(1);

    -ms-transform: scale(1);

    -o-transform: scale(1);

    transform: scale(1);

}

</style>