<?php

/* *
echo "<pre>";
print_r($_SERVER);
die();
/* */

$header = '';
$subtitle = '';
$description = '';
$image = "aline1.jpg";
if($_SERVER["REQUEST_URI"] == "/"){
    //$include = "home";
    $include = "home_original";
}else if($_SERVER["REQUEST_URI"] == "/onde"){
    $include = "onde";
    $header = 'Quando e onde ?';
}else if($_SERVER["REQUEST_URI"] == "/cardapio"){
    $include = "cardapio";
    $header = 'Cardápio ?';
    $subtitle = "Opa ... teremos vários quitutinhos durante a festa !";
    $description = 'Vamos abrir com um Finger Foods, à partir das <span style="font-family:arial; font-size: 18px;">16:30h</span>.<br />
                    No meio da festa, para os gulosos terá um Petit Menu.<br>
                    E no final, para os sobreviventes haverá um Fim de Festa, tipo - "amanheci na feira" !';
}else if($_SERVER["REQUEST_URI"] == "/drinks"){
    $include = "drinks";
    $header = 'Drinks ?';
    $subtitle = "Opa ... com certeza !";
    $description = 'Teremos alcoólicos e não alcoólicos<br />Não esqueça de tomar o seu engov antes de sair de casa !';
    $image = "drinks.jpg";
}else if($_SERVER["REQUEST_URI"] == "/bandas"){
    $include = "bandas";
    $header = 'Bandas ?';
    $subtitle = 'Meu amigo ... se prepare !<br />
                Vai ter muita música !<br />
                Serão <span style="font-family:arial; font-size: 18px;">4</span> bandas se revezando.<br />
                A primeira banda vai começar às <span style="font-family:arial; font-size: 18px;">17h.</span><br />
                Háverá várias entradas e intervalos - com algumas surpresas ...<br />
                A última banda vai começar por volta de <span style="font-family:arial; font-size: 18px;">22:30h.</span><br />
                Nem pense em ir embora mais cedo - vai perder !<br />
                Bom Show !';
    $description = '';
    $image = "bandas.png";
}else if($_SERVER["REQUEST_URI"] == "/hospedagem"){
    $include = "hospedagem";
    $header = 'hospedagem ?';
}else if($_SERVER["REQUEST_URI"] == "/transfer"){
    $include = "transfer";
    $header = 'transfer';
}else if($_SERVER["REQUEST_URI"] == "/rsvp"){
    $include = "rsvp";
    $header = 'rsvp';
}

?>
<!DOCTYPE html>
<html lang="en" class=" js flexbox canvas canvastext webgl no-touch geolocation postmessage websqldatabase indexeddb hashchange history draganddrop websockets rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity cssanimations csscolumns cssgradients cssreflections csstransforms csstransforms3d csstransitions fontface generatedcontent video audio localstorage sessionstorage webworkers no-applicationcache svg inlinesvg smil svgclippaths"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>40 anos Aline</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css" integrity="sha512-xh6O/CkQoPOWDdYTDqeRdPCVd1SpvCA9XXcUnZS2FmJNp1coAFzvtCN9BmamE+4aHK8yyUHUSCcJHgXloTyT2A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="/assets/css/animate.css">
    <link rel="stylesheet" href="/assets/css/themify-icons.css">
    <link rel="stylesheet" href="/assets/css/bootstrap.css">
    <link rel="stylesheet" href="/assets/css/magnific-popup.css">
    <link rel="stylesheet" href="/assets/css/owl.carousel.min.css">
    <link rel="stylesheet" href="/assets/css/owl.theme.default.min.css">
    <link rel="stylesheet" href="/assets/css/flexslider.css">
    <link rel="stylesheet" href="/assets/css/style.css<?php echo '?'.date("U"); ?>">
    
    
</head>
<body>
    <div id="pwe-page"> 
        <a href="/" class="js-pwe-nav-toggle pwe-nav-toggle"><i></i></a>
        <?php include "menu.php"; ?>
        <!-- Main Section -->
        <div id="pwe-main">
            <!-- Banner Title -->
            <?php if(!empty($header)){ ?>
            <div class="banner-container">
                <div class="banner-img"> <img class="banner-img-width" src="/assets/<?php echo $image; ?>" alt=""> </div>
                <div class="banner-head">
                    <div class="banner-head-padding banner-head-margin">
                        <div class="container-fluid">
                            <div class="row">
                                <div class="col-md-12">
                                    <h2 class="pwe-heading animate-box fadeInLeft animated" data-animate-effect="fadeInLeft" style="font-weight: bold; text-transform: uppercase;">
                                        <?php echo $header; ?>
                                    </h2>
                                    <br />
                                    <?php if(isset($subtitle) && !empty($subtitle)){ ?>
                                        <!--p class="animate-box fadeInLeft animated" data-animate-effect="fadeInLeft" style="font-size: 22px; color:#272525;"-->
                                        <p class="animate-box fadeInLeft animated" data-animate-effect="fadeInLeft">
                                            <?php 
                                            echo $subtitle; 
                                            if(isset($description) && !empty($description)){ 
                                                echo "<br />".$description;
                                            } 
                                            ?>
                                        </p>
                                    <?php } ?>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <?php } ?>
            <?php if(is_file($include.".php")){ include $include.".php";}else{ echo "404"; } ?>
            <!-- Footer -->
            <?php //include "footer.php"; ?>
        </div>
        <!-- jQuery -->
        <script src="/assets/js/jquery.min.js"></script>
        <script src="/assets/js/modernizr-2.6.2.min.js"></script>
        <script src="/assets/js/jquery.easing.1.3.js"></script>
        <script src="/assets/js/bootstrap.min.js"></script>
        <script src="/assets/js/jquery.waypoints.min.js"></script>
        <script src="/assets/js/jquery.flexslider-min.js"></script>
        <script src="/assets/js/sticky-kit.min.js"></script>
        <script src="/assets/js/jquery.magnific-popup.min.js"></script>
        <script src="/assets/js/owl.carousel.min.js"></script>
        <script src="/assets/js/jquery.cycle2.min.js"></script>
        <script src="/assets/js/main.js<?php echo '?'.date("U"); ?>"></script>

    </div>

</body>
</html>
