<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <link rel="stylesheet" href="css/owl.carousel.min.css">
    <link rel="stylesheet" href="css/owl.theme.default.min.css">
    <link rel="stylesheet" href="css/jquery.paginate.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.css" />
    <link rel="stylesheet" href="css/blog-togel.css?v=<?php echo rand(0, 99); ?>">
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.13.0/css/all.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
    <link rel="stylesheet" href="https://cdn.datatables.net/1.13.1/css/dataTables.bootstrap5.min.css">
    <link rel="icon" type="image/png" href="images/ico.png" sizes="192x192">
    <link rel="apple-touch-icon" sizes="180x180" href="images/ico.png">

    <?php
        if(isset($_GET['page'])) {
            $page = mysqli_real_escape_string($data, $_GET['page']);

            $sseo = "SELECT content_seo, halaman_seo FROM seo_web WHERE halaman_seo = '$page'";
            $qseo = mysqli_query($data, $sseo);

            if(mysqli_num_rows($qseo) > 0) {
                $fseo = mysqli_fetch_assoc($qseo);
                $seo = $fseo['content_seo'];
                $halaman = $fseo['halaman_seo'];

                if($halaman == $page) {
                    echo $seo;
                }


            }

        } else {
          echo ftab("content_seo", "seo_web", "content_seo", "halaman_seo", "main");
        }
    ?>

    <?php echo ftab("web_master", "web_setting", "web_master") ?>
    
    <script src="https://code.jquery.com/jquery-3.6.0.js" integrity="sha256-H+K7U5CnXl1h5ywQfKtSj8PCmoN9aaq30gDh27Xc0jk=" crossorigin="anonymous"></script>
    <script src="js/jquery.paginate.js"></script>

    <style>
        body{
    background: url("<?php echo ftab("bg_web", "web_setting", "bg_web") ?>") var(--third-color) !important;
    background-size: cover !important;
    background-attachment: fixed !important;
    background-position-x: center !important;
    background-position-y: center !important;
}
    </style>
</head>
<body>