Amelioration interface adhesion non payees
This commit is contained in:
parent
c3ff8d74f4
commit
c74df737df
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,3 @@
|
|||||||
config/
|
config/
|
||||||
content/
|
content/
|
||||||
|
.gitignore
|
||||||
|
@ -141,14 +141,15 @@ if (isset($_POST['adherent-id'])) {
|
|||||||
$result = $request->fetchAll(PDO::FETCH_ASSOC);
|
$result = $request->fetchAll(PDO::FETCH_ASSOC);
|
||||||
|
|
||||||
if ($result) {
|
if ($result) {
|
||||||
echo ('<div class="users-list">');
|
echo ('<table>');
|
||||||
foreach($result as $row) {
|
foreach($result as $row) {
|
||||||
echo ('<div class="user-row">');
|
echo ("<tr><th>Prénom Nom</th><th>Email</th><th>Date demande</th><th></th></tr>");
|
||||||
|
echo ('<tr>');
|
||||||
echo ('<form action="#" method="post">');
|
echo ('<form action="#" method="post">');
|
||||||
echo ('<div>' . $row['firstname'] . ' ' . $row['lastname'] . '</div><div>' . $row['email'] . '</div><div>' . $row['join_date'] . '</div><div><input type="hidden" name="adherent-id" value="' . $row['ID'] . '"><input type="hidden" name="adhesion-userid" value="' . $row['userid'] . '"><a href="sendmail.php?target=' . $row['email'] . '&type=rappel" class="button">Envoyer un rappel</a><button type="submit" style="margin-left: 1em;">Valider le paiement</button></div>');
|
echo ('<td>' . $row['firstname'] . ' ' . $row['lastname'] . '</td><td>' . $row['email'] . '</td><td>' . $row['join_date'] . '</td><td><input type="hidden" name="adherent-id" value="' . $row['ID'] . '"><input type="hidden" name="adhesion-userid" value="' . $row['userid'] . '"><a href="sendmail.php?target=' . $row['email'] . '&type=rappel" class="button">Envoyer un rappel</a><button type="submit" style="margin-left: 1em;">Valider le paiement</button></td>');
|
||||||
echo ('</form></div>');
|
echo ('</form></tr>');
|
||||||
}
|
}
|
||||||
echo ('</div>');
|
echo ('</table>');
|
||||||
} else {
|
} else {
|
||||||
echo ('Aucun utilisateur trouvé.');
|
echo ('Aucun utilisateur trouvé.');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user