.
Fórum Mundial de EPT: inscritos já ultrapassam 2 mil
Há pouco mais de um mês, no dia 30 de junho, foi feito o lançamento oficial do Fórum Mundial de Educação Profissional e Tecnológica. A data também marcou a abertura das inscrições para o evento. De lá para cá, já são 2 mil participantes inscritos e a lista de conferencistas já está praticamente fechada.
A boa receptividade do evento junto a estudantes, especialistas e trabalhadores vem confirmar uma nova tendência da educação no Brasil. O país aos poucos reverte tendências e ingressa em um estágio onde a educação profissional tem papel central.
As matrículas em cursos de educação profissional foram as que mais cresceram no país, de acordo com dados do Censo Escolar 2008. Além disso, a expansão das escolas ligadas à Rede Federal de Educação Profissional, Científica e Tecnológica tem investimentos de R$ 1,1 bilhão, empregados de 2005 até o final de 2010.
A realização de um fórum mundial voltado para a educação educacional é mais um movimento que traz valorização para a área. Trabalhadores, estudantes, educadores e gestores de todo o mundo estarão no Centro de Convenções Ulysses Guimarães, em Brasília, de 23 a 27 de novembro. Inscreva-se.
Fonte: Fórum Mundial de EPT
Publicado em 21/08/2009
<%
Dim objCDONTS ' Email object
Dim strFromName ' From persons' real name
Dim strFromEmail, strToEmail ' Email addresses
Dim strSubject, strBody ' Message
Dim strThisPage ' This page's URL
Dim strReferringPage ' The referring page's URL
Dim bValidInput ' A boolean indicating valid parameters
' Retrieve this page name and referring page name
strThisPage = Request.ServerVariables("SCRIPT_NAME")
strReferringPage = Request.ServerVariables("HTTP_REFERER")
' Debugging lines:
'Response.Write strThisPage & "
" & vbCrLf
'Response.Write strReferringPage & "
" & vbCrLf
' Read in and set the initial values of our message parameters
strFromName = Trim(Request.Form("txtFromName"))
strFromEmail = Trim(Request.Form("txtFromEmail"))
strToEmail = Trim(Request.Form("txtToEmail"))
strSubject = "www.contee.org.br"
strBody = Trim(Request.Form("txtMessage"))
' I set the body message to a message that referenced the page the
' user arrived from. This makes it great if you place a link to it
' from your different articles, but can be weird if people link in
' from other web sites.
If strBody = "" Then
If strReferringPage = "" Or InStr(1, strReferringPage, "www.contee.org.br", 1) = 0 Then
strBody = ""
strBody = strBody & "O link abaixo uma sugesto de leitura: Fórum Mundial de EPT: inscritos já ultrapassam 2 mil" & vbCrLf
strBody = strBody & vbCrLf
strBody = strBody & "http://www.contee.org.br/noticias/educacao/nedu1222.asp" & vbCrLf
Else
strBody = "O link abaixo uma sugesto de leitura: Fórum Mundial de EPT: inscritos já ultrapassam 2 mil"
sstrBody = strBody & "O link abaixo uma sugesto de leitura: Fórum Mundial de EPT: inscritos já ultrapassam 2 mil" & vbCrLf
strBody = strBody & vbCrLf
strBody = strBody & "http://www.contee.org.br/noticias/educacao/nedu1222.asp" & vbCrLf
End If
End If
' Quick validation just to make sure our parameters are somewhat valid
bValidInput = True
bValidInput = bValidInput And strFromName <> ""
bValidInput = bValidInput And IsValidEmail(strFromEmail)
bValidInput = bValidInput And IsValidEmail(strToEmail)
' If valid send email and show thanks, o/w show form
If bValidInput Then
' Set up our email object and send the message
Set objCDONTS = Server.CreateObject("CDONTS.NewMail")
objCDONTS.From = strFromName & " <" & strFromEmail & ">"
objCDONTS.To = strToEmail
objCDONTS.Subject = strSubject
objCDONTS.Body = strBody
objCDONTS.Send
Set objCDONTS = Nothing
' Show our thank you message
ShowThanksMsg
Else
If "http://" & Request.ServerVariables("HTTP_HOST") & strThisPage = strReferringPage Then
Response.Write "Foi encontrado erro no preenchimento. Por favor confira os dados:" & "
" & vbCrLf
End If
' Show our information retrieval form
ShowReferralForm strThisPage, strFromName, strFromEmail, strToEmail, strBody
End If
' End of page logic... subs and functions follow!
%>
<%
' Subroutines and Functions that encapsulate some functionality
' and make the above code easier to write... and read.
' A quick email syntax checker. It's not perfect,
' but it's quick and easy and will catch most of
' the bad addresses than people type in.
Function IsValidEmail(strEmail)
Dim bIsValid
bIsValid = True
If Len(strEmail) < 5 Then
bIsValid = False
Else
If Instr(1, strEmail, " ") <> 0 Then
bIsValid = False
Else
If InStr(1, strEmail, "@", 1) < 2 Then
bIsValid = False
Else
If InStrRev(strEmail, ".") < InStr(1, strEmail, "@", 1) + 2 Then
bIsValid = False
End If
End If
End If
End If
IsValidEmail = bIsValid
End Function
' I made this a function just to get it out of the
' logic and make it easier to read. It just shows the
' form that asks for the input
Sub ShowReferralForm(strPageName, strFromName, strFromEmail, strToEmail, strBody)
' I use script_name so users can rename this script witout having to change the code.
%>
<% '
The Message to be sent:
'Subject: < %= strSubject % >
'Body: < %= strBody % >
End Sub ' This just shows our thank you message... probably didn't need to ' be a function, but since I made the form one I figured I'd do this ' for consistency. Sub ShowThanksMsg() %>Sua mensagem foi enviada com sucesso.
<%
End Sub
%>