Exemplo n.º 1
0
    }
    $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>
			<td><?php 
    echo $ValAdr1;
    ?>
     // 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;
     $ValPresentEntreprise = $PresentEntreprise;
     if (trim($SiteEntreprise) == 'http://') {
         $SiteEntreprise = '';
Exemplo n.º 3
0
	                                                                       <?php 
    if ($ObjEntreprise->GetPresentEntreprise() != '') {
        AffichLigneVierge();
        ?>
 			<div class="row">
                <div class="col s5"><b>Présentation de l'entreprise :</b></div>
                <div class="col s7"><?php 
        echo $ObjEntreprise->GetPresentEntreprise();
        ?>
</div>
            </div>
      
	
	                                                                       <?php 
    }
    if ($ObjEntreprise->GetSiteEntreprise() != '') {
        AffichLigneVierge();
        ?>
			<div class="row">
                <div class="col s5"><b>Site web de l'entreprise :</b></div>
                <div class="col s7"><a href="<?php 
        echo $ObjEntreprise->GetSiteEntreprise();
        ?>
" target="_blank">
			    <?php 
        echo $ObjEntreprise->GetSiteEntreprise();
        ?>
			</a></div>
            </div>
		
		                                                                 <?php