setSection($_GET['seccion']); $metas = array( array('name' => 'Description', 'content' => 'Proyecto M.E.K.O.S.'), array('name' => 'Author', 'content' => 'KNOWCENTURY S.L') ); $niveles = array( '1' => 'ciclo_01', '2' => 'ciclo_02', '3' => 'ciclo_03' ); $lenguaje = $_SESSION['lng']; $cadena_javascript = 'onmousedown="changeImage(\'%s\', \'' . $CONF['ws_images'] . $lenguaje . '/' . '%s_over.gif\'); return true;" onmouseup="changeImage(\'%s\', \'' . $CONF['ws_images'] . $lenguaje . '/' . '%s_over.gif\'); return true;" onmouseover="changeImage(\'%s\', \'' . $CONF['ws_images'] . $lenguaje . '/' . '%s_over.gif\'); return true;" onmouseout="changeImage(\'%s\', \'' . $CONF['ws_images'] . $lenguaje . '/' . '%s.gif\'); return true;"'; $niveles = array(); $niveles[] = array( 'href' => 'javascript:ventana(\'al_nivel.php?nivel=1&seccion='.$_GET['seccion'].'&s='.$_GET['s'].'\');', 'params' => 'class="separation" target="_top" ' . sprintf($cadena_javascript, "nivel_1","nivel_1","nivel_1","nivel_1","nivel_1","nivel_1","nivel_1","nivel_1"), 'title' => $LNG['button_level1'], 'img_name' => 'nivel_1', 'img_src' => $CONF['ws_images'] . $_SESSION['lng'] . '/nivel_1.gif', 'img_title' => $LNG['button_level1'], 'img_params' => '' ); $niveles[] = array( 'href' => 'javascript:ventana(\'al_nivel.php?nivel=2&seccion='.$_GET['seccion'].'&s='.$_GET['s'].'\');', 'params' => 'class="separation" target="_top" ' . sprintf($cadena_javascript, "nivel_2","nivel_2","nivel_2","nivel_2","nivel_2","nivel_2","nivel_2","nivel_2"), 'title' => $LNG['button_level2'], 'img_name' => 'nivel_2', 'img_src' => $CONF['ws_images'] . $_SESSION['lng'] . '/nivel_2.gif', 'img_title' => $LNG['button_level2'], 'img_params' => '' ); $niveles[] = array( 'href' => 'javascript:ventana(\'al_nivel.php?nivel=3&seccion='.$_GET['seccion'].'&s='.$_GET['s'].'\');', 'params' => 'class="separation" target="_top" ' . sprintf($cadena_javascript, "nivel_3","nivel_3","nivel_3","nivel_3","nivel_3","nivel_3","nivel_3","nivel_3"), 'title' => $LNG['button_level3'], 'img_name' => 'nivel_3', 'img_src' => $CONF['ws_images'] . $_SESSION['lng'] . '/nivel_3.gif', 'img_title' => $LNG['button_level3'], 'img_params' => '' ); $niveles[] = array( 'href' => 'http://ares.cnice.mec.es/mcs/generales/glosario/index.php', 'params' => 'class="separation" ' . sprintf($cadena_javascript,"index_4","index_4","index_4","index_4","index_4","index_4","index_4","index_4"), 'title' => $LNG['button_glosary'], 'img_name' => 'index_4', 'img_src' => $CONF['ws_images'] . $_SESSION['lng'] . '/index_4.gif', 'img_title' => $LNG['button_glosary'], 'img_params' => '' ); $niveles[] = array( 'href' => 'javascript:window.external.AddFavorite(\'' . $CONF['sys_http_root'] . $_SERVER['PHP_SELF'] . '\', \'' . $this->lng['zona_alumnado'] . '\');', 'params' => 'class="separation" ' . sprintf($cadena_javascript,"index_5","index_5","index_5","index_5","index_5","index_5","index_5","index_5"), 'title' => $LNG['button_favorites'], 'img_name' => 'index_5', 'img_src' => $CONF['ws_images'] . $_SESSION['lng'] . '/index_5.gif', 'img_title' => $LNG['button_favorites'], 'img_params' => '' ); $niveles[] = array( 'href' => 'javascript:history.back();', 'params' => 'class="separation" ' . sprintf($cadena_javascript,"index_6","index_6","index_6","index_6","index_6","index_6","index_6","index_6"), 'title' => $LNG['button_back'], 'img_name' => 'index_6', 'img_src' => $CONF['ws_images'] . $_SESSION['lng'] . '/index_6.gif', 'img_title' => $LNG['button_back'], 'img_params' => '' ); $niveles[] = array( 'href' => 'javascript: window.close();', 'params' => 'class="separation" ' . sprintf($cadena_javascript,"index_7","index_7","index_7","index_7","index_7","index_7","index_7","index_7"), 'title' => $LNG['button_close'], 'img_name' => 'index_7', 'img_src' => $CONF['ws_images'] . $_SESSION['lng'] . '/index_7.gif', 'img_title' => $LNG['button_close'], 'img_params' => '' ); $imagenes = array( $CONF['ws_images'] . $_SESSION['lng'] . '/nivel_1.gif', $CONF['ws_images'] . $_SESSION['lng'] . '/nivel_2.gif', $CONF['ws_images'] . $_SESSION['lng'] . '/nivel_3.gif', $CONF['ws_images'] . $_SESSION['lng'] . '/index_4.gif', $CONF['ws_images'] . $_SESSION['lng'] . '/index_5.gif', $CONF['ws_images'] . $_SESSION['lng'] . '/index_6.gif', $CONF['ws_images'] . $_SESSION['lng'] . '/index_7.gif', $CONF['ws_images'] . $_SESSION['lng'] . '/nivel_1_over.gif', $CONF['ws_images'] . $_SESSION['lng'] . '/nivel_2_over.gif', $CONF['ws_images'] . $_SESSION['lng'] . '/nivel_3_over.gif', $CONF['ws_images'] . $_SESSION['lng'] . '/index_4_over.gif', $CONF['ws_images'] . $_SESSION['lng'] . '/index_5_over.gif', $CONF['ws_images'] . $_SESSION['lng'] . '/index_6_over.gif', $CONF['ws_images'] . $_SESSION['lng'] . '/index_7_over.gif' ); $js_vars = array( 'JS_ARRAY_IMAGES' => 'Array("' . implode('", "', $imagenes) . '")' ); $HTML->generateHeader(array('general.css', $CONF['css_alumnos'] ), array('alumnos.js', 'imagenes.js'), $js_vars, 'onLoad="cargarimagenes(JS_ARRAY_IMAGES);"', $metas); //$HTML->generateAlumnosPage($niveles, $CONF['ws_swf'] . $_SESSION['lng'] . '/', $CONF['flash_alumnos'], '760', '480'); $HTML->generateAlumnosPage($niveles, 'http://ares.cnice.mec.es/mcs/xalu/', $CONF['flash_alumnos'], '760', '480'); $HTML->generateFooterPage(); ?>