<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2: -->
<?php

  $data = array(
    array(
      'desc'   => 'titre (1 ligne)',
      'nom'    => 'Christophe BOYANIQUE',
      'titre1' => 'Administrateur Systèmes et Réseaux',
      'mail'   => 'christophe.boyanique@isep.fr',
      'tel'    => '+33 (0) 1 49 54 52 XX',
      'bureau' => 'Bureau L106',
      'adr'    => '10 rue de Vanves',
      'cp'     => '92130',
      'ville'  => 'Issy Les Moulineaux',
    ),
    array(
      'desc'   => 'titre (1 ligne) et portable',
      'nom'    => 'Christophe BOYANIQUE',
      'titre1' => 'Webmaster le dimanche de pleine lune',
      'mail'   => 'christophe.boyanique@isep.fr',
      'tel'    => '+33 (0) 1 49 54 52 XX',
      'mobile' => '+33 (0) 6 XX YY ZZ TT',
      'bureau' => 'Bureau N98',
      'adr'    => '10 rue de Vanves',
      'cp'     => '92130',
      'ville'  => 'Issy Les Moulineaux',
    ),
    array(
      'desc'   => 'titre (2 lignes)',
      'nom'    => 'Pierre-Frédéric PROUST MONSAINGEON',
      'titre1' => 'Enseignant-Chercheur - HDR',
      'titre2' => 'Responsable du Domaine Science et traitement des données',
      'mail'   => 'pierre-frederic.proust-monsaingeon@isep.fr',
      'tel'    => '+33 (0) 1 49 54 52 XX',
      'adr'    => '28 rue Notre Dame des Champs',
      'cp'     => '75006',
      'ville'  => 'Paris',
    ),
    array(
      'desc'   => 'titre (2 lignes) et portable',
      'nom'    => 'Pierre-Frédéric PROUST MONSAINGEON',
      'titre1' => 'Enseignant-Chercheur - HDR',
      'titre2' => 'Responsable du Domaine Science et traitement des données',
      'mail'   => 'pierre-frederic.proust-monsaingeon@isep.fr',
      'tel'    => '+33 (0) 1 49 54 52 XX',
      'mobile' => '+33 (0) 6 XX YY ZZ TT',
      'adr'    => '28 rue Notre Dame des Champs',
      'cp'     => '75006',
      'ville'  => 'Paris',
    ),
  );

?>
<html>
  <head>
    <title>Test Signatures</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <style type="text/css">
      #isepsig table, #isepsig tbody, #isepsig tr, #isepsig td, #isepsig div, #isepsig a {
        font-family: "Century Gothic","CenturyGothic","AppleGothic","sans-serif";
        color: #0061a0;
        margin: 0;
        padding: 0;
        text-decoration: none;
        border: 0;
      }
      #isepsig a:hover, #isepsig a:active, #isepsig a:focus {
        background-color: #ecb649;
      }
      #isepsig .center {
        text-align: center;
      }
      #isepsig .size14 {
        font-size: 14pt;
      }
      #isepsig .size12 {
        font-size: 12pt;
      }
      #isepsig .size11 {
        font-size: 11pt;
      }
      #isepsig .size10 {
        font-size: 10pt;
      }
      #isepsig .top2px {
        margin-top: 2px;
      }
      #isepsig .top0px {
        margin-top: 0px;
      }
      #isepsig .colpad {
        padding-left: 32px;
      }
      #isepsig .vtop {
        vertical-align: top;
      }
    </style>
  </head>
  <body>

  <table cellspacing="10" cellpadding="10">
    <tbody>
<?php foreach ($data as $d) { ?>
      <tr><td colspan="2" style="background-color: black; color: white; text-align: center;"><?php echo $d['desc']; ?></td></tr>
      <tr>
        <td>
<div id="isepsig">
<hr>
<table>
  <tbody>
    <tr>
      <td class="vtop">
        <table>
          <tbody>
            <tr>
              <td class="center"><img src="https://mailing.isep.fr/signature/logo-isep.png" width="204" height="86" alt="Logo ISEP"></td>
            </tr><tr>
              <td><div class="size10 top2px"><?php echo $d['bureau']; ?></div></td>
            </tr><tr class="top2px">
              <td><div class="size10 top2px"><?php echo $d['adr']; ?></div></td>
            </tr><tr>
              <td><div class="size10 top0px"><?php echo $d['cp']; ?> <?php echo $d['ville']; ?></div></td>
            </tr>
          </tbody>
        </table>
      </td>
      <td class="vtop colpad">
        <table border="0"  border="0" cellpadding="0" cellspacing="0">
          <tbody>
            <tr>
              <td><div class="size14"><strong><?php echo $d['nom']; ?></strong></div></td>
            </tr><tr>
              <td><div class="size12 top2px"><?php echo $d['titre1']; ?></div></td>
            </tr><tr>
              <td><div class="size12"><?php echo $d['titre2']; ?></div></td>
            </tr><tr>
              <td><a class="size11 top2px" href="mailto:<?php echo $d['mail']; ?>"><strong><?php echo $d['mail']; ?></strong></a></td>
            </tr><tr>
              <td><div class="size11"><?php echo $d['tel']; ?></div></td>
            </tr><tr>
              <td><div class="size11"><?php echo $d['mobile']; ?></div></td>
            </tr><tr>
              <td><a class="size11 top2px" href="https://www.isep.fr">https://www.isep.fr</a></td>
            </tr>
          </tbody>
        </table>
      </td>
    </tr>
  </tbody>
</table>
</div>
        </td>
      </tr>
<?php } ?>
    </tbody>
  </table>

  </body>
</html>
