diff -r soframedia/.htaccess soframedia-test/.htaccess 1,6d0 < RewriteEngine On < RewriteCond %{SERVER_PORT} 80 < RewriteRule ^(.*)$ https://www.soframedia.fr/$1 [R=301,L] < Header add Strict-Transport-Security "max-age=157680000" < Header add X-FRAME-OPTIONS "None" < Only in soframedia/2/abonnement: api-old-20250331.php Only in soframedia/2/abonnement: api-old-20250401.php diff -r soframedia/2/abonnement/api.php soframedia-test/2/abonnement/api.php 34,35c34 < "valide2(1);", < // "valide2(1);demandeCodeSelect('bouquet');", --- > "valide2(1);demandeCodeSelect('bouquet');", 54,56c53,54 < if ($data['choixbouquet'] == "") { < echo(""); < } else if (strpos($data['choixbouquet'], "MOIS SUP") === false) { --- > // Etape GET Nbjours après choix forfait > if (strpos($data['choixbouquet'], "MOIS SUP") === false) { 60a59 > // 66,75c65 < echo getComboBox( < "choixbouquet", < "valide2(2);demandeCodeSelect('jour');demandeCodeSelect('creditel');", < "Selectionner le bouquet", < "tarif", < "type_tarif_nomclasse", < "type_tarif_nomclasse", < $data['choixbouquet'], < "sys_datesup is null and id_tarif_pere is null and type_tarif_nomclasse<>'NSETV' and type_tarif_nomclasse<>'GRATUIT' and type_tarif_nomclasse<>'RADIO GRATUIT' and typet2m='" . $letypedut2m . "' and id_site=" . $data['idsitetravail'] . ' and visible=1 AND visibleHTML IS NULL', " distinct ", "onkeydown=\"javascript:PressKeyElement(null,'telNo','nombrejour');\"" < ); --- > echo getComboBox("choixbouquet", "valide2(2);demandeCodeSelect('jour');demandeCodeSelect('creditel');", "Selectionner le bouquet", "tarif", "type_tarif_nomclasse", "type_tarif_nomclasse", $data['choixbouquet'], "sys_datesup is null and id_tarif_pere is null and type_tarif_nomclasse<>'NSETV' and type_tarif_nomclasse<>'GRATUIT' and type_tarif_nomclasse<>'RADIO GRATUIT' and typet2m='" . $letypedut2m . "' and id_site=" . $data['idsitetravail'] . ' and visible=1 AND visibleHTML IS NULL', " distinct ", "onkeydown=\"javascript:PressKeyElement(null,'telNo','nombrejour');\""); Only in soframedia/2/abonnement: api.phpold260106 Only in soframedia-test/2/abonnement: envoie.php-old260126 Only in soframedia-test/2/abonnement: index-new.php Only in soframedia-test/2/abonnement: index.php-old260123 Only in soframedia-test/2/abonnement: index.php-old260126 Only in soframedia-test/2/abonnement: index.php-old260205 diff -r soframedia/2/abonnement/index.php-old260206 soframedia-test/2/abonnement/index.php-old260206 8a9 > if ($debug) { echo("hi
"); } 9a11 > if ($debug) { echo("hi
"); } 10a13 > if ($debug) { echo("hi
"); } 11a15,17 > if ($debug) { > echo("

mode debug après appel des fichier




