示例#1
0
              */
             $tablesRut = $class_siga->getTableWithRut(BD_SIGA);
             // dpr($tablesRut);
             foreach ($tablesRut as $key => $table) {
                 $datos_set = array($table["field"] => $rut_nuevo);
                 $datos_where = array($table["field"] => $rut_viejo);
                 $class_siga->cambiarRut($datos_set, $datos_where, $table["name"]);
             }
             /**
              *CAMBIO DE RUT EN BD COLEGIO 
              */
             $tablesRut = $class_siga->getTableWithRut($baseSelected);
             foreach ($tablesRut as $key => $table) {
                 $datos_set = array($table["field"] => $rut_nuevo);
                 $datos_where = array($table["field"] => $rut_viejo);
                 $class_alumno->cambiarRut($datos_set, $datos_where, $table["name"]);
             }
             dpr("El rut se ha cambiado de forma exitosa");
         }
     }
     break;
 case "salir":
     session_destroy();
     moveLocation("index-1.html", 0);
     break;
 case "guardarTheme":
     $datosStyle = $class_style->obtenerStyle($_GET['colegio_ID']);
     $datosStyle["style_path"] = $_GET['style_path'];
     $style_ID = $class_style->guardarStyle($datosStyle);
     $_SESSION['style']->style_ID = $style_ID;
     $_SESSION['style']->style_path = $_GET['style_path'];