@extends('layouts.template') @section('css') {{-- ---------------------------------------------------------------------------------- --}} {{-- --}} {{-- --}} @endsection @section('contenu')

Validation

@csrf
Authentification
@foreach ($annee1 as $anna ) @endforeach
Authentification
Étudiant authentifié avec succès!
{{--
Étudiant authentifié avec succès!
--}}
Informations personnelles
@foreach ($annee as $ann ) @endforeach
Établissement
@foreach ($infoEtablisement as $infoEta) @endforeach
{{-- @if ($infoMatricule->annee <= 1)
Création d'un compte
@php $nom = addslashes($infoMatricule->nom); $prenom = addslashes($infoMatricule->prenom); $nom = mb_strtolower(explode(' ', $nom)[0]); $prenom = mb_strtolower(explode(' ', $prenom)[0]); $nom = str_replace("'", '', $nom); $prenom = str_replace("'", '', $prenom); $nom = str_replace('.', '', $nom); $prenom = str_replace('.', '', $prenom); $dateDeNaissance = $infoMatricule->date_nais; $pseudo = $prenom . '.' . $nom; $pseudo = filter_var($pseudo, FILTER_SANITIZE_STRING, FILTER_FLAG_STRIP_LOW); $password = $dateDeNaissance . '0'; $idEtablissement = session('idEta'); @endphp
Générer le compte étudiant
@endif --}}
Photo de l'étudiant
{{-- MONTRE LES INFORMATIONS CONCERNANT LA ĤOTO DE L'ÉTUDIANT --}}
{{-- --}} Photo de l'étudiant @php $types = ['UNKNOWN', 'GIF', 'JPEG', 'PNG', 'SWF', 'PSD', 'BMP', 'TIFF_II', 'TIFF_MM', 'JPC', 'JP2', 'JPX', 'JB2', 'SWC', 'IFF', 'WBMP', 'XBM', 'ICO', 'COUNT']; $cheminPhoto= config('app.aws_url').$infoMatricule->cheminPhoto ; list($width, $height, $type, $attr) =getimagesize($cheminPhoto); @endphp {{-- ... --}}
Largeur de la photo: {{$width}}
Hauteur de la photo: {{$height}}
Type de la photo: {{$types[$type]}}
{{-- --}} Modifier la photo
Confirmer
@endsection @section('script') @endsection