Esempio n. 1
0
                Session::flash('success', 'Fixture Added Successfully');
                Redirect::to('fixtures.php');
            } catch (Exception $e) {
                die($e->getMessage());
            }
            $displayErrors = "none";
        } else {
            $errorDisplay = "";
            $displayErrors = "block";
            foreach ($validation->errors() as $error) {
                $errorDisplay = $errorDisplay . $error . "<br>";
            }
        }
    }
} else {
    $teams = $fixture->getMyTeams();
    $competitions = $fixture->getCompetitions();
    $opponents = $fixture->getOpponents();
    $locations = $fixture->getLocations();
}
?>
<!DOCTYPE html>
<html>
   <?php 
include_once 'includes/htmlhead.php';
?>
   <body class="skin-blue sidebar-mini">
      <div class="wrapper">
         <?php 
include_once 'includes/header.php';
?>