SW/purchase/confirm.php

24 lines
803 B
PHP
Raw Normal View History

2021-05-24 13:28:35 +02:00
<?php
2021-05-25 12:21:50 +02:00
//General Config File:
require_once('../assets/php/config.php');
2021-05-24 13:28:35 +02:00
2021-05-25 12:21:50 +02:00
$sessionDAO = new SessionDAO("complucine");
//$session = $sessionDAO->loadSession($_POST["session_id"], $_POST["film_id"], $_POST["hall_id"], $_POST["cinema_id"], $_POST["date_"], $_POST["hour_"], "12", null, null);
$session = $sessionDAO->sessionData($_POST["session_id"]);
//Purchase form:
require_once('includes/formPurchase.php');
$form = new FormPurchase();
$formHTML = $form->gestiona();
//Page-specific content:
$section = '<div class="code">
<h2>Completar la Compra</h2><hr />
<!-- Purchase Form -->
'.$formHTML.'
</div>';
//General page content:
require RAIZ_APP.'/HTMLtemplate.php';
2021-05-24 13:28:35 +02:00
?>