918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Line | |
---|
1 | <? |
---|
2 | // ************************************************************************************************************************************************* |
---|
3 | // Aplicación WEB: ogAdmWebCon |
---|
4 | // Autor: José Manuel Alonso (E.T.S.I.I.) Universidad de Sevilla |
---|
5 | |
---|
6 | // Fecha Creación: Año 2003-2004 |
---|
7 | // Fecha Última modificación: Noviembre-2005 |
---|
8 | // Nombre del fichero: toma_mes.php |
---|
9 | // Descripción : |
---|
10 | // Crea la tabla del mes y el año elegidos |
---|
11 | // ************************************************************************************************************************************************* |
---|
12 | |
---|
13 | include_once("../includes/ctrlacc.php"); |
---|
14 | include_once("../idiomas/php/".$idioma."/clases/Almanaque_".$idioma.".php"); |
---|
15 | ?> |
---|
16 | <HTML> |
---|
17 | <HEAD> |
---|
18 | <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
---|
19 | <BODY> |
---|
20 | <? |
---|
21 | // Toma parametros |
---|
22 | $pidmes=0; |
---|
23 | $pidanno=0; |
---|
24 | $pvitem=0; |
---|
25 | |
---|
26 | if (isset($_GET["idmes"])) $pidmes=$_GET["idmes"]; |
---|
27 | if (isset($_GET["idanno"])) $pidanno=$_GET["idanno"]; |
---|
28 | if (isset($_GET["vitem"])) $pvitem=$_GET["vitem"]; |
---|
29 | |
---|
30 | $mialmanaque= new Almanaque("tabla_meses"); |
---|
31 | $retorno=$mialmanaque->MesAnno($pidmes,$pidanno); |
---|
32 | ?> |
---|
33 | <p> |
---|
34 | <span id="mesanno_retorno"><?=$mialmanaque->MesAnno($pidmes,$pidanno);?></span> |
---|
35 | <span id="vitem_retorno"><?=$pvitem?></span></p> |
---|
36 | |
---|
37 | <SCRIPT language="javascript"> |
---|
38 | var objr=document.getElementById("mesanno_retorno"); |
---|
39 | var objvitem=document.getElementById("vitem_retorno"); |
---|
40 | cadecalendario=objr.innerHTML; |
---|
41 | vitem=objvitem.innerText; |
---|
42 | window.parent.cambia_mesanno(cadecalendario,vitem); |
---|
43 | </SCRIPT> |
---|
44 | </BODY> |
---|
45 | </HTML> |
---|
Note: See
TracBrowser
for help on using the repository browser.