Ir para conteúdo
Fórum Script Brasil

victormartins

Membros
  • Total de itens

    1.002
  • Registro em

  • Última visita

Tudo que victormartins postou

  1. victormartins

    Formulario

    acho que devia ser movido para PHP
  2. victormartins

    Hotsite Simples

    eu achei que ficou bem legalzinho, pequeno, simples e organizado parabens
  3. victormartins

    Hotsite Simples

    beleza, tomara que aumente, o meu até que esta "charmoso" :D hehehhehehehe uma duvida, só pode ser 3 secoes mesmo, ou pode ter 4 ou 5?
  4. victormartins

    Hotsite Simples

    não sei se vai dar tempo de eu entregar, estou no comeco, pois aqui estou cheio de serviço
  5. victormartins

    Hotsite Simples

    Por mim td bem também! só falta o George e o konras concordarem!
  6. victormartins

    Hotsite Simples

    eu também estou por ai Thuran!
  7. tenta: <% Set Conn = Server.CreateObject("ADODB.Connection") Conn.connectionstring = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" _ & Server.Mappath("Db/noticias.mdb") & ";User Id=;Password=;" Conn.Open data = Request.Form("data") titulo = Request.Form("titulo") msg = Request.Form("comentario") comentario = Replace(msg, vbcrlf, "<br>" & vbcrlf) sql = "UPDATE noticia SET data='"&data&"', titulo='"&titulo&"', comentario='"&comentario&"' where numero='1' " conn.execute(sql) Response.redirect("default.asp") %>
  8. poste o codigo da postagem a pagina que realiza o cadastro no banco
  9. vixi! é mesmo! eu copiei o codigo dele e editei a tag e nem tinha visto que faltava o u
  10. então você teria que utilizar o replace, tem como você postar seu codigo para eu poder colocar para você o replace? vo posta e dps você adapta pro seu site: strUnformattedMessage = Request.Form("add_msg") msg = Replace(strUnformattedMessage, vbcrlf, "<br>" & vbcrlf) o Request.Form("add_msg") você substitui o add_msg pelo nome do campo da noticia
  11. seu codigo esta errado, tenta assim: <body bgsound src="C:\Documents and Settings\Administrador\Meus documentos\Telenet\Canal Rebelde\Vídeos\algundiaresumo.wma" loop="15">
  12. tenta: <!--#include file="restrito.asp"--> <!--#include file="conectar.asp"--> <% Dim data, dia, mês, ano dia = Day(now()) mês = Month(now()) ano = Year(now()) data = dia & "/" & mês & "/" & ano %> &lt;script language="Javascript1.2"><!-- // load htmlarea _editor_url = "htmlarea/"; // URL to htmlarea files var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]); if (navigator.userAgent.indexOf('Mac') >= 0) { win_ie_ver = 0; } if (navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; } if (navigator.userAgent.indexOf('Opera') >= 0) { win_ie_ver = 0; } if (win_ie_ver >= 5.5) { document.write('<scr' + 'ipt src="' +_editor_url+ 'editor.js"'); document.write(' language="Javascript1.2"></scr' + 'ipt>'); } else { document.write('<scr'+'ipt>function editor_generate() { return false; }</scr'+'ipt>'); } // --></script> &lt;script language="javascript"> function showpic() { if (!document.images) return document.images.pictures.src= "images/" + document.nyheter.bild.options[document.nyheter.bild.selectedIndex].value } </script> <html> <head> <title>Enviado Noticias - Mantido por ChacalNews</title> <link rel="stylesheet" type="text/css" href="estilo.css"> &lt;script src="funcoes.js"></script> </head> <body bgcolor="#F7F7F7"> &lt;script src="funcoes.js"></script> </head> <body text="#696969" bgcolor="#696969"> <!--#include file="topo.inc"--> <% AbreConexao If Request.form("enviado") = "sim" then noticia = replace(request.form("noticia"), "'", "''") noticiad = replace(noticia, vbcrlf, "<br>" & vbcrlf) Sql = "INSERT INTO noticias (user, data, assunto, noticia, email, icone) " Sql = Sql & "VALUES('" & Request.Form("user") & "','" Sql = Sql & Request.Form("data") & "','" & Request.Form("assunto") & "','" & noticiad & "','" & Request.Form("email") & "','" & Request.Form("icone") & "')" Conexao.Execute(Sql) SQL = "SELECT * FROM noticias ORDER BY id DESC" Set rs = Conexao.Execute(SQL) noticia1 = rs("id") noticia2 = noticia1 + 1 %>" <font face="Verdana"><font size="2" color="#FFFFFF" face="Verdana"><b>Noticia enviada com sucesso!</b><BR> Obrigado <%=Session("login")%>!</font><br> <font size="2"><a href="ver.asp"><b>Clique Aqui</b> para ver todas as notícias</a> OU<BR> <a href="noticia.asp?id=<%=noticia2%>"><B>Clique Aqui</b> Para ver somente a que você postou</font> <% else %> </font> <form action="enviar.asp" method="post" name="form"> <input type="hidden" value="sim" name="enviado"> <input type="hidden" value="<%=Session("login")%>" name="user"> <input type="hidden" value="<%=data%>" name="data"> <input type="hidden" value="<%=Session("email")%>" name="email"> <table border=1 width="600" cellspacing="1" cellpadding="0" bgcolor="#ffffff" align="center"> <tr> <td bgcolor="#000000"> <table bgcolor="#FFFFFF" width="100%" cellspacing="0"> <tr> <td bgcolor="#9AD3F9" rowspan="2"><b><font color="#7C7C7C" size=2>Iniciar Nova Noticia</font></b></td> </tr> </table> </td> </tr><tr> <td bgcolor="#000000"> <table width="100%" cellpadding="3" cellspacing="0" bgcolor="#ECECEC"> <tr> <td bgcolor="#FDFDFD" width="23%"><font size=2 color="#7C7C7C"><b>Título:</b></font></td> <td bgcolor="#FDFDFD" align="left"><table cellpadding="0" cellspacing="0"> <tr> <td><td width="21"><input type="radio" value="imagens/xx.gif" checked name="icone"></td> <td width="81"><img border="0" src="imagens/xx.gif" width="13" height="16"></td></td><td> <font size=2><input type=text name="assunto" value="" size="60" maxlength="200"></font></td> </tr> </table></td> </tr> </a> </table> </td> </tr> <tr> <td bgcolor="#000000"> <table align="center" width="500" cellpadding="3" cellspacing="0" bgcolor="#FDFDFD"> <tr> <td valign=top bgcolor="#ffffff" width="23%"><font size=2 color="#7C7C7C"><b>Mensagem:</b></font></td> <td bgcolor="#ffffff"><font size="2"> <textarea name="noticia" id="meddelande" cols="80" rows="10" class="inmatning" style="border-style: solid; border-width: 2"></textarea> </font><BR></td> </tr> </table> </td> </tr><tr> <td bgcolor="#9AD3F9"> <table align="center" width="500"> <tr> <td align="center"> <input type="submit" value="=-Postar-="> </td> </tr> </table> </td> </tr> </table> </form> </body> </html> <% FechaConexao end if %> &lt;script language="JavaScript1.2" defer> editor_generate('noticia'); </script>
  13. victormartins

    Hotsite Simples

    George! espero que melhore hein! ainda não comecei a fazer o meu também por falta de tempo, mas, vou comecar a fazer em breve
  14. Tinha umas estrelas antes embaixo da imagem do membro, não é? cade? sumiu?
  15. tem diversos tipos: css: .txt{ border: 1px #000000 solid; font-family: arial; font-size: 11px; color: #cccccc; } HTML: <input type="text" class="txt"> você pode ir personalizando do jeito que você quiser
  16. se eu não me engano isso não é possivel
  17. não é problema de colocar javascript ou problema do IIS e sim do SWF, de uma olhada no seu FLA
  18. interessante o que está acontecendo, nunca tive esse problema, você já tenteou colocar ele online e testar?
  19. você pode criar uma DIV e colocar o tamnho e a largura e mandando ele colocar a barra, é assim: <div style="width:300px; height:290px; overflow:auto;"> Aqui vai seu texto, conteudo, imagens...... Aqui vai seu texto, conteudo, imagens...... Aqui vai seu texto, conteudo, imagens...... Aqui vai seu texto, conteudo, imagens...... Aqui vai seu texto, conteudo, imagens...... </div> onde Width é a largura da sua DIV que ira parecer um frame e Height a altura qualquer duvida é só postar
  20. o flash não deveria abrir uma janela quando usa o unloadMovieNum, o SWF na verdade não esta no arquivo.html e sim na Pasta, veja se você não colocou algo errado no AS
×
×
  • Criar Novo...