"); > } 122a129 > 159a167,255 > 161a258,297 > // obtenir les prix > $sql = "SELECT `tarif_id`, `type_tarif`, `type_tarif_nomclasse`, typet2m, `libellecase`, `unite_temps` FROM tarif WHERE id_site=" . $_SESSION['idsitetravail']; > $sql .= " AND id_tarif_pere IS NULL AND sys_datesup IS NULL AND visible = 1 AND `visibleHTML` IS NULL"; > $sql .= " AND lower(`service`) NOT LIKE '%gratuit%'"; > $sql .= " AND lower(`type_tarif_nomclasse`) NOT LIKE '%mois sup%' AND lower(`type_tarif_nomclasse`) NOT LIKE '%mois_sup%' AND lower(`type_tarif_nomclasse`) NOT LIKE '%moissup%'"; > // $sql .= "sys_datesup is null and id_tarif_pere is null and type_tarif_nomclasse<>'NSETV' and type_tarif_nomclasse<>'GRATUIT' and type_tarif_nomclasse<>'RADIO GRATUIT' and id_site=" . $_SESSION['idsitetravail'] . " and visible=1 AND visibleHTML IS NULL"; > $tarifjour = ExecuteSelectSql($sql); > ?> >
>
> 6) { ?> > > > >
> $libellecase = strtolower($tarif_du_jour["libellecase"]); > $unite_temps = $tarif_du_jour["unite_temps"]; > $prix = getCalculCoutForfaitTTCSelonModeFacture($tarif_du_jour["tarif_id"], $unite_temps); > ?> >
prix de l'abonnement pour
de forfait :
>
>
> > 0) { ?> >
>
prix du casque:
>
>
> >
> >
> > >
****hi**
> 887c1023 < $sql = "SELECT `tarif_id`, `type_tarif_nomclasse`, typet2m, `libellecase`, `unite_temps` FROM tarif WHERE id_site=" . $_SESSION['idsitetravail']; --- > $sql = "SELECT `tarif_id`, `type_tarif`, `type_tarif_nomclasse`, typet2m, `libellecase`, `unite_temps` FROM tarif WHERE id_site=" . $_SESSION['idsitetravail']; 1105,1110c1241,1277 <
<
<
L'offre
<
<
< --- > $presence_internet = false; > $presence_telephone = false; > $presence_tv = false; > foreach ($tarifjour as $tarif_du_jour) { > if (isset($type_tarif['forfait_presence_internet']) && $tarif_du_jour['type_tarif'] & $type_tarif['forfait_presence_internet']) { $presence_internet = true; } > elseif (isset($type_tarif['forfait_presence_telephone']) && $tarif_du_jour['type_tarif'] & $type_tarif['forfait_presence_telephone']) { $presence_telephone = true; } > elseif (isset($type_tarif['forfait_presence_telephone_recu']) && $tarif_du_jour['type_tarif'] & $type_tarif['forfait_presence_telephone_recu']) { $presence_telephone = true; } > else { $presence_tv = true; } > } > ?> > >
>
>
L'offre
>
>
> > > > > > > > > > > > > > > > > > > >
1112c1279 <
--- > 1238c1405,1411 < --- > > > > > > > Only in soframedia/2/abonnement: preparepaiement.php-old160725 Only in soframedia/2/abonnement: preparepaiement.php-old250901 Only in soframedia-test/2/abonnement: preparepaiement.php-old260126 Only in soframedia/2/abonnement: prolonger.php-old080825-rplfusion Only in soframedia/2/abonnement: prolonger.php-old110625 Only in soframedia-test/2/abonnement: prolonger.php-old260126 Only in soframedia/2/abonnement: recapitulatif.php-old170725 Only in soframedia/2/abonnement: recapitulatif.php-old180725 Only in soframedia-test/2/abonnement: recapitulatif.php-old260123 Only in soframedia-test/2/abonnement: recapitulatif.php-old260126 diff -r soframedia/2/changechambrehopale.php-old260126 soframedia-test/2/changechambrehopale.php-old260126 184c184 < $nomservice = getTxtChampData("nom", "service", " service_id='" . $choixservice . "' AND id_site = $idsite"); --- > $nomservice = getTxtChampData("nom", "service", " service_id='" . $choixservice . "' AND id_site = $idsite"); 260a261,268 > } > > if ($donneeTrouve) { > if (getTxtChampData("parking", "trace_facture", "id_site=" . $idsite . " and upper(nom)='" . toUpper($nom) . "' and upper(prenom)='" . toUpper($prenom) . "' and upper(tel)='" . toUpper($tel) . "'") == '1') { > $donneeTrouve = false; > $erreur = "Votre abonnement est en mode parking, un changement de chambre est donc impossible.
Merci de déparker votre abonnement pour sélectionner votre nouvelle chambre."; > $scriptdonnefocus = "document.getElementById('chambre').focus();"; > } Only in soframedia/2: choixactionhopale.php-old260126 Only in soframedia-test/2: generale_site Only in soframedia-test/2: generale_site_old010425 diff -r soframedia/2/generalehopale.css soframedia-test/2/generalehopale.css 5,10d4 < /* < form < { < min-height: 100vh!important; < } < */ 22,26d15 < /*#logohopale {*/ < /* position: absolute;*/ < /* top: 10px;*/ < /* left: 15px;*/ < /*}*/ 44,50d32 < /*label {*/ < /* font-size: 1.5em;*/ < /*}*/ < /*.taillenormal {*/ < /* font-size: 1.5em;*/ < /*}*/ < 64,69d45 < /*html { < font-family: sans-serif; < height : 100%; < < < }*/ 75,82d50 < /*body{ < font-family: "Trebuchet MS", sans-serif; < height: 100%; < margin: 0px 0px 0px 0px; < padding: 0px 0px 0px 0px; < background-color: white; < < } */ 91d58 < /*font-variant: small-caps;*/ 554,560d520 < /* #monform {margin-bottom: 100px;} */ < < /* #monform tr {margin: 0; padding: 0; border: 2px solid #0d61be;} */ < /* #monform td {margin: 0; padding: 0; border: 2px solid #0d61be;} */ < < /* #monform tr:nth-of-type(3){background-color: #0d61be; color: #fff;} */ < 723d682 < /* margin: 50px!important; */ 772,773c731 < /* < #payer --- > #pourbouquet 775d732 < height: auto!important; 777,781c734,741 < flex-direction: column; < justify-content: space-around; < width: 30em; < align-content: center; < align-items: center; --- > flex-direction: row; > text-align: center; > } > > #choixbouquet > { > align-self: left; > margin: 0 auto; 783d742 < /**/ 856a816 > margin: 0 auto; 857a818 > text-align: center; 894c855,856 < width: fit-content !important; --- > min-width: fit-content !important; > width: 95%; 920,929c882,889 < /* < #monform > div < { < word-wrap: break-word; < } < #monform > div > div < { < word-wrap: break-word; < } < */ --- > #SelectBouquet { > width: 100%; > margin: 2%; > padding: 1%; > align-content: center; > justify-content: space-around; > } > Only in soframedia/2/hopale: 211.json Only in soframedia/2/hopale: 212.json Only in soframedia/2/hopale: 213.json Only in soframedia/2/hopale: 215.json Only in soframedia/2/hopale: 219.json diff -r soframedia/2/hopale/220.json soframedia-test/2/hopale/220.json 6,7c6,7 < "telportable": "3456", < "datefinreel": "2026-01-13 10:35:33" --- > "telportable": "1234", > "datefinreel": "2026-01-24 10:56:51" 13,14c13,14 < "telportable": "3456", < "datefinreel": "2026-01-13 10:35:33" --- > "telportable": "1234", > "datefinreel": "2026-01-24 10:56:51" 20,21c20,84 < "telportable": "3456", < "datefinreel": "2026-01-13 10:35:33" --- > "telportable": "1234", > "datefinreel": "2026-01-24 10:56:51" > }, > { > "nom": "BOUTTEFEUX", > "prenom": "DYLAN", > "telfixe": "", > "telportable": "0685980000", > "datefinreel": "2026-01-24 10:56:50" > }, > { > "nom": "BOUTTEFEUX", > "prenom": "DYLAN", > "telfixe": "", > "telportable": "0685980000", > "datefinreel": "2026-01-24 10:56:50" > }, > { > "nom": "BOUTTEFEUX", > "prenom": "DYLAN", > "telfixe": "", > "telportable": "0685980000", > "datefinreel": "2026-01-24 10:56:50" > }, > { > "nom": "ABONNEMENT 1 JOUR PARKÉ", > "prenom": "ABONNEMENT 1 JOUR PARKÉ", > "telfixe": "", > "telportable": "0612345678", > "datefinreel": "2026-01-28 11:16:18" > }, > { > "nom": "ABONNEMENT 1 JOUR PARKÉ", > "prenom": "ABONNEMENT 1 JOUR PARKÉ", > "telfixe": "", > "telportable": "0612345678", > "datefinreel": "2026-01-28 11:16:18" > }, > { > "nom": "ABONNEMENT 1 JOUR PARKÉ", > "prenom": "ABONNEMENT 1 JOUR PARKÉ", > "telfixe": "", > "telportable": "0612345678", > "datefinreel": "2026-01-28 11:16:18" > }, > { > "nom": "TESTGESTIONCLIENT", > "prenom": "TESTGESTIONCLIENT", > "telfixe": "123456789", > "telportable": "123456789", > "datefinreel": "2026-01-24 03:27:24" > }, > { > "nom": "TESTGESTIONCLIENT", > "prenom": "TESTGESTIONCLIENT", > "telfixe": "123456789", > "telportable": "123456789", > "datefinreel": "2026-01-24 03:27:24" > }, > { > "nom": "TESTGESTIONCLIENT", > "prenom": "TESTGESTIONCLIENT", > "telfixe": "123456789", > "telportable": "123456789", > "datefinreel": "2026-01-24 03:27:24" diff -r soframedia/2/hopale/223.json soframedia-test/2/hopale/223.json 65a66,86 > "nom": "MUSSOLIN", > "prenom": "SYLVIE", > "telfixe": " ", > "telportable": " ", > "datefinreel": "2026-02-02 11:41:39" > }, > { > "nom": "MUSSOLIN", > "prenom": "SYLVIE", > "telfixe": " ", > "telportable": " ", > "datefinreel": "2026-02-02 11:41:39" > }, > { > "nom": "MUSSOLIN", > "prenom": "SYLVIE", > "telfixe": " ", > "telportable": " ", > "datefinreel": "2026-02-02 11:41:39" > }, > { 107a129,149 > "nom": "LEFEVRE", > "prenom": "EDDA", > "telfixe": null, > "telportable": "0680616515", > "datefinreel": "2026-02-03 15:18:43" > }, > { > "nom": "LEFEVRE", > "prenom": "EDDA", > "telfixe": null, > "telportable": "0680616515", > "datefinreel": "2026-02-03 15:18:43" > }, > { > "nom": "LEFEVRE", > "prenom": "EDDA", > "telfixe": null, > "telportable": "0680616515", > "datefinreel": "2026-02-03 15:18:43" > }, > { 128a171,191 > "nom": "MACHIN", > "prenom": "CATHERINE", > "telfixe": " ", > "telportable": "0680047489", > "datefinreel": "2026-01-30 19:34:59" > }, > { > "nom": "MACHIN", > "prenom": "CATHERINE", > "telfixe": " ", > "telportable": "0680047489", > "datefinreel": "2026-01-30 19:34:59" > }, > { > "nom": "MACHIN", > "prenom": "CATHERINE", > "telfixe": " ", > "telportable": "0680047489", > "datefinreel": "2026-01-30 19:34:59" > }, > { 150,170d212 < "nom": "LABRUNIE", < "prenom": "MARIUS", < "telfixe": " ", < "telportable": "0699289520", < "datefinreel": "2026-02-12 16:03:50" < }, < { < "nom": "LABRUNIE", < "prenom": "MARIUS", < "telfixe": " ", < "telportable": "0699289520", < "datefinreel": "2026-02-12 16:03:50" < }, < { < "nom": "LABRUNIE", < "prenom": "MARIUS", < "telfixe": " ", < "telportable": "0699289520", < "datefinreel": "2026-02-12 16:03:50" < }, < { 280c322 < "datefinreel": "2026-02-26 19:02:09" --- > "datefinreel": "2026-02-05 19:02:09" 287c329 < "datefinreel": "2026-02-26 19:02:09" --- > "datefinreel": "2026-02-05 19:02:09" 294c336 < "datefinreel": "2026-02-26 19:02:09" --- > "datefinreel": "2026-02-05 19:02:09" 301c343 < "datefinreel": "2026-02-16 14:07:59" --- > "datefinreel": "2026-02-02 14:07:59" 308c350 < "datefinreel": "2026-02-16 14:07:59" --- > "datefinreel": "2026-02-02 14:07:59" 315c357,420 < "datefinreel": "2026-02-16 14:07:59" --- > "datefinreel": "2026-02-02 14:07:59" > }, > { > "nom": "MOCELLIN", > "prenom": "ANNIE", > "telfixe": null, > "telportable": "0751608452", > "datefinreel": "2026-02-05 19:37:15" > }, > { > "nom": "MOCELLIN", > "prenom": "ANNIE", > "telfixe": null, > "telportable": "0751608452", > "datefinreel": "2026-02-05 19:37:15" > }, > { > "nom": "MOCELLIN", > "prenom": "ANNIE", > "telfixe": null, > "telportable": "0751608452", > "datefinreel": "2026-02-05 19:37:15" > }, > { > "nom": "D'ALEXANDRE", > "prenom": "JOSEF", > "telfixe": " ", > "telportable": "0682321218", > "datefinreel": "2026-02-06 14:20:44" > }, > { > "nom": "D'ALEXANDRE", > "prenom": "JOSEF", > "telfixe": " ", > "telportable": "0682321218", > "datefinreel": "2026-02-06 14:20:44" > }, > { > "nom": "D'ALEXANDRE", > "prenom": "JOSEF", > "telfixe": " ", > "telportable": "0682321218", > "datefinreel": "2026-02-06 14:20:44" > }, > { > "nom": "CFEY", > "prenom": "DEMIS", > "telfixe": " ", > "telportable": "0681484582", > "datefinreel": "2026-02-04 13:40:00" > }, > { > "nom": "CFEY", > "prenom": "DEMIS", > "telfixe": " ", > "telportable": "0681484582", > "datefinreel": "2026-02-04 13:40:00" > }, > { > "nom": "CFEY", > "prenom": "DEMIS", > "telfixe": " ", > "telportable": "0681484582", > "datefinreel": "2026-02-04 13:40:00" 322c427 < "datefinreel": "2026-02-26 17:35:11" --- > "datefinreel": "2026-02-05 17:35:11" 329c434 < "datefinreel": "2026-02-26 17:35:11" --- > "datefinreel": "2026-02-05 17:35:11" 336c441 < "datefinreel": "2026-02-26 17:35:11" --- > "datefinreel": "2026-02-05 17:35:11" 380a486,506 > "nom": "GRAPPIN", > "prenom": "FABIENNE", > "telfixe": null, > "telportable": "0640758646", > "datefinreel": "2026-02-03 17:08:03" > }, > { > "nom": "GRAPPIN", > "prenom": "FABIENNE", > "telfixe": null, > "telportable": "0640758646", > "datefinreel": "2026-02-03 17:08:03" > }, > { > "nom": "GRAPPIN", > "prenom": "FABIENNE", > "telfixe": null, > "telportable": "0640758646", > "datefinreel": "2026-02-03 17:08:03" > }, > { 444,445c570,571 < "nom": "D'ALEXANDRE", < "prenom": "JOSEF", --- > "nom": "GASI", > "prenom": "ESAT", 447,448c573,574 < "telportable": "0682321218", < "datefinreel": "2026-02-06 14:20:44" --- > "telportable": "0699349949", > "datefinreel": "2026-02-03 11:17:35" 451,452c577,578 < "nom": "D'ALEXANDRE", < "prenom": "JOSEF", --- > "nom": "GASI", > "prenom": "ESAT", 454,455c580,581 < "telportable": "0682321218", < "datefinreel": "2026-02-06 14:20:44" --- > "telportable": "0699349949", > "datefinreel": "2026-02-03 11:17:35" 458,459c584,585 < "nom": "D'ALEXANDRE", < "prenom": "JOSEF", --- > "nom": "GASI", > "prenom": "ESAT", 461,462c587,588 < "telportable": "0682321218", < "datefinreel": "2026-02-06 14:20:44" --- > "telportable": "0699349949", > "datefinreel": "2026-02-03 11:17:35" 485a612,632 > "nom": "FAANA TUPEA", > "prenom": "RONALD", > "telfixe": null, > "telportable": "0678709395", > "datefinreel": "2026-01-31 09:05:48" > }, > { > "nom": "FAANA TUPEA", > "prenom": "RONALD", > "telfixe": null, > "telportable": "0678709395", > "datefinreel": "2026-01-31 09:05:48" > }, > { > "nom": "FAANA TUPEA", > "prenom": "RONALD", > "telfixe": null, > "telportable": "0678709395", > "datefinreel": "2026-01-31 09:05:48" > }, > { 490c637 < "datefinreel": "2026-02-16 15:16:22" --- > "datefinreel": "2026-02-01 15:16:22" 497c644 < "datefinreel": "2026-02-16 15:16:22" --- > "datefinreel": "2026-02-01 15:16:22" 504c651 < "datefinreel": "2026-02-16 15:16:22" --- > "datefinreel": "2026-02-01 15:16:22" 532c679 < "datefinreel": "2026-02-19 14:50:38" --- > "datefinreel": "2026-02-04 14:50:38" 539c686 < "datefinreel": "2026-02-19 14:50:38" --- > "datefinreel": "2026-02-04 14:50:38" 546c693,756 < "datefinreel": "2026-02-19 14:50:38" --- > "datefinreel": "2026-02-04 14:50:38" > }, > { > "nom": "WITCZAK", > "prenom": "STANISLAWA", > "telfixe": null, > "telportable": "0685494991", > "datefinreel": "2026-02-03 16:38:28" > }, > { > "nom": "WITCZAK", > "prenom": "STANISLAWA", > "telfixe": null, > "telportable": "0685494991", > "datefinreel": "2026-02-03 16:38:28" > }, > { > "nom": "WITCZAK", > "prenom": "STANISLAWA", > "telfixe": null, > "telportable": "0685494991", > "datefinreel": "2026-02-03 16:38:28" > }, > { > "nom": "SEIGNERT", > "prenom": "MARC", > "telfixe": null, > "telportable": "0695671803", > "datefinreel": "2026-02-01 15:01:22" > }, > { > "nom": "SEIGNERT", > "prenom": "MARC", > "telfixe": null, > "telportable": "0695671803", > "datefinreel": "2026-02-01 15:01:22" > }, > { > "nom": "SEIGNERT", > "prenom": "MARC", > "telfixe": null, > "telportable": "0695671803", > "datefinreel": "2026-02-01 15:01:22" > }, > { > "nom": "BLONDEL", > "prenom": "MARIE CLAUDE", > "telfixe": null, > "telportable": "0644293191", > "datefinreel": "2026-02-05 10:27:58" > }, > { > "nom": "BLONDEL", > "prenom": "MARIE CLAUDE", > "telfixe": null, > "telportable": "0644293191", > "datefinreel": "2026-02-05 10:27:58" > }, > { > "nom": "BLONDEL", > "prenom": "MARIE CLAUDE", > "telfixe": null, > "telportable": "0644293191", > "datefinreel": "2026-02-05 10:27:58" 553c763 < "datefinreel": "2026-02-09 12:37:26" --- > "datefinreel": "2026-02-02 12:37:26" 560c770 < "datefinreel": "2026-02-09 12:37:26" --- > "datefinreel": "2026-02-02 12:37:26" 567c777 < "datefinreel": "2026-02-09 12:37:26" --- > "datefinreel": "2026-02-02 12:37:26" 574c784 < "datefinreel": "2026-02-09 15:53:18" --- > "datefinreel": "2026-02-02 15:53:18" 581c791 < "datefinreel": "2026-02-09 15:53:18" --- > "datefinreel": "2026-02-02 15:53:18" 588c798 < "datefinreel": "2026-02-09 15:53:18" --- > "datefinreel": "2026-02-02 15:53:18" 612,613c822,823 < "nom": "BLONDEL", < "prenom": "MARIE CLAUDE", --- > "nom": "DEVAUX", > "prenom": "DAVID", 615,616c825,826 < "telportable": "0644293191", < "datefinreel": "2026-02-12 10:27:58" --- > "telportable": "0644869199", > "datefinreel": "2026-01-30 16:31:41" 619,620c829,830 < "nom": "BLONDEL", < "prenom": "MARIE CLAUDE", --- > "nom": "DEVAUX", > "prenom": "DAVID", 622,623c832,833 < "telportable": "0644293191", < "datefinreel": "2026-02-12 10:27:58" --- > "telportable": "0644869199", > "datefinreel": "2026-01-30 16:31:41" 626,627c836,837 < "nom": "BLONDEL", < "prenom": "MARIE CLAUDE", --- > "nom": "DEVAUX", > "prenom": "DAVID", 629,630c839,840 < "telportable": "0644293191", < "datefinreel": "2026-02-12 10:27:58" --- > "telportable": "0644869199", > "datefinreel": "2026-01-30 16:31:41" 633,634c843,844 < "nom": "KISSER", < "prenom": "PIERRE", --- > "nom": "BOUHADJAR ", > "prenom": "BARKAHOUM", 636,637c846,847 < "telportable": "0608510197", < "datefinreel": "2026-02-11 17:49:27" --- > "telportable": "0782067089", > "datefinreel": "2026-01-30 18:42:02" 640,641c850,851 < "nom": "KISSER", < "prenom": "PIERRE", --- > "nom": "BOUHADJAR ", > "prenom": "BARKAHOUM", 643,644c853,854 < "telportable": "0608510197", < "datefinreel": "2026-02-11 17:49:27" --- > "telportable": "0782067089", > "datefinreel": "2026-01-30 18:42:02" 647,648c857,858 < "nom": "KISSER", < "prenom": "PIERRE", --- > "nom": "BOUHADJAR ", > "prenom": "BARKAHOUM", 650,693c860,861 < "telportable": "0608510197", < "datefinreel": "2026-02-11 17:49:27" < }, < { < "nom": "GRASSER", < "prenom": "HUBERT", < "telfixe": " ", < "telportable": "0695120993", < "datefinreel": "2026-02-09 17:10:19" < }, < { < "nom": "GRASSER", < "prenom": "HUBERT", < "telfixe": " ", < "telportable": "0695120993", < "datefinreel": "2026-02-09 17:10:19" < }, < { < "nom": "GRASSER", < "prenom": "HUBERT", < "telfixe": " ", < "telportable": "0695120993", < "datefinreel": "2026-02-09 17:10:19" < }, < { < "nom": "VISCOS BOULET", < "prenom": "REGINE", < "telfixe": " ", < "telportable": "0669283728", < "datefinreel": "2026-02-12 13:55:21" < }, < { < "nom": "VISCOS BOULET", < "prenom": "REGINE", < "telfixe": " ", < "telportable": "0669283728", < "datefinreel": "2026-02-12 13:55:21" < }, < { < "nom": "VISCOS BOULET", < "prenom": "REGINE", < "telfixe": " ", < "telportable": "0669283728", < "datefinreel": "2026-02-12 13:55:21" --- > "telportable": "0782067089", > "datefinreel": "2026-01-30 18:42:02" 696,700c864,868 < "nom": "SIMON", < "prenom": "CHRISTIANE", < "telfixe": " ", < "telportable": " ", < "datefinreel": "2026-03-02 13:41:16" --- > "nom": "JOLY", > "prenom": "BRIGITTE", > "telfixe": null, > "telportable": "0749029206", > "datefinreel": "2026-01-30 19:06:50" 703,707c871,875 < "nom": "SIMON", < "prenom": "CHRISTIANE", < "telfixe": " ", < "telportable": " ", < "datefinreel": "2026-03-02 13:41:16" --- > "nom": "JOLY", > "prenom": "BRIGITTE", > "telfixe": null, > "telportable": "0749029206", > "datefinreel": "2026-01-30 19:06:50" 710,714c878,882 < "nom": "SIMON", < "prenom": "CHRISTIANE", < "telfixe": " ", < "telportable": " ", < "datefinreel": "2026-03-02 13:41:16" --- > "nom": "JOLY", > "prenom": "BRIGITTE", > "telfixe": null, > "telportable": "0749029206", > "datefinreel": "2026-01-30 19:06:50" 717,721c885,889 < "nom": "LICETTE", < "prenom": "ADELE", < "telfixe": " ", < "telportable": "0665029953", < "datefinreel": "2026-02-17 11:58:19" --- > "nom": "VINCI", > "prenom": "CHRISTINA", > "telfixe": null, > "telportable": "0660701908", > "datefinreel": "2026-02-03 15:32:07" 724,728c892,896 < "nom": "LICETTE", < "prenom": "ADELE", < "telfixe": " ", < "telportable": "0665029953", < "datefinreel": "2026-02-17 11:58:19" --- > "nom": "VINCI", > "prenom": "CHRISTINA", > "telfixe": null, > "telportable": "0660701908", > "datefinreel": "2026-02-03 15:32:07" 731,735c899,903 < "nom": "LICETTE", < "prenom": "ADELE", < "telfixe": " ", < "telportable": "0665029953", < "datefinreel": "2026-02-17 11:58:19" --- > "nom": "VINCI", > "prenom": "CHRISTINA", > "telfixe": null, > "telportable": "0660701908", > "datefinreel": "2026-02-03 15:32:07" 738,742c906,910 < "nom": "DOS SANTOS", < "prenom": "MANUEL", < "telfixe": " ", < "telportable": " ", < "datefinreel": "2026-02-09 17:35:13" --- > "nom": "CARON", > "prenom": "ARLETTE.CARON@FREE.FR", > "telfixe": null, > "telportable": "0671119715", > "datefinreel": "2026-02-04 15:36:12" 745,749c913,917 < "nom": "DOS SANTOS", < "prenom": "MANUEL", < "telfixe": " ", < "telportable": " ", < "datefinreel": "2026-02-09 17:35:13" --- > "nom": "CARON", > "prenom": "ARLETTE.CARON@FREE.FR", > "telfixe": null, > "telportable": "0671119715", > "datefinreel": "2026-02-04 15:36:12" 752,756c920,924 < "nom": "DOS SANTOS", < "prenom": "MANUEL", < "telfixe": " ", < "telportable": " ", < "datefinreel": "2026-02-09 17:35:13" --- > "nom": "CARON", > "prenom": "ARLETTE.CARON@FREE.FR", > "telfixe": null, > "telportable": "0671119715", > "datefinreel": "2026-02-04 15:36:12" 759,763c927,931 < "nom": "MIATH", < "prenom": "SERGE", < "telfixe": " ", < "telportable": "0614490674", < "datefinreel": "2026-02-06 17:44:00" --- > "nom": "KISSER", > "prenom": "PIERRE", > "telfixe": null, > "telportable": "0608510197", > "datefinreel": "2026-02-11 17:49:27" 766,770c934,938 < "nom": "MIATH", < "prenom": "SERGE", < "telfixe": " ", < "telportable": "0614490674", < "datefinreel": "2026-02-06 17:44:00" --- > "nom": "KISSER", > "prenom": "PIERRE", > "telfixe": null, > "telportable": "0608510197", > "datefinreel": "2026-02-11 17:49:27" 773,777c941,945 < "nom": "MIATH", < "prenom": "SERGE", < "telfixe": " ", < "telportable": "0614490674", < "datefinreel": "2026-02-06 17:44:00" --- > "nom": "KISSER", > "prenom": "PIERRE", > "telfixe": null, > "telportable": "0608510197", > "datefinreel": "2026-02-11 17:49:27" 780,781c948,949 < "nom": "NOEL", < "prenom": "IVONNE", --- > "nom": "VISCOS BOULET", > "prenom": "REGINE", 783,784c951,952 < "telportable": "0610742133", < "datefinreel": "2026-02-13 16:27:13" --- > "telportable": "0669283728", > "datefinreel": "2026-02-12 13:55:21" 787,788c955,956 < "nom": "NOEL", < "prenom": "IVONNE", --- > "nom": "VISCOS BOULET", > "prenom": "REGINE", 790,791c958,959 < "telportable": "0610742133", < "datefinreel": "2026-02-13 16:27:13" --- > "telportable": "0669283728", > "datefinreel": "2026-02-12 13:55:21" 794,795c962,963 < "nom": "NOEL", < "prenom": "IVONNE", --- > "nom": "VISCOS BOULET", > "prenom": "REGINE", 797,819c965,966 < "telportable": "0610742133", < "datefinreel": "2026-02-13 16:27:13" < }, < { < "nom": "HIMBER", < "prenom": "YVES", < "telfixe": null, < "telportable": "0616727611", < "datefinreel": "2026-02-09 18:01:03" < }, < { < "nom": "HIMBER", < "prenom": "YVES", < "telfixe": null, < "telportable": "0616727611", < "datefinreel": "2026-02-09 18:01:03" < }, < { < "nom": "HIMBER", < "prenom": "YVES", < "telfixe": null, < "telportable": "0616727611", < "datefinreel": "2026-02-09 18:01:03" --- > "telportable": "0669283728", > "datefinreel": "2026-02-12 13:55:21" 826c973 < "datefinreel": "2026-02-06 16:36:09" --- > "datefinreel": "2026-02-02 15:06:29" 833c980 < "datefinreel": "2026-02-06 16:36:09" --- > "datefinreel": "2026-02-02 15:06:29" 840c987 < "datefinreel": "2026-02-06 16:36:09" --- > "datefinreel": "2026-02-02 15:06:29" 843,886c990,991 < "nom": "DORN", < "prenom": "TRACY", < "telfixe": null, < "telportable": "0669270792", < "datefinreel": "2026-02-07 18:20:15" < }, < { < "nom": "DORN", < "prenom": "TRACY", < "telfixe": null, < "telportable": "0669270792", < "datefinreel": "2026-02-07 18:20:15" < }, < { < "nom": "DORN", < "prenom": "TRACY", < "telfixe": null, < "telportable": "0669270792", < "datefinreel": "2026-02-07 18:20:15" < }, < { < "nom": "SIQUIER", < "prenom": "YVONNE", < "telfixe": " ", < "telportable": "0624641032", < "datefinreel": "2026-02-09 17:36:26" < }, < { < "nom": "SIQUIER", < "prenom": "YVONNE", < "telfixe": " ", < "telportable": "0624641032", < "datefinreel": "2026-02-09 17:36:26" < }, < { < "nom": "SIQUIER", < "prenom": "YVONNE", < "telfixe": " ", < "telportable": "0624641032", < "datefinreel": "2026-02-09 17:36:26" < }, < { < "nom": "COLLE", < "prenom": "CHRISTINE", --- > "nom": "GERARD", > "prenom": "MONOT", 888,889c993,994 < "telportable": "0781178252", < "datefinreel": "2026-02-06 17:37:44" --- > "telportable": "0640100096", > "datefinreel": "2026-02-05 17:24:26" 892,893c997,998 < "nom": "COLLE", < "prenom": "CHRISTINE", --- > "nom": "GERARD", > "prenom": "MONOT", 895,896c1000,1001 < "telportable": "0781178252", < "datefinreel": "2026-02-06 17:37:44" --- > "telportable": "0640100096", > "datefinreel": "2026-02-05 17:24:26" 899,900c1004,1005 < "nom": "COLLE", < "prenom": "CHRISTINE", --- > "nom": "GERARD", > "prenom": "MONOT", 902,924c1007,1008 < "telportable": "0781178252", < "datefinreel": "2026-02-06 17:37:44" < }, < { < "nom": "MANGEOLLE", < "prenom": "RÉGINE", < "telfixe": " ", < "telportable": "0628050227", < "datefinreel": "2026-02-10 17:29:01" < }, < { < "nom": "MANGEOLLE", < "prenom": "RÉGINE", < "telfixe": " ", < "telportable": "0628050227", < "datefinreel": "2026-02-10 17:29:01" < }, < { < "nom": "MANGEOLLE", < "prenom": "RÉGINE", < "telfixe": " ", < "telportable": "0628050227", < "datefinreel": "2026-02-10 17:29:01" --- > "telportable": "0640100096", > "datefinreel": "2026-02-05 17:24:26" 931c1015 < "datefinreel": "2026-02-06 17:40:39" --- > "datefinreel": "2026-02-03 17:40:39" 938c1022 < "datefinreel": "2026-02-06 17:40:39" --- > "datefinreel": "2026-02-03 17:40:39" 945,987c1029 < "datefinreel": "2026-02-06 17:40:39" < }, < { < "nom": "DEVAUX", < "prenom": "DAVID", < "telfixe": null, < "telportable": "0644869199", < "datefinreel": "2026-02-11 21:23:46" < }, < { < "nom": "DEVAUX", < "prenom": "DAVID", < "telfixe": null, < "telportable": "0644869199", < "datefinreel": "2026-02-11 21:23:46" < }, < { < "nom": "DEVAUX", < "prenom": "DAVID", < "telfixe": null, < "telportable": "0644869199", < "datefinreel": "2026-02-11 21:23:46" < }, < { < "nom": "MUSSOLIN", < "prenom": "SYLVIE", < "telfixe": " ", < "telportable": " ", < "datefinreel": "2026-02-09 10:29:06" < }, < { < "nom": "MUSSOLIN", < "prenom": "SYLVIE", < "telfixe": " ", < "telportable": " ", < "datefinreel": "2026-02-09 10:29:06" < }, < { < "nom": "MUSSOLIN", < "prenom": "SYLVIE", < "telfixe": " ", < "telportable": " ", < "datefinreel": "2026-02-09 10:29:06" --- > "datefinreel": "2026-02-03 17:40:39" 990,991c1032,1033 < "nom": "MARCHAL", < "prenom": "GISELE", --- > "nom": "LICETTE", > "prenom": "ADELE", 993,994c1035,1036 < "telportable": " ", < "datefinreel": "2026-02-25 10:50:47" --- > "telportable": "0665029953", > "datefinreel": "2026-02-17 11:58:19" 997,998c1039,1040 < "nom": "MARCHAL", < "prenom": "GISELE", --- > "nom": "LICETTE", > "prenom": "ADELE", 1000,1001c1042,1043 < "telportable": " ", < "datefinreel": "2026-02-25 10:50:47" --- > "telportable": "0665029953", > "datefinreel": "2026-02-17 11:58:19" 1004,1005c1046,1047 < "nom": "MARCHAL", < "prenom": "GISELE", --- > "nom": "LICETTE", > "prenom": "ADELE", 1007,1155c1049,1050 < "telportable": " ", < "datefinreel": "2026-02-25 10:50:47" < }, < { < "nom": "MAGALHAES", < "prenom": "ALBINO", < "telfixe": null, < "telportable": "0788490792", < "datefinreel": "2026-02-09 14:59:44" < }, < { < "nom": "MAGALHAES", < "prenom": "ALBINO", < "telfixe": null, < "telportable": "0788490792", < "datefinreel": "2026-02-09 14:59:44" < }, < { < "nom": "MAGALHAES", < "prenom": "ALBINO", < "telfixe": null, < "telportable": "0788490792", < "datefinreel": "2026-02-09 14:59:44" < }, < { < "nom": "GRAPPIN", < "prenom": "FABIENNE", < "telfixe": null, < "telportable": "0640758646", < "datefinreel": "2026-02-18 15:27:18" < }, < { < "nom": "GRAPPIN", < "prenom": "FABIENNE", < "telfixe": null, < "telportable": "0640758646", < "datefinreel": "2026-02-18 15:27:18" < }, < { < "nom": "GRAPPIN", < "prenom": "FABIENNE", < "telfixe": null, < "telportable": "0640758646", < "datefinreel": "2026-02-18 15:27:18" < }, < { < "nom": "BAHEUX", < "prenom": "ANDRÉ", < "telfixe": " ", < "telportable": " ", < "datefinreel": "2026-02-06 14:26:21" < }, < { < "nom": "BAHEUX", < "prenom": "ANDRÉ", < "telfixe": " ", < "telportable": " ", < "datefinreel": "2026-02-06 14:26:21" < }, < { < "nom": "BAHEUX", < "prenom": "ANDRÉ", < "telfixe": " ", < "telportable": " ", < "datefinreel": "2026-02-06 14:26:21" < }, < { < "nom": "DEMIR", < "prenom": "CELAL", < "telfixe": null, < "telportable": "0615711261", < "datefinreel": "2026-02-15 16:06:11" < }, < { < "nom": "DEMIR", < "prenom": "CELAL", < "telfixe": null, < "telportable": "0615711261", < "datefinreel": "2026-02-15 16:06:11" < }, < { < "nom": "DEMIR", < "prenom": "CELAL", < "telfixe": null, < "telportable": "0615711261", < "datefinreel": "2026-02-15 16:06:11" < }, < { < "nom": "CZARNECKI", < "prenom": "DIANE", < "telfixe": " ", < "telportable": "0644119260", < "datefinreel": "2026-02-19 15:48:54" < }, < { < "nom": "CZARNECKI", < "prenom": "DIANE", < "telfixe": " ", < "telportable": "0644119260", < "datefinreel": "2026-02-19 15:48:54" < }, < { < "nom": "CZARNECKI", < "prenom": "DIANE", < "telfixe": " ", < "telportable": "0644119260", < "datefinreel": "2026-02-19 15:48:54" < }, < { < "nom": "BECKER", < "prenom": "AMELIE", < "telfixe": " ", < "telportable": "0623687497", < "datefinreel": "2026-02-06 16:44:04" < }, < { < "nom": "BECKER", < "prenom": "AMELIE", < "telfixe": " ", < "telportable": "0623687497", < "datefinreel": "2026-02-06 16:44:04" < }, < { < "nom": "BECKER", < "prenom": "AMELIE", < "telfixe": " ", < "telportable": "0623687497", < "datefinreel": "2026-02-06 16:44:04" < }, < { < "nom": "BURGER", < "prenom": "NICOLE", < "telfixe": null, < "telportable": "0698494933", < "datefinreel": "2026-02-12 17:00:39" < }, < { < "nom": "BURGER", < "prenom": "NICOLE", < "telfixe": null, < "telportable": "0698494933", < "datefinreel": "2026-02-12 17:00:39" < }, < { < "nom": "BURGER", < "prenom": "NICOLE", < "telfixe": null, < "telportable": "0698494933", < "datefinreel": "2026-02-12 17:00:39" --- > "telportable": "0665029953", > "datefinreel": "2026-02-17 11:58:19" 1158,1159c1053,1054 < "nom": "FERREIRA", < "prenom": "SYLVIE", --- > "nom": "NOEL", > "prenom": "IVONNE", 1161,1162c1056,1057 < "telportable": "0629044254", < "datefinreel": "2026-02-12 14:49:15" --- > "telportable": "0610742133", > "datefinreel": "2026-02-13 16:27:13" 1165,1166c1060,1061 < "nom": "FERREIRA", < "prenom": "SYLVIE", --- > "nom": "NOEL", > "prenom": "IVONNE", 1168,1169c1063,1064 < "telportable": "0629044254", < "datefinreel": "2026-02-12 14:49:15" --- > "telportable": "0610742133", > "datefinreel": "2026-02-13 16:27:13" 1172,1173c1067,1068 < "nom": "FERREIRA", < "prenom": "SYLVIE", --- > "nom": "NOEL", > "prenom": "IVONNE", 1175,1218c1070,1071 < "telportable": "0629044254", < "datefinreel": "2026-02-12 14:49:15" < }, < { < "nom": "WITCZAK", < "prenom": "STANISLAWA", < "telfixe": null, < "telportable": "0685494991", < "datefinreel": "2026-02-06 16:38:28" < }, < { < "nom": "WITCZAK", < "prenom": "STANISLAWA", < "telfixe": null, < "telportable": "0685494991", < "datefinreel": "2026-02-06 16:38:28" < }, < { < "nom": "WITCZAK", < "prenom": "STANISLAWA", < "telfixe": null, < "telportable": "0685494991", < "datefinreel": "2026-02-06 16:38:28" < }, < { < "nom": "SCHNEIDER", < "prenom": "NADINE", < "telfixe": null, < "telportable": "0686942500", < "datefinreel": "2026-02-19 16:20:13" < }, < { < "nom": "SCHNEIDER", < "prenom": "NADINE", < "telfixe": null, < "telportable": "0686942500", < "datefinreel": "2026-02-19 16:20:13" < }, < { < "nom": "SCHNEIDER", < "prenom": "NADINE", < "telfixe": null, < "telportable": "0686942500", < "datefinreel": "2026-02-19 16:20:13" --- > "telportable": "0610742133", > "datefinreel": "2026-02-13 16:27:13" Only in soframedia/2/hopale: 224.json Only in soframedia/2/hopale: 227.json diff -r soframedia/2/hopale/229.json soframedia-test/2/hopale/229.json 1,23c1 < [ < { < "nom": "VANDAELE", < "prenom": "ANNE-MARIE", < "telfixe": null, < "telportable": "0660690073", < "datefinreel": "2026-03-01 21:52:23" < }, < { < "nom": "VANDAELE", < "prenom": "ANNE-MARIE", < "telfixe": null, < "telportable": "0660690073", < "datefinreel": "2026-03-01 21:52:23" < }, < { < "nom": "VANDAELE", < "prenom": "ANNE-MARIE", < "telfixe": null, < "telportable": "0660690073", < "datefinreel": "2026-03-01 21:52:23" < } < ] \ No newline at end of file --- > [] \ No newline at end of file Only in soframedia-test/2/hopale: 236.json diff -r soframedia/2/hopale/245.json soframedia-test/2/hopale/245.json 1c1,16 < [] \ No newline at end of file --- > [ > { > "nom": "BOUTTEFEUX", > "prenom": "DYLAN", > "telfixe": "", > "telportable": "0685984554", > "datefinreel": "2025-10-18 08:46:40" > }, > { > "nom": "BOUTTEFEUX", > "prenom": "DYLAN", > "telfixe": "", > "telportable": "0685984554", > "datefinreel": "2025-10-18 08:46:40" > } > ] \ No newline at end of file diff -r soframedia/2/hopale/fairedemande.php soframedia-test/2/hopale/fairedemande.php 8c8 < $id_site=getTxtChampData("id_site", "demande", "demande_id=".$leid); --- > $idsite=getTxtChampData("id_site", "demande", "demande_id=".$leid); 41,42c41,42 < $nomsite = getTxtChampData("nom", "site", "site_id=$id_site"); < ajoutLog("Actualisation des demandes pour le site *$nomsite* ($id_site)", "site ID: $id_site; nom du site: $nomsite*; IP: *" . $_SERVER['REMOTE_ADDR'] . "*"); --- > $nomsite = getTxtChampData("nom", "site", "site_id=$idsite"); > ajoutLog("Actualisation des demandes pour le site *$nomsite* ($idsite)", "site ID: $idsite; nom du site: $nomsite*; IP: *" . $_SERVER['REMOTE_ADDR'] . "*"); 47c47 < ?> \ No newline at end of file --- > ?> diff -r soframedia/2/hopale/gereDatePresta.php soframedia-test/2/hopale/gereDatePresta.php 2d1 < 4d2 < 8c6 < ajoutLog('Erreur lors du pasage dans le gereDatePresta; code 405: Méthode non autorisée', 'erreur'); --- > ajoutLog('Erreur lors du passage dans le gereDatePresta. Code 405 -> Méthode non autorisée', 'erreur'); 16c14 < ajoutLog('Erreur lors du pasage dans le gereDatePresta; code 400: Aucune données reçu', 'erreur'); --- > ajoutLog('Erreur lors du passage dans le gereDatePresta. Code 400 -> Aucune donnée reçue', 'erreur'); 24c22 < ajoutLog('Erreur lors du pasage dans le gereDatePresta; code 400: JSON invalide : ' . json_last_error_msg(), "data: " . var_export($jsonData['data'])); --- > ajoutLog('Erreur lors du passage dans le gereDatePresta. Code 400 -> JSON invalide : ' . json_last_error_msg(), "Data : " . var_export($jsonData['data'], true)); 34c32 < ajoutLog("Modification de $fichier par gereDatePrestation OK"); --- > ajoutLog("Modification de $fichier par gereDatePrestation -> OK"); 41,42c39,40 < ajoutLog("impossible de modifier $fichier par gereDatePrestation NAK"); < --- > ajoutLog("Impossible de modifier $fichier par gereDatePrestation -> NAK"); > 47c45 < ?> --- > ?> \ No newline at end of file diff -r soframedia/2/hopale/paid.php soframedia-test/2/hopale/paid.php 218c218 < https://soframedia.fr/retour.php display: inline-block; --- > display: inline-block; 226c226 < https://soframedia.fr/retour.php} --- > } Only in soframedia/2/hopale: synchro_tels.php diff -r soframedia/2/hopale/synchroniseforfait.php soframedia-test/2/hopale/synchroniseforfait.php 12a13,17 > // if (isset($_GET['debug']) && $_GET['debug']=="1") { > echo("
");
>         print_r(urldecode($sql));
>         echo("
"); > // } diff -r soframedia/2/hopale/synchrot2m.php soframedia-test/2/hopale/synchrot2m.php 26a27 > if ($chambre == "WIFI") $occupe="0"; diff -r soframedia/2/menuhopale.php soframedia-test/2/menuhopale.php 3c3 < echo("hi"); --- > echo("hi
"); 9c9 < echo("hi"); --- > echo("hi
"); 15c15 < echo("hi"); --- > echo("hi
"); 19c19 < echo("hi"); --- > echo("hi
"); 23c23 < echo("hi"); --- > echo("hi
"); 25c25 < echo("hi"); --- > echo("hi
"); 27c27 < echo("hi"); --- > echo("hi
"); diff -r soframedia/2/retourpayetestapirest.php soframedia-test/2/retourpayetestapirest.php 90,92c90,92 < $siteid=$_SESSION['idsitetravail']; < $telinterne = getTxtChampData("telinterne", "site", "site_id=" . $siteid); < $telexterne = getTxtChampData("telexterne", "site", "site_id=" . $siteid); --- > $idsite=$_SESSION['idsitetravail']; > $telinterne = getTxtChampData("telinterne", "site", "site_id=" . $idsite); > $telexterne = getTxtChampData("telexterne", "site", "site_id=" . $idsite); 106c106 < $siteid = $_SESSION['idsitetravail']; --- > $idsite = $_SESSION['idsitetravail']; 114c114 < ajoutLog("L'abonnements $transac a été payé par le client $nom $prenom pour le site $siteid", "soframedia 2"); --- > ajoutLog("L'abonnements $transac a été payé par le client $nom $prenom pour le site $idsite", "soframedia 2"); diff -r soframedia/2/trace_facture.php soframedia-test/2/trace_facture.php 11a12,13 > $parke = $_GET['parke'] ?? 'false'; > 34,35c36,41 < ExecuteUpDateSql("UPDATE trace_facture SET chambre = '$chambre', service_id = $serviceid WHERE id_client = $idclient AND id_site = $idsite;"); < ExecuteUpDateSql("UPDATE transaction SET chambre = '$chambre', id_service = $serviceid, nomservice = '$vraiNom' WHERE vads_transaction = '" . urldecode($_GET['factdel'] ?? "") . "';"); --- > if ($parke == 'true') { > ExecuteUpDateSql("UPDATE trace_facture SET parking = true WHERE id_client = $idclient AND id_site = $idsite;"); > } else { > ExecuteUpDateSql("UPDATE trace_facture SET parking = false, chambre = '$chambre', service_id = $serviceid WHERE id_client = $idclient AND id_site = $idsite;"); > ExecuteUpDateSql("UPDATE transaction SET chambre = '$chambre', id_service = $serviceid, nomservice = '$vraiNom' WHERE vads_transaction = '" . urldecode($_GET['factdel'] ?? "") . "';"); > } diff -r soframedia/2/util/touche.js soframedia-test/2/util/touche.js 11,15d10 < // alert("Enter Exercise01ModelInit \n"); < // setTimeout(function(){setRcControlAll();},400); < // setTimeout(function(){RegisterCallbacks();},400); < // setRcControlAll(); < 18d12 < // alert("Exit Exercise01ModelInit \n"); 22d15 < // alert("Enter sendWIxPCommand \n"); 27d19 < // alert("Exit sendWIxPCommand \n"); 29c21 < // alert("Exit sendWIxPCommand: " + e + " \n"); --- > console.log("Error in sendWIxPCommand: " + e); 40,41d31 < // alert("Enter setRcControlSelective called \n"); < 43c33 < JAPITObjForWIXPSvc.Cookie = 1012; --- > JAPITObjForWIXPSvc.Cookie = 1012; 50,76d39 < // { "vkkey" : "HBBTV_VK_POWER" }, // not existing < // { "vkkey" : "HBBTV_VK_MYCHOICE" }, < // { "vkkey" : "HBBTV_VK_CLOCK" }, < // { "vkkey" : "HBBTV_VK_SMARTTV" }, < // { "vkkey" : "HBBTV_VK_CHANNELGRID" }, < // { "vkkey" : "HBBTV_VK_ALARM" }, < // { "vkkey" : "HBBTV_VK_SMARTINFO" }, < // { "vkkey" : "HBBTV_VK_SOURCE" }, < // { "vkkey" : "HBBTV_VK_TV" }, < // { "vkkey" : "HBBTV_VK_FORMAT" }, < // { "vkkey" : "HBBTV_VK_HOME" }, // not existing < // { "vkkey" : "HBBTV_VK_PLAY_PAUSE" }, // previously was VK_OSRC < // { "vkkey" : "HBBTV_VK_GUIDE" }, < // { "vkkey" : "HBBTV_VK_UP" }, // not existing < // { "vkkey" : "HBBTV_VK_INFO" }, < // { "vkkey" : "HBBTV_VK_LEFT" }, // not existing < // { "vkkey" : "HBBTV_VK_ACCEPT" }, // not existing < // { "vkkey" : "HBBTV_VK_RIGHT" }, // not existing < // { "vkkey" : "HBBTV_VK_ADJUST" }, < // { "vkkey" : "HBBTV_VK_DOWN" }, // not existing < // { "vkkey" : "HBBTV_VK_MENU" }, // options button < // { "vkkey" : "HBBTV_VK_BACK_SPACE" }, // not existing < // { "vkkey" : "HBBTV_VK_CHANNEL_UP" }, < // { "vkkey" : "HBBTV_VK_CHANNEL_DOWN" }, < // { "vkkey" : "HBBTV_VK_VOLUME_DOWN" }, < // { "vkkey" : "HBBTV_VK_VOLUME_UP" }, < // { "vkkey" : "HBBTV_VK_MUTE" }, 81,92d43 < // { "vkkey" : "HBBTV_VK_SUBTITLE" }, < // { "vkkey" : "HBBTV_VK_TEXT" }, // not existing < // { "vkkey" : "HBBTV_VK_1" }, < // { "vkkey" : "HBBTV_VK_2" }, < // { "vkkey" : "HBBTV_VK_3" }, < //{ "vkkey" : "HBBTV_VK_4" }, < // { "vkkey" : "HBBTV_VK_5" }, < // { "vkkey" : "HBBTV_VK_6" }, < // { "vkkey" : "HBBTV_VK_7" }, < // { "vkkey" : "HBBTV_VK_8" }, < // { "vkkey" : "HBBTV_VK_9" }, < // { "vkkey" : "HBBTV_VK_0" } 97d47 < // alert("Exit setRcControlSelective called \n"); 102d51 < // alert("Enter RegisterCallbacks \n"); 104d52 < // alert("Exit RegisterCallbacks \n"); 107d54 < // alert("ActivateCustomDashBoard to " + state + " \n"); 116d62 < //{ "ApplicationName" : "SystemUI" }, 140d85 < // alert("Enter keyHandler - key received " + keyCode + " !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! \n"); 144d88 < // alert("arrow left pressed"); 149,150d92 < // alert("digit 4 pressed - CB OFF"); < // document.getElementById('DivIO').append("Press digit 5 to activate the dashboard again."); 154,157d95 < // case VK_5: < // document.getElementById('DivIO').append("Key 6 is pressed !!"); < // break; < 159c97 < // alert("digit 5 pressed - CB ON"); --- > onDash(); 164,165d101 < // alert("digit 7 pressed - TXT ON "); < //activateTeletext(); 170d105 < // alert("Nothing to handle \n"); 174c109 < // alert(e); --- > console.log("Error in keyHandler: " + e); 176,177d110 < < // alert("Exit keyHandler \n"); 183,184d115 < // 38 Haut < // 40 Bas 186d116 < // alert("Exit keyDownHandler \n"); 190,191d119 < < // // alert("Enter onKeyReceived - key received " + event + " ******************************** \n"); 197,198d124 < // alert("Enter OnKeyReceivedHandler keystatus : " + keyStatus + " keycode : " + keyCode + " !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! \n"); < 203,204d128 < // keyHandler(event); < // alert("Exit OnKeyReceivedHandler \n"); 210d133 < // alert("Enter WIXPResponseHandler \n"); 213c136 < PrintLogsWIXPFromTV(parsedWIXPJSON); --- > 216c139 < window.location.reload(true); --- > // window.location.reload(true); 218c141 < //window.location.assign("http://192.168.16.1/dash/index.php"); --- > FromOnToStandby(); 220c143 < } else if (parsedWIXPJSON.Fun === "ProfessionalSettingsControl") { --- > } if (parsedWIXPJSON.Fun === "ProfessionalSettingsControl") { 221a145 > handleProfessionalSettingsResponse(parsedWIXPJSON); 223,224c147,149 < < } else if (parsedWIXPJSON.Fun === "ChannelList") { --- > } if (parsedWIXPJSON.Fun === "ProfessionalSettings") { > handleProfessionalSettingsResponse(parsedWIXPJSON); > } if (parsedWIXPJSON.Fun === "ChannelList") { 226,227d150 < } else { < // alert("Do nothing !! \n"); 230d152 < // alert(e); 233d154 < // alert("Exit WIXPResponseHandler \n"); 253d173 < // alert("Entering switchToMainTuner !! \n"); 264d183 < // alert("Exiting switchToMainTuner !! \n"); 268d186 < // alert("Activate Teletext \n"); 291,292d208 < // alert("Deactivate Teletext \n"); < 308,309d223 < // alert("sent AllVirtualKeyForward \n"); < 321,322d234 < // alert("setRcControlExTxt called \n"); < 331a244,386 > > /**//**//**//**//**//**//**//**//**//**//**//**//**//**//**/ > > /**//**//**//**//**//**//**//**//**//**//**//**//**//**//**/ > > // Variable to store the custom dashboard URL > var customDashboardURL = null; > > function FromStandbyToOn() { > if (customDashboardURL) { > window.location.assign(customDashboardURL); > } else { > window.location.assign(URL_manageurdash); > } > exit(); > } > > function FromOnToStandby() { > if (customDashboardURL) { > window.location.assign(customDashboardURL); > } else { > window.location.assign(URL_manageurdash); > } > exit(); > } > > // Power State Monitoring Functions > var currentPowerState = null; > var powerStateMonitorInterval = null; > > // Function to monitor power state transitions > function monitorPowerStateTransitions() { > powerStateMonitorInterval = setInterval(checkPowerState, 1000); > getCustomDashboardURL(); > } > > // Function to stop monitoring power state transitions > function stopPowerStateMonitoring() { > if (powerStateMonitorInterval) { > clearInterval(powerStateMonitorInterval); > powerStateMonitorInterval = null; > } > if (powerStateMonitorInterval2) { > clearInterval(powerStateMonitorInterval2); > powerStateMonitorInterval2 = null; > } > } > > // Function to check current power state > function checkPowerState() { > var JAPITObjForWIXPSvc = new CreateJAPITObjectForWIXPSvc(); > JAPITObjForWIXPSvc.Cookie = 1020; > JAPITObjForWIXPSvc.CmdType = "Request"; > JAPITObjForWIXPSvc.Fun = "PowerState"; > sendWIxPCommand(JAPITObjForWIXPSvc); > } > > // Function to handle power state responses from TV > function handlePowerStateResponse(response) { > if (response && response.CommandDetails && response.CommandDetails.CurrentPowerState) { > var newPowerState = response.CommandDetails.CurrentPowerState; > > // Check for transition from Standby to On > if (currentPowerState === "Standby" && newPowerState === "On") { > FromStandbyToOn(); > } > > // Check for transition from On to Standby > if (currentPowerState === "On" && newPowerState === "Standby") { > FromOnToStandby(); > } > > // Update current state > currentPowerState = newPowerState; > } > } > > // Function to retrieve custom dashboard URL from TV settings > function getCustomDashboardURL() { > var JAPITObjForWIXPSvc = new CreateJAPITObjectForWIXPSvc(); > var urlRequest = { > "Svc": "WIXP", > "SvcVer": "4.0", > "Cookie": JAPITObjForWIXPSvc.Cookie, > "CmdType": "Request", > "Fun": "ProfessionalSettingsControl", > "CommandDetails": { > "ProfessionalSettingsParameters": [ > "CustomDashboardServerURL" > ] > } > }; > > console.log("Requesting custom dashboard URL from TV settings"); > sendWIxPCommand(urlRequest); > > } > > // Function to handle "Changed" notifications from TV > function handlePowerStateChanged(changedNotification) { > if (changedNotification && > changedNotification.CmdType === "Changed" && > changedNotification.Fun === "PowerState" && > changedNotification.CommandDetails) { > > var toPowerState = changedNotification.CommandDetails.ToPowerState; > > // Handle transition to On state > if (toPowerState === "On" && currentPowerState === "Standby") { > FromStandbyToOn(); > } > > // Handle transition to Standby state > if (toPowerState === "Standby" && currentPowerState === "On") { > FromOnToStandby(); > } > > // Update current state > currentPowerState = toPowerState; > } > } > > // Function to handle Professional Settings response > function handleProfessionalSettingsResponse(response) { > if (response && > response.CommandDetails && > response.CommandDetails.CustomDashboardServerURL) { > > customDashboardURL = response.CommandDetails.CustomDashboardServerURL; > // check if the URL start with "http://" or "https://" > if (customDashboardURL.startsWith("http://") || customDashboardURL.startsWith("https://")) { > customDashboardURL = customDashboardURL; > } else { > customDashboardURL = "http://" + customDashboardURL; > } > } > } > > > // Initialize monitoring when script loads > document.addEventListener('DOMContentLoaded', function() { > monitorPowerStateTransitions(); > }); Only in soframedia-test/2/util: touche_commentair-dle_2025-09-12.js Only in soframedia-test/abonnement: index.php-old260128 Only in soframedia-test/abonnement: recapitulatif.php-old260120 Only in soframedia-test/abonnement: recapitulatif.php-old260128 Only in soframedia-test/abonnement: tarif.php-old260128 diff -r soframedia/admin/demande.php soframedia-test/admin/demande.php 1c1 < alert('alert');"); < $txtdemande = html_entity_decode($txtdemande); --- > // il se trouve que dans la base de donnée, les apostrophes sont stockés en code HTML. > $txtdemande = html_entity_decode($txtdemande); // Et que cela fait exploser la fonction Javascript. Only in soframedia-test/admin: envoierecu.php diff -r soframedia/admin/getEffectuer.php soframedia-test/admin/getEffectuer.php 13c13,14 < $result=getTxtChampData("login","utilisateur","utilisateur_id=".$result); --- > $result=getTxtChampData("login","utilisateur","utilisateur_id=".$result); > ajoutLog("Traitement de la demande $leid par " . $Auth->getIdUsers()); diff -r soframedia/admin/groupe.php soframedia-test/admin/groupe.php 46a47 > 108,110c109 < --- > diff -r soframedia/admin/groupe_edit.php soframedia-test/admin/groupe_edit.php 479c479 < Sélectionnez le site: --- > Sélectionnez le groupe: 486c486 < Veuillez choisir un site --- > Veuillez choisir un nom de groupe 620c620 < --- > 14a15 > diff -r soframedia/admin/index.php-old260121 soframedia-test/admin/index.php-old260121 7a8 > ajoutLog("L'utilisateur *" . $_POST["login"] . "* essaye de se conecter"); 10d10 < 12d11 < // $Auth->check_vieux_compte(); 17d15 < //echo 'Se rendre à l\'accueil'; 23,24d20 < /*echo '
'; < echo '

Connection

';*/ 26d21 < // echo '
'; diff -r soframedia/admin/index_debug.php soframedia-test/admin/index_debug.php 1c1 < echo(strtoupper("Test, avec des MajusCULES")); 23,31d23 < if (isset($_GET['debug']) && $_GET['debug'] == "true" && $_GET["soleil"] == "SF2010lab") < { < var_dump($_SERVER); < echo("\n\n


\n\n"); < phpinfo(); < echo("\n\n\n\n\n\n








\n\n\n\n\n\n"); < } < < echo("4 C
\n"); 45c37,43 < echo("6
\n"); --- > echo("6
\n
\n
\nINFORMATION SERVEUR: "); > var_dump($_SERVER); > echo("\n\n


\n\n"); > phpinfo(); > echo("\n\n\n\n\n\n








\n\n\n\n\n\n"); > > echo("6 B
\n"); 48c46 < echo("6 B
\n"); --- > echo("6 C
\n"); diff -r soframedia/admin/log.php soframedia-test/admin/log.php 95,96c95,96 < $id_site = urldecode($recherche_site[1]); < $condition .= " AND (`action` LIKE '%$nom_site%' OR `fromSite` LIKE '%$nom_site%' OR `user` LIKE '%$nom_site%')";// OR `nomfichier` LIKE '%$id_site%')"; --- > $idsite = urldecode($recherche_site[1]); > $condition .= " AND (`action` LIKE '%$nom_site%' OR `fromSite` LIKE '%$nom_site%' OR `user` LIKE '%$nom_site%')";// OR `nomfichier` LIKE '%$idsite%')"; 103,104c103,104 < foreach ($lst_site as $id_site) { < $condition .= "`user` LIKE 'site ID: $id_site;%' OR "; --- > foreach ($lst_site as $idsite) { > $condition .= "`user` LIKE 'site ID: $idsite;%' OR "; Only in soframedia-test/admin: log_new_2025-07-21.php diff -r soframedia/admin/motclef.php soframedia-test/admin/motclef.php 43c43 < Ajouter ou modifier un ou plusieurs alias --- > Ajouter ou modifier un ou plusieurs mots clefs Only in soframedia-test/admin: motclef_edit.php Only in soframedia-test/admin: phpinfo-enligne.html Only in soframedia-test/admin: phpinfo-local.html diff -r soframedia/admin/serviceedite.php soframedia-test/admin/serviceedite.php 3c3 < $id_site= isset($_POST['id_site']) ? $_POST['id_site'] : (isset($_GET['id_site']) ? $_GET['id_site'] : ''); --- > $idsite= isset($_POST['id_site']) ? $_POST['id_site'] : (isset($_GET['id_site']) ? $_GET['id_site'] : ''); 11c11 < $id_site= isset($_POST['id_site']) ? $_POST['id_site'] : ''; --- > $idsite= isset($_POST['id_site']) ? $_POST['id_site'] : ''; 21c21 < $data = getTxtChampData("nom", "service", "nom='" . $nom . "' and id_site=" . $id_site); --- > $data = getTxtChampData("nom", "service", "nom='" . $nom . "' and id_site=" . $idsite); 28c28 < $data = getTxtChampData("nom", "service", "service_id<>" . $champIdSelect . " and nom='" . $nom . "' and id_site=".$id_site); --- > $data = getTxtChampData("nom", "service", "service_id<>" . $champIdSelect . " and nom='" . $nom . "' and id_site=".$idsite); 38c38 < $requete.= "$id_site,"; --- > $requete.= "$idsite,"; 42c42 < ajoutLog("Le services $nom du site $id_site à été ajouté"); --- > ajoutLog("Le services $nom du site $idsite à été ajouté"); 44c44 < header("location: service.php?id_site=".$id_site); --- > header("location: service.php?id_site=".$idsite); 51c51 < $requete.= "`id_site`=$id_site,"; --- > $requete.= "`id_site`=$idsite,"; 59c59 < ajoutLog("Le services $nom du site $id_site à été modifié"); --- > ajoutLog("Le services $nom du site $idsite à été modifié"); 61c61 < header("location: service.php?id_site=".$id_site); --- > header("location: service.php?id_site=".$idsite); 65c65 < ajoutLog("Le services $nom du site $id_site à été supprimé"); --- > ajoutLog("Le services $nom du site $idsite à été supprimé"); 67c67 < header("location: service.php?id_site=".$id_site); --- > header("location: service.php?id_site=".$idsite); 76c76 < $id_site= isset($_POST['id_site']) ? $_POST['id_site'] : (isset($_GET['id_site']) ? $_GET['id_site'] : ''); --- > $idsite= isset($_POST['id_site']) ? $_POST['id_site'] : (isset($_GET['id_site']) ? $_GET['id_site'] : ''); 88c88 < $id_site= $data['id_site']; --- > $idsite= $data['id_site']; 125c125 < echo getComboBoxR('id_site', '', '', 'site', 'nom', 'site_id', $id_site, $Auth->getBlocksite_id('site_id'),($action=="ajouter")?"":"1"); --- > echo getComboBoxR('id_site', '', '', 'site', 'nom', 'site_id', $idsite, $Auth->getBlocksite_id('site_id'),($action=="ajouter")?"":"1"); 127c127 < echo ''; --- > echo ''; diff -r soframedia/admin/site.php soframedia-test/admin/site.php 128c128 < $site_id = $datasite['site_id']; --- > $idsite = $datasite['site_id']; 178c178 < echo ''; --- > echo ''; 184c184 < echo ''; --- > echo ''; 192c192 < echo ''; --- > echo ''; diff -r soframedia/admin/siteedite.php soframedia-test/admin/siteedite.php 31c31 < $erreur .= "Veuillez saisir le nom du site
"; --- > $erreur .= "
Veuillez saisir le nom du site
"; 34c34 < $erreur .= "Veuillez saisir le numéro de téléphone interne
"; --- > $erreur .= "
Veuillez saisir le numéro de téléphone interne
"; 37c37 < $erreur .= "Veuillez saisir le numéro de téléphone externe
"; --- > $erreur .= "
Veuillez saisir le numéro de téléphone externe
"; 40c40 < $erreur .= "Veuillez saisir l'adresse email du site
"; --- > $erreur .= "
Veuillez saisir l'adresse email du site
"; 43c43 < $erreur .= "Veuillez saisir le nom du répertoire
"; --- > $erreur .= "
Veuillez saisir le nom du répertoire
"; 48c48 < $erreur .= "Veuillez saisir les nom par lesquels votre site
sera recherché sur Soframedia.fr
"; --- > $erreur .= "
Veuillez saisir les nom par lesquels votre site
sera recherché sur Soframedia.fr
"; 52c52 < $erreur .= "Veuillez ne pas mettre de virgules dans les alias
"; --- > $erreur .= "
Veuillez ne pas mettre de virgules dans les alias
"; 56c56 < $erreur .= "Veuillez saisir le nom de la structure
"; --- > $erreur .= "
Veuillez saisir le nom de la structure
"; 59c59 < $erreur .= "Veuillez saisir l'adresse de la societe
"; --- > $erreur .= "
Veuillez saisir l'adresse de la societe
"; 62c62 < $erreur .= "Veuillez saisir l'adresse du site
"; --- > $erreur .= "
Veuillez saisir l'adresse du site
"; 162,163c162,163 < } catch (Error $e) { $erreur = "Error: $e;"; ajoutLog("Erreur: $e"); } < catch (Exception $e) { $erreur = "Error: $e;"; ajoutLog("Erreur: $e"); } --- > } catch (Error $e) { $erreur = "
Error: $e;"; ajoutLog("Erreur: $e"); } > catch (Exception $e) { $erreur = "
Error: $e;"; ajoutLog("Erreur: $e"); } 248c248 < echo '' . $erreur . ''; --- > echo '' . $erreur . ''; 290c290 <
Ajouter ou modifier un ou plusieurs alias --- > Ajouter ou modifier un ou plusieurs alias 311c311 < Ajouter ou modifier un ou plusieurs alias --- > Ajouter ou modifier un ou plusieurs alias 332c332 < Ajouter ou modifier un ou plusieurs alias --- > Ajouter ou modifier un ou plusieurs alias Only in soframedia-test/admin: stylesheetadmin.css Only in soframedia/admin: tarif.php-old260128 Only in soframedia/admin: tarif_casque_edit.php-old260128 Only in soframedia/admin: tarif_edit.php-old260128 diff -r soframedia/admin/transaction.php soframedia-test/admin/transaction.php 217c217 < $tableau_transaction = ""; // technique Romuald, pour avoir le totale au début du tableau... --- > $tableau_transaction = ""; // technique Quentin, pour avoir le totale au début du tableau... 219c219 < $tableau_ligne = ""; // technique Romuald, pour avoir le totale au début du tableau... --- > $tableau_ligne = ""; // technique Quentin, pour avoir le totale au début du tableau... 287c287 < echo $tableau_transaction; // technique Romuald, pour avoir le totale au début du tableau... --- > echo $tableau_transaction; // technique Quentin, pour avoir le totale au début du tableau... diff -r soframedia/admin/utilisateur.php-old260121 soframedia-test/admin/utilisateur.php-old260121 100c100 < --- > foreach($lst_blocksite_id as $idsite) { ?> 104c104 < Site : --- > Site : 106a107 > } else if ($data['blocksite_id'] == 0) { echo("Aucun sites"); diff -r soframedia/admin/utilisateur_edit.php-old260121 soframedia-test/admin/utilisateur_edit.php-old260121 243c243 < Nom de l'utilisateur: --- > Nom de l'utilisateur: 252c252 < Pour les colones "drois de l'utilisateur", la valeur "1" signifie qu'il possède les drois --- > 258,271c258,294 <
<

Sites associés à l'utilisateur:

< Tout les sites
"); < } else { < $lst_blocksite_id = explode(',', $info_utilisateur['blocksite_id']); < foreach($lst_blocksite_id as $site_id) { ?> <
< Site : <
< <
--- > >
>

Sites associés à l'utilisateur:

> > if ($info_utilisateur['blocksite_id'] == "" || $info_utilisateur['blocksite_id'] == null) { > echo("
Tout les sites
"); > } else if ($info_utilisateur['blocksite_id'] == 0) { echo("
Aucun sites
"); > } else { > $lst_blocksite_id = explode(',', $info_utilisateur['blocksite_id']); > foreach($lst_blocksite_id as $site_id) { ?> >
> Site : >
> } ?> >
> $new_lst_blocksite_id = isset($_GET['new_lst_blocksite_id']) ? $_GET['new_lst_blocksite_id'] : "0"; ?> >
>

Sites associés à l'utilisateur:

> > if ($new_lst_blocksite_id == "" || $new_lst_blocksite_id == null) { > echo("
Tout les sites
"); > } else if ($new_lst_blocksite_id == "0") { > echo("
Aucun sites
"); > } else { > $lst_blocksite_id = explode(',', $new_lst_blocksite_id); > foreach($lst_blocksite_id as $site_id) { ?> >
> Site : >
> } ?> >
> 274c297 < Modification des sites gérer
par l'utilisateur
--- > ">Modification des sites gérer
par l'utilisateur
284,285c307,312 < Drois de l'utilisateur à modifier
les valeurs de configuration: < --- > L'utilisateur peut voir et modifier
les valeurs de configuration: > > > > > 287,288c314,319 < Drois de l'utilisateur
sur l'onglet "site": < --- > L'utilisateur peut voir et modifier les informaion
du ou des sites lui étant associé: > > > > > 292,293c323,328 < Drois de l'utilisateur
sur l'onglet "Transactions": < --- > L'utilisateur peut consulter les transactions
du ou des sites lui étant associé: > > > > > 295,296c330,331 < Drois de l'utilisateur
sur l'onglet "Demande": < L'utilisateur peut consulter et efféctuer les demandes
du ou des sites lui étant associé: > > > > > 302,303c341,346 < Drois de l'utilisateur
sur l'onglet "Services": < --- > L'utilisateur peut consulter et modifier les services
du ou des sites lui étant associé: > > > > > 305,306c348,353 < Drois de l'utilisateur
sur l'onglet "Tarifs": < --- > L'utilisateur peut consulter et modifier les tarifs
du ou des sites lui étant associé: > > > > > 310,311c357,362 < Drois de l'utilisateur
sur l'onglet "Groupes": < --- > L'utilisateur peut consulter et modifier
les groupes des sites de Soframedia > > > > > 313,314c364,369 < Drois de l'utilisateur
sur l'onglet "Mot clefs": < --- > L'utilisateur peut consulter et modifier
les mots clefs de Soframedia > > > > > 316a372,376 > >
Cette utilisateur à été supprimé. Vous ne pouvez confirmer les informations qu'à titre informatif.
> > > 318c378 < --- > diff -r soframedia/admin/utilisateur_site_edit.php soframedia-test/admin/utilisateur_site_edit.php 5a6 > $action = isset($_GET['action']) ? $_GET['action'] : false; 35c36 < foreach($_POST as $id_site_select) --- > foreach($_POST as $idsite_select) 38c39 < $new_lst_blocksite_id .= $id_site_select; --- > $new_lst_blocksite_id .= $idsite_select; 42a44,48 > } > if ($action) { > header("location: ./utilisateur_edit.php?action=ajouter&new_lst_blocksite_id=$new_lst_blocksite_id"); > echo(""); > exit(); diff -r soframedia/albertville.php soframedia-test/albertville.php 2,9c2,4 < session_start(); < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/albertville.php'; < //header('Location: '.$_SESSION['pointdentree']); < < // en local alberville 9 < $_SESSION['pointdentree']= '/menuhopaletablette.php?idsitetravail=9'; < header('Location: .'.$_SESSION['pointdentree']); --- > session_start(); > $_SESSION["pointdentree"]="/menuhopaletablette.php?idsitetravail=6"; // le point d'entrée du site (par défaut: vide); > header('Location: .'.$_SESSION["pointdentree"]); diff -r soframedia/alencon/envoie.php soframedia-test/alencon/envoie.php 144,161c144,161 < echo ''; < echo ''; < echo ''; < echo ''; < echo ''; < echo ''; < echo ''; < echo ''; < echo ''; < echo ''; < // echo ''; < echo ''; < echo ''; < echo ''; < echo ''; < echo ''; < echo ''; < echo ''; --- > echo ''; > echo ''; > echo ''; > echo ''; > echo ''; > echo ''; > echo ''; > echo ''; > echo ''; > echo ''; > // echo ''; > echo ''; > echo ''; > echo ''; > echo ''; > echo ''; > echo ''; > echo ''; 167c167 < document.getElementById("formpaye").submit(); --- > // document.getElementById("formpaye").submit(); diff -r soframedia/alencon/recapitulatif.php soframedia-test/alencon/recapitulatif.php 9a10,14 > var_dump($_COOKIES); > echo("

"); > var_dump($_POST); > echo("

"); > diff -r soframedia/alencon.php soframedia-test/alencon.php 2,5c2,4 < session_start(); < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/alencon.php'; < //header('Location: '.$_SESSION['pointdentree']); --- > session_start(); > $_SESSION["pointdentree"]="/menuhopaletablette.php?idsitetravail=6"; // le point d'entrée du site (par défaut: vide); > header('Location: .'.$_SESSION["pointdentree"]); 7,9d5 < // en local alencon 6 < $_SESSION['pointdentree']= '/menuhopaletablette.php?idsitetravail=6'; < header('Location: .'.$_SESSION['pointdentree']); diff -r soframedia/arpajon.php soframedia-test/arpajon.php 2,5c2,4 < session_start(); < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/arpajon.php'; < //header('Location: '.$_SESSION['pointdentree']); --- > session_start(); > $_SESSION["pointdentree"]="/menuhopaletablette.php?idsitetravail=62"; // le point d'entrée du site (par défaut: vide); > header('Location: .'.$_SESSION["pointdentree"]); 7,9d5 < // en local arpajon 62 < $_SESSION['pointdentree']= '/menuhopaletablette.php?idsitetravail=62'; < header('Location: .'.$_SESSION['pointdentree']); diff -r soframedia/bethune.php soframedia-test/bethune.php 2,5c2,4 < session_start(); < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/bethune.php'; < //header('Location: '.$_SESSION['pointdentree']); --- > session_start(); > $_SESSION["pointdentree"]="/menuhopaletablette.php?idsitetravail=1"; // le point d'entrée du site (par défaut: vide); > header('Location: .'.$_SESSION["pointdentree"]); 7,9d5 < // en local bethune 1 < $_SESSION['pointdentree']= '/menuhopaletablette.php?idsitetravail=1'; < header('Location: .'.$_SESSION['pointdentree']); diff -r soframedia/briancon.php soframedia-test/briancon.php 2,5c2,4 < session_start(); < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/briancon.php'; < //header('Location: '.$_SESSION['pointdentree']); --- > session_start(); > $_SESSION["pointdentree"]="/menuhopaletablette.php?idsitetravail=38"; // le point d'entrée du site (par défaut: vide); > header('Location: .'.$_SESSION["pointdentree"]); 7,9d5 < // en local briancon 38 < $_SESSION['pointdentree']= '/menuhopaletablette.php?idsitetravail=38'; < header('Location: .'.$_SESSION['pointdentree']); diff -r soframedia/brignoles.php soframedia-test/brignoles.php 2,5c2,4 < session_start(); < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/brignoles.php'; < //header('Location: '.$_SESSION['pointdentree']); --- > session_start(); > $_SESSION["pointdentree"]="/menuhopaletablette.php?idsitetravail=37"; // le point d'entrée du site (par défaut: vide); > header('Location: .'.$_SESSION["pointdentree"]); 7,9d5 < // en local brignoles 37 < $_SESSION['pointdentree']= '/menuhopaletablette.php?idsitetravail=37'; < header('Location: .'.$_SESSION['pointdentree']); diff -r soframedia/calot.php soframedia-test/calot.php 2,9c2 < session_start(); < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/calot.php'; < //header('Location: '.$_SESSION['pointdentree']); < < // en local non configuré sur soframedia < $_SESSION['pointdentree']= '/2/menuhopaletablette.php?idsitetravail=999'; < header('Location: .'.$_SESSION['pointdentree']); --- > header('Location: ./menuhopale.php?idsitetravail=2'); diff -r soframedia/calve.php soframedia-test/calve.php 2,9c2 < session_start(); < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/calve.php'; < //header('Location: '.$_SESSION['pointdentree']); < < // en local non configuré sur soframedia < $_SESSION['pointdentree']= '/2/menuhopaletablette.php?idsitetravail=999'; < header('Location: .'.$_SESSION['pointdentree']); --- > header('Location: ./index.php?idsitetravail=3'); diff -r soframedia/caudron2.php soframedia-test/caudron2.php 3,7d2 < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/caudron2.php'; < //header('Location: '.$_SESSION['pointdentree']); < < // en local caudron 211 diff -r soframedia/chalon.php soframedia-test/chalon.php 2,5c2,4 < session_start(); < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/chalon.php'; < //header('Location: '.$_SESSION['pointdentree']); --- > session_start(); > $_SESSION["pointdentree"]="/menuhopaletablette.php?idsitetravail=36"; // le point d'entrée du site (par défaut: vide); > header('Location: .'.$_SESSION["pointdentree"]); 7,9d5 < // en local chalon 36 < $_SESSION['pointdentree']= '/menuhopaletablette.php?idsitetravail=36'; < header('Location: .'.$_SESSION['pointdentree']); Only in soframedia: changechambre.php-old260128 diff -r soframedia/chaumontclinique.php soframedia-test/chaumontclinique.php 2,5c2,4 < session_start(); < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/chaumontclinique.php'; < //header('Location: '.$_SESSION['pointdentree']); --- > session_start(); > $_SESSION["pointdentree"]="/menuhopaletablette.php?idsitetravail=57"; // le point d'entrée du site (par défaut: vide); > header('Location: .'.$_SESSION["pointdentree"]); 7,9d5 < // en local chaumont clinique 57 < $_SESSION['pointdentree']= '/menuhopaletablette.php?idsitetravail=57'; < header('Location: .'.$_SESSION['pointdentree']); diff -r soframedia/chaumonthopital.php soframedia-test/chaumonthopital.php 2,5c2,4 < session_start(); < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/chaumonthopital.php'; < //header('Location: '.$_SESSION['pointdentree']); --- > session_start(); > $_SESSION["pointdentree"]="/menuhopaletablette.php?idsitetravail=33"; // le point d'entrée du site (par défaut: vide); > header('Location: .'.$_SESSION["pointdentree"]); 7,9d5 < // en local chaumonthopital 33 < $_SESSION['pointdentree']= '/menuhopaletablette.php?idsitetravail=33'; < header('Location: .'.$_SESSION['pointdentree']); diff -r soframedia/chauny2.php soframedia-test/chauny2.php 3,7d2 < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/chauny2.php'; < //header('Location: '.$_SESSION['pointdentree']); < < // en local chauny2 213 Only in soframedia: choixaction.php-old260128 Only in soframedia: clairsejour.php Only in soframedia: cloture.php-old260128 diff -r soframedia/cognac.php soframedia-test/cognac.php 2,5c2,4 < session_start(); < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/cognac.php'; < //header('Location: '.$_SESSION['pointdentree']); --- > session_start(); > $_SESSION["pointdentree"]="/menuhopaletablette.php?idsitetravail=41"; // le point d'entrée du site (par défaut: vide); > header('Location: .'.$_SESSION["pointdentree"]); 7,9d5 < // en local cognac 41 < $_SESSION['pointdentree']= '/menuhopaletablette.php?idsitetravail=41'; < header('Location: .'.$_SESSION['pointdentree']); Only in soframedia/config: Authentification.php-old160725 Only in soframedia/config: Authentification.php-old260113 diff -r soframedia/config/Authentification.php-old260120 soframedia-test/config/Authentification.php-old260120 205c205 < return $_SESSION['d_actionmagasin '] ?? 0; --- > return isset($_SESSION['d_actionmagasin ']) ? $_SESSION['d_actionmagasin '] : 0; 212,213c212,213 < $user = $_POST['login'] ?? ""; < $mdp = $_POST['mdp'] ?? ""; --- > $user = isset($_POST['login']) ? $_POST['login'] : ""; > $mdp = isset($_POST['mdp']) ? $_POST['mdp'] : ""; 220c220 < $condi = "(`login`='$user'" . " AND `mdp`='$mdp' AND `sys_datesup` IS NULL AND acces_admin = 1) AND (`date_desactivation_compte` IS NULL OR `login`='ble')"; --- > $condi = "(`login`='$user'" . " AND `mdp`='$mdp' AND `sys_datesup` IS NULL) AND (`date_desactivation_compte` IS NULL OR `login`='ble')"; 225c225 < $condi2 = "(`login`='$user'" . " AND `mdp`='$mdp2' AND `sys_datesup` IS NULL AND acces_admin = 1) AND (`date_desactivation_compte` IS NULL OR `login`='ble')"; --- > $condi2 = "(`login`='$user'" . " AND `mdp`='$mdp2' AND `sys_datesup` IS NULL) AND (`date_desactivation_compte` IS NULL OR `login`='ble')"; Only in soframedia/config: Authentification.php-old260525 Only in soframedia/config: Authentification.php-old280525 Only in soframedia/config: GestionSQL-local.php-old251014 diff -r soframedia/config/GestionSQL.php soframedia-test/config/GestionSQL.php 1a2,5 > if (isset($_GET['debug']) && $_GET['debug'] == "true") { > $debug = true; > echo("
GestionSQL debut
"); > } 62a67,70 > if ($debug) { > echo("
getTxtChampData
"); > } > 76a85,87 > if ($debug) { > echo("
getComboBox
"); > } 78c89 < function getComboBox($nomobj, $onchange, $txttous, $latable, $champaff, $champIdMis, $champIdSelect, $condi,$distinguer="",$enplus="",$disableselect="") { --- > function getComboBox($nomobj, $onchange, $txttous, $latable, $champaff, $champIdMis, $champIdSelect, $condi,$distinguer="",$enplus="",$disableselect="") { 86a98 > /* original 92c104,107 < // Faire une requete --- > */ > // plus MODIF DLE > > // Faire une requete 96a112,116 > if ($txttous!='') { $xml.=''; } > if ($nomobj == "choixservice" && $onchange == "" && $txttous == "" && $latable == "service" && $champaff == "nom" && $champIdMis == "service_id") > { > $xml.=''; > } 269,391d288 < function get_tarif_soframedia_1($id_site) < { < $result = ExecuteSelectSql("SHOW COLUMNS FROM `tarif_soframedia1` LIKE 'visibleHTML'"); < $exists = (count($result)>0)?true:false; < < if (!$exists) < { < $query = "ALTER TABLE `tarif_soframedia1` ADD `visibleHTML` TINYINT NULL DEFAULT NULL COMMENT 'NULL ou 0: visible; autre: invisible' AFTER `sys_datesup`;"; < ExecuteUpDateSql($query); < $sql = "SELECT `1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`,`10`,`11`,`12`,`13`,`14`,`15`,`16`,`17`,`18`,`19`,`20`,`21`,`22`,`23`,`24`,`25`,`26`,`27`,`28`,`29`, `num_bouquet`, `visibleHTML` FROM `tarif_soframedia1` WHERE `id_site`='$id_site' AND `sys_datesup` IS NULL"; < } else { < $sql = "SELECT `1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`,`10`,`11`,`12`,`13`,`14`,`15`,`16`,`17`,`18`,`19`,`20`,`21`,`22`,`23`,`24`,`25`,`26`,`27`,`28`,`29`, `num_bouquet`, `visibleHTML` FROM `tarif_soframedia1` WHERE `id_site`='$id_site' AND `sys_datesup` IS NULL"; < } < $value = ExecuteSelectSql($sql); < < if (count($value) <= 1 && $value[0] == "") { < echo("\n\n"); < return []; < } < < $retour = []; < for ($j = 0; $j <= count($value); $j++) < { < if ($value[$j]['visibleHTML'] == 0 || $value[$j]['visibleHTML'] == "" || $value[$j]['visibleHTML'] == null) { < $temp = 0; < for ($i = 0; $i <= 29; $i++) < { < if ($value[$j][$i] != "0.00" && $value[$j][$i] != null) {$retour[$j][$temp] = $value[$j][$i]; $temp++; } < } < if ($value[$j][1] != "") { < $retour[$j]['num_bouquet'] = $value[$j]['num_bouquet']; < } < } < else if ($value[$j]['num_bouquet'] == 0) < { < $retour[$j]['num_bouquet'] = 0; < } < } < return $retour; < } < < function get_prix_casque($id_site) < { < try { < $result = ExecuteSelectSql("SHOW COLUMNS FROM `tarif_casque_soframedia1` LIKE 'description'"); < $exists = (count($result)>0)?true:false; < < if (!$exists) < { < $query = "CREATE TABLE `tarif_casque_soframedia1` ( < `id_tarif_casque` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT, < `id_site` int(11) NOT NULL, < `nom_site` varchar(63) NOT NULL DEFAULT 'defaut', < `prix` decimal(5,2) NOT NULL DEFAULT '0.00', < `description` text NOT NULL, < `sys_datesup` timestamp NULL DEFAULT NULL < ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci"; < ExecuteUpDateSql($query); < } < $sql = "SELECT `prix` FROM `tarif_casque_soframedia1` WHERE `id_site`='$id_site' AND `sys_datesup` IS NULL"; < $value = ExecuteSelectSql($sql); < if ($value == [] || $value == null || $value[0] == [] || $value[0] == null) { return -1; } < return $value[0]['prix']; < } catch (Error $e) {$erreur .= "ERROR $e";} catch (Exception $e) { < if ($e->getCode() == "42S02") { < $query = "CREATE TABLE `tarif_casque_soframedia1` ( < `id_tarif_casque` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT, < `id_site` int(11) NOT NULL, < `nom_site` varchar(63) NOT NULL DEFAULT 'defaut', < `prix` decimal(5,2) NOT NULL DEFAULT '0.00', < `description` text NOT NULL, < `sys_datesup` timestamp NULL DEFAULT NULL < ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci"; < ExecuteUpDateSql($query); < ajoutLog("Création de la table tarif_casque_soframedia1 pour rendre dynamique les prix des casques"); < } < else { < echo("ERROR: $e
"); ajoutLog($e); < } < } < } < < function get_phrase_casque($id_site) < { < try { < $result = ExecuteSelectSql("SHOW COLUMNS FROM `tarif_casque_soframedia1` LIKE 'description'"); < $exists = (count($result)>0)?true:false; < < if (!$exists) < { < $query = "CREATE TABLE `tarif_casque_soframedia1` ( < `id_tarif_casque` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT, < `id_site` int(11) NOT NULL, < `nom_site` varchar(63) NOT NULL DEFAULT 'defaut', < `prix` decimal(5,2) NOT NULL DEFAULT '0.00', < `description` text NOT NULL, < `sys_datesup` timestamp NULL DEFAULT NULL < ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci"; < ExecuteUpDateSql($query); < } < $sql = "SELECT `description` FROM `tarif_casque_soframedia1` WHERE `id_site`='$id_site' AND `sys_datesup` IS NULL"; < $value = ExecuteSelectSql($sql); < if ($value == [] || $value == null || $value[0] == [] || $value[0] == null) { return ""; } < return $value[0]['description']; < } catch (Error $e) {$erreur .= "ERROR $e";} catch (Exception $e) { < if ($e->getCode() == "42S02") { < $query = "CREATE TABLE `tarif_casque_soframedia1` ( < `id_tarif_casque` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT, < `id_site` int(11) NOT NULL, < `nom_site` varchar(63) NOT NULL DEFAULT 'defaut', < `prix` decimal(5,2) NOT NULL DEFAULT '0.00', < `description` text NOT NULL, < `sys_datesup` timestamp NULL DEFAULT NULL < ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci"; < ExecuteUpDateSql($query); < ajoutLog("Création de la table tarif_casque_soframedia1 pour rendre dynamique les prix des casques"); < } < else { < echo("ERROR: $e
"); ajoutLog($e); < } < } < } < 412c309,310 < $dateMax->modify("-1 day"); --- > // $dateMax->modify("-1 day"); > $dateMax->modify("-1 month"); 416,418c314,316 < // supprimer le log "Confirmer les LOGs après 2 minutes" < $query2 = "DELETE FROM `log` WHERE `action`='Confirmer les LOGs' AND `datelog`<'" . (new DateTime("2 minutes ago"))->format('Y-m-d H:i:s') . "'"; < ExecuteUpDateSql($query2); --- > // // supprimer le log "Confirmer les LOGs après 2 minutes" > // $query2 = "DELETE FROM `log` WHERE `action`='Confirmer les LOGs' AND `datelog`<'" . (new DateTime("2 minutes ago"))->format('Y-m-d H:i:s') . "'"; > // ExecuteUpDateSql($query2); 427c325 < $query3 = "DELETE FROM `log` WHERE `action`='Passage dans le retour' AND `datelog`<'" . $dateMax2->format('Y-m-d H:i:s') . "'"; --- > $query3 = "DELETE FROM `log` WHERE (`action`='Passage dans le retour' OR `action` LIKE 'Passage dans le gettravail pour le site%') AND `datelog`<'" . $dateMax2->format('Y-m-d H:i:s') . "'"; 429,430c327,328 < $query4 = "DELETE FROM `log` WHERE `action` LIKE 'Passage dans le gettravail pour le site%' AND `datelog`<'" . $dateMax2->format('Y-m-d H:i:s') . "'"; < ExecuteUpDateSql($query4); --- > // $query4 = "DELETE FROM `log` WHERE `action` LIKE 'Passage dans le gettravail pour le site%' AND `datelog`<'" . $dateMax2->format('Y-m-d H:i:s') . "'"; > // ExecuteUpDateSql($query4); 435a334,337 > if ($debug) { > echo("
GestionSQL fin
"); > } > 447c349 < ?> \ No newline at end of file --- > ?> Only in soframedia/config: GestionSQL.php-old040825 Only in soframedia/config: GestionSQL.php-old250821 Only in soframedia/config: GestionSQL.php-old251014 Only in soframedia-test/config: GestionSQL.php-old260120 diff -r soframedia/config/config_commun.php soframedia-test/config/config_commun.php 5c5,8 < --- > if (isset($_GET['debug']) && $_GET['debug'] == "true") { > $debug = true; > echo("
GestionSQL charge
"); > } 9a13,53 > try { > foreach ($toutes_valeurs_config as $valeur_config) { > ${$valeur_config['nom_init']} = $valeur_config['valeur_init']; > } > if ($modeproduction == "false" || $modeproduction == "FALSE" || $modeproduction == "False") { $modeproduction = false;} else { $modeproduction = true; } > if ($bypassbanque == "false" || $bypassbanque == "FALSE" || $bypassbanque == "False") { $bypassbanque = false;} else { $bypassbanque = true; } > if (!is_numeric($CHANGEMDP_duree_valid) || $CHANGEMDP_duree_valid <= 0) { $CHANGEMDP_duree_valid = 108; } > if (!is_numeric($CHANGEMDP_duree_info) || $CHANGEMDP_duree_info <= 0) { $CHANGEMDP_duree_info = 5; } > } catch (Exception $e) { > if (!$debug) { echo(""); } > // prends en compte la différence entre test.soframedi.fr et soframedia.fr > if ($_SERVER['SERVER_NAME'] == "test.soframedia.fr") { $nom_ini = "modeproduction_test"; } else { $nom_ini = "modeproduction"; } > $modeproduction = ExecuteSelectSql("SELECT `valeur_init` FROM `init` WHERE `valeur_liste` IS NULL AND sys_datesup IS NULL AND `nom_init` = '$nom_ini'"); > > // c'est un string, j'ai besoin d'un booléen > $modeproduction = $modeproduction[0]['valeur_init']; > if ($modeproduction == "false" || $modeproduction == "FALSE" || $modeproduction == "False") { $modeproduction = false;} else { $modeproduction = true; } > > $bypassbanque = ExecuteSelectSql("SELECT `valeur_init` FROM `init` WHERE `nom_init` = 'bypassbanque' AND `valeur_liste` IS NULL AND sys_datesup IS NULL"); > // c'est un string, j'ai besoin d'un booléen > $bypassbanque = $bypassbanque[0]['valeur_init']; > if ($bypassbanque == "false" || $bypassbanque == "FALSE" || $bypassbanque == "False") { $bypassbanque = false;} else { $bypassbanque = true; } > > // $modeproduction = false; // pour avoir les valeurs en dur > // $bypassbanque = false; // pour avoir les valeurs en dur > > $phrasetransac = getTxtChampData("valeur_init", "init", "`valeur_liste` IS NULL AND sys_datesup IS NULL AND `nom_init` = 'phrasetransac'"); > $phrasetransac2 = getTxtChampData("valeur_init", "init", "`valeur_liste` IS NULL AND sys_datesup IS NULL AND `nom_init` = 'phrasetransac2'"); > > // $phrasetransac = "Ce numéro de transaction bancaire vous a été fourni au moment du paiement de l'abonnement."; // pour avoir les valeurs en dur > // $phrasetransac2 = "Ce numéro de transaction bancaire vous a été fourni
au moment du paiement de l'abonnement."; // pour avoir les valeurs en dur > > $phrase_chambre_deja_louee = "(En cour de location)"; > > // pour les mots de passes > $CHANGEMDP_taillemin = getTxtChampData("valeur_init", "init", "`valeur_liste` IS NULL AND sys_datesup IS NULL AND `nom_init` = 'CHANGEMDP_taillemin'"); > > $CHANGEMDP_duree_valid = getTxtChampData("valeur_init", "init", "`valeur_liste` IS NULL AND sys_datesup IS NULL AND `nom_init` = 'CHANGEMDP_duree_valid'"); > if (!is_numeric($CHANGEMDP_duree_valid) || $CHANGEMDP_duree_valid <= 0) { $CHANGEMDP_duree_valid = 108; } 11,12c55,56 < foreach ($toutes_valeurs_config as $valeur_config) { < ${$valeur_config['nom_init']} = $valeur_config['valeur_init']; --- > $CHANGEMDP_duree_info = getTxtChampData("valeur_init", "init", "`valeur_liste` IS NULL AND sys_datesup IS NULL AND `nom_init` = 'CHANGEMDP_duree_info'"); > if (!is_numeric($CHANGEMDP_duree_info) || $CHANGEMDP_duree_info <= 0) { $CHANGEMDP_duree_info = 5; } 14,45d57 < if ($modeproduction == "false" || $modeproduction == "FALSE" || $modeproduction == "False") { $modeproduction = false;} else { $modeproduction = true; } < if ($bypassbanque == "false" || $bypassbanque == "FALSE" || $bypassbanque == "False") { $bypassbanque = false;} else { $bypassbanque = true; } < if (!is_numeric($CHANGEMDP_duree_valid) || $CHANGEMDP_duree_valid <= 0) { $CHANGEMDP_duree_valid = 108; } < if (!is_numeric($CHANGEMDP_duree_info) || $CHANGEMDP_duree_info <= 0) { $CHANGEMDP_duree_info = 5; } < < /* < // prends en compte la différence entre test.soframedi.fr et soframedia.fr < if ($_SERVER['SERVER_NAME'] == "test.soframedia.fr") { $nom_ini = "modeproduction_test"; } else { $nom_ini = "modeproduction"; } < $modeproduction = ExecuteSelectSql("SELECT `valeur_init` FROM `init` WHERE `valeur_liste` IS NULL AND sys_datesup IS NULL AND `nom_init` = '$nom_ini'"); < < // c'est un string, j'ai besoin d'un booléen < $modeproduction = $modeproduction[0]['valeur_init']; < if ($modeproduction == "false" || $modeproduction == "FALSE" || $modeproduction == "False") { $modeproduction = false;} else { $modeproduction = true; } < < $bypassbanque = ExecuteSelectSql("SELECT `valeur_init` FROM `init` WHERE `nom_init` = 'bypassbanque' AND `valeur_liste` IS NULL AND sys_datesup IS NULL"); < // c'est un string, j'ai besoin d'un booléen < $bypassbanque = $bypassbanque[0]['valeur_init']; < if ($bypassbanque == "false" || $bypassbanque == "FALSE" || $bypassbanque == "False") { $bypassbanque = false;} else { $bypassbanque = true; } < < // $modeproduction = false; // pour avoir les valeurs en dur < // $bypassbanque = false; // pour avoir les valeurs en dur < < $phrasetransac = getTxtChampData("valeur_init", "init", "`valeur_liste` IS NULL AND sys_datesup IS NULL AND `nom_init` = 'phrasetransac'"); < $phrasetransac2 = getTxtChampData("valeur_init", "init", "`valeur_liste` IS NULL AND sys_datesup IS NULL AND `nom_init` = 'phrasetransac2'"); < < // $phrasetransac = "Ce numéro de transaction bancaire vous a été fourni au moment du paiement de l'abonnement."; // pour avoir les valeurs en dur < // $phrasetransac2 = "Ce numéro de transaction bancaire vous a été fourni
au moment du paiement de l'abonnement."; // pour avoir les valeurs en dur < < $phrase_chambre_deja_louee = "(En cour de location)"; < < // pour les mots de passes < $CHANGEMDP_taillemin = getTxtChampData("valeur_init", "init", "`valeur_liste` IS NULL AND sys_datesup IS NULL AND `nom_init` = 'CHANGEMDP_taillemin'"); 47,48c59,61 < $CHANGEMDP_duree_valid = getTxtChampData("valeur_init", "init", "`valeur_liste` IS NULL AND sys_datesup IS NULL AND `nom_init` = 'CHANGEMDP_duree_valid'"); < if (!is_numeric($CHANGEMDP_duree_valid) || $CHANGEMDP_duree_valid <= 0) { $CHANGEMDP_duree_valid = 108; } --- > if ($debug) { > echo("
valeur de config seul chargées
"); > } 50,51c63 < $CHANGEMDP_duree_info = getTxtChampData("valeur_init", "init", "`valeur_liste` IS NULL AND sys_datesup IS NULL AND `nom_init` = 'CHANGEMDP_duree_info'"); < if (!is_numeric($CHANGEMDP_duree_info) || $CHANGEMDP_duree_info <= 0) { $CHANGEMDP_duree_info = 5; } --- > /* 110c122,126 < // * Valeurs "dinamiques" depuis la base de donnée --- > if ($debug) { > echo("
alias chargés
"); > } > > // * Valeurs "dynamiques" depuis la base de donnée 114,118d129 < $lst_site_redirection_test = array(); < $lst_ipHOPALE = array(); < $lst_groupe = array(); < $lst_boutique = array(); < 124,136c135,136 < < foreach ($toutes_les_config_tableau as $ligne) < { < if ($ligne['valeur_liste'] == "lst_site_redirection_test") < { < $lst_site_redirection_test[$ligne['nom_init']] = $ligne['valeur_init']; < } < if ($ligne['valeur_liste'] == "lst_ipHOPALE") < { < $lst_ipHOPALE[$ligne['nom_init']] = $ligne['valeur_init']; < // array_push($lst_ipHOPALE, [$ligne['nom_init'] => $ligne['valeur_init']]); < } < if ($ligne['valeur_liste'] == "nomdesbouquets") --- > try { > foreach ($toutes_les_config_tableau as $ligne) 138,150c138,142 < // array_push($nomdesbouquets, $ligne['nomdesbouquets']); < $nomdesbouquets[$ligne['nom_init']] = $ligne['valeur_init']; < // array_push($lst_ipHOPALE, [$ligne['nom_init'] => $ligne['valeur_init']]); < } < if ($ligne['valeur_liste'] == "lst_groupe") < { < //* < $temp = explode("'", $ligne['valeur_init']); < $temp2 = array(); < for ($i = 0; $i < count($temp); $i++) < { < if ($i%2 != 0) { array_push($temp2, $temp[$i]); } < // array_push($temp2, $temp[$i]); --- > if (!isset(${$ligne['valeur_liste']})) { > if ($debug) { > echo("bip : " . $ligne['valeur_liste'] . "
"); > } > ${$ligne['valeur_liste']} = array(); 152,153d143 < $lst_groupe[$ligne['nom_init']] = $temp2; < // */ 155,158c145,169 < if (isset($lst_groupe[$ligne['nom_init']])) { < array_push($lst_groupe[$ligne['nom_init']], $ligne['valeur_init']); < } else { < $lst_groupe[$ligne['nom_init']] = array($ligne['valeur_init']); --- > if ($ligne['valeur_liste'] == "lst_site_redirection_test") > { > $lst_site_redirection_test[$ligne['nom_init']] = $ligne['valeur_init']; > } > if ($ligne['valeur_liste'] == "lst_ipHOPALE") > { > $lst_ipHOPALE[$ligne['nom_init']] = $ligne['valeur_init']; > // array_push($lst_ipHOPALE, [$ligne['nom_init'] => $ligne['valeur_init']]); > } > if ($ligne['valeur_liste'] == "nomdesbouquets") > { > // array_push($nomdesbouquets, $ligne['nomdesbouquets']); > $nomdesbouquets[$ligne['nom_init']] = $ligne['valeur_init']; > // array_push($lst_ipHOPALE, [$ligne['nom_init'] => $ligne['valeur_init']]); > } > */ > if ($ligne['valeur_liste'] == "lst_groupe") > { > $temp = explode("'", $ligne['valeur_init']); > $temp2 = array(); > for ($i = 0; $i < count($temp); $i++) > { > if ($i%2 != 0) { array_push($temp2, $temp[$i]); } > } > $lst_groupe[$ligne['nom_init']] = $temp2; 160,172c171,181 < // */ < } < if ($ligne['valeur_liste'] == "lst_boutique") < { < //* < $info = $ligne['information']; < if ($info == "") { $info = "Liens vers la boutique Clique and Collect"; } < else if (str_contains($info, "desactive")) { $info = ""; } < if ($info != "") { < if (isset($lst_boutique[$ligne['nom_init']])) { < array_push($lst_boutique[$ligne['nom_init']], array($ligne['valeur_init'], $info)); < } else { < $lst_boutique[$ligne['nom_init']] = array(array($ligne['valeur_init'], $info)); --- > elseif ($ligne['valeur_liste'] == "lst_boutique") > { > $info = $ligne['information']; > if ($info == "") { $info = "Liens vers la boutique Clique and Collect"; } > else if (str_contains($info, "desactive")) { $info = ""; } > if ($info != "") { > if (isset($lst_boutique[$ligne['nom_init']])) { > array_push($lst_boutique[$ligne['nom_init']], array($ligne['valeur_init'], $info)); > } else { > $lst_boutique[$ligne['nom_init']] = array(array($ligne['valeur_init'], $info)); > } 175,179c184 < // */ < /* < $temp = explode("'", $ligne['valeur_init']); < $temp2 = array(); < for ($i = 0; $i < count($temp); $i++) --- > else 181,182c186,190 < if ($i%2 != 0) { array_push($temp2, $temp[$i]); } < // array_push($temp2, $temp[$i]); --- > if ($debug) { > var_dump(${$ligne['valeur_liste']}); > echo("
bops : " . $ligne['valeur_liste'] . "
"); > } > ${$ligne['valeur_liste']}[$ligne['nom_init']] = $ligne['valeur_init']; 184,185d191 < $lst_boutique[$ligne['nom_init']] = $temp2; < // */ 187a194,206 > catch (Exception $e) { // Si jamais la BDD n'a pas les fichiers recquis pour faire fonctionner le site... > var_dump($e); > exit; > } > catch (Error $e) { // Si jamais la BDD n'a pas les fichiers recquis pour faire fonctionner le site... > var_dump($e); > exit; > } > > if ($debug) { > echo("
valeur de config de group et boutiques chargés
"); > } > 409a429,564 > function get_tarif_soframedia_1($id_site) > { > $result = ExecuteSelectSql("SHOW COLUMNS FROM `tarif_soframedia1` LIKE 'visibleHTML'"); > $exists = (count($result)>0)?true:false; > > if (!$exists) > { > $query = "ALTER TABLE `tarif_soframedia1` ADD `visibleHTML` TINYINT NULL DEFAULT NULL COMMENT 'NULL ou 0: visible; autre: invisible' AFTER `sys_datesup`;"; > ExecuteUpDateSql($query); > echo("hi"); > $sql = "SELECT `1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`,`10`,`11`,`12`,`13`,`14`,`15`,`16`,`17`,`18`,`19`,`20`,`21`,`22`,`23`,`24`,`25`,`26`,`27`,`28`,`29`, `num_bouquet`, `visibleHTML` FROM `tarif_soframedia1` WHERE `id_site`='$id_site' AND `sys_datesup` IS NULL ORDER BY `num_bouquet` ASC"; > } else { > // echo("test"); > $sql = "SELECT `1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`,`10`,`11`,`12`,`13`,`14`,`15`,`16`,`17`,`18`,`19`,`20`,`21`,`22`,`23`,`24`,`25`,`26`,`27`,`28`,`29`, `num_bouquet`, `visibleHTML` FROM `tarif_soframedia1` WHERE `id_site`='$id_site' AND `sys_datesup` IS NULL ORDER BY `num_bouquet` ASC"; > } > if (isset($_GET['debug'])) { var_dump($sql); } > $value = ExecuteSelectSql($sql); > if (isset($_GET['debug'])) { var_dump($value); print("\n\n\n"); } > > if (count($value) <= 1 && $value[0] == "") { > echo("\n\n"); > return []; > } > > $retour = []; > for ($j = 0; $j <= count($value); $j++) > { > $num_bouquet = $value[$j]['num_bouquet']; > if ($value[$j]['visibleHTML'] == 0 || $value[$j]['visibleHTML'] == "" || $value[$j]['visibleHTML'] == null) { > $temp = 0; > for ($i = 0; $i <= 29; $i++) > { > if ($value[$j][$i] != "0.00" && $value[$j][$i] != null) {$retour[$num_bouquet][$temp] = $value[$j][$i]; $temp++; } > } > if ($value[$j][1] != "") { > $retour[$num_bouquet]['num_bouquet'] = $value[$j]['num_bouquet']; > } > } > else if ($value[$j]['num_bouquet'] == 0) > { > $retour[$num_bouquet]['num_bouquet'] = 0; > } > } > if (isset($_GET['debug'])) { > echo("\n"); > } > return $retour; > } > > function get_prix_casque($id_site) > { > try { > $result = ExecuteSelectSql("SHOW COLUMNS FROM `tarif_casque_soframedia1` LIKE 'description'"); > $exists = (count($result)>0)?true:false; > > if (!$exists) > { > $query = "CREATE TABLE `tarif_casque_soframedia1` ( > `id_tarif_casque` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT, > `id_site` int(11) NOT NULL, > `nom_site` varchar(63) NOT NULL DEFAULT 'defaut', > `prix` decimal(5,2) NOT NULL DEFAULT '0.00', > `description` text NOT NULL, > `sys_datesup` timestamp NULL DEFAULT NULL > ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci"; > ExecuteUpDateSql($query); > } > $sql = "SELECT `prix` FROM `tarif_casque_soframedia1` WHERE `id_site`='$id_site' AND `sys_datesup` IS NULL"; > $value = ExecuteSelectSql($sql); > if ($value == [] || $value == null || $value[0] == [] || $value[0] == null) { return -1; } > return $value[0]['prix']; > } catch (Error $e) {$erreur .= "ERROR $e";} catch (Exception $e) { > if ($e->getCode() == "42S02") { > $query = "CREATE TABLE `tarif_casque_soframedia1` ( > `id_tarif_casque` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT, > `id_site` int(11) NOT NULL, > `nom_site` varchar(63) NOT NULL DEFAULT 'defaut', > `prix` decimal(5,2) NOT NULL DEFAULT '0.00', > `description` text NOT NULL, > `sys_datesup` timestamp NULL DEFAULT NULL > ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci"; > ExecuteUpDateSql($query); > ajoutLog("Création de la table tarif_casque_soframedia1 pour rendre dynamique les prix des casques"); > } > else { > echo("ERROR: $e
"); ajoutLog($e); > } > } > } > > function get_phrase_casque($id_site) > { > try { > $result = ExecuteSelectSql("SHOW COLUMNS FROM `tarif_casque_soframedia1` LIKE 'description'"); > $exists = (count($result)>0)?true:false; > > if (!$exists) > { > $query = "CREATE TABLE `tarif_casque_soframedia1` ( > `id_tarif_casque` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT, > `id_site` int(11) NOT NULL, > `nom_site` varchar(63) NOT NULL DEFAULT 'defaut', > `prix` decimal(5,2) NOT NULL DEFAULT '0.00', > `description` text NOT NULL, > `sys_datesup` timestamp NULL DEFAULT NULL > ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci"; > ExecuteUpDateSql($query); > } > $sql = "SELECT `description` FROM `tarif_casque_soframedia1` WHERE `id_site`='$id_site' AND `sys_datesup` IS NULL"; > $value = ExecuteSelectSql($sql); > if ($value == [] || $value == null || $value[0] == [] || $value[0] == null) { return ""; } > return $value[0]['description']; > } catch (Error $e) {$erreur .= "ERROR $e";} catch (Exception $e) { > if ($e->getCode() == "42S02") { > $query = "CREATE TABLE `tarif_casque_soframedia1` ( > `id_tarif_casque` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT, > `id_site` int(11) NOT NULL, > `nom_site` varchar(63) NOT NULL DEFAULT 'defaut', > `prix` decimal(5,2) NOT NULL DEFAULT '0.00', > `description` text NOT NULL, > `sys_datesup` timestamp NULL DEFAULT NULL > ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci"; > ExecuteUpDateSql($query); > ajoutLog("Création de la table tarif_casque_soframedia1 pour rendre dynamique les prix des casques"); > } > else { > echo("ERROR: $e
"); ajoutLog($e); > } > } > } > > if ($debug) { > echo("
config chargé entièrement
"); > } Only in soframedia-test/config: config_commun.php-old260120 Only in soframedia-test/config: config_commun.php-old260205 Only in soframedia/config: config_hopale-original.php Only in soframedia-test/config: util_hopale.php-old260123 diff -r soframedia/config/util_hopale.php-old260126 soframedia-test/config/util_hopale.php-old260126 112,113c112 < $sql = "select tarif_id,unite_temps from tarif where id_site=".$_SESSION['idsitetravail']." and sys_datesup is null and typet2m=" . $typeT2M . " and type_tarif=" . $classe . " and id_tarif_pere is null order by unite_temps desc"; < --- > $sql = "select tarif_id,unite_temps from tarif where id_site=".$_SESSION['idsitetravail']." and sys_datesup is null and typet2m=" . $typeT2M . " and type_tarif='" . $classe . "' and id_tarif_pere is null order by unite_temps desc"; 115c114 < --- > 184a184,185 > $unite_temp_forfait = $rows["unite_temps"]; > 187c188 < $nbjour = ceil($nbheureafacturerouNbMois / 24); --- > $nbjour = ceil($nbheureafacturerouNbMois / $unite_temp_forfait); 213d213 < 446a447,460 > > function commence_par_un_nombre($str) { > // Check if the string starts with a number (0-9) > if (preg_match('/^[0-9]/', $str)) { > // Do something if it starts with a number > // echo "String starts with a number: " . $str . "\n
"; > return true; > } else { > // Do something else if it doesn't start with a number > // echo "String does NOT start with a number: " . $str . "\n
"; > return false; > } > } > diff -r soframedia/cricqueboeuf.php soframedia-test/cricqueboeuf.php 2,5c2,4 < session_start(); < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/cricqueboeuf.php'; < //header('Location: '.$_SESSION['pointdentree']); --- > session_start(); > $_SESSION["pointdentree"]="/menuhopaletablette.php?idsitetravail=27"; // le point d'entrée du site (par défaut: vide); > header('Location: .'.$_SESSION["pointdentree"]); 7,9d5 < // en local cricqueboeuf 27 < $_SESSION['pointdentree']= '/menuhopaletablette.php?idsitetravail=27'; < header('Location: .'.$_SESSION['pointdentree']); diff -r soframedia/dignes.php soframedia-test/dignes.php 2,5c2,4 < session_start(); < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/dignes.php'; < //header('Location: '.$_SESSION['pointdentree']); --- > session_start(); > $_SESSION["pointdentree"]="/menuhopaletablette.php?idsitetravail=48"; // le point d'entrée du site (par défaut: vide); > header('Location: .'.$_SESSION["pointdentree"]); 7,9d5 < // en local dignes 48 < $_SESSION['pointdentree']= '/menuhopaletablette.php?idsitetravail=48'; < header('Location: .'.$_SESSION['pointdentree']); diff -r soframedia/dourdan/tarif.php soframedia-test/dourdan/tarif.php 25,26c25 < //$chambredouble=get_phrase_casque($idsite); if ($chambredouble == "") { $chambredouble= "Nous vous rappelons qu’un casque est obligatoire dans les chambres doubles, en vente sur notre site au prix de 2,5 euros, disponible sur place."; < $chambredouble =""; --- > $chambredouble=get_phrase_casque($idsite); if ($chambredouble == "") { $chambredouble= "";} diff -r soframedia/dourdan.php soframedia-test/dourdan.php 2,5c2,4 < session_start(); < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/dourdan.php'; < //header('Location: '.$_SESSION['pointdentree']); --- > session_start(); > $_SESSION["pointdentree"]="/menuhopaletablette.php?idsitetravail=64"; // le point d'entrée du site (par défaut: vide); > header('Location: .'.$_SESSION["pointdentree"]); 7,9d5 < // en local dourdan 64 < $_SESSION['pointdentree']= '/menuhopaletablette.php?idsitetravail=64'; < header('Location: .'.$_SESSION['pointdentree']); diff -r soframedia/equemauville.php soframedia-test/equemauville.php 2,5c2,4 < session_start(); < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/equemauville.php'; < //header('Location: '.$_SESSION['pointdentree']); --- > session_start(); > $_SESSION["pointdentree"]="/menuhopaletablette.php?idsitetravail=49"; // le point d'entrée du site (par défaut: vide); > header('Location: .'.$_SESSION["pointdentree"]); 7,9d5 < // en local equemauville 49 < $_SESSION['pointdentree']= '/menuhopaletablette.php?idsitetravail=49'; < header('Location: .'.$_SESSION['pointdentree']); diff -r soframedia/etampes.php soframedia-test/etampes.php 2,5c2,4 < session_start(); < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/estampes.php'; < //header('Location: '.$_SESSION['pointdentree']); --- > session_start(); > $_SESSION["pointdentree"]="/menuhopaletablette.php?idsitetravail=65"; // le point d'entrée du site (par défaut: vide); > header('Location: .'.$_SESSION["pointdentree"]); 7,9d5 < // en local etampes 65 < $_SESSION['pointdentree']= '/menuhopaletablette.php?idsitetravail=65'; < header('Location: .'.$_SESSION['pointdentree']); diff -r soframedia/footer.php soframedia-test/footer.php 2,3c2,33 < $REP = isset($REP) ? $REP : '../'; < ?> > > > > > > > > > > > > ?> 15,17c56,58 < Mentions légales  -   < C.G.V <
--- > Mentions légales  -   > C.G.V >
19c60 < logoblanc logoblanc session_start(); > $_SESSION["pointdentree"]="/menuhopaletablette.php?idsitetravail=32"; // le point d'entrée du site (par défaut: vide); > header('Location: .'.$_SESSION["pointdentree"]); 7,9d5 < // en local gisors 32 < $_SESSION['pointdentree']= '/menuhopaletablette.php?idsitetravail=32'; < header('Location: .'.$_SESSION['pointdentree']); diff -r soframedia/givors.php soframedia-test/givors.php 2,5c2,4 < session_start(); < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/givors.php'; < //header('Location: '.$_SESSION['pointdentree']); --- > session_start(); > $_SESSION["pointdentree"]="/menuhopaletablette.php?idsitetravail=31"; // le point d'entrée du site (par défaut: vide); > header('Location: .'.$_SESSION["pointdentree"]); 7,9d5 < // en local givors 31 < $_SESSION['pointdentree']= '/menuhopaletablette.php?idsitetravail=31'; < header('Location: .'.$_SESSION['pointdentree']); Only in soframedia: givors2.php diff -r soframedia/hazebrouck2.php soframedia-test/hazebrouck2.php 3,7d2 < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/hazebrouck2.php'; < //header('Location: '.$_SESSION['pointdentree']); < < // en local hazebrouck 215 diff -r soframedia/hesdin.php soframedia-test/hesdin.php 2,5c2,4 < session_start(); < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/hesdin.php'; < //header('Location: '.$_SESSION['pointdentree']); --- > session_start(); > $_SESSION["pointdentree"]="/menuhopaletablette.php?idsitetravail=28"; // le point d'entrée du site (par défaut: vide); > header('Location: .'.$_SESSION["pointdentree"]); 7,9d5 < // en local hesdin 28 < $_SESSION['pointdentree']= '/menuhopaletablette.php?idsitetravail=28'; < header('Location: .'.$_SESSION['pointdentree']); diff -r soframedia/index.php soframedia-test/index.php 12a13 > /* 32a34 > */ Only in soframedia-test: index_1.php diff -r soframedia/lannion.php soframedia-test/lannion.php 2,5c2,4 < session_start(); < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/lannion.php'; < //header('Location: '.$_SESSION['pointdentree']); --- > session_start(); > $_SESSION["pointdentree"]="/menuhopaletablette.php?idsitetravail=26"; // le point d'entrée du site (par défaut: vide); > header('Location: .'.$_SESSION["pointdentree"]); 7,9d5 < // en local lannion 26 < $_SESSION['pointdentree']= '/menuhopaletablette.php?idsitetravail=26'; < header('Location: .'.$_SESSION['pointdentree']); diff -r soframedia/laon.php soframedia-test/laon.php 2,5c2,4 < session_start(); < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/laon.php'; < //header('Location: '.$_SESSION['pointdentree']); --- > session_start(); > $_SESSION["pointdentree"]="/menuhopaletablette.php?idsitetravail=25"; // le point d'entrée du site (par défaut: vide); > header('Location: .'.$_SESSION["pointdentree"]); 7,9d5 < // en local laon 25 < $_SESSION['pointdentree']= '/menuhopaletablette.php?idsitetravail=25'; < header('Location: .'.$_SESSION['pointdentree']); diff -r soframedia/lens.php soframedia-test/lens.php 2,5c2,4 < session_start(); < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/lens.php'; < //header('Location: '.$_SESSION['pointdentree']); --- > session_start(); > $_SESSION["pointdentree"]="/menuhopaletablette.php?idsitetravail=63"; // le point d'entrée du site (par défaut: vide); > header('Location: .'.$_SESSION["pointdentree"]); 7,9d5 < // en local lens 63 < $_SESSION['pointdentree']= '/menuhopaletablette.php?idsitetravail=63'; < header('Location: .'.$_SESSION['pointdentree']); diff -r soframedia/mamers.php soframedia-test/mamers.php 2,5c2,4 < session_start(); < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/mamers.php'; < //header('Location: '.$_SESSION['pointdentree']); --- > session_start(); > $_SESSION["pointdentree"]="/menuhopaletablette.php?idsitetravail=47"; // le point d'entrée du site (par défaut: vide); > header('Location: .'.$_SESSION["pointdentree"]); 7,9d5 < // en local mamers 47 < $_SESSION['pointdentree']= '/menuhopaletablette.php?idsitetravail=47'; < header('Location: .'.$_SESSION['pointdentree']); diff -r soframedia/manosque.php soframedia-test/manosque.php 2,5c2,4 < session_start(); < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/manosque.php'; < //header('Location: '.$_SESSION['pointdentree']); --- > session_start(); > $_SESSION["pointdentree"]="/menuhopaletablette.php?idsitetravail=24"; // le point d'entrée du site (par défaut: vide); > header('Location: .'.$_SESSION["pointdentree"]); 7,9d5 < // en local manosque 24 < $_SESSION['pointdentree']= '/menuhopaletablette.php?idsitetravail=24'; < header('Location: .'.$_SESSION['pointdentree']); diff -r soframedia/maubeuge.php soframedia-test/maubeuge.php 2,5c2,4 < session_start(); < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/maubeuge.php'; < //header('Location: '.$_SESSION['pointdentree']); --- > session_start(); > $_SESSION["pointdentree"]="/menuhopaletablette.php?idsitetravail=8"; // le point d'entrée du site (par défaut: vide); > header('Location: .'.$_SESSION["pointdentree"]); 7,9d5 < // en local maubeuge 8 < $_SESSION['pointdentree']= '/menuhopaletablette.php?idsitetravail=8'; < header('Location: .'.$_SESSION['pointdentree']); diff -r soframedia/metz2.php soframedia-test/metz2.php 3,8c3 < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/metz2.php'; < //header('Location: '.$_SESSION['pointdentree']); < < // en local metz2 223 < $_SESSION['pointdentree']= '/2/menuhopaletablette.php?idsitetravail=223'; --- > $_SESSION['pointdentree']= '/menuhopaletablette.php?idsitetravail=223'; Only in soframedia-test: modif.txt Only in soframedia: montceau.php diff -r soframedia/montereau/tarif.php soframedia-test/montereau/tarif.php 9c9 < $idsite = 22; --- > $idsite = 21; 13,18d12 < // array(5.3,10.6,15.9,21.2,26.5,31.8,31.8,37.1,42.4,47.7,53,58.3,63.6,58.3,63.6,68.9,74.2,79.5,84.8,90.1,84.8,90.1,95.4,100.7,106,111.3,116.6,95.4,40) < // array(4.3,8.6,12.9,17.2,21.5,25.8,25.8,30.1,34.4,38.7,43,47.3,51.6,47.3,51.6,55.9,60.2,64.5,68.8,73.1,68.8,73.1,77.4,81.7,86,90.3,94.6,77.4,40) < // $prixCasque=2.5; // prix du casque < // < // $chambredouble = "Nous vous rappelons qu’un casque est obligatoire dans les chambres doubles, en vente sur notre site au prix de 2,5 euros, disponible sur place."; < // 'Mois supplémentaire' 20a15 > // $tarifjour = get_tarif_soframedia_1("Moutiers"); 24,25c19,21 < array(3.30,6.60,9.90,13.20,16.50,19.80,19.80,23.10,26.40,29.70,33.00,36.30,39.60,36.30,39.60,42.90,46.20,49.50,52.80,56.10,52.80,56.10,59.40,62.70,66.00,69.30,72.60,59.40)//Non < // array(3.00,6,9,12,15,18,18,21,24,27,30,33,36,33,36,39,42,45,48,51,48,51,54,57,60,63,66,54) --- > array(4.3,8.6,12.9,17.2,21.5,25.8,25.8,30.1,34.4,38.7,43,47.3,51.6,47.3,51.6,55.9,60.2,64.5,68.8,73.1,68.8,73.1,77.4,81.7,86,90.3,94.6,77.4,40) > > //array(3.90,7.8,11.7,15.6,19.5,23.4,23.8,27.7,31.6,35.5,39.4,43.3,47.2,46.8,50.7,54.6,58.5,62.4,66.3,70.2,70.2,74.1,78,81.9,85.8,89.7,93.6,78) 28,33c24,25 < < < < < < $libelletarif=array('Jour(s)','1 semaine','2 semaines','3 semaines','4 semaines'); --- > // $libelletarif=array('Jour(s)','1 semaine','2 semaines','3 semaines','4 semaines'); > $libelletarif=array('Jour(s)','1 semaine','2 semaines','3 semaines','4 semaines','Mois supplémentaire'); 36c28,29 < $chambredouble=""; --- > $chambredouble=get_phrase_casque($idsite); if ($chambredouble == "") { $chambredouble= "Nous vous rappelons qu’un casque est obligatoire dans les chambres doubles, en vente sur notre site au prix de 2,5 euros, disponible sur place."; } > $prixCasque = get_prix_casque($idsite); if ($prixCasque == -1) { $prixCasque= 2.5; } // prix du casque diff -r soframedia/montereau.php soframedia-test/montereau.php 2,5c2,4 < session_start(); < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/montereau.php'; < //header('Location: '.$_SESSION['pointdentree']); --- > session_start(); > $_SESSION["pointdentree"]="/menuhopaletablette.php?idsitetravail=22"; // le point d'entrée du site (par défaut: vide); > header('Location: .'.$_SESSION["pointdentree"]); 7,9d5 < // en local montereau 22 < $_SESSION['pointdentree']= '/menuhopaletablette.php?idsitetravail=22'; < header('Location: .'.$_SESSION['pointdentree']); diff -r soframedia/moutiers.php soframedia-test/moutiers.php 2,5c2,4 < session_start(); < // renvoi vers test soframedia < //$_SESSION['pointdentree']= 'https://test.soframedia.fr/moutiers.php'; < //header('Location: '.$_SESSION['pointdentree']); --- > session_start(); > $_SESSION["pointdentree"]="/menuhopaletablette.php?idsitetravail=21"; // le point d'entrée du site (par défaut: vide); > header('Location: .'.$_SESSION["pointdentree"]); 7,9d5 < // en local moutiers 21 < $_SESSION['pointdentree']= '/menuhopaletablette.php?idsitetravail=21'; < header('Location: .'.$_SESSION['pointdentree']); Only in soframedia-test/paraylescharmes: index-modif.php diff -r soframedia/percy/index.php soframedia-test/percy/index.php 523,529c523 < --- > diff -r soframedia/retourpayetestapirest.php soframedia-test/retourpayetestapirest.php 10c10 < ajoutLog("l'abonnement");// " . $vads_transaction . " a été payé par le client$nom pour le site $siteid" ,"soframedia 2"); --- > ajoutLog("l'abonnement");// " . $vads_transaction . " a été payé par le client$nom pour le site $idsite" ,"soframedia 2"); 59c59 < ajoutLog("l'abonnement " . $vads_transaction . " a été payé par le client$nom pour le site $siteid" ,"soframedia 2");/*ybe*/ --- > ajoutLog("l'abonnement " . $vads_transaction . " a été payé par le client$nom pour le site $idsite" ,"soframedia 2");/*ybe*/ 82c82 < // $siteid = getTxtChampData("id_site", "transaction", "vads_transaction='" . $vads_transaction . "'"); --- > // $idsite = getTxtChampData("id_site", "transaction", "vads_transaction='" . $vads_transaction . "'"); 84c84 < $siteid=$_SESSION['idsitetravail']; --- > $idsite=$_SESSION['idsitetravail']; 86,87c86,87 < $telinterne = getTxtChampData("telinterne", "site", "site_id=" . $siteid); < $telexterne = getTxtChampData("telexterne", "site", "site_id=" . $siteid); --- > $telinterne = getTxtChampData("telinterne", "site", "site_id=" . $idsite); > $telexterne = getTxtChampData("telexterne", "site", "site_id=" . $idsite); 91c91 < ajoutLog("l'abonnement " . $vads_transaction . " n'a pas été payé par le client $nom pour le site $siteid" ,"soframedia 2");/*ybe*/ --- > ajoutLog("l'abonnement " . $vads_transaction . " n'a pas été payé par le client $nom pour le site $idsite" ,"soframedia 2");/*ybe*/ Only in soframedia: sens_pfme.php diff -r soframedia/senscml/index.php soframedia-test/senscml/index.php 207c207 < --- > 219c219 < --- > 226c226 < --- > 233c233 < --- > 239c239 < --- > 246c246 < --- > 253c253 < --- > 260c260 < --- > 267c267 < --- > 274c274 < --- > 281c281 < --- > 288c288 < --- > 295,296c295,407 < < --- > > $selection = ""; > if ($nbjour == 13) > $selection = " selected=\"selected\""; > ?> > > > $selection = ""; > if ($nbjour == 14) > $selection = " selected=\"selected\""; > ?> > > > $selection = ""; > if ($nbjour == 15) > $selection = " selected=\"selected\""; > ?> > > > $selection = ""; > if ($nbjour == 16) > $selection = " selected=\"selected\""; > ?> > > > $selection = ""; > if ($nbjour == 17) > $selection = " selected=\"selected\""; > ?> > > > $selection = ""; > if ($nbjour == 18) > $selection = " selected=\"selected\""; > ?> > > > $selection = ""; > if ($nbjour == 19) > $selection = " selected=\"selected\""; > ?> > > > $selection = ""; > if ($nbjour == 20) > $selection = " selected=\"selected\""; > ?> > > > $selection = ""; > if ($nbjour == 21) > $selection = " selected=\"selected\""; > ?> > > > $selection = ""; > if ($nbjour == 22) > $selection = " selected=\"selected\""; > ?> > > > $selection = ""; > if ($nbjour == 23) > $selection = " selected=\"selected\""; > ?> > > > $selection = ""; > if ($nbjour == 24) > $selection = " selected=\"selected\""; > ?> > > > $selection = ""; > if ($nbjour == 25) > $selection = " selected=\"selected\""; > ?> > > > $selection = ""; > if ($nbjour == 26) > $selection = " selected=\"selected\""; > ?> > > > $selection = ""; > if ($nbjour == 27) > $selection = " selected=\"selected\""; > ?> > > > $selection = ""; > if ($nbjour == 28) > $selection = " selected=\"selected\""; > ?> > > 305c416 <
--- >
313c424 <
--- >
321c432 <
--- >
329c440 <
--- >
400,406c511,515 < if (email1.trim() == '' || email2.trim() == '') { < alert("Merci de remplir une adresse email valide"); < return; < } < if (email1 != email2) { < alert("Les adresses emails ne sont pas identiques"); < return; --- > if (email1 != '' || email2 != '') { > if (email1 != email2) { > alert("Les adresses emails ne sont pas identiques"); > return; > } Only in soframedia-test: test.php