a
This commit is contained in:
parent
08608d9ae5
commit
81e666be90
|
|
@ -321,51 +321,60 @@
|
|||
|
||||
</FORM>
|
||||
|
||||
<img
|
||||
src="<?=$photoAssureCrypte?>"
|
||||
class="img-fluid rounded-circle shadow"
|
||||
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 class="row align-items-start">
|
||||
<!-- Colonne pour l'image -->
|
||||
<div class="col-auto">
|
||||
<img
|
||||
src="<?=$photoAssureCrypte?>"
|
||||
class="img-fluid rounded-circle shadow"
|
||||
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 ($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>
|
||||
|
||||
<?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 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>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php include 'faceebene/ebenetraitementimage.php'; ?>
|
||||
|
|
|
|||
|
|
@ -400,6 +400,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte'];
|
|||
<div id="contenu">
|
||||
<div id="div_test_gabarit"></div>
|
||||
<?php
|
||||
/*
|
||||
var_dump
|
||||
(
|
||||
array
|
||||
|
|
@ -410,6 +411,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte'];
|
|||
"faceActif" => $_SESSION['faceActif'],
|
||||
)
|
||||
);
|
||||
*/
|
||||
?>
|
||||
|
||||
<?= $contenu ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user