<?php
require_once 'classes/Template.php';
$titulo = 'Base';
?>

<!DOCTYPE html>
<html>
    <head>
        <title>Alumnos - <?php echo $titulo; ?></title>
        <?php Template::getCSS(); ?>
        <style>

            
        </style>
    </head>
    <body>
        <?php Template::header($titulo); ?>
        <main class="container-fluid content marco">
            <?php  /***** Obtener imagenes de Moodle *****/
            $html = file_get_html('https://moodle.ingenieria.lasalle.mx');
            $main = $html->getElementById('region-main');
            $images = $main->find('img');
            if (count($images) > 0) { ?>
            <div class="row">                
                <?php foreach($images as $img)
                    echo '<img class="col-sm-4" src="' . $img->src . '" />'; ?>
            </div>
            <?php } ?>
        </main>
        <div style="isolation: isolate;">
        <?php Template::footer(); ?>
        </div>
        <?php Template::getJS(); ?>
    </body>
</html>