コード例 #1
0
ファイル: list.html.php プロジェクト: bsdroot/speervi
    if ($GLOBALS['id-connec'] < 1) {
        ?>
			 			
				  <td class="id_article"><?php 
        echo $article->id;
        ?>
</td>
				<?php 
    }
    ?>
		        
				<td class="titre_article"><a href="<?php 
    echo htmlspecialchars($urlPage);
    ?>
"><?php 
    echo AfficherTemperature($article->temperature) . $article->nom;
    ?>
</a></td>	
                <td class="supp_article"><?php 
    echo Form::del_button($urlPage . '&action=del');
    ?>
</td>				
			</tr>
			<?php 
}
?>
		</tbody>
	</table>

</form>
<?php 
コード例 #2
0
ファイル: list.html.php プロジェクト: bsdroot/speervi
    $LaRencontreSel = getEnregistrement('rencontre', $id_rencontre);
    $LaSocieteSel = getEnregistrement('societe', $LaRencontreSel->id_societe);
}
$datejour = '';
echo '<ul class="liste_planning">';
$nrencontre = 0;
foreach (GetListeRencontresFutures() as $LaRencontre) {
    $nouveaudatejour = datefrSansHeure($LaRencontre->date_rencontre);
    if ($nouveaudatejour != $datejour) {
        $nrencontre++;
        if ($datejour != '') {
            echo '</ul>';
        }
        echo '<div class="jour_planning">' . dateFrancaiseLitterale($LaRencontre->date_rencontre) . '</div> <ul class="liste_planning">';
        $datejour = $nouveaudatejour;
    }
    if (isset($id_rencontre) && $LaRencontre->id == $id_rencontre) {
        $class_li = 'class="class_li"';
    } else {
        $class_li = '';
    }
    echo '<li ' . $class_li . '><a href="index.php?rv=' . $LaRencontre->id . '&page=' . $LaRencontre->id_societe . '"><span style="font-size:12px;font-style:italic">' . HeurefrFrancaise($LaRencontre->date_rencontre) . ' </span>- ' . NomSocieteDId($LaRencontre->id_societe) . '</a>' . AfficherTemperature(TemperatureDeLaSociete($LaRencontre->id_societe)) . '</li>';
}
if ($nrencontre == 0) {
    echo 'Aucun rappel programmé';
}
?>
</ul>