<?php
// 1. Load config file FIRST
require_once 'config.php'; 

// 2. Load other components
require 'components/db_connect.php';
require 'components/header.php';
require 'components/functions.php';

?>

<div class="bg"></div>

<main class="content">
    <?php include 'components/banner_slider.php'; ?>
  <?php require 'components/horizontal_ads.php'; ?>
    <?php require 'components/teledrama_list.php'; ?>
    <?php require 'components/programme_list.php'; ?>
    <?php require 'components/split_layout_second.php'; ?>
    <?php require 'components/logos.php'; ?>
</main>

<?php require 'components/footer.php'; ?>