-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprofile.php
executable file
·30 lines (29 loc) · 945 Bytes
/
profile.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
require('functions.php');
session_start();
spl_autoload_register('chargerClasse');
$bdd = connexionBdd();
$utilisateurManager = new utilisateurManager($bdd);
$imageDescriptionManager = new imageDescriptionManager($bdd);
$utilisateur = $utilisateurManager->get($_GET['idUtilisateur']);
$image = $imageDescriptionManager->get($utilisateur->ID_IMAGE());
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="css/profile.css" rel="stylesheet" type="text/css">
<link href="css/library.css" rel="stylesheet" type="text/css">
<title>Profile - Golbit</title>
<?php
include('header.php');
?>
<div class="container-fluid" id="container-index" >
<div class="row">
<div class="col-md-offset-5 col-md-2 col-md-offset-5 presentation">
<img class="img-circle" src="<?php echo $image->SOURCE(); ?>" alt="echo $image->ALT();">
</div>
</div>
</div>
</body>
</html>