HEX
Server: LiteSpeed
System: Linux houston.panomity.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
User: nudepix (1011)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //proc/self/root/tmp/google-workspace-dmarc-fix.js
const ORDER_POSTS = {
  quick_fix: { action: 'https://support.panomity.com/cart/priority-support/DNS-Quick-Fix/&step=0', id: '867', cycle: 'Once' },
  cleanup: { action: 'https://support.panomity.com/cart/priority-support/DNSMail-Security-Cleanup/&step=0', id: '868', cycle: 'Once' }
};
function submitHostBillOrder(plan) {
  const cfg = ORDER_POSTS[plan];
  if (!cfg) return false;
  const form = document.createElement('form');
  form.method = 'post';
  form.action = cfg.action;
  for (const [name, value] of Object.entries({ action: 'add', id: cfg.id, cycle: cfg.cycle })) {
    const input = document.createElement('input');
    input.type = 'hidden';
    input.name = name;
    input.value = value;
    form.appendChild(input);
  }
  document.body.appendChild(form);
  form.submit();
  return true;
}
async function recordLandingLead(plan, extra = {}) {
  try {
    const payload = Object.assign({ source: 'seo_landing', intent: 'landing_checkout', plan, domain: '', page: window.location.pathname }, extra || {});
    await fetch('/v1/leads', {
      method: 'POST',
      headers: { 'Content-Type': 'application/json' },
      body: JSON.stringify(payload)
    });
  } catch (e) { /* lead tracking must never block checkout */ }
}
async function recordQualifiedLandingLead(form) {
  const data = new FormData(form);
  const plan = String(data.get('plan') || 'cleanup');
  const status = form.querySelector('.quoteStatus');
  if (status) status.textContent = 'Anfrage wird gespeichert…';
  await recordLandingLead(plan, {
    intent: 'qualified_fix_request',
    domain: String(data.get('domain') || '').trim().toLowerCase(),
    contact_email: String(data.get('email') || '').trim(),
    message: String(data.get('message') || '').trim(),
    page: window.location.pathname + '#qualified-request'
  });
  if (status) status.textContent = 'Gespeichert. Der Kontakt erscheint im Revenue-Report.';
}
document.querySelectorAll('[data-qualified-form]').forEach((form) => {
  form.addEventListener('submit', async (event) => {
    event.preventDefault();
    await recordQualifiedLandingLead(form);
  });
});
document.addEventListener('click', async (event) => {
  const cta = event.target.closest('[data-service-lead]');
  if (!cta) return;
  const plan = cta.dataset.serviceLead;
  const fallbackUrl = cta.href;
  event.preventDefault();
  await recordLandingLead(plan);
  if (submitHostBillOrder(plan)) return;
  window.location.href = fallbackUrl;
});