include_once("php/prologue-rubrique.php");
$dnum=$_GET["chateau"];
if (!is_numeric($dnum)) {
header("Location: /404.php");
exit;
}
$numsalle=$_GET["num"];
if (!is_numeric($numsalle)) {
header("Location: /404.php");
exit;
}
$pgres=pg_exec($db_conn,"SELECT nom,email FROM cha_domaine WHERE domid=$dnum");
$row=0;
if (pg_numrows($pgres)>=1) {
$data=pg_fetch_object ($pgres, $row);
$nom_domaine=htmlspecialchars($data->nom);
}
$pgrecpt=pg_exec($db_conn, "SELECT * FROM cha_salles WHERE roomid=$numsalle");
if (pg_numrows($pgrecpt)>=1) {
$data_h=pg_fetch_object($pgrecpt, 0);
$text1=get_text($data_h->pictint_txt1, $lang);
$text2=get_text($data_h->pictint_txt2, $lang);
}
?>
include("meta.php");
?>
- echo $nom_domaine; ?> -
include("php/nav_haut.php"); ?>
|
Réceptions echo $nom_domaine; ?>
echo htrad("Salle");?> : echo htmlspecialchars($data_h->name); ?>
|
if ($data->email) { picto_contact("RE");}?>
|
echo htrad("vues du lieu de réception"); ?>
echo lien_contact("RE");?>; ?>) echo htrad("Première vue"); ?> |
echo lien_contact("RE");?>
echo htrad("Seconde vue");?> |
|
| if ($data_h->surface) { ?>
Surface
: |
echo $data_h->surface; ?> m2
} ?>
|
Capacités : |
| if ($data_h->captable) { ?>
Table
} ?> |
if ($data_h->captable) { ?>
echo $data_h->captable; ?> pers.
} ?> |
| if ($data_h->captheatre) { ?>
} ?> |
if ($data_h->captheatre) { ?>
echo $data_h->captheatre; ?> pers.
} ?> |
| if ($data_h->capcocktail) { ?>
Cocktail
} ?> |
if ($data_h->capcocktail) { ?>
echo $data_h->capcocktail; ?> pers.
} ?> |
|
| if ($data_h->nbsanitaires) { ?>
Sanitaires :
} ?>
|
if ($data_h->nbsanitaires) { ?>
echo $data_h->nbsanitaires; ?>
} ?> |
|
echo $text1; ?> echo $text2; ?> |
|
|