$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']; moveLocationFast("super_usuario.php"); break; case "1": echo "Empesando el script que actualiza datos.."; set_time_limit(9000); mysql_select_db(getBD()); $alumnos = $class_alumno->obtenerAlumnos(); $cursos = $class_curso->obtenerCursos(); $ramos = $class_ramo->obtenerTodosRamos(); $ciclos = $class_curso->obtenerCiclos(); mysql_select_db($bd_siguiente); $class_alumno->borrarTablaAlumnos(); $class_apoderado->borrarTablaApoderado();