From f2e0b5357a6f019780773cb87cc5c633b27c88f2 Mon Sep 17 00:00:00 2001
From: Fibinger Ádám <adam.fibinger@wup.hu>
Date: Thu, 10 Sep 2020 20:46:09 +0200
Subject: [PATCH] Alapértelmezetten ne legyen csapat kiválasztva

---
 create.php |   37 +++++--------------------------------
 1 files changed, 5 insertions(+), 32 deletions(-)

diff --git a/create.php b/create.php
index 40fdd35..32f379b 100644
--- a/create.php
+++ b/create.php
@@ -1,35 +1,8 @@
 <?php
-include "vendor/autoload.php";
+include_once "common/base.php";
 
-define('IS_DEV', true);
-define('SITE_ROOT', __DIR__);
+$html_content = $twig->render('overlays/start-soon.twig');
+file_put_contents('../esl-overlay/overlays/start-soon.html', $html_content);
 
-$twig = \EOG\Utils\TwigFactory::getEnvironment(SITE_ROOT);
-
-$variables = [
-	'cup' => [
-		'number' => '#75',
-		'name' => '5on5 Open Cup',
-	],
-	'team' => [
-		'orange' =>
-		[
-			'name' => 'Dompa Esports Community',
-			'ban' => [
-				'mira',
-				'jackal'
-			]
-		],
-		'blue' => [
-			'name' => 'The Grizz Esports',
-			'ban' => [
-				'rook',
-				'blitz'
-			]
-		]
-	]
-];
-
-
-$html_content = $twig->render('templates/overlay-base.twig', $variables);
-file_put_contents('overlay/generated.html', $html_content);
\ No newline at end of file
+$html_content = $twig->render('overlays/interrogacion.twig');
+file_put_contents('../esl-overlay/overlays/interview.html', $html_content);
\ No newline at end of file

--
Gitblit v1.8.0