MMCT TEAM
Server IP : 2a02:4780:11:1017:0:31f1:b895:8  /  Your IP : 216.73.216.163
Web Server : LiteSpeed
System : Linux in-mum-web917.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64
User : u837925013 ( 837925013)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u837925013/domains/tech2wizard.com/public_html/admin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u837925013/domains/tech2wizard.com/public_html/admin/seo.php
<?php 
$page='seo';
$page1='';
include('inc/sidebar.php') ;   
?>


<!-- navbar-wrapper start -->
  <div class="body-wrapper">
    <div class="bodywrapper__inner">
        <div class="row align-items-center mb-30 justify-content-between">
            <div class="col-lg-4 col-sm-6">
                <h6 class="page-title">Pages SEO</h6>
            </div>
            <div class="col-lg-8 col-sm-6 text-sm-right mt-sm-0 mt-3 right-part">
            </div>
        </div>

        <div class="row">
            <div class="col-lg-12">
                <div class="card">
                    <div class="card-body p-0">
                        <div class="table-responsive--md table-responsive">
                            <table id="example" class="table table--light style--two">
                                <thead>
                                    <tr>
                                        <th>SL</th>
                                        <th>Banner</th>
                                        <th>Page Name</th>
                                        <th>Meta Title</th>
                                        <th>Action</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <?php	
                                        $sql= mysqli_query($con, "SELECT * FROM seo WHERE id!=8 AND id!=13 AND id!=19 AND id!=23 AND id!=24 ORDER BY id ASC");
                                        $i=0;
                                        while($data= mysqli_fetch_array($sql))
                                        { $i++; 
                                    ?>
                                    <tr>
                                        <td data-label="SL"><?php echo $i; ?></td>
                                        <td data-label="News"><img src="<?php echo BANNER_SITE_PATH.$data['banner']; ?>"style="width:140px;height:25px;"></td>
                                        <td data-label="News"><?php echo $data['page_name']; ?></td>
                                        <td data-label="News"><?php echo $data['meta_title']; ?></td>
                                        <td data-label="Action">
                                            <a href="seo-add.php?edit=<?php echo $data['id'];?>"type="button" class="icon-btn btn-success">EDIT</a>
                                        </td>
                                    </tr>
                                    <?php } ?>
                                </tbody>
                            </table>
                           
                        </div>
                    </div>
                </div>
            </div>
        </div>

            <div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
                  <div class="modal-dialog" role="document">
                    <div class="modal-content">
                        
                          <div class="modal-header">
                            <h5 class="modal-title" id="exampleModalLabel">Update Category</h5>
                            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                              <span aria-hidden="true">&times;</span>
                            </button>
                          </div>
                          <form method="post" action="" name="datafrm" id="datafrm" enctype="multipart/form-data">
                            <input type="hidden" name="id"id="id" value="" />
                            <div class="modal-body">
                                <div class="form-group">
                                    <label class="form-control-label font-weight-bold">News Title  <span class="text-danger">*</span></label>
                                    <input type="text" class="form-control" placeholder="News Title" value=""id="news" name="name" required="" />
                                </div>
                                <div class="form-group">
                                    <label class="form-control-label font-weight-bold">Link <span class="text-danger">*</span></label>
                                    <input type="url" class="form-control" placeholder="Link" value=""id="link" name="link" required="" />
                                </div>
                                <div class="status"></div>
                            </div>
                            <div class="modal-footer">
                                <input type="submit" name="datafrmSubmit" id="datafrmSubmit"value="Update"class="btn btn--primary w-100">
                            </div>
                        </form>
                    </div>
                  </div>
                </div>

        <div id="cuModal" class="modal fade" tabindex="-1" role="dialog">
            <div class="modal-dialog" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <h5 class="modal-title">Add New Category</h5>
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                            <span aria-hidden="true">×</span>
                        </button>
                    </div>
                    <form method="post" action="" name="datafrm" id="datafrm" enctype="multipart/form-data">
                        <input type="hidden" name="_token" value="NVqMPe0GFAbZmPwzrJyEIWs0pH58bz54XMjcH6Tl" />
                        <div class="modal-body">
                            <div class="form-group">
                                <label class="form-control-label font-weight-bold">News Title <span class="text-danger">*</span></label>
                                <input type="text" class="form-control" placeholder="News Title" value="" name="name" required="" />
                            </div>
                             <div class="form-group">
                                <label class="form-control-label font-weight-bold">Link <span class="text-danger">*</span></label>
                                <input type="text" class="form-control" placeholder="Link" value="" name="link" required="" />
                            </div>
                            <div class="status"></div>
                        </div>
                        <div class="modal-footer">
                            <input type="submit" name="datafrmSubmit" id="datafrmSubmit"value="Submit"class="btn btn--primary w-100">
                        </div>
                    </form>
                </div>
            </div>
        </div>
        
    </div>
    <!-- bodywrapper__inner end -->
</div>
<!-- body-wrapper end -->

    </div>
 
 <!-- body-wrapper end -->
    </div>

<!-- jQuery library -->

<?php include('inc/footer.php') ?>

MMCT - 2023