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'