| | | | | // | |___________________________| |___________________________________| |___________________________________| // 4 | | | | | | | // | |___________________________| |_______________________| | |___________________________________| // 5 | | | | | | | // | |___________________________| |_______________________| | |___________________________________| // | | | | | | | | // 6 i | #page-container | | #page-container | | | #page-container | // | n | | | | | | | // | d | tablePages | | tablePages | | | tablePages | // | e | | | | | | | // 7 p | | | | | | | // | | | | | | | | // | | | | | | | | // | | | | | | | | // |___________________________________| | | | |___________________________________| // | | | | | | | | | | | // 8 | | | | | | | | | | // | | | | | | | | | | | // | | | | | | | | | | | // |___________________________________| |___________________________________| |___________________________________| // 9 | | | | | // | Infos | | Infos | | Infos | // |___________________________________| |___________________________________| |___________________________________| // // CAS1 CAS2 CAS3 // _____________________________________________________________________________________________________________________ // 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 // |-----------------------------------| |-----------------------------------| |-----------------------------------| // 1 En-tete | | En-tete | | En-tete | // |___________________________________| |___________________________________| |___________________________________| // 2 Menu | | Menu | | Menu | // |___________________________________| |___________________________________| |___________________________________| // 3 | | | | | // |___________________________________| |___________________________________| |___________________________________| // 4 | | | | | // |___________________________________| |___________________________________| |___________________________________| // 5 | | | | | // |___________________________________| |___________________________________| |___________________________________| // | | | | | | | | // 6 i | #page-container | | #page-container | | | #page-container | // | n | | | | | | | // | d | tablePages | | tablePages | | | tablePages | // | e | | | | | | | // 7 p | | | | | | | // | | | | | | | | // | | | | | | | | // | | | | | | | | // |___________________________________| | | | |___________________________________| // | | | | | | | | | | | // 8 | | | | | | | | | | // | | | | | | | | | | | // | | | | | | | | | | | // |___________________________________| |___________________________________| |___________________________________| // 9 | | | | | // | Infos | | Infos | | Infos | // |___________________________________| |___________________________________| |___________________________________| // ----------------------------------------------------- // Recup du theme // ----------------------------------------------------- $nomThemeCss=$_SESSION['nomThemeCss']; // ----------------------------------------------------- // UPDATE aff pub // ----------------------------------------------------- include ("./agencement/req/agencementReq.pubAff.php"); // ----------------------------------------------------- // UPDATE aff bandeau // ----------------------------------------------------- include ("./agencement/req/bandeauUpdateAff.php"); // ----------------------------------------------------- // UPDATE de l'agencement sur theme // ----------------------------------------------------- if (!isset($agcmtType)) $agcmtType =$_SESSION['numStruct']; $reqUpdate="UPDATE `cssthemes` SET agcType=" .$agcmtType. " WHERE nom='" .$nomThemeCss. "';"; $resConn=''; if (isset($debug[2]) && $debug[2] == '1') { $debugMsg .= monDebug(2, ['bdd' => $bdd], 'agencementReqChapeau.php');} $resConn=$idPdo->query($reqUpdate) ; if ($resConn) { $admMsg .= '
L\'agencement du thème ' .$nomThemeCss. ' a bien été mis à jour '; $admMsgClass='ok'; if (isset($debug[2]) && $debug[2] == '1') { $debugMsg .= monDebug(2, ['reqUpdate' => $reqUpdate], '');} } else { $admMsg .= 'Erreur lors de la mise à jour de l\'agencement du thème' .$nomThemeCss; if (isset($debug[2]) && $debug[2] == '1') { $debugMsg .= monDebug(2, ['Erreur mysql :' => $idPdo->errorInfo()[2] ], ''); } $admMsgClass='ko'; } $_SESSION['numStruct']=$agcmtType; // ----------------------------------------------------- // Préparation // ----------------------------------------------------- include ("./agencement/req/02-agencementReqUpdate.prepare.php"); // ----------------------------------------------------- // Execution des requetes // ----------------------------------------------------- include ("./agencement/req/03-agencementReqUpdate.php"); ?>