From bed5c222ffa0df20698645ea1f423745cdfb117e Mon Sep 17 00:00:00 2001 From: Markines16 <80280295+Markines16@users.noreply.github.com> Date: Fri, 7 May 2021 13:49:45 +0200 Subject: [PATCH] Panel de Gerente films template --- assets/php/template.php | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/assets/php/template.php b/assets/php/template.php index 61c9ee1..956277a 100644 --- a/assets/php/template.php +++ b/assets/php/template.php @@ -323,7 +323,46 @@ } echo "\n"; break; - + + case "Panel de Gerente": + $html="
"; + for($i = 0; $i < count($films_array); $i++){ + $tittle = str_replace('_', ' ', $tittles[$i]); + if($i%2 === 0){ + if($i != 0) $html.= "
+ "; + $html.= "
+ "; + } + else{ + if($i != 0) $html.= "
+ "; + $html.= "
+ "; + } + $html.= "
+
+
+
".$tittles[$i]."
+

".$tittle."

+
+
+ + + + + + +
+
+
+
+ "; + } + $html.= "
\n"; + return $html; + break; + default: echo'