<main class="container">
    <div class="logo">
        <img src="<?php echo ftab("logo_web", "web_setting", "logo_web"); ?>" class="img-fluid" alt="logo rtp">
    </div>

   <!-- Slider main container -->
    <div class="slider-wrapper rounded-top shadow">
        <div class="running-text">
            <marquee scrollamount="3" direction="left"><?php echo ftab("pengumuman_web", "web_setting", "pengumuman_web"); ?></marquee>
        </div>
    <div class="swiper slider">
  <!-- Additional required wrapper -->
  <div class="swiper-wrapper">
    <!-- Slides -->

    <?php
        $sslide = "SELECT sliders FROM img_sliders";
        $qslide = mysqli_query($data, $sslide);
        $b = 0;
        if(mysqli_num_rows($qslide) > 0) {
            while($fslide = mysqli_fetch_assoc($qslide)) {
                $slideimg = $fslide['sliders'];
                
                echo '<div class="swiper-slide">
                <img src="'.$slideimg.'" loading="lazy" class="slider-img rounded" alt="slider '.$b++.'">
                <div class="swiper-lazy-preloader"></div>
            </div>';
            }
        }
        
      ?>

  </div>

</div>
    </div>

    <div class="row g-0">
        <div class="col d-grid">
            <button onclick='location.href="<?php echo ftab("link_daftarbo", "web_setting", "link_daftarbo"); ?>";' class="btn-credit">LOGIN</button>
        </div>

        <div class="col d-grid">
            <button onclick='location.href="<?php echo ftab("link_daftarbo", "web_setting", "link_daftarbo"); ?>";' class="btn-credit">DAFTAR</button>
        </div>

    </div>

<div class="icon-prov g-1">

<div class="item-prov">
        <div onclick="linkProv('idn')" class="icon-card-bg">
            <div class="p-2">
                <img src="images/icons/idn.png" class="img-prov" alt="img proviider">
            </div>

            <div class="p-2">
                <p>IDN Slot</p>
            </div>
        </div>
    </div>

    <div class="item-prov">
        <div onclick="linkProv('pp')" class="icon-card-bg">
            <div class="p-2">
                <img src="images/icons/pp.png" class="img-prov" alt="img proviider">
            </div>

            <div class="p-2">
                <p>Pragmatic Play</p>
            </div>
        </div>
    </div>

    <div class="item-prov">
        <div onclick="linkProv('pg')" class="icon-card-bg">
            <div class="p-2">
                <img src="images/icons/pg.png" class="img-prov" alt="img proviider">
            </div>

            <div class="p-2">
                <p>PG Soft</p>
            </div>
        </div>
    </div>

    <div class="item-prov">
        <div onclick="linkProv('hb')" class="icon-card-bg">
            <div class="p-2">
                <img src="images/icons/hb.png" class="img-prov" alt="img proviider">
            </div>

            <div class="p-2">
                <p>Habanero</p>
            </div>
        </div>
    </div>

    <div class="item-prov">
        <div onclick="linkProv('gmw')" class="icon-card-bg">
            <div class="p-2">
                <img src="images/icons/gmw.png" class="img-prov" alt="img proviider">
            </div>

            <div class="p-2">
                <p>GMW</p>
            </div>
        </div>
    </div>

    <div class="item-prov">
        <div onclick="linkProv('tg')" class="icon-card-bg">
            <div class="p-2">
                <img src="images/icons/tg.png" class="img-prov" alt="img proviider">
            </div>

            <div class="p-2">
                <p>Top Trend</p>
            </div>
        </div>
    </div>

    <div class="item-prov">
        <div onclick="linkProv('mg')" class="icon-card-bg">
            <div class="p-2">
                <img src="images/icons/mg.png" class="img-prov" alt="img proviider">
            </div>

            <div class="p-2">
                <p>Micro Gaming</p>
            </div>
        </div>
    </div>


    <div class="item-prov">
        <div onclick="linkProv('nolimit')" class="icon-card-bg">
            <div class="p-2">
                <img src="images/icons/nolimit.png" class="img-prov" alt="img proviider">
            </div>

            <div class="p-2">
                <p>Nolimit</p>
            </div>
        </div>
    </div>

    <div class="item-prov">
        <div onclick="linkProv('playstar')" class="icon-card-bg">
            <div class="p-2">
                <img src="images/icons/playstar.png" class="img-prov" alt="img proviider">
            </div>

            <div class="p-2">
                <p>Playstar</p>
            </div>
        </div>
    </div>


