"pdf02.gif", "1" => "exel.gif", "2" => "word.gif", "3" => "zip.gif", "4" => "ic_audio.gif", "5" => "media.gif", "6" => "", ); //Version anglaise activer if($lg=='en') { $urlLangue = " |  FRANÇAIS"; } else { if(@query("activer","activerSite","id=2 and version='anglaise'")==1){ $urlLangue = " |  ENGLISH"; }else{ $urlLangue = " |  ENGLISH"; } } ################################ ## coordonnee require_once("includes/coordonnee.inc.php"); #################################### ## statistique visiteurs et membres ob_start(); require_once("includes/afficheStat.inc.php"); $txtStat = ob_get_contents(); ob_clean(); #################################### ## Affichage du centre ob_start(); if ($lg=='en') { $leTel = "Telephone"; $leFax = "Fax"; $leMail = "Email"; } else { $leTel = "Téléphone"; $leFax = "Télécopieur"; $leMail = "Courriel"; $sansFrais = "Sans frais"; } if(!$idCat) { if($lg=='en'){ $sql = "SELECT * FROM coordonneeClient WHERE id=2 LIMIT 1"; }else{ $sql = "SELECT * FROM coordonneeClient WHERE id=1 LIMIT 1"; } $res = mysql_query($sql); echo( "\n" ."\n" ."\n" ."\n" ."
\n" ."
\n" //."".(($lg=='en') ? "Postal address" : "Adresse postale")."
\n" ."".mysql_result($res,0,"nomEntreprise")."
\n" ."
" ."
" .mysql_result($res,0,"adresse")."
\n" .mysql_result($res,0,"ville")." ".mysql_result($res,0,"province")."\n" .mysql_result($res,0,"codePostal")."

\n" .(($lg=='en') ? "Phone: " : "Téléphone :")." ".mysql_result($res,0,"tel")."
\n" .(($lg=='en') ? "Fax: " : "Télécopieur :")." ".mysql_result($res,0,"fax")."
\n" .(mysql_result($res,0,"courriel") ? $leMail." : ".mysql_result($res,0,"courriel")."
" : "") ); if(mysql_result($res,0,"tel2")) { echo(($lg=='en') ? "Toll free: " : "Sans frais :")." ".mysql_result($res,0,"tel2")."
\n"; } echo( "
\n" ."
\n" ."
" ."
\n" ); $sql = "SELECT * FROM categorieContact WHERE archive <> 1 ORDER BY positionAffichage"; $res=sql_query($sql); $nbr = sql_num_rows($res); echo( "" //."\n" //."" //."" ); while($r=sql_fetch_object($res)) { $total = query("count(id)", "editeurEmploye","where idCat=".$r->id); if($total>0) { echo( "\n" ."" ); } unset($total); } echo("
".(($lg=='en') ? "Our locations" : "Catégories de contacts")."
\n" ."
  • ".$r->titre."
  • \n" ."".$total." ressource".(($total>1) ? "s" : "")." ".(($total>0) ? "" ."[ id."\" class=menutop>".(($lg=='en') ? "More..." : "Afficher...")." ]" : "")."" ."\n" ."

    " ."
    "); } else { $pathUpload = "upload/editeurEmploye/"; $sql = "SELECT * FROM editeurEmploye WHERE idCat = $idCat ORDER BY positionAffichage"; $res=sql_query($sql); $nbr = sql_num_rows($res); echo("
    ".query("titre","categorieContact","id=$idCat")."
    \n"); while($r=sql_fetch_object($res)) { if (file_exists($pathUpload.$r->petitePhoto_1) && $r->petitePhoto_1) { $siz=@getimagesize($pathUpload.$r->petitePhoto_1); $siz1=@getimagesize($pathUpload.$r->grandePhoto_1); if (file_exists($pathUpload.$r->grandePhoto_1) && $r->grandePhoto_1) { $tplPhoto = "grandePhoto_1."','Image',".($siz1[0]+17).",".($siz1[1]+3).",1,1,0,0,0,0);\">"; } $tplPhoto .= "petitePhoto_1."\"border=\"0\" align=left style=\"margin: 6px 0px 10px 0px; border-color: #000066; border-width: 1px; border-style: solid;".(($r->ombrage==1) ? " filter:progid:DXImageTransform.Microsoft.dropshadow(color=".$r->color.", offx=3, offy=3);" : "")."\" ".(($r->legendePhoto_1) ? "title=\"".$r->legendePhoto_1."\" alt=\"".$r->legendePhoto_1."\"" : "").">"; } echo( "" ."\n" .(($tplPhoto) ? "" : "") ."" ."" ."" ."\n" ."" ."
    \n".$tplPhoto."\n" ."
    \n" ."".$r->nomEmployes."
    \n" ); if($lg=='en'){ echo ($r->fonction_en ? $r->fonction_en."
    \n" : ""); }else{ echo ($r->fonction_fr ? $r->fonction_fr."
    \n" : ""); } echo( //.(($r->adresse) ? $r->adresse."
    \n" : "") //.(($r->ville) ? $r->ville."\n" : "") //.(($r->region) ? $r->region."
    \n" : "") //.(($r->province) ? $r->province : "").(($r->pays) ? $r->pays.", " : "").(($r->codePostal) ? " ".$r->codePostal : "") //.(($r->province || $r->pays || $r->codePostal) ? "
    \n" : "") (($r->tel) ? $leTel." : ".$r->tel."
    \n" : "") //.(($r->fax) ? $leFax." : ".$r->fax."
    \n" : "") .(($r->courriel) ? $leMail." : courriel."\" class=ttlien1>".$r->courriel."
    " : "") //.(($r->resume) ? "
    ".nl2br($r->resume)."\n" : "") ."
    \n" ."

    " ); unset($petitePhoto, $tplPhoto); } echo("
    [ ".(($lg=='en') ? "Back" : "Retour")." ]
    \n"); } $afficheCentre = ob_get_contents(); ob_clean(); if($lg=='en') { $titreSection = TITRE." - Contact Us"; $titreSection1 = "Contact Us"; require_once("includes/enteteHTML.inc.php"); require_once("includes/openSites.js.php"); require_once("templates/en_template1.inc.php"); }else{ $titreSection = TITRE." - Nous joindre"; $titreSection1 = "Nous joindre"; require_once("includes/enteteHTML.inc.php"); require_once("includes/openSites.js.php"); require_once("templates/template1.inc.php"); }