예제 #1
0
    require_once $PATH_RACINE . 'Util/UtilPages.php';
    if ($Status == TUTEUR) {
        $IdentPK = $FK_EntrepriseUser;
    }
    $ObjTuple = new CEntreprise($IdentPK);
    $ValPK_Entreprise = $ObjTuple->GetPK_Entreprise();
    $ValNomE = $ObjTuple->GetNomE();
    $ValAdr1 = $ObjTuple->GetAdr1();
    $ValAdr2 = $ObjTuple->GetAdr2();
    $ValCP = $ObjTuple->GetCP();
    $ValVille = $ObjTuple->GetVille();
    $ValCivilite = $ObjTuple->GetCivilite();
    $ValNomRespAdmin = $ObjTuple->GetNomR();
    $ValPrenomRespAdmin = $ObjTuple->GetPrenomR();
    $ValTelRespAdmin = $ObjTuple->GetTelR();
    $ValMailRespAdmin = $ObjTuple->GetMailR();
    $ValFaxRespAdmin = $ObjTuple->GetFaxR();
    $ValPresentEntreprise = $ObjTuple->GetPresentEntreprise();
    $ValSiteEntreprise = $ObjTuple->GetSiteEntreprise();
    $WidthButton = 100;
    ?>

	<br />
	<h4 class="center"><?php 
    echo $ValNomE;
    ?>
</h4>
	<table class="bordered striped">
		<tbody>
		<tr>
			<td width="30%"><i>Adresse </i></td>
 switch ($StepConsult) {
     case 'InitModif':
     case 'InitNew':
         // Préparation du nouvel enreg. ou récupération de l'enreg. à modifier
         $ObjTuple = new CEntreprise($StepConsult == 'InitModif' ? $IdentPK : 0);
         $ValPK_Entreprise = $ObjTuple->GetPK_Entreprise();
         $ValNomE = $ObjTuple->GetNomE();
         $ValCivilite = $ObjTuple->GetCivilite();
         $ValNomR = $ObjTuple->GetNomR();
         $ValPrenomR = $ObjTuple->GetPrenomR();
         $ValAdr1 = $ObjTuple->GetAdr1();
         $ValAdr2 = $ObjTuple->GetAdr2();
         $ValCP = $ObjTuple->GetCP();
         $ValVille = $ObjTuple->GetVille();
         $ValTelR = $ObjTuple->GetTelR();
         $ValMailR = $ObjTuple->GetMailR();
         $ValFaxR = $ObjTuple->GetFaxR();
         $ValPresentEntreprise = $ObjTuple->GetPresentEntreprise();
         if (trim($ObjTuple->GetSiteEntreprise()) == 'http://') {
             $ObjTuple->SetSiteEntreprise('');
         }
         $ValSiteEntreprise = $ObjTuple->GetSiteEntreprise();
         break;
     case 'Valid':
         $CodErrVide = array();
         $CodErrInval = array();
         // Champs non validés
         $ValPK_Entreprise = $PK_Entreprise;
         $ValAdr2 = $Adr2;
         $ValMailR = $MailR;
         $ValFaxR = $FaxR;
예제 #3
0
                </tr>
                <tr>
                    <th>Tél.</th>
                    <td><?php 
    echo $ObjEntreprise->GetTelR();
    ?>
&nbsp;</td>
                    <td><?php 
    echo $ObjUser->GetTel();
    ?>
&nbsp;</td>
                </tr>
                <tr>
                    <th>e-mail</th>
                    <td><?php 
    echo $ObjEntreprise->GetMailR();
    ?>
&nbsp;</td>
                    <td><?php 
    echo $ObjUser->GetMail();
    ?>
&nbsp;</td>
                </tr>
               <tr>
                    <th>Fax</th>
                    <td><?php 
    echo $ObjEntreprise->GetFaxR();
    ?>
&nbsp;</td>
                    <td><?php 
    echo $ObjUser->GetFax();