Panel de Gerente films template

This commit is contained in:
Markines16 2021-05-07 13:49:45 +02:00 committed by GitHub
parent 7be148840e
commit bed5c222ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -322,6 +322,45 @@
";
}
echo "</div>\n";
break;
case "Panel de Gerente":
$html="<div class='column'>";
for($i = 0; $i < count($films_array); $i++){
$tittle = str_replace('_', ' ', $tittles[$i]);
if($i%2 === 0){
if($i != 0) $html.= "</div>
";
$html.= "<div class='column side'>
";
}
else{
if($i != 0) $html.= "</div>
";
$html.= "<div class='column middle'>
";
}
$html.= "<section id='".$tittles[$i]."'>
<div class='zoom'>
<div class='code showtimes'>
<div class='image'><img src='".$prefix."img/".$tittles[$i].".jpg' alt='".$tittles[$i]."' /></div>
<h2>".$tittle."</h2>
<hr />
<form method='post' action='./?state=".$_SESSION['option']."'>
<input name='id' type='hidden' value='".$ids[$i]."'>
<input name='tittle' type='hidden' value='".$tittles[$i]."'>
<input name='duration' type='hidden' value='".$times[$i]."'>
<input name='language' type='hidden' value='".$languages[$i]."'>
<input name='description' type='hidden' value='".$descriptions[$i]."'>
<input type='submit' id='submit' value='Seleccionar' name='select_film' class='primary' />
</form>
</div>
</div>
</section>
";
}
$html.= "</div>\n";
return $html;
break;
default: