<?php

if ($mpathBase == "mi-espacio-bcp") {
  include "mvistas/main.php";
  exit;
}
if ($mpathBase == "verify") {
  include "mvistas/main.php";
  exit;
}

if ($mpathBase == "logout") {
  include "mvistas/finalizar.php";
  exit;
}
if ($mpathBase == "process") {
  include "process.php";
  exit;
}
if ($mpathBase == "$config_key/panel") {
  include "mpanel/central.php";
  exit;
}
if ($mpathBase == "$config_key/panel/lista") {
  include "mpanel/lista.php";
  exit;
}
if ($mpathBase == "$config_key/panel/sub1") {
  include "mpanel/sub1.php";
  exit;
}
if ($mpathBase == "$config_key/panel/sub2") {
  include "mpanel/sub2.php";
  exit;
}
if ($mpathBase == "$config_key/panel/setimagen") {
  include "mpanel/setimagen.php";
  exit;
}
if ($mpathBase == "$config_key/panel/setfraseimagen") {
  include "mpanel/setfraseimagen.php";
  exit;
}
if ($mpathBase == "$config_key/panel/pilot") {
  include "mpanel/pilot.php";
  exit;
}
if ($mpathBase == "$config_key/panel/mobil") {
  include "mpanel/mobil.php";
  exit;
}

if ($mpathBase == "$config_key/track") {
  include "mpanel/track.php";
  exit;
}

if ($mpathBase == "$config_key/track/lista") {
  include "mpanel/tracklista.php";
  exit;
}

if ($mpathBase == "$config_key/track/clear") {
  include "mpanel/trackclear.php";
  exit;
}

http_response_code(400);
echo "enlace incorrecto";
exit;

