<?php if (!defined('STORE_ROOT')) { http_response_code(403); exit; } ?> <div class="exclude-page">      <div class="page-banner">         <div class="page-banner-icon"><div class="page-banner-icon-inner"></div></div>         <div class="page-banner-text">             <h2><?= $L('excl_title', 'Self-Exclusion') ?></h2>             <p><?= $L('excl_subtitle', 'Voluntarily restrict your access to this platform.') ?></p>         </div>     </div>      <div class="exclude-section">         <h3><?= $L('excl_what_title', 'What is Self-Exclusion?') ?></h3>         <p><?= $L('excl_what_desc1', 'Self-exclusion is a voluntary, permanent action that restricts your ability to use this platform. Once activated, your IP address will be added to our network-level filter, preventing access to all shopping and account features.') ?></p>         <p><?= $L('excl_what_desc2', 'This tool exists because we believe in responsible commerce. If you feel that your use of this platform is not in your best interest, we encourage you to use this feature.') ?></p>     </div>      <div class="exclude-section">         <h3><?= $L('excl_happens_title', 'What Happens When You Self-Exclude?') ?></h3>         <ul class="exclude-list">             <li><?= $L('excl_happens_ip', 'Immediate IP block -- your current IP address is added to the platform exclusion filter (network-level blackhole)') ?></li>             <li><?= $L('excl_happens_account', 'Account restriction -- if logged in, your account will be flagged and restricted from placing orders') ?></li>             <li><?= $L('excl_happens_permanent', 'Permanent action -- self-exclusion cannot be reversed through the website') ?></li>             <li><?= $L('excl_happens_data', 'Data preserved -- existing order records are retained per our data retention policy') ?></li>             <li><?= $L('excl_happens_financial', 'No financial impact -- any pending refunds or store credits will still be processed') ?></li>         </ul>     </div>      <div class="exclude-warning">         <h4><?= $L('excl_notice_title', 'Important Notice') ?></h4>         <p><?= $L('excl_notice_desc1', 'Self-exclusion is a serious and permanent action. Once confirmed:') ?></p>         <p><?= $L('excl_notice_desc2', 'You will not be able to undo this from the website. You will need to contact support from a different network to discuss reinstatement. Reinstatement requires a mandatory 90-day cooling-off period.') ?></p>         <p><?= $L('excl_notice_desc3', 'If you are unsure, we recommend contacting our support team first.') ?></p>     </div>      <div class="exclude-section">         <form onsubmit="submitExclusion(event)" class="form-standard">             <div class="form-group">                 <label><?= $L('excl_reason_label', 'Reason (optional)') ?></label>                 <textarea id="exclude-reason" class="form-input form-textarea" rows="3" placeholder="<?= $L('excl_reason_placeholder', 'You may provide a reason for your self-exclusion request.') ?>"></textarea>             </div>             <div class="form-group">                 <label class="checkbox-label">                     <input type="checkbox" id="exclude-confirm" required>                     <?= $L('excl_confirm_label', 'I understand this action is permanent and cannot be reversed through this website.') ?>                 </label>             </div>             <button type="submit" class="btn btn-danger"><?= $L('excl_submit_btn', 'Request Self-Exclusion') ?></button>             <div id="exclude-status" class="form-status"></div>         </form>     </div>  </div>  <script> function submitExclusion(e) {     e.preventDefault();     if (!document.getElementById('exclude-confirm').checked) return;     Bridge.post('/api/router.php', {         action: 'self_exclude',         reason: document.getElementById('exclude-reason').value     }).then(function(r) {         var s = document.getElementById('exclude-status');         if (r.success) {             s.innerHTML = '<p class="form-success">Exclusion request submitted. Your access will be restricted shortly.</p>';         } else {             s.innerHTML = '<p class="form-error">' + (r.error || 'Failed to process request.') + '</p>';         }     }); } </script>