12 lines
351 B
PHP
12 lines
351 B
PHP
<?php
|
|
|
|
$category = 0;
|
|
if (isset($_GET["category"]) and $_GET["category"])
|
|
$category = htmlspecialchars($_GET["category"]);
|
|
|
|
require_once(PATH_MODELS.$page.".php");
|
|
|
|
if (isset($photos) and $photos)
|
|
$alert = array("messageAlert" => count($photos)." photo(s) selectionnée(s)", "classAlert" => "success");
|
|
|
|
require_once(PATH_VIEWS.$page.'.php');
|