</div>

<div class="bg-theme">
  
<div class="d-flex justify-content-between">
<div class="mt-3">
<h6><i class="lni text-warning lni-timer"></i> Update RTP: <?php echo dayindo(); ?>, <?php echo date("d"); ?> <?php echo bulanindo(); ?> <?php echo date("Y"); ?></h6>
</div>

<div class="my-2">
    <button onclick="darkMode()" id="btn-colorscheme" class="btn btn-sm btn-light"><i id="icon-colorscheme" class="lni lni-sun"></i></button>
</div>

</div>

<div class="row justify-content-center g-1">
    
    <?php
    $dirname = $_SERVER['DOCUMENT_ROOT']."/images/games/";
    $imgdir = glob($dirname.'*.{jpg,webp,png,gif}', GLOB_BRACE);
    $daftar = ftab("link_daftarbo", "web_setting", "link_daftarbo");

    // Game Selection
    $prov = '';
    if(isset($_GET['game'])) {
        $game = mysqli_real_escape_string($data, $_GET['game']);
        $prov = $game;
    } else {
        $prov = 'pp';
    }

    switch($prov) {
        case 'jg':
          echo '
          <div class="col-12"><h4 class="title-game">JOKER GAMING SLOT LIVE RTP</h4>
          <h6><i class="lni lni-thumbs-up"></i> SUKA(5.0): <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i></h6>
        </div>';
        break;
    
        case 'pp':
          echo '
          <div class="col-12"><h4 class="title-game">PRAGMATIC PLAY SLOT LIVE RTP</h4>
              <h6><i class="lni lni-thumbs-up"></i> SUKA(5.9) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i></h6>
            </div>';
        break;

        case 'idn':
            echo '
            <div class="col-12"><h4 class="title-game">IDN Play SLOT LIVE RTP</h4>
                <h6><i class="lni lni-thumbs-up"></i> SUKA(5.0) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i></h6>
              </div>';
          break;
    
        case 'wmc':
          echo '<div class="col-12"><h4 class="title-game">WMC SLOT LIVE RTP</h4>
              <h6><i class="lni lni-thumbs-up"></i> SUKA(5.1) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-light"></i></h6>
            </div>';
        break;
    
        case 'jili':
          echo '<div class="col-12"><h4 class="title-game">JILI SLOT LIVE RTP</h4>
              <h6><i class="lni lni-thumbs-up"></i> SUKA(4.7) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i></h6>
            </div>';
        break;
    
        case 'pg':
          echo '<div class="col-12"><h4 class="title-game">POCKET GAMING SLOT LIVE RTP</h4>
              <h6><i class="lni lni-thumbs-up"></i> SUKA(5.8) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i></h6>
            </div>';
        break;
    
        case 'nolimit':
          echo '<div class="col-12"><h4 class="title-game">NOLIMIT SLOT LIVE RTP</h4>
          
              <h6><i class="lni lni-thumbs-up"></i> SUKA(5.8) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i></h6>
            </div>';
        break;
    
    
        case 'gmw':
          echo '<div class="col-12"><h4 class="title-game">GMW SLOT LIVE RTP</h4>
          
              <h6><i class="lni lni-thumbs-up"></i> SUKA(4.0) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i></h6>
            </div>';
        break;
    
        case 'btg':
          echo '<div class="col-12"><h4 class="title-game">BIG TIME GAMING SLOT LIVE RTP</h4>
          
              <h6><i class="lni lni-thumbs-up"></i> SUKA(3.8) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i></h6>
            </div>';
        break;
    
        case 'png':
          echo '<div class="col-12"><h4 class="title-game">PIONEER GAMING SLOT LIVE RTP</h4>
          
              <h6><i class="lni lni-thumbs-up"></i> SUKA(3.8) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i></h6>
            </div>';
        break;
    
        case 'tg':
          echo '<div class="col-12"><h4 class="title-game">TOP TREND GAMING SLOT LIVE RTP</h4>
            
              <h6><i class="lni lni-thumbs-up"></i> SUKA(3.5) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i></h6>
            </div>
          ';
        break;
    
        case 'reevo':
          echo '<div class="col-12"><h4 class="title-game">REEVO SLOT LIVE RTP</h4>
            
              <h6><i class="lni lni-thumbs-up"></i> SUKA(3.5) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i></h6>
            </div>
          ';
        break;
    
        case 'mg':
          echo '<div class="col-12"><h4 class="title-game">Micro Gaming SLOT LIVE RTP</h4>
            
              <h6><i class="lni lni-thumbs-up"></i> SUKA(4) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i></h6>
            </div>
          ';
        break;
    
        case 'fastspin':
          echo '<div class="col-12"><h4 class="title-game">FAST SPIN SLOT LIVE RTP</h4>
            
              <h6><i class="lni lni-thumbs-up"></i> SUKA(4) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i></h6>
            </div>
          ';
        break;
    
        case 'hb':
          echo '<div class="col-12"><h4 class="title-game">Habanero SLOT LIVE RTP</h4>
            
              <h6><i class="lni lni-thumbs-up"></i> SUKA(3.5) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i></h6>
            </div>
          ';
        break;
    
        case 'playngo':
          echo '<div class="col-12"><h4 class="title-game">PLAYNGO SLOT LIVE RTP</h4>
            
              <h6><i class="lni lni-thumbs-up"></i> SUKA(4.5) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i></h6>
            </div>
          ';
        break;
    
        case 'dragoon':
          echo '<div class="col-12"><h4 class="title-game">DRAGOON SOFT SLOT LIVE RTP</h4>
            
              <h6><i class="lni lni-thumbs-up"></i> SUKA(4.5) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i></h6>
            </div>
          ';
        break;
    
        case 'ygg':
          echo '<div class="col-12"><h4 class="title-game">YGGDRASIL SLOT LIVE RTP</h4>
            
              <h6><i class="lni lni-thumbs-up"></i> SUKA(2.9) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i></h6>
            </div>
          ';
        break;
    
        case 'playson':
          echo '<div class="col-12"><h4 class="title-game">PLAYSON SLOT LIVE RTP</h4>
            
              <h6><i class="lni lni-thumbs-up"></i> SUKA(2.7) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i></h6>
            </div>
          ';
        break;
    
        case 'nagagames':
          echo '<div class="col-12"><h4 class="title-game">NAGA GAMES SLOT LIVE RTP</h4>
            
              <h6><i class="lni lni-thumbs-up"></i> SUKA(2.7) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i></h6>
            </div>
          ';
        break;
    
        case 'boom':
          echo '<div class="col-12"><h4 class="title-game">BOOMING GAME SLOT LIVE RTP</h4>
            
              <h6><i class="lni lni-thumbs-up"></i> SUKA(3.3) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i></h6>
            </div>
          ';
        break;
    
        case 'playtech':
          echo '<div class="col-12"><h4 class="title-game">PLAYTECH SLOT LIVE RTP</h4>
            
              <h6><i class="lni lni-thumbs-up"></i> SUKA(4.2) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i></h6>
            </div>
          ';
        break;
    
        case 'kagaming':
          echo '<div class="col-12"><h4 class="title-game">KA GAMING SLOT LIVE RTP</h4>
            
              <h6><i class="lni lni-thumbs-up"></i> SUKA(4.2) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i></h6>
            </div>
          ';
        break;
    
        case 'playstar':
          echo '<div class="col-12"><h4 class="title-game">PLAYSTAR SLOT LIVE RTP</h4>
            
              <h6><i class="lni lni-thumbs-up"></i> SUKA(3.9) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i></h6>
            </div>
          ';
        break;
    
        case 'evoplay':
          echo '<div class="col-12"><h4 class="title-game">EVOPLAY SLOT LIVE RTP</h4>
            
              <h6><i class="lni lni-thumbs-up"></i> SUKA(2.3) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i></h6>
            </div>
          ';
        break;
    
        case 'booongo':
          echo '<div class="col-12"><h4 class="title-game">BOOONGO SLOT LIVE RTP</h4>
            
              <h6><i class="lni lni-thumbs-up"></i> SUKA(3.0) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i></h6>
            </div>
          ';
        break;
    
        case 'sbo':
          echo '<div class="col-12"><h4 class="title-game">SBO SLOT LIVE RTP</h4>
            
              <h6><i class="lni lni-thumbs-up"></i> SUKA(3.0) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i></h6>
            </div>
          ';
        break;
    
        case 'mancala':
          echo '<div class="col-12"><h4 class="title-game">MANCALA SLOT LIVE RTP</h4>
            
              <h6><i class="lni lni-thumbs-up"></i> SUKA(3.0) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i></h6>
            </div>
          ';
        break;
    
        case 'eagaming':
          echo '<div class="col-12"><h4 class="title-game">EAGAMING SLOT LIVE RTP</h4>
            
              <h6><i class="lni lni-thumbs-up"></i> SUKA(3.3) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i></h6>
            </div>
          ';
        break;
    
        case 'funky':
          echo '<div class="col-12"><h4 class="title-game">FUNKY SLOT LIVE RTP</h4>
            
              <h6><i class="lni lni-thumbs-up"></i> SUKA(3.3) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i></h6>
            </div>
          ';
        break;
    
        case 'redtiger':
          echo '<div class="col-12"><h4 class="title-game">RED TIGER SLOT LIVE RTP</h4>
            
              <h6><i class="lni lni-thumbs-up"></i> SUKA(4.3) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-light"></i></h6>
            </div>
          ';
        break;
    
        case 'netent':
          echo '<div class="col-12"><h4 class="title-game">NETENT SLOT LIVE RTP</h4>
            
              <h6><i class="lni lni-thumbs-up"></i> SUKA(4.0) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-light"></i></h6>
            </div>
          ';
        break;
    
        case 'ais':
          echo '<div class="col-12"><h4 class="title-game">AIS SLOT LIVE RTP</h4>
            
              <h6><i class="lni lni-thumbs-up"></i> SUKA(3.0) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i></h6>
            </div>
          ';
        break;
    
        case 'gameplay':
          echo '<div class="col-12"><h4 class="title-game">GAMEPLAY SLOT LIVE RTP</h4>
            
              <h6><i class="lni lni-thumbs-up"></i> SUKA(3.7) : <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-warning"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i> <i class="lni lni-star-fill text-light"></i></h6>
            </div>
          ';
        break;
    
      }
    
    $num = 1;
    foreach($imgdir as $imagess){
        $realsrc = trim(str_replace("/home/rajarzqd/rtphokitesla.com/", "", $imagess));
    
          $ppone = basename($realsrc);
    
          if(strpos($ppone, $prov.'-') !== false && !strpos($ppone, $prov.'-i') == true) {
            echo rtpCard($prov, $realsrc, $daftar, $num++);
    }

}
    ?>
    
