1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
PHP_TP4/controllers/c_accueil.php

13 lines
351 B
PHP
Raw Permalink Normal View History

2020-10-16 10:23:24 +02:00
<?php
2020-10-16 11:57:47 +02:00
2020-10-27 22:23:11 +01:00
$category = 0;
if (isset($_GET["category"]) and $_GET["category"])
$category = htmlspecialchars($_GET["category"]);
2020-10-16 11:57:47 +02:00
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');