BarnnerAzul_Osuro_TP7_Ingles
Query:
/* Version 0.1: recibe los parametros de destino, salida. Muestra imagenes para los links */ declare url_destino varchar2(1000):='http://'||substr(:destino_param,1,1000); url_salida varchar2(1000):='http://'||substr(:salida_param,1,1000); begin htp.script('function login_desconectar(form){form.action= ''http://portal.dospinos.com:7777/pls/orasso/orasso.wwsso_app_admin.ls_logout'';form.p_done_url.value ='''||url_salida||'''; form.submit();}'); htp.script('function login_entrar(form){form.action= ''http://portal.dospinos.com/pls/portal/PORTAL.wwsec_app_priv.login'';form.p_requested_url.value ='''||url_destino||''';form.p_cancel_url.value = location; form.submit();}'); htp.script('function login_cambiar(form){form.action= ''http://portal.dospinos.com:7777/pls/orasso/orasso.wwsso_app_user_mgr.change_password'';form.p_done_url.value=location;form.submit();}'); if portal.wwctx_api.is_logged_on then htp.tableopen(); htp.tablerowopen(); htp.tabledata(htf.anchor(curl => 'JavaScript:login_desconectar(document.formDesconectar);',ctext => htf.img(curl => '/images/dospinos/desconectar.gif',calt => 'Desconectar',cattributes => 'border=0'))); htp.tablerowclose(); htp.tablerowopen(); htp.tabledata(htf.anchor(curl => 'JavaScript:login_cambiar(document.formCambiar);',ctext => htf.img(curl => '/images/dospinos/cambio.gif',calt => 'Cambio Contraseña',cattributes => 'border=0'))); htp.tablerowclose(); htp.tableclose(); else htp.anchor(curl => 'JavaScript:login_entrar(document.formEntrar);',ctext => htf.img(curl => '/images/dospinos/conectar.gif',calt => 'Conectar',cattributes => 'border=0')); end if; htp.formopen(curl => '',cattributes => 'name="formEntrar"',cmethod => 'GET'); htp.formhidden('p_requested_url'); htp.formhidden('p_cancel_url'); htp.formclose(); htp.formopen(curl => '',cattributes => 'name="formCambiar"',cmethod => 'GET'); htp.formhidden('p_done_url'); htp.formclose(); htp.formopen(curl => '',cattributes => 'name="formDesconectar"',cmethod => 'GET'); htp.formhidden('p_done_url'); htp.formclose(); exception when others then htp.print(''); end;
Binding:
:destino_param binding with portal.dospinos.com/portal/page?_pageid=41,35179&_dad=portal&_schema=PORTAL
:salida_param binding with portal.dospinos.com/portal/page?_pageid=34,31278,34_31285&_dad=portal&_schema=PORTAL
Dos Pinos International
Res_Hist25_Ingles
Dos Pinos
© 2004. Cooperativa de Productores de Leche Dos Pinos, R.L. All rights reserved. Unless otherwise specified, the dospinos.com content is a non-commercial issue. you may not modify, copy, distribute, transmit, display, perform, reproduce, publish,create derivative works from, transfer, or sell any information without the required Authorization from Cooperativa de Productores de Leche Dos Pinos, R.L.If you have any comments about this Web site, please contact
webmasterdospinos@dospinos.com
, for more information or any recommendation please contact
centrodecontactos@dospinos.com
.P.O.Box 179-4060 Alajuela, Costa Rica. Contact Center (506) 437-3000