-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile.php
88 lines (72 loc) · 3.1 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?php
$education = [
"2017-2018" => "Sesame",
" " => "Computer Science Engineering",
"2017" => "California State University Long Beach",
" " =>"Electrical Engineering",
"2014-2017" => "Technical University of Cologne",
" " =>"Electrical Engineering",
"2013-2014" => "Technical University of Munich",
" " =>"Electrical Engineering"
];
$academic= [
"02/2018-05/2018"=>["titre"=>"Mini Projet",
"description"=>"Simulation of Sort Algorithms",
"tool"=> "Tool : Java"]
];
$education = [
"2017-2018" => [
"university"=>"Sesame",
"degree" => "Computer Science Engineering"
],
"2017" => ["university"=>"California State University Long Beach",
"degree" =>"Electrical Engineering"],
"2014-2017" => ["university"=>"Technical University of Cologne",
"degree" =>"Electrical Engineering"],
"2013-2014" => ["university"=>"Technical University of Munich",
"degree" =>"Electrical Engineering"]
];
$professional = ["06/2018" => [ "local"=>"Internship at DREAM TEK Consulting",
"tools"=>"Tool : HTML5,CSS3,JavaScript,PHP"]];
?>
</div>
<div class="profile-side-bar">
<h2><u>Profile and Personality</u></h2>
<?php $reponse = $bdd->query('SELECT * FROM profil');
while ($donnees = $reponse->fetch())
{?>
<?php echo $donnees['description'] ?>
<?php
}
$reponse->closeCursor();
?>
<br>
<h2><u>Education</u></h2>
<?php $reponse = $bdd->query('SELECT * FROM education');
while ($donnees = $reponse->fetch())
{?>
<?php echo $donnees['année_edu'] ?> <?php echo $donnees['school'] ?><br/>
<?php echo $donnees['edu_description'] ?><br />
<?php
}
$reponse->closeCursor();
?>
<h2><u>Academic Experience</u></h2>
<?php $reponse = $bdd->query('SELECT * FROM experiences WHERE type_ =\'academic\'');
while ($donnees = $reponse->fetch())
{?>
<?php echo $donnees['année_exp'] ?> <b><?php echo $donnees['exp_place'] ?></b><br /> <?php echo $donnees['exp_description'] ?><br /><p id="tool"> <?php echo $donnees['exp_tools'] ?></p><br />
<?php
}
$reponse->closeCursor();
?>
<h2><u>Professional Experience</u></h2>
<?php $reponse = $bdd->query('SELECT * FROM experiences WHERE type_ =\'professional\'');
while ($donnees = $reponse->fetch())
{?>
<?php echo $donnees['année_exp'] ?> <b><?php echo $donnees['exp_place'] ?></b><br /> <?php echo $donnees['exp_description'] ?><br /><p id="tool"> <?php echo $donnees['exp_tools'] ?></p><br />
<?php
}
$reponse->closeCursor();
?>
</div>