Exemplo n.º 1
0
<?php

$currentPageName = "corsi monotematici";
$dropdown = true;
require_once "models/C.php";
require_once "models/dbcontroller.php";
require_once "models/head.php";
require_once "models/bodytop.php";
require_once "models/navigation.php";
$corsi_monotematici_futuri = dbcontroller::getCorsiMonotematiciFuturi(date('Y-m-d'));
$corsi_monotematici_passati = dbcontroller::getCorsiMonotematiciPassati(date('Y-m-d'));
?>
<div class="container">
  <div class="row">
    <div class="box">
      <hr>
      <h2 class="intro-text text-center">I NOSTRI<b> CORSI MONOTEMATICI</b></h2>
      <hr>
      <div class="col-lg-12"><p>
        La Dolcenoteca organizza corsi Lorem ipsum dolor sit amet, 
        consectetur adipiscing elit. Nunc placerat diam quis nisl vestibulum dignissim. 
        In hac habitasse platea dictumst. Interdum et malesuada fames ac ante ipsum primis in faucibus. 
        Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
        </p></div>
    </div>
  </div>
  <?php 
if (count($corsi_monotematici_futuri) <= 0) {
    ?>
  <div class="row">
    <div class="box">