From b412c47c8e5aaf04b4a0afad4f04500092677aff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mu=C3=B1oz=20Garcia?= <73303506+danimu03@users.noreply.github.com> Date: Tue, 1 Jun 2021 17:44:19 +0200 Subject: [PATCH] Update show cinemas admin --- assets/php/template.php | 76 +++++++++++++++++++++-------------------- 1 file changed, 39 insertions(+), 37 deletions(-) diff --git a/assets/php/template.php b/assets/php/template.php index c2b84b5..9a5591c 100644 --- a/assets/php/template.php +++ b/assets/php/template.php @@ -529,48 +529,50 @@ break; case "Panel de Administrador": $reply .= "
-
-
+
+
    -
  • Id
  • -
  • Nombre
  • -
  • Dirección
  • -
  • Teléfono
  • -
  • Editar
  • -
  • Eliminar
  • - "; - +
  • Id
  • +
  • Nombre
  • +
  • Dirección
  • +
  • Teléfono
  • +
  • Editar
  • +
  • Eliminar
  • + "; + $parity = "odd"; for($i = 0; $i < count($cinemas); $i++){ $reply .= ' -
  • '. $ids[$i] .'
  • -
  • '. $names[$i] .'
  • -
  • '. $directions[$i] .'
  • -
  • '. $phones[$i] .'
  • -
  • -
    - - - - - -
    -
  • -
  • -
    - - - - - -
    -
  • - + '; + $parity = ($parity == "odd") ? "even" : "odd"; } - $reply .='
-
-
- '; + $reply .='
+
'; break; default: