Пример #1
0
                    <th></th>
                    <th>Nom </th>
                    <th>Prénom</th>
                    <th>Adresse Mail</th>
                    <th>Téléphone Fixe</th>
                    <th>Téléphone Portable</th>
                    <th>Date d'adhésion /<br> Renouvellement</th>
                    <th>1ère Adhésion</th>
                </tr>
                <?php 
$compteur = 1;
$q = $_GET["reche"];
if ($q == '') {
    header("Refresh:0.001;URL=../administration/adherent_date.php");
} else {
    $dateUS = dateus($q);
    $reqadherent = $bdd->query("SELECT Nom, Prenom, AdresseMail, TelFixe, TelPortable, DatePremiere, StatutAdherent, Date FROM Contact as c LEFT JOIN Adhesion as a on a.ID_C=c.ID_C JOIN Adherent as ad on c.ID_C=ad.ID_C WHERE Date LIKE '%" . $dateUS . "%' ORDER BY Nom;");
    while ($donnee = $reqadherent->fetch()) {
        ?>
 
                        <tr> 
                            <td><?php 
        echo $compteur;
        $compteur = $compteur + 1;
        ?>
                            </td>
                            <td><?php 
        $color = 'green';
        $NAR = $donnee['StatutAdherent'];
        if ($NAR == 'NAR') {
            ?>
Пример #2
0
<?php

include "Header.php";
include "Double.php";
echo double(19) . "<br/>";
echo half(60) . "<br/>";
echo datefr("2015-10-05") . "<br/>";
echo dateus("05/10/2015") . "<br/>";
$tnombres = array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
print_r(array_filter($tnombres, "pair"));
print_r(array_filter($tnombres, "impair"));
include "Footer.php";