Add files via upload

This commit is contained in:
OscarRui 2021-05-07 19:06:45 +02:00 committed by GitHub
parent b635ce70a0
commit 59a89cff30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,6 +41,7 @@
<th>Numero</th> <th>Numero</th>
<th>Filas</th> <th>Filas</th>
<th>Columnas</th> <th>Columnas</th>
<th>Asientos Disponibles</th>
</tr> </tr>
</thead> </thead>
<tbody>'; <tbody>';
@ -50,7 +51,14 @@
<td> '. $hall->getNumber().'</td> <td> '. $hall->getNumber().'</td>
<td> '. $hall->getNumRows().'</td> <td> '. $hall->getNumRows().'</td>
<td> '. $hall->getNumCol().'</td> <td> '. $hall->getNumCol().'</td>
<td> '.$hall->getTotalSeats().' </td>
<form method="post" action="./?state=edit_session">
<input name="number" type="hidden" value="'. $hall->getNumber().'">
<input name="rows" type="hidden" value="'. $hall->getNumRows().'">
<input name="cols" type="hidden" value="'. $hall->getNumCol().'">
<input name="seats" type="hidden" value="'.$hall->getTotalSeats().'">
<td> <input type="submit" name="edit" value="Editar" class="button" formaction="./?state=edit_hall&number='.$hall->getNumber().'" ></td> <td> <input type="submit" name="edit" value="Editar" class="button" formaction="./?state=edit_hall&number='.$hall->getNumber().'" ></td>
</form>
</tr>'; </tr>';
} }
$panel.=' $panel.='
@ -71,12 +79,9 @@
} }
static function edit_hall(){ static function edit_hall(){
$panel = '<div class="column side"></div> $data = array("option" => "edit_hall", "number" => $_POST["number"],"cols" => $_POST["cols"], "rows" => $_POST["rows"], "seats" => $_POST["seats"]);
<div class="column middle"> $panel = '<h1>Editar una sala.</h1><hr/></br>
<h1>Editar una sala.</h1><hr /></br> '. FormHall::generaCampoFormulario($data, null);
<p> En desarrollo... </p>
</div>
<div class="column side"></div>'."\n";
return $panel; return $panel;
} }