</div>
</div>

</main>

<footer class="container">
<div class="mt-1 content-home">
<?php echo ftab("slot_gacortexts", "change_text", "slot_gacortexts"); ?>
</div>
</footer>

<button onclick="goUp()" id="btn-up" class="btn-up btn-sm btn btn-danger"><i class="lni lni-chevron-up-circle"></i></button>

<div class="nav-bottom">


        <div onclick="location.href='/'" class="col item-nav-bottom">
                <i class="lni lni-home"></i>
                <p>Home</p>
        </div>

        <div onclick='location.href="<?php echo ftab("link_promosi", "web_setting", "link_promosi") ?>";' class="col item-nav-bottom">
            <i class="lni lni-invest-monitor"></i>
                <p>Promosi</p>
        </div>

        <div onclick='location.href="<?php echo ftab("link_daftarbo", "web_setting", "link_daftarbo"); ?>";' class="col item-nav-bottom">
            <i class="lni lni-list"></i>
                <p>Daftar</p>
        </div>

        <div data-bs-toggle="modal" data-bs-target="#contact" class="col item-nav-bottom">
            <i class="lni lni-phone-set"></i>
                <p>Contact</p>
        </div>

        
</div>

<!-- Contact -->
<div class="modal fade" id="contact" tabindex="-1" aria-labelledby="contact" aria-hidden="true">
  <div class="modal-dialog modal-dialog-centered modal-dialog-scrollable">
    <div class="modal-content">
      <div class="modal-header">
        <h1 class="modal-title text-dark fs-5" id="contact">Hubungi Kami:</h1>
        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
      </div>
      <div class="modal-body text-dark">
        <?php echo ftab("isi_kontak", "web_setting", "isi_kontak"); ?>
      </div>
    </div>
  </div>
</div>