Add files via upload

This commit is contained in:
Markines16 2021-05-27 20:41:45 +02:00 committed by GitHub
parent cfd65e645a
commit 157201c2f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,14 +54,14 @@
<p>Cine: '.$cinema.'</p> <p>Cine: '.$cinema.'</p>
<p>Espero que estes pasando un buen dia</p> <p>Espero que estes pasando un buen dia</p>
<form method="post" id="changecinema" action="index.php"> <form method="post" id="changecinema" action="index.php">
<select name="cinema" class="button"> <select name="cinema" class="button large">
'; ';
foreach($cinemas as $c){ foreach($cinemas as $c){
if($c->getId() == $cinema){ if($c->getId() == $cinema){
$panel .= "<option value=\"". $c->getId() ." \"selected> " . $c->getId() ."</option> $panel .= "<option value=\"". $c->getId() ." \"selected> " . $c->getName() ."</option>
"; ";
}else{ }else{
$panel .= "<option value=\"". $c->getId() ." \"> " . $c->getId() . "</option> $panel .= "<option value=\"". $c->getId() ." \"> " . $c->getName() . "</option>
"; ";
} }
} }
@ -93,29 +93,27 @@
$panel .= "<h2> No hay ninguna sala en este cine"; $panel .= "<h2> No hay ninguna sala en este cine";
}else{ }else{
$panel .= ' $panel .= '
<div class="tablelist"> <ul class="tablelist col3">
<u1"> <li class="title"> Sala </li>
<li class="title"> Salas </li>
<li class="title"> Asientos </li> <li class="title"> Asientos </li>
<li class="title"> Sesiones </li> <br> <li class="title"> Sesión </li>
'; ';
$parity = "odd"; $parity = "odd";
foreach($listhall as $hall){ foreach($listhall as $hall){
$panel .='<div class='.$parity.'> $panel .='<div class="'.$parity.'">
<a href="?state=edit_hall&number='. $hall->getNumber().'"> <a class="h2long" href="?state=edit_hall&number='. $hall->getNumber().'">
<li> '. $hall->getNumber().'</li> <li> '. $hall->getNumber().'</li>
<li> '.$hall->getTotalSeats().' </li> <li> '.$hall->getTotalSeats().' </li>
</a> </a>
<a href="?state=manage_sessions&hall='. $hall->getNumber().'"> <a href="?state=manage_sessions&hall='. $hall->getNumber().'">
<li> Sessiones</li> <li> Sesiones </li>
</a> </a>
</div> </div>
'; ';
$parity = ($parity == "odd") ? "even" : "odd"; $parity = ($parity == "odd") ? "even" : "odd";
} }
$panel.=' $panel.='
</ul> </ul>';
</div>';
} }
$panel.=' $panel.='
<form method="post" action="./?state=new_hall"> <form method="post" action="./?state=new_hall">