// Déclaration de la session
session_start();
// Global settings
include("includes/_settings.php");
// Variables de connexion
include("includes/_connexion.php");
// Appel des fonctions
include("includes/_fonctions.php");
// Appel des secure
include("includes/_secure.php");
// Sélection des infos clients
if (!isset($_SESSION['admin_email']))
{
$sql_admin = "
SELECT
admin_nom,
admin_accroche,
admin_adresse,
admin_telephone,
admin_fax,
admin_email,
admin_bcc_email,
admin_site,
admin_email_webmaster,
prix_taxe_sejour,
prix_taxe_aeroport,
prix_frais_de_dossier,
prix_assurance_multirisque,
prix_assurance_annulation,
prix_assurance_refusee
FROM admin
";
$result_admin = mysql_query($sql_admin);
$admin = mysql_fetch_array($result_admin);
$admin_nom = $admin['admin_nom'];
$admin_accroche = $admin['admin_accroche'];
$admin_adresse = $admin['admin_adresse'];
$admin_telephone = $admin['admin_telephone'];
$admin_fax = $admin['admin_fax'];
$admin_email = $admin['admin_email'];
$admin_bcc_email = $admin['admin_bcc_email'];
$admin_site = $admin['admin_site'];
$admin_email_webmaster = $admin['admin_email_webmaster'];
$prix_taxe_sejour = $admin['prix_taxe_sejour'];
$prix_taxe_aeroport = $admin['prix_taxe_aeroport'];
$prix_frais_de_dossier = $admin['prix_frais_de_dossier'];
$prix_assurance_multirisque = $admin['prix_assurance_multirisque'];
$prix_assurance_annulation = $admin['prix_assurance_annulation'];
$prix_assurance_refusee = $admin['prix_assurance_refusee'];
session_register('admin_nom');
session_register('admin_accroche');
session_register('admin_adresse');
session_register('admin_telephone');
session_register('admin_fax');
session_register('admin_email');
session_register('admin_bcc_email');
session_register('admin_site');
session_register('admin_email_webmaster');
session_register('prix_taxe_sejour');
session_register('prix_taxe_aeroport');
session_register('prix_frais_de_dossier');
session_register('prix_assurance_multirisque');
session_register('prix_assurance_annulation');
session_register('prix_assurance_refusee');
mysql_free_result($result_admin);
}
$repertoire_img = "";
if($_POST["for"]){
$date_du_jour_complete=date("Y-m-d H:i:s");
$sql_newsletter = "
INSERT INTO membres
(nom,prenom,membres_email, membres_initiale)
VALUES ('$_POST[nom]','$_POST[prenom]','$_POST[emails]','$date_du_jour_complete')";
mysql_query($sql_newsletter) or die (redirection("index.php"));
echo '
';
}
?>
sit web wts
|
|
|
$sql_infos_pays_rubrique = "
SELECT DISTINCT infos_pays_rubrique
FROM infos_pays
";
$result_infos_pays_rubrique = mysql_query($sql_infos_pays_rubrique);
$rows_infos_pays_rubrique = mysql_num_rows($result_infos_pays_rubrique);
$ipr = 0;
while ($infos_pays_rubrique = mysql_fetch_array($result_infos_pays_rubrique))
{
$ipr++;
?>
echo strtoupper($infos_pays_rubrique['infos_pays_rubrique']); ?>
|
|
$sql_infos_pays = "
SELECT infos_pays_id, infos_pays_titre, infos_pays_url
FROM infos_pays
WHERE infos_pays_rubrique = '".$infos_pays_rubrique['infos_pays_rubrique']."'
ORDER BY infos_pays_id
";
$result_infos_pays = mysql_query($sql_infos_pays);
while ($infos_pays = mysql_fetch_array($result_infos_pays))
{
?>
if($infos_pays['infos_pays_url']!="") {?> echo $infos_pays['infos_pays_titre']; ?>
} else {?> echo $infos_pays['infos_pays_titre']; ?> }?> |
}
if ($rows_infos_pays_rubrique != $ipr)
{
}
}
?>
|
|
|
|
|
|
if(!isset($page)){
$page1="home.php";
include($page1);
}else{
$page1=$page.".php";
include($page1);
}
?> |
|
|
|
|
|