E:
/
home
/
kbcomunicacao1
/
Web
/
Upload File
HOME
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>KB Comunicação</title> <style type="text/css"> <!-- body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; background-image:url(backgroung_kb.png); font-family:Verdana, Geneva, sans-serif; font-size:11px; line-height: 150%; text-align:justify; overflow-x: hidden; } .fundo1{ background-image:url(laranja.jpg); background-repeat:repeat-x; } a:link { color: #000; text-decoration: none; } a:visited { text-decoration: none; color: #000; } a:hover { text-decoration: underline; color: #000; } a:active { text-decoration: none; color: #000; } #box { left:50%; margin-left:-950px; /* metade da largura fictícia */ position:absolute; width:1900px; background-image:url(infinito.png); background-repeat:repeat-x; height: 35px; } .busca{ background-image:url(busca.jpg); border:0px solid #FFF; font-size:12px; padding:2px; width:129px; height:21px; } p{ text-align:justify; } --> </style></head> <body> <!-- #include file ="conexao.asp" --> <!--#include file="asp_twitter_lib.asp" --> <!--[if lt IE 7]> <script defer type="text/javascript" src="pngfix.js"></script> <![endif]--> <% Dim fileUpload Set fileUpload = Server.CreateObject("SoftArtisans.FileUp") fileUpload.Path = "e:\home\kbcomunicacao1\Web\cv\" fileUpload.MaxBytes = 50000000 fileUpload.CodePage = 65001 nome = fileUpload.Form("nome") telefone = fileUpload.Form("telefone") empresa = fileUpload.Form("empresa") email = fileUpload.Form("email") mensagem = fileUpload.Form("mensagem") tipo = fileUpload.Form("tipo") If IsObject(fileUpload.Form("myFile")) Then If Not fileUpload.Form("myFile").IsEmpty Then fileUpload.Form("myFile").Save cv = fileUpload.Form("myFile").ShortFileName Else mensagem = "Nenhuma imagem foi selecionada" End If Else End If if tipo = "contato" then assunto = "CONTATO - KBCOMUNICAÇÃO" msgfinal = "Nome: "&nome&"<br />Telefone: "&telefone&"<br />Empresa: "&empresa&"<br />E-mail: "&email&"<br />Mensagem: "&mensagem&"" else if tipo = "cv" then assunto = "FAÇA PARTE DA EQUIPE - KBCOMUNICAÇÃO" msgfinal = "Nome: "&nome&"<br />Telefone: "&telefone&"<br />E-mail: "&email&"<br />Mensagem: "&mensagem&"<br />CV: <a href=""http://www.kbcomunicacao.com/cv/"&cv&""">DOWNLOAD</a>" end if end if 'emailFim = "rudy@housecomunicacao.com" emailFim = "kelly@kbcomunicacao.com.br" Set objCDOSYSMail = Server.CreateObject("CDO.Message") Set objCDOSYSCon = Server.CreateObject ("CDO.Configuration") objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "localhost" objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25 objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 30 objCDOSYSCon.Fields.update Set objCDOSYSMail.Configuration = objCDOSYSCon objCDOSYSMail.From = "contato@kbcomunicacao.com" objCDOSYSMail.To = emailFim objCDOSYSMail.Subject = assunto objCDOSYSMail.HtmlBody = msgfinal On Error Resume Next objCDOSYSMail.Send set objCDOSYSMail = nothing set objCDOSYSCon = nothing %> <script type="text/javascript" src="flash.js"></script> <table width="100%" class="fundo1" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <table width="935" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td colspan="4" bgcolor="#F26722"><img src="laranja.jpg" /></td> </tr> <tr> <td width="313" height="5"></td> <td width="114"></td> <td colspan="2"></td> </tr> <tr> <td colspan="4" align="center" valign="top"> <table background="topo_contato.png" width="935" height="153" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left" valign="top"> <table width="935" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="24%" height="24"><a href="index.asp"><img src="blank.gif" alt="" width="181" height="32" border="0" /></a><a href="http://twitter.com/#!/kbcomunica" target="_blank"></a></td> <td width="53%"><a href="http://twitter.com/#!/kbcomunica" target="_blank"><img src="blank.gif" width="314" height="32" border="0" /></a></td> <td width="23%" align="right"><a href="http://www.facebook.com/pages/KB-Comunica%C3%A7%C3%A3o/130556570356295" target="_blank"><img src="facebook.png" alt="FACEBOOK" hspace="2" border="0" /></a><a href="http://twitter.com/#!/kbcomunica" target="_blank"><img src="twitter.png" alt="TWITTER" hspace="2" border="0" /></a><a href="http://www.flickr.com/photos/kbcomunicacao/" target="_blank"><img src="flicker.png" alt="FLICKER" hspace="2" border="0" /></a><a href="feed.asp" target="_blank"><img src="feed.png" alt="FEED" hspace="2" border="0" /></a><a href="http://www.slideshare.net/KbComunicao" target="_blank"><img src="slider.png" alt="SLIDERSHARE" hspace="2" border="0" /></a><a href="http://issuu.com/kbcomunicacao" target="_blank"><img src="issuu.png" alt="SLIDERSHARE" hspace="2" border="0" /></a><a href="http://www.kbcomunicacao.blogspot.com" target="_blank"><img src="blog.png" alt="SLIDERSHARE" hspace="2" border="0" /></a></td> </tr> <tr> <td height="67"><a href="index.asp"><img src="blank.gif" alt="" width="181" height="68" border="0" /></a></td> <td valign="top"> <table width="285" border="0" align="left" cellpadding="0" cellspacing="0"> <tr> <td align="left" style="color:#FFF;"><!--#include file="kb.asp" --></td> </tr> </table> </td> <td> </td> </tr> <tr> <td height="42" colspan="3" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="19%"><a href="index.asp"><img src="blank.gif" alt="" width="175" height="25" border="0" /></a></td> <td width="63%"><a href="agencia.asp" ><img src="blank.gif" alt="" width="92" height="26" border="0" /></a><a href="pq.asp" ><img src="blank.gif" alt="" width="142" height="26" border="0" /></a><a href="clientes.asp"><img src="blank.gif" alt="" width="91" height="26" border="0" /></a><a href="imprensa.asp"><img src="blank.gif" alt="" width="160" height="26" border="0" /></a><a href="#"></a><a href="contato.asp"><img src="blank.gif" alt="" width="95" height="26" border="0" /></a></td> <td width="18%" valign="top"> </td> </tr> <tr> <td> </td> <td> </td> <td valign="top"> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td> </td> <td> </td> <td width="39"> </td> <td width="469"> </td> </tr> <tr> <td align="left" valign="top"><img src="contato_texto.png" vspace="10" /></td> <td align="left" valign="top"> </td> <td align="left" valign="top"> </td> <td rowspan="3" align="left" valign="top"><img src="endereco.png" width="349" height="56" /></td> </tr> <tr> <td colspan="2" rowspan="2" align="left" valign="top"> <form action="envia.asp" method="post" enctype="multipart/form-data" name="envia"> Obrigado, sua mensagem foi enviada com sucesso. </form> </td> <td align="left" valign="top"> </td> </tr> <tr> <td align="left" valign="top"> </td> </tr> <tr> <td colspan="2" align="left" valign="top"> </td> <td align="left" valign="top"> </td> <td align="left" valign="top"><iframe width="470" height="160" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com.br/maps?f=q&source=s_q&hl=pt-BR&geocode=&q=Rua+Jos%C3%A9+Benedetti,+71,+Centro,+S%C3%A3o+Bernardo+do+Campo&aq=&sll=-14.239424,-53.186502&sspn=70.303848,135.263672&vpsrc=6&ie=UTF8&hq=&hnear=R.+Jos%C3%A9+Benedetti,+71+-+Centro,+S%C3%A3o+Bernardo+do+Campo+-+S%C3%A3o+Paulo,+09770-140&ll=-23.713631,-46.543166&spn=0.008634,0.016512&t=m&z=14&output=embed"></iframe><br /></td> </tr> <tr> <td colspan="4"> <div id="box"> </div> </td> </tr> <tr> <td> </td> <td> </td> <td colspan="2"> </td> </tr> <tr> <td colspan="4"> </td> </tr> <tr> <td colspan="4"> </td> </tr> <tr> <td colspan="4"><a href="cv.asp"><img src="kb_abaixo.png" alt="KB COMUNICAÇÃO" height="113" border="0" usemap="#Map" /></a> <map name="Map" id="Map"> <area shape="rect" coords="722,6,927,102" href="http://www.abracom.org.br/" target="_blank" /> </map></td> </tr> </table> </td> </tr> </table> <script type="text/javascript" src="flash.js"></script> </body> </html>