Liens
';
/////// BEGIN TABLE DOWN ///////
$str .= dispTableBegin("l i e n s", "95", 1);
$str .= '
';
$str .= dispContactsLinks();
$str .= '
';
$str .= dispTableEnd();
$str .= '
Contactez nous
- ';
/////// BEGIN TABLE UP ///////
$str .= dispTableBegin("c o n t a c t", "90", 1);
$str .= '
';
$str .= dispContactsAssoInfos();
$str .= '
|
';
$str .= dispTableEnd();
$str .= '
';
echo $str;
}
function dispContactsAssoInfos() {
$str = '';
$result = getAssoInfos();
if (mysql_num_rows($result)){
$asso = mysql_fetch_array($result);
////// NAME //////
if ($asso["asso_name"]) {
$str .= '
'.$asso["asso_name"].'
|
';
}
////// ADDRESS //////
if ($asso["asso_address"]) {
$str .= '
'.$asso["asso_address"].'
|
';
}
////// MAIL //////
if ($asso["asso_mail"] || $asso["asso_mail2"]) {
////// SPACE //////
$str .= ' |
';
$str .= '
mail:
|
';
if ($asso["asso_mail"]) {
$str .= '
'.$asso["asso_mail"].'
|
';
}
if ($asso["asso_mail"] && $asso["asso_mail2"]) {
$str .= '  ou   | ';
}
if ($asso["asso_mail2"]) {
$str .= '
'.$asso["asso_mail2"].'
|
';
}
$str .= '
';
}
if ($asso["asso_phone"]) {
////// SPACE //////
$str .= ' |
|
';
////// PHONE //////
$str .= '
téléphone:
|
'.$asso["asso_phone"].'
|
|
';
if ($asso["asso_phone_comment"]) {
$str .= '
'.$asso["asso_phone_comment"].'
|
';
}
}
////// SPACE //////
$str .= ' |
';
}
return ($str);
}
function dispContactsLinks() {
$str ='';
$result = getAllLinks();
if (mysql_num_rows($result)){
while ($link = mysql_fetch_array($result)) {
$str .= '
'.$link["link_link"].'
|
'.$link["link_comment"].'
|
|
';
}
}
return($str);
}
?>