Commit fffb5232 authored by slopez's avatar slopez

bleh

parent f526ce77
......@@ -356,7 +356,14 @@ elseif ( $_REQUEST["action"] == "searchstudent" )
$ville->load_by_id($user->id_ville);
$pays->load_by_id($user->id_pays);
$cts->add(new image($user->prenom . " " . $user->nom,$topdir."/var/img/profil/".$user->id.".jpg","fiche_image"));
if (file_exists($topdir."var/img/profil/".$user->id.".jpg"))
{
$exif = @exif_read_data($topdir."var/img/profil/".$user->id.".jpg", 0, true);
$date_prise_vue = '';
if ( $exif["FILE"]["FileDateTime"] )
$date_prise_vue = $exif["FILE"]["FileDateTime"];
$cts->add(new image($user->prenom . " " . $user->nom,$topdir."/var/img/profil/".$user->id.".jpg?".$date_prise_vue,"fiche_image"));
}
$cts->add_paragraph(
"<b>". $user->prenom . " " . $user->nom . "</b><br/>" .
date("d/m/Y",$user->date_naissance) . "<br />" .
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment