<%@LANGUAGE="VBSCRIPT"%> Actualizacion de datos <% Dim cnn,rst set cnn = Server.CreateObject("ADODB.Connection") set rst = Server.CreateObject("ADODB.Recordset") cnn.open "DSN=Directorio;UserId=directorio;Password=odaliska$$$;UID=web" if session("usuario_dir")="none" OR session("usuario_dir")="" then session("usuario_dir")="none" response.write ("Usted no esta registrado, por favor regístrese") ''SERVER.TRANSFER("DEFAULT.ASP") response.end end if dim sqltext dim idi idi = request.querystring("id") sqltext = "Select * from institucional Where [id] = cast (('"&idi&"') as int) ORDER BY SIGLA" rst.open sqltext,cnn,3,3,1 if rst.eof and rst.bof then 'response.write("Escoga un rubro para empezar"+id_rub) end if %>

">
Rubro: Entidad: Tipo:
Sigla: " class="CRISTHIAN"> Significa:
Nombre Responsable: " class="CRISTHIAN"> Apellidos: " class="CRISTHIAN"> Cargo: " class="CRISTHIAN">
Nombre Responsable: " class="CRISTHIAN"> Apellidos: " class="CRISTHIAN"> Cargo: " class="CRISTHIAN">
Fundación: Dia: Mes:
Dirección:
Dirección:
" class="CRISTHIAN">
Cod. Postal:
" size="08" maxlength="200" class="CRISTHIAN">
Ciudad: " size="16" maxlength="200" class="CRISTHIAN"> País: " size="16" maxlength="200" class="CRISTHIAN">    
Teléfono 1: " size="16" maxlength="200" class="CRISTHIAN"> Teléfono 2: " size="16" maxlength="200" class="CRISTHIAN"> Teléfono 3: " size="16" maxlength="200" class="CRISTHIAN">
Fax: " size="16" maxlength="200" class="CRISTHIAN">  Celular 1:
" size="16" maxlength="200" class="CRISTHIAN">
 Celular 2:
" size="16" maxlength="200" class="CRISTHIAN">
Email 1: " size="20" maxlength="200" class="CRISTHIAN"> Email 2: " size="22" maxlength="200" class="CRISTHIAN"> Página Web: " size="22" maxlength="200" class="CRISTHIAN">
Secretaria: " class="CRISTHIAN"> Administrador(a): " class="CRISTHIAN">
Jefe1: " class="CRISTHIAN"> Jefe 2: " class="CRISTHIAN">
Jefe 3: " class="CRISTHIAN">   Eventos <%if rst("eventos")=true then%> <%else%> <%end if%> Tarjetas <%if rst("navidad")=true then%> <%else%> <%end if%> Otros: <%if rst("otros")=true then%> <%else%> <%end if%>
<% if session("acceso_dir")="1" then%>
<% rst.close set rst = nothing set rst = Server.CreateObject("ADODB.Recordset") sqltext = "Select * from institucional where entidad='Jurídica' ORDER BY SIGLA" rst.open sqltext,cnn,3,3,1 while not rst("id")=codigo rst.movenext wend if rst.bof then else rst.moveprevious end if if rst.bof then rst.movenext end if %> " class="CRISTHIAN">Anterior <% if not rst.eof then rst.movenext end if if not rst.eof then RST.MOVENEXT end if if rst.eof then rst.moveprevious end if %> " class="CRISTHIAN">Siguiente
" class="CRISTHIAN"> <%end if%>