Init Git Prod Mars 2026
This commit is contained in:
commit
d81efe93b1
362 files changed
+86627
No files matched your search
@@ -0,0 +1,85 @@
|
||||
<?php
|
||||
// /plata/views/cancel.php
|
||||
if (session_status() === PHP_SESSION_NONE) session_start();
|
||||
require_once __DIR__.'/../../public/includes/securite.php';
|
||||
require_login_or_redirect(['praticien']);
|
||||
require_once __DIR__.'/../../public/includes/lang.php';
|
||||
|
||||
$t_page = $translations['paiement_annule_title'] ?? 'Paiement annulé';
|
||||
$t_msg = $translations['paiement_annule_message'] ?? "Le paiement n'a pas été finalisé. Vous pouvez réessayer ou choisir une autre méthode.";
|
||||
$t_btn = $translations['retour_abonnements'] ?? 'Retour aux abonnements';
|
||||
//$t_redirect= $translations['redirection_abonnements'] ?? 'Redirection vers vos abonnements…';
|
||||
unset($_SESSION['checkout_attempt_id']);
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title><?= htmlspecialchars($t_page) ?> | USLUGI</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
|
||||
<link href="/css/bootstrap.min.css" rel="stylesheet">
|
||||
|
||||
<style>
|
||||
:root{
|
||||
--brand-blue:#38378B; --brand-red:#E03C3F; --page-blue:#8CA9FF;
|
||||
--text-dark:#fff; --border:#e5e7eb; --radius:18px; --shadow:0 10px 28px rgba(0,0,0,.10);
|
||||
}
|
||||
html,body{height:100%}
|
||||
body{
|
||||
background-color: #8CA9FF;
|
||||
font-family:'Montserrat',system-ui,-apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial;
|
||||
color:var(--text-dark);
|
||||
display:flex; align-items:center; justify-content:center; padding:24px;
|
||||
}
|
||||
.card{
|
||||
border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow); background:#fff;
|
||||
max-width:560px; width:100%;
|
||||
}
|
||||
.btn-brand{
|
||||
background:var(--brand-red); border: none; border-radius:999px; font-weight:600;
|
||||
padding:.8rem 1.2rem; box-shadow:0 8px 22px rgba(0,0,0,.18); color:#fff;
|
||||
}
|
||||
.btn-brand:hover,.btn-brand:focus{ background:var(--brand-red); border: none; color: #fff;}
|
||||
.cross-wrap{
|
||||
width:82px; height:82px; border-radius:50%; display:grid; place-items:center;
|
||||
background:rgba(224,60,63,.08); margin:0 auto 18px auto; position:relative;
|
||||
border:3px solid rgba(224,60,63,.25);
|
||||
animation: pop .45s ease-out both;
|
||||
}
|
||||
@keyframes pop{ from{ transform:scale(.85); opacity:.5 } to{ transform:scale(1); opacity:1 } }
|
||||
.cross{
|
||||
position:relative; width:38px; height:38px;
|
||||
}
|
||||
.cross:before, .cross:after{
|
||||
content:""; position:absolute; top:50%; left:0; width:100%; height:6px;
|
||||
background:#E03C3F; border-radius:4px;
|
||||
}
|
||||
.cross:before{ transform:translateY(-50%) rotate(45deg); }
|
||||
.cross:after{ transform:translateY(-50%) rotate(-45deg); }
|
||||
.small-muted{ color:#64748b; font-size:.95rem }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<main class="card p-4 p-md-5">
|
||||
<div class="text-center">
|
||||
<div class="cross-wrap"><div class="cross"></div></div>
|
||||
<h1 class="h3 fw-bold mb-2"><?= htmlspecialchars($t_page) ?></h1>
|
||||
<p class="small-muted mb-4"><?= htmlspecialchars($t_msg) ?></p>
|
||||
|
||||
<div class="d-grid d-sm-inline-block">
|
||||
<a href="/public/praticien/abonnement.php" class="btn btn-brand px-4"><?= htmlspecialchars($t_btn) ?></a>
|
||||
</div>
|
||||
|
||||
<p class="small-muted mt-3" id="redirMsg" aria-live="polite"><?= htmlspecialchars($t_redirect) ?></p>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<script>
|
||||
// Redirection automatique après 5 secondes (désactive si inutile)
|
||||
setTimeout(function(){ window.location.href = "/public/choisir_abonnement.php"; }, 5000);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in new issue
Block a user