Fibinger Ádám
2020-01-09 cffd2c46efe5875ad1eb86a566a9b41bdb461861
form.php
@@ -11,17 +11,21 @@
    }
    $s->setClass('simple');
    $html_content = $twig->render('overlay-base.twig', ['stripe' => $s]);
    $html_content = $twig->render('overlays/stripe.twig', ['stripe' => $s]);
    file_put_contents(OVERLAY_DIR . 'simple.html', $html_content);
    $s->setClass('team');
    $html_content = $twig->render('overlay-base.twig', ['stripe' => $s]);
    $html_content = $twig->render('overlays/stripe.twig', ['stripe' => $s]);
    file_put_contents(OVERLAY_DIR . 'team.html', $html_content);
    $s->setClass('team-ban');
    $html_content = $twig->render('overlay-base.twig', ['stripe' => $s]);
    $html_content = $twig->render('overlays/stripe.twig', ['stripe' => $s]);
    file_put_contents(OVERLAY_DIR . 'team-ban.html', $html_content);
   $s->setClass('team-ban');
   $html_content = $twig->render('overlays/stripe.twig', ['stripe' => $s, 'autorefresh' => 30]);
   file_put_contents(OVERLAY_DIR . 'team-ban-refresh.html', $html_content);
} else {
    if (file_exists(STRIPE_JSON)) {
        $raw_json = file_get_contents(STRIPE_JSON);