﻿<?php
	include_once("./ObjectUser.php");
	
	echo "<html>";
		echo "<head><title>Formulaire.php</title></head>";
		echo "<body>";
			if (empty($_POST) && empty($_FILES)) {
				User::printForm();
			} else {
				$monUtilisateur = new User();
				$monUtilisateur->execForm();
				$monUtilisateur->printData();
			}
		echo "</body>";
	echo "</html>";
?>