a
This commit is contained in:
parent
08608d9ae5
commit
81e666be90
|
|
@ -321,51 +321,60 @@
|
||||||
|
|
||||||
</FORM>
|
</FORM>
|
||||||
|
|
||||||
<img
|
<div class="row align-items-start">
|
||||||
src="<?=$photoAssureCrypte?>"
|
<!-- Colonne pour l'image -->
|
||||||
class="img-fluid rounded-circle shadow"
|
<div class="col-auto">
|
||||||
style="width: 120px; height: 120px; object-fit: cover; cursor:pointer;"
|
<img
|
||||||
data-bs-toggle="modal"
|
src="<?=$photoAssureCrypte?>"
|
||||||
data-bs-target="#pop_photo"
|
class="img-fluid rounded-circle shadow"
|
||||||
alt="Photo du bénéficiaire">
|
style="width: 120px; height: 120px; object-fit: cover; cursor:pointer;"
|
||||||
|
data-bs-toggle="modal"
|
||||||
|
data-bs-target="#pop_photo"
|
||||||
|
alt="Photo du bénéficiaire"
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Colonne pour le formulaire -->
|
||||||
|
<div class="col">
|
||||||
|
<form enctype="multipart/form-data" action="Fichebeneficiaire/<?= $_SESSION['idBeneficiaire_C'] ?>/" method="post">
|
||||||
|
<?php if ($beneficiaire['lienPhoto']<=' '): ?>
|
||||||
|
<div class="col-xs-12">
|
||||||
|
<INPUT style="text-align: center" class="form-control" TYPE="text" value="<?= _("Aucune photo") ?>" readonly>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
|
<div class="col-xs-12">
|
||||||
|
<fieldset>
|
||||||
|
|
||||||
|
<?php if ($_SESSION['lienPhoto_C']>" "): ?>
|
||||||
|
<INPUT style="font-size: 15px; height: 30px" class="form-control" TYPE="text" value="<?= _("Changer la photo") ?>" readonly >
|
||||||
|
<?php else: ?>
|
||||||
|
<INPUT style="font-size: 15px; height: 30px" class="form-control" TYPE="text" value="<?= _("Attribuer une photo") ?>" readonly >
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
|
<label for="fichier_a_uploader" title="Recherchez une photo!"></label>
|
||||||
|
<input type="hidden" name="MAX_FILE_SIZE" value="100000" />
|
||||||
|
<input style="font-size: 15px; height: 40px" class="form-control btn btn-primary" name="fichier_image_a_uploader" type="file" id="fichier_image_a_uploader" />
|
||||||
|
<br>
|
||||||
|
<input style="font-size: 15px; height: 30px" class="form-control btn btn-primary" type="submit" name="submit" value="<?= _("Mettre à jour") ?>" />
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<h4 style="text-align: center">
|
||||||
|
<?php if ($message>" "): ?>
|
||||||
|
<div class="col-xs-12 alert alert-danger">
|
||||||
|
<?= $message ?>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</h4>
|
||||||
|
</div>
|
||||||
|
|
||||||
<form enctype="multipart/form-data" action="Fichebeneficiaire/<?= $_SESSION['idBeneficiaire_C'] ?>/" method="post">
|
<?php if ($message=='Chargement réussi !'): ?>
|
||||||
<?php if ($beneficiaire['lienPhoto']<=' '): ?>
|
<INPUT style="text-align: center" class="form-control" TYPE="text" value="<?= _("Le Nouveau Fichier Photo") ?> : <?= $nouveau_fichier ?>" readonly>
|
||||||
<div class="col-xs-12">
|
<?php else: ?>
|
||||||
<INPUT style="text-align: center" class="form-control" TYPE="text" value="<?= _("Aucune photo") ?>" readonly>
|
<INPUT style="text-align: center" class="form-control" TYPE="text" value="<?= _("Fichier Photo Actuel") ?> : <?= $beneficiaire['lienPhoto'] ?>" readonly>
|
||||||
</div>
|
<?php endif; ?>
|
||||||
<?php endif; ?>
|
</form>
|
||||||
|
</div>
|
||||||
<div class="col-xs-12">
|
</div>
|
||||||
<fieldset>
|
|
||||||
|
|
||||||
<?php if ($_SESSION['lienPhoto_C']>" "): ?>
|
|
||||||
<INPUT style="font-size: 15px; height: 30px" class="form-control" TYPE="text" value="<?= _("Changer la photo") ?>" readonly >
|
|
||||||
<?php else: ?>
|
|
||||||
<INPUT style="font-size: 15px; height: 30px" class="form-control" TYPE="text" value="<?= _("Attribuer une photo") ?>" readonly >
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<label for="fichier_a_uploader" title="Recherchez une photo!"></label>
|
|
||||||
<input type="hidden" name="MAX_FILE_SIZE" value="100000" />
|
|
||||||
<input style="font-size: 15px; height: 40px" class="form-control btn btn-primary" name="fichier_image_a_uploader" type="file" id="fichier_image_a_uploader" />
|
|
||||||
<br>
|
|
||||||
<input style="font-size: 15px; height: 30px" class="form-control btn btn-primary" type="submit" name="submit" value="<?= _("Mettre à jour") ?>" />
|
|
||||||
</fieldset>
|
|
||||||
|
|
||||||
<h4 style="text-align: center">
|
|
||||||
<?php if ($message>" "): ?>
|
|
||||||
<div class="col-xs-12 alert alert-danger">
|
|
||||||
<?= $message ?>
|
|
||||||
</div>
|
|
||||||
<?php endif; ?>
|
|
||||||
</h4>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php if ($message=='Chargement réussi !'): ?>
|
|
||||||
<INPUT style="text-align: center" class="form-control" TYPE="text" value="<?= _("Le Nouveau Fichier Photo") ?> : <?= $nouveau_fichier ?>" readonly>
|
|
||||||
<?php else: ?>
|
|
||||||
<INPUT style="text-align: center" class="form-control" TYPE="text" value="<?= _("Fichier Photo Actuel") ?> : <?= $beneficiaire['lienPhoto'] ?>" readonly>
|
|
||||||
<?php endif; ?>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
<?php include 'faceebene/ebenetraitementimage.php'; ?>
|
<?php include 'faceebene/ebenetraitementimage.php'; ?>
|
||||||
|
|
|
||||||
|
|
@ -400,6 +400,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte'];
|
||||||
<div id="contenu">
|
<div id="contenu">
|
||||||
<div id="div_test_gabarit"></div>
|
<div id="div_test_gabarit"></div>
|
||||||
<?php
|
<?php
|
||||||
|
/*
|
||||||
var_dump
|
var_dump
|
||||||
(
|
(
|
||||||
array
|
array
|
||||||
|
|
@ -410,6 +411,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte'];
|
||||||
"faceActif" => $_SESSION['faceActif'],
|
"faceActif" => $_SESSION['faceActif'],
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
*/
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?= $contenu ?>
|
<?= $contenu ?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user