13 lines
253 B
PHP
13 lines
253 B
PHP
<?php
|
|
|
|
$photo = false;
|
|
|
|
if (isset($_GET["id"]) and $_GET["id"]) {
|
|
$id = htmlspecialchars($_GET["id"]);
|
|
require_once(PATH_MODELS . $page . ".php");
|
|
}
|
|
|
|
if (!$photo)
|
|
$alert = choixAlert("invalid_photo");
|
|
|
|
require_once(PATH_VIEWS.$page.'.php');
|