Inclusion of files by include

0

I bought a PHP course and the teacher did a generic function to include the files in index.php. However when I add a php call above <!DOCTYPE html> , add all the code and also does not call the files include. If anyone can help thank you!

index.php

  <?php 
require ('./dts/dbaSis.php');
require ('./dts/getSis.php');
require ('./dts/setSis.php');
require ('./dts/outSis.php');
?>

<!DOCTYPE html>
<html lang="pt-br">

    <head>
        <meta charset="UTF-8">
        <title>Home</title>
    </head>
    <body>


    </body>
    <?php include('./js/jscSis.php'); ?>
</html>

jscSis.php

 <script type="text/javascript" src="<?php setHome(); ?>/js/jquery.js"></script>
<script type="text/javascript" src="<?php setHome(); ?>/lightbox/dist/js/lightbox.js"></script>

<link rel="stylesheet" href="<?php setHome();?>/lightbox/dist/css/lightbox.css"/>
<script type="text/javascript">
        $(document).ready(function(){
            $('#banners').bxSlider({
              auto: true,
              autoHover: true,
              autoControls: false,
              controls: false
            });
        });
    </script>
    <script>
        lightbox.option({
        'resizeDuration': 200,
        'wrapAround': true
      });
    </script>
    
asked by anonymous 15.02.2016 / 04:38

0 answers