%
Call abre_conexao
SetLocale "pt-br"
sql = "SP_GETCURSOS 0," & request("codcurso") & ",'" & request("dtinicio") & "'"
set rs = objconn.execute(sql)
%>
<%
if not rs.eof then
if rs.fields("CUOB_TX_OBJETIVO") <> "-" then %>
| Objetivo |
| <% if not rs.eof then response.Write(rs.fields("CUOB_TX_OBJETIVO")) end if %> |
<%
end if
end if
%>
<%
if not rs.eof then
if rs.fields("CUPA_TX_PALVO") <> "-" then %>
| Público-Alvo |
| <%if not rs.eof then response.Write(rs.fields("CUPA_TX_PALVO")) end if%> |
<%
end if
end if
%>
<%
if not rs.eof then
if (rs.fields("CUPA_TX_PALVO") <> "-") or rs.fields("CUOU_TX_PERINSC") <> "-" then %>
| |
<%
end if
end if
%>
<%
if not rs.eof then
if rs.fields("CUOU_TX_PERINSC") <> "-" then %>
| Período de Inscrição |
<%if not rs.eof then response.Write(rs.fields("CUOU_TX_PERINSC")) end if%> |
<%
end if
end if
%>
<%
if not rs.eof then
if rs.fields("CUOU_TX_CRITAVAL") <> "-" then %>
| Critérios de Avaliação |
<%if not rs.eof then response.Write(rs.fields("CUOU_TX_CRITAVAL")) end if%> |
<%
end if
end if
%>
<%
if not rs.eof then
if rs.fields("CUOU_TX_DTPROVA") <> "-" then %>
| Data da Prova |
<%if not rs.eof then response.Write(rs.fields("CUOU_TX_DTPROVA")) end if%> |
<%
end if
end if
%>
<%
if not rs.eof then
if rs.fields("CUOU_TX_RESPROVA") <> "-" then %>
| Resultado da Prova |
<%if not rs.eof then response.Write(rs.fields("CUOU_TX_RESPROVA")) end if%> |
<%
end if
end if
%>
<%
if not rs.eof then
if rs.fields("CUOU_TX_DTMATRIC") <> "-" then %>
| Data da Matrícula |
<%if not rs.eof then response.Write(rs.fields("CUOU_TX_DTMATRIC")) end if%> |
<%
end if
end if
%>
<%
if not rs.eof then
if rs.fields("CUDO_TX_DOCUMENTO") <> "-" then %>
| Documentos |
<%if not rs.eof then response.Write(rs.fields("CUDO_TX_DOCUMENTO")) end if%> |
<%
end if
end if
%>
<%
if not rs.eof then
if rs.fields("CUOU_TX_VLCURSO") <> "-" then %>
| Valor do Curso |
<%if not rs.eof then response.Write(rs.fields("CUOU_TX_VLCURSO")) end if%> |
<%
end if
end if
%>
<%
if not rs.eof then
if rs.fields("CUPR_TX_PROGRAMA") <> "-" then %>
| Programa |
| <%if not rs.eof then response.Write(replace(rs.fields("CUPR_TX_PROGRAMA"), "_b" , "")) end if%> |
<%
end if
end if
%>
<%
if not rs.eof then
if rs.fields("CULO_TX_LOCAL") <> "-" then %>
| Local |
<%if not rs.eof then response.Write(rs.fields("CULO_TX_LOCAL")) end if%> |
<%
end if
end if
%>
<%
if not rs.eof then
if rs.fields("CULO_TX_LOCAL") <> "-" then %>
| Contato |
<%if not rs.eof then response.Write(rs.fields("CUTO_TX_CONTATO")) end if%> |
<%
end if
end if
%>
<%
Call fecha_conexao
%>