Formulario de pedidos nao funciona
3 participantes
Fórum dos Fóruns :: Ajuda e atendimento ao utilizador :: Questões sobre códigos :: Questões resolvidas sobre HTML e BBCode
Página 1 de 1 • Compartilhe
Formulario de pedidos nao funciona
Detalhes da questão
Endereço do fórum: http://trgcla-nwd.forumeiros.com
Versão do fórum: phpBB3
Descrição
ola tudo bem eu fui enviar um topico de pedidos pra ver como estavas os formularios ai no de pedidos eu fui enviar apareceu Desculpa, mas apenas podem colocar tópicos neste fórum.
Re: Formulario de pedidos nao funciona
Olá,
Por favor, peço que seja mais específico e coeso em suas questões.
Não entendi nada do que o senhor pediu.
o/
Por favor, peço que seja mais específico e coeso em suas questões.
Não entendi nada do que o senhor pediu.
o/
Re: Formulario de pedidos nao funciona
eu peguei um formulario de pedidos ele e assim o
quando eu tento enviar aparece isso
quando eu tento enviar aparece isso
Re: Formulario de pedidos nao funciona
sim mas eu acho q problema no codigo
Re: Formulario de pedidos nao funciona
Poderia nos passar o código que usa?
o/
o/
Re: Formulario de pedidos nao funciona
- Código:
<br /><html xmlns="http://trgcla-nwd.forumeiros.com/f24-pedidos" dir="ltr" id="min-width" lang="pt" xml:lang="pt" xmlns:og="http://trgcla-nwd.forumeiros.com/f24-pedidos" ><head><title>Design > Pedidos</title><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta http-equiv="content-script-type" content="text/javascript" /><meta http-equiv="content-style-type" content="text/css" /><link rel="shortcut icon" type="image/x-icon" href="http://i.imgur.com/RxYY3UI.png" />
<form action="/post" method="post" id="form-submit"><div class="panel" id="form-part2" style="
background-color: transparent;
"><div class="inner">
<fieldset class="fields1" style="
">
<dl style="
padding-top: 0px;
padding-bottom: 0px;
">
<div id="seequestion" style="alignment-baseline: auto; background-attachment: scroll; background-clip: border-box; background-color: #FFF; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; baseline-shift: baseline; border-bottom-color: rgb(33, 33, 33); border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-bottom-style: none; border-bottom-width: 0px; border-collapse: separate; border-image-outset: 0px; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(33, 33, 33); border-left-style: none; border-left-width: 0px; border-right-color: rgb(33, 33, 33); border-right-style: none; border-right-width: 0px; border-top-color: rgb(33, 33, 33); border-top-left-radius: 0px; border-top-right-radius: 0px; border-top-style: none; border-top-width: 0px; bottom: auto; box-shadow: none; box-sizing: content-box; caption-side: top; clear: none; clip: auto; clip-path: none; clip-rule: nonzero; color: rgb(33, 33, 33); color-interpolation: srgb; color-interpolation-filters: linearrgb; color-rendering: auto; cursor: auto; direction: ltr; display: none; dominant-baseline: auto; empty-cells: show; fill: #000000; fill-opacity: 1; fill-rule: nonzero; filter: none; float: none; flood-color: rgb(0, 0, 0); flood-opacity: 1; font-family: 'Segoe UI Web Light', 'Segoe UI Light', 'Segoe UI Web Regular', 'Segoe UI', 'Segoe UI Symbol', 'Helvetica Neue', Arial; font-size: 24px; font-style: normal; font-variant: normal; font-weight: normal; glyph-orientation-horizontal: 0deg; glyph-orientation-vertical: auto; image-rendering: auto; kerning: 0; left: auto; letter-spacing: normal; lighting-color: rgb(255, 255, 255); list-style-image: none; list-style-position: outside; list-style-type: disc; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; marker-end: none; marker-mid: none; marker-start: none; mask: none; mask-type: luminance; max-height: none; max-width: none; min-height: 0px; min-width: 0px; opacity: 1; orphans: 2; outline-color: rgb(33, 33, 33); outline-style: none; outline-width: 0px; overflow-wrap: normal; overflow-x: visible; overflow-y: visible; padding-bottom: 5px; padding-left: 10px; padding-right: 0px; padding-top: 0px; page-break-after: auto; page-break-before: auto; page-break-inside: auto; pointer-events: auto; position: static; resize: none; right: auto; shape-rendering: auto; speak: normal; stop-color: rgb(0, 0, 0); stop-opacity: 1; stroke: none; stroke-dasharray: none; stroke-dashoffset: 0; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 4; stroke-opacity: 1; stroke-width: 1; tab-size: 8; table-layout: auto; text-align: start; text-anchor: start; text-decoration: none; text-indent: 0px; text-overflow: clip; text-rendering: auto; text-shadow: none; text-transform: none; top: auto; unicode-bidi: normal; vector-effect: none; vertical-align: baseline; visibility: visible; white-space: normal; widows: 2; width: 98%; word-break: normal; word-spacing: 0px; word-wrap: normal; writing-mode: lr-tb; z-index: auto; zoom: 1;border-bottom: 1px solid rgb(204, 204, 204);width: 99%;font-size: 18px;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px;padding-bottom:12px;"><font style="
display: inline-block;
"></font>
<div style=" display: inline; float: right; cursor:pointer;" id="closeseequestion"> <img src="http://i.imgur.com/H1MJk.png" style=""></div></div>
<div id="erro" style="alignment-baseline: auto; background-attachment: scroll; background-clip: border-box; background-color: rgba(255, 255, 255, 0.<img src="https://2img.net/i/fa/i/smiles/icon_cool.gif" alt="Cool" longdesc="6" />
</span><font></font></div>
<font size=4><b><font color=red>Atenção</font>:</b> É necessário ter no mínimo 10 mensagens no fórum para realizar um pedido, caso contrário seu tópico será fechado e rejeitado.</font>
<hr height=30% style="box-shadow: 0 2px 2px #CCCCCC"/;<br>
<b>Qual é o seu pedido?</b><br>
<input type="radio" name="opcao" value="[ Pedido ] Assinatura" onclick="radio('subject',this.value);" /> <font size="2">Assinatura</font>
<input type="radio" name="opcao" value="[ Pedido ] Avatar" onclick="radio('subject',this.value);" /> <font size="2">Avatar</font>
<input type="radio" name="opcao" value="[ Pedido ] Avatar + Assinatura" onclick="radio('subject',this.value);" /> <font size="2">Avatar e Assinatura</font>
<input type="radio" name="opcao" value="[ Pedido ] Assinatura PRO" onclick="radio('subject',this.value);" /> <font size="2">Assinatura PRO</font>
<input type="hidden" value="" id="subject" name="subject" /><br><br>
<!--<label><b>Resolução</b></label> <input type="text" size="5" style="height: 25px; position: absolute; left: 100px;" autocomplete="off" spellcheck="true" id="res" name="res" class="" maxlength="3" value="" data-from="[composeData.Subject]" data-to="[composeData.Subject]" placeholder="LARGURA"
<label></label><input type="text" size="5" style="height: 25px; position: absolute; left: 180px;" autocomplete="off" spellcheck="true" id="res2" name="res2" class="" maxlength="3" value="" data-from="[composeData.Subject]" data-to="[composeData.Subject]" placeholder="ALTURA" <br><b> <font color="red">*</font> Máxima para avatares: 195 x 290</div></b><br><!-->
<label><b>Tema</b></label> <input type="text" size="28" style="height: 25px; position: absolute; left: 100px;" autocomplete="off" spellcheck="true" id="tema" name="tema" class="" maxlength="1024" value="" data-from="[composeData.Subject]" data-to="[composeData.Subject]" placeholder="Ex: Batman, Superman etc..."<br><br><br>
<label><b>Texto</b></label> <input type="text" size="28" style="height: 25px; position: absolute; left: 100px;" autocomplete="off" spellcheck="true" id="texto" name="texto" class="" maxlength="1024" value="" data-from="[composeData.Subject]" data-to="[composeData.Subject]" placeholder="Texto que quer na imagem"<br><br><br><br>
<b>Observações</b><br><br>
<button class="button2" onclick="bbcode_tag('[b]','[/b]')" onmouseover="helpline('b')" type="button" id="addbbcode0" accesskey="b" title="Negrito" style="
padding-right: 10px;
"><img src="http://2img.net/i/fa/wysiwyg/text_bold.png" alt="Negrito" title="Negrito"></button> <button class="button2" onclick="bbcode_tag('[i]','[/i]')" onmouseover="helpline('i')" type="button" id="addbbcode2" accesskey="i" title="Itál." style="
padding-left: 10px;
"><img src="http://2img.net/i/fa/wysiwyg/text_italic.png" alt="Itál." title="Itál."></button> <button class="button2" onclick="bbcode_tag('[u]','[/u]')" onmouseover="helpline('u')" type="button" id="addbbcode4" accesskey="u" title="Sublinhar"><img src="http://2img.net/i/fa/wysiwyg/text_underline.png" alt="Sublinhar" title="Sublinhar"></button> <b style="font-size:11px"></b><button class="button2" onclick="bbcode_tag('[left]','[/left]')" onmouseover="helpline('m')" type="button" id="addbbcode52" accesskey="m" title="Esquerda"><img src="http://2img.net/i/fa/wysiwyg/text_align_left.png" alt="Esquerda" title="Esquerda"></button> <button class="button2" onclick="bbcode_tag('[center]','[/center]')" onmouseover="helpline('t')" type="button" id="addbbcode30" accesskey="t" title="Centralizar"><img src="http://2img.net/i/fa/wysiwyg/text_align_center.png" alt="Centralizar" title="Centralizar"></button> <button class="button2" onclick="bbcode_tag('[right]','[/right]')" onmouseover="helpline('g')" type="button" id="addbbcode32" accesskey="g" title="Direita"><img src="http://2img.net/i/fa/wysiwyg/text_align_right.png" alt="Direita" title="Direita"></button> <b style="font-size:11px"></b><button class="button2" onclick="bbcode_tag('[list][*]','[/list]')" onmouseover="helpline('l')" type="button" id="addbbcode10" accesskey="l" title="-Lista"><img src="http://2img.net/i/fa/wysiwyg/text_list_bullets.png" alt="-Lista" title="-Lista"></button> <button class="button2" onclick="bbcode_tag('[list=1][*]','[/list]')" onmouseover="helpline('o')" type="button" id="addbbcode12" accesskey="o" title="Lista ordenada"><img src="http://2img.net/i/fa/wysiwyg/text_list_numbers.png" alt="Lista ordenada" title="Lista ordenada"></button> <b style="font-size:11px"></b><button class="button2" onclick="jQuery('#uploadimage input[type=file]').click()" type="button" title="Fazer upload de uma imagem"><img src="http://2img.net/i/fa/wysiwyg/picture_save.png" alt="Fazer upload de uma imagem" title="Fazer upload de uma imagem"></button> <button class="button2" onclick="bbcode_tag('[img]','[/img]')" onmouseover="helpline('p')" type="button" id="addbbcode14" accesskey="p" title="Imagem"><img src="http://2img.net/i/fa/wysiwyg/picture.png" alt="Imagem" title="Imagem"></button> <button class="button2" onclick="bbcode_tag('[youtube] LINK AQUI',' [/youtube]')" onmouseover="helpline('w')" type="button" id="addbbcode18" accesskey="w" title="Video"><img src="http://2img.net/i/fa/wysiwyg/film.png" alt="Video" title="Video"></button> <button class="button2" onclick="bbcode_tag('[url= SEU LINK AQUI ','] TEXTO AQUI [/url]')" onmouseover="helpline('w')" type="button" id="addbbcode16" accesskey="w" title="Link"><img src="http://2img.net/i/fa/wysiwyg/link.png" alt="Link" title="Link"></button><br><br>
<textarea id="questao" name="questao" placeholder="" style="width: 800px; height: 180px;"></textarea>
<div style="alignment-baseline: auto; background-attachment: scroll; background-clip: border-box; background-color: rgba(0, 0, 0, 0); background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; baseline-shift: baseline; border-bottom-color: rgb(0, 0, 0); border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-bottom-style: none; border-bottom-width: 0px; border-collapse: separate; border-image-outset: 0px; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-left-radius: 0px; border-top-right-radius: 0px; border-top-style: none; border-top-width: 0px; bottom: auto; box-shadow: none; box-sizing: content-box; caption-side: top; clear: none; clip: auto; clip-path: none; clip-rule: nonzero; color: rgb(0, 0, 0); color-interpolation: srgb; color-interpolation-filters: linearrgb; color-rendering: auto; cursor: text; direction: ltr; display: block; dominant-baseline: auto; empty-cells: show; fill: #000000; fill-opacity: 1; fill-rule: nonzero; filter: none;
float: right; flood-color: rgb(0, 0, 0); flood-opacity: 1; font-family: Calibri, sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; glyph-orientation-horizontal: 0deg; glyph-orientation-vertical: auto;
height: 270px; image-rendering: auto; kerning: 0; left: auto; letter-spacing: normal; lighting-color: rgb(255, 255, 255); line-height: normal; list-style-image: none; list-style-position: outside; list-style-type: disc; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; marker-end: none; marker-mid: none; marker-start: none; mask: none; mask-type: luminance; max-height: none; max-width: none; min-height: 0px; min-width: 0px; opacity: 1; orphans: 2; outline-color: rgb(0, 0, 0); outline-style: none; outline-width: 0px; overflow-wrap: break-word; overflow-x: visible; overflow-y: visible; padding-bottom: 0px;
padding-left: 1%;
padding-right: 0px;
padding-top: 1px; page-break-after: auto; page-break-before: auto; page-break-inside: auto; pointer-events: auto; position: static; resize: none; right: auto; shape-rendering: auto; speak: normal; stop-color: rgb(0, 0, 0); stop-opacity: 1; stroke: none; stroke-dasharray: none; stroke-dashoffset: 0; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 4; stroke-opacity: 1; stroke-width: 1; tab-size: 8; table-layout: auto; text-align: start; text-anchor: start; text-decoration: none; text-indent: 0px; text-overflow: clip; text-rendering: auto; text-shadow: none; text-transform: none; top: auto; unicode-bidi: normal; vector-effect: none; vertical-align: baseline; visibility: visible; white-space: normal; widows: 2;
width: 14%; word-break: normal; word-spacing: 0px; word-wrap: break-word; writing-mode: lr-tb; z-index: auto; zoom: 1;"><img src="http://i.imgur.com/H1MJk.png" id="imguploadimage" onclick="jQuery(this).next().hide();jQuery(this).hide()" style="cursor: pointer !important; float: right; display: none;"><iframe name="fuploadimage" scrolling="no" allowtransparency="true" frameborder="0" width="248" height="204" style="display:none;width:100%;height:117%;"></iframe></div><br><br><br><input type="button" value="Enviar tópico" id="newquestion" style="
alignment-baseline: auto;
background-attachment: scroll;
background-clip: border-box;
background-image: none;
background-origin: padding-box;
background-position: 0% 0%;
background-repeat: repeat;
background-size: auto;
baseline-shift: baseline;
border-bottom-color: rgb(102, 102, 102);
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
border-bottom-style: none;
border-bottom-width: 0px;
border-collapse: separate;
border-image-outset: 0px;
border-image-repeat: stretch;
border-image-slice: 100%;
border-image-source: none;
border-image-width: 1;
border-left-color: rgb(102, 102, 102);
border-left-style: none;
border-left-width: 0px;
border-right-color: rgb(102, 102, 102);
border-right-style: none;
border-right-width: 0px;
border-top-color: rgb(102, 102, 102);
border-top-left-radius: 0px;
border-top-right-radius: 0px;
border-top-style: none;
border-top-width: 0px;
bottom: auto;
box-shadow: none;
box-sizing: content-box;
caption-side: top;
clear: none;
clip: auto;
clip-path: none;
clip-rule: nonzero;
color: rgb(33, 33, 33);
color-interpolation: srgb;
color-interpolation-filters: linearrgb;
color-rendering: auto;
cursor: pointer;
direction: ltr;
display: inline-block;
dominant-baseline: auto;
empty-cells: show;
fill: #000000;
fill-opacity: 1;
fill-rule: nonzero;
filter: none;
float: none;
flood-color: rgb(0, 0, 0);
flood-opacity: 1;
font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;
font-size: 14px;
font-style: normal;
font-variant: normal;
font-weight: normal;
glyph-orientation-horizontal: 0deg;
glyph-orientation-vertical: auto;
height: 28px;
image-rendering: auto;
kerning: 0;
left: auto;
letter-spacing: normal;
lighting-color: rgb(255, 255, 255);
line-height: 28.15625px;
list-style-image: none;
list-style-position: outside;
list-style-type: none;
margin-bottom: 10px;
margin-left: 10px;
margin-right: 10px;
margin-top: 10px;
marker-end: none;
marker-mid: none;
marker-start: none;
mask: none;
mask-type: luminance;
max-height: none;
max-width: none;
min-height: 0px;
min-width: 0px;
opacity: 1;
orphans: 2;
outline-color: rgb(102, 102, 102);
outline-style: none;
outline-width: 0px;
overflow-wrap: normal;
overflow-x: hidden;
overflow-y: hidden;
padding-bottom: 0px;
padding-left: 7px;
padding-right: 7px;
padding-top: 0px;
page-break-after: auto;
page-break-before: auto;
page-break-inside: auto;
pointer-events: auto;
position: relative;
resize: none;
right: auto;
shape-rendering: auto;
speak: normal;
stop-color: rgb(0, 0, 0);
stop-opacity: 1;
stroke: none;
stroke-dasharray: none;
stroke-dashoffset: 0;
stroke-linecap: butt;
stroke-linejoin: miter;
stroke-miterlimit: 4;
stroke-opacity: 1;
stroke-width: 1;
tab-size: 8;
table-layout: auto;
text-align: left;
text-anchor: start;
text-decoration: none;
text-indent: 0px;
text-overflow: ellipsis;
text-rendering: auto;
text-shadow: none;
text-transform: none;
top: auto;
unicode-bidi: normal;
vector-effect: none;
vertical-align: baseline;
visibility: visible;
white-space: nowrap;
widows: 2;
word-break: normal;
word-spacing: 0px;
word-wrap: normal;
writing-mode: lr-tb;
z-index: auto;
zoom: 1; font-size: 21px; font-weight: normal; height: 33px;font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif; font-size: 15px; font-weight: normal; height: 30px; line-height: 29px;"><input type="button" value="Pré-visualizar" id="prequestao" style="
alignment-baseline: auto;
background-attachment: scroll;
background-clip: border-box;
background-image: none;
background-origin: padding-box;
background-position: 0% 0%;
background-repeat: repeat;
background-size: auto;
baseline-shift: baseline;
border-bottom-color: rgb(102, 102, 102);
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
border-bottom-style: none;
border-bottom-width: 0px;
border-collapse: separate;
border-image-outset: 0px;
border-image-repeat: stretch;
border-image-slice: 100%;
border-image-source: none;
border-image-width: 1;
border-left-color: rgb(102, 102, 102);
border-left-style: none;
border-left-width: 0px;
border-right-color: rgb(102, 102, 102);
border-right-style: none;
border-right-width: 0px;
border-top-color: rgb(102, 102, 102);
border-top-left-radius: 0px;
border-top-right-radius: 0px;
border-top-style: none;
border-top-width: 0px;
bottom: auto;
box-shadow: none;
box-sizing: content-box;
caption-side: top;
clear: none;
clip: auto;
clip-path: none;
clip-rule: nonzero;
color: rgb(33, 33, 33);
color-interpolation: srgb;
color-interpolation-filters: linearrgb;
color-rendering: auto;
cursor: pointer;
direction: ltr;
display: inline-block;
dominant-baseline: auto;
empty-cells: show;
fill: #000000;
fill-opacity: 1;
fill-rule: nonzero;
filter: none;
float: none;
flood-color: rgb(0, 0, 0);
flood-opacity: 1;
font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;
font-size: 14px;
font-style: normal;
font-variant: normal;
font-weight: normal;
glyph-orientation-horizontal: 0deg;
glyph-orientation-vertical: auto;
height: 28px;
image-rendering: auto;
kerning: 0;
left: auto;
letter-spacing: normal;
lighting-color: rgb(255, 255, 255);
line-height: 28.15625px;
list-style-image: none;
list-style-position: outside;
list-style-type: none;
margin-bottom: 10px;
margin-left: 6px;
margin-right: 10px;
margin-top: 10px;
marker-end: none;
marker-mid: none;
marker-start: none;
mask: none;
mask-type: luminance;
max-height: none;
max-width: none;
min-height: 0px;
min-width: 0px;
opacity: 1;
orphans: 2;
outline-color: rgb(102, 102, 102);
outline-style: none;
outline-width: 0px;
overflow-wrap: normal;
overflow-x: hidden;
overflow-y: hidden;
padding-bottom: 0px;
padding-left: 7px;
padding-right: 7px;
padding-top: 0px;
page-break-after: auto;
page-break-before: auto;
page-break-inside: auto;
pointer-events: auto;
position: relative;
resize: none;
right: auto;
shape-rendering: auto;
speak: normal;
stop-color: rgb(0, 0, 0);
stop-opacity: 1;
stroke: none;
stroke-dasharray: none;
stroke-dashoffset: 0;
stroke-linecap: butt;
stroke-linejoin: miter;
stroke-miterlimit: 4;
stroke-opacity: 1;
stroke-width: 1;
tab-size: 8;
table-layout: auto;
text-align: left;
text-anchor: start;
text-decoration: none;
text-indent: 0px;
text-overflow: ellipsis;
text-rendering: auto;
text-shadow: none;
text-transform: none;
top: auto;
unicode-bidi: normal;
vector-effect: none;
vertical-align: baseline;
visibility: visible;
white-space: nowrap;
widows: 2;
word-break: normal;
word-spacing: 0px;
word-wrap: normal;
writing-mode: lr-tb;
z-index: auto;
zoom: 1; font-size: 21px; font-weight: normal; height: 33px;font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif; font-size: 15px; font-weight: normal; height: 30px; line-height: 29px;"><input type="hidden" name="f" value="54"><input type="hidden" name="message" value=""><input type="hidden" name="mode" value="newtopic"><input style="display:none" type="submit" value="Criar tópico" name="post">
</fieldset><div id="sthd" style="margin:0px"></div>
</div><iframe id="versaoiframe" style="width:0px;height:0px;border-top:1px solid white" src="javascript:document.write('<div id=wrap></div><div class=navbar></div><div class=forabg></div><div class=headerbar></div><div class=pun></div><div id=pun-about></div><div id=pun-navlinks></div><div id=pun-intro></div><div id=ipbwrapper></div><div id=gfooter></div><div id=submenu></div><div id=logostrip></div>')" frameborder="0"></iframe></div></form>
<form action="http://s6.tinypic.com/plugin/upload.php" id="uploadimage" method="post" enctype="multipart/form-data" target="fuploadimage" style="display:none"><input type="hidden" name="action" value="upload"><input type="hidden" name="popts" value="c,url"><input type="file" name="the_file" onchange="this.form.submit();jQuery('iframe[name=fuploadimage],#imguploadimage').css('display','block')"></form><script>function bbcode_tag(o,c){var t=jQuery('#questao');t.val(t.val().substring(0,t[0].selectionStart)+o+t.val().substring(t[0].selectionStart,t[0].selectionEnd)+c+t.val().substring(t[0].selectionEnd,t.val().length))};
function jsGet(e){var u=window.location.search.replace('?','').split('&');for(n in u){if(u[n].match(e)){return decodeURIComponent(u[n].replace(e+'=',''))}};return null};
jQuery(document).ready(function(){
if(jsGet('f')=='42'||jsGet('f')=='42'||jsGet('f')=='42'){jQuery('input[name="f"]').val(jsGet('f'))};
jQuery('#newquestion').click(function(){
i=0;
var t=jQuery('#subject').val().length;
if(t<0){jQuery('#erro').css('display','inline-block');jQuery('#erro font').html('O título necessita ao menos 10 caracteres');i=1}else
if(jQuery('#subject').val()==''){jQuery('#erro').css('display','inline-block');jQuery('#erro font').html('Você não escolheu seu pedido');i=1};
if(jQuery('#texto').val()==''){jQuery('#erro').css('display','inline-block');jQuery('#erro font').html('Você não disse o texto que quer');i=1};
if(jQuery('#tema').val()==''){jQuery('#erro').css('display','inline-block');jQuery('#erro font').html('Você não disse o tema que quer');i=1};
if(i==0){jQuery('input[name="subject"]').val(jQuery('input[name="subject"]').val());
jQuery('#questao').val(jQuery('#questao').val().substring(0,1).toUpperCase()+jQuery('#questao').val().substring(1,jQuery('#questao').val().length));
jQuery('input[name="message"]').val('[b]Tema:[/b] '+jQuery('#tema').val()/*+'\n\n[b]Resolução:[/b] '+jQuery('#res').val()+' x '+jQuery('#res2').val()*/+'\n\n[b]Texto:[/b] '+jQuery('#texto').val()+' \n\n[b]Observações:[/b]\n'+jQuery('#questao').val());
jQuery('input[name="post"]').click()};
});
jQuery('#prequestao').click(function(){
jQuery('#seequestion').show('slow');
jQuery('#seequestion font').html('<strong>Tema:</strong> '+jQuery('#tema').val()/*+'<br><br><strong>Resolução:</strong> '+jQuery('#res').val()+'<strong> x </strong> '*/+jQuery('#res2').val()+'<br><br><strong>Texto:</strong> '+jQuery('#texto').val()+'<br><br><strong>Observações:</strong><br>'+jQuery('#questao').val());
});
jQuery('#closeseequestion').click(function(){
jQuery('#seequestion').hide('slow');
});
jQuery('#subject').keyup(function(){
var t=this.value.length;
var i=jQuery('#number b');
if(t<10&&t>0){
var l=t-10;i.html(l*-1);
}
else if(t>9){
i.html('<img src=http://i.imgur.com/ZQXVH.png style=width:35px;height:35px;margin-bottom:-8px>')
}else{i.html('')};
});
jQuery('#searchform').click(function(){window.open('/h9-?search_for='+jQuery('#subject').val(),'_blank')});
});</script>
<script>function radio(nameObtido,valObtido){jQuery('[name="'+nameObtido+'"]').val( valObtido );}
function gerarf() {
}</script></div></div></div></div>
</body></html>
Re: Formulario de pedidos nao funciona
Olá,
Substitua por este:
No código que eu mandei procure pelo seguinte elemento:
Substitua o que está em vermelho pelo número do fórum que o código deve criar o novo tópico.
Abraços.
Substitua por este:
- Código:
<script>function radio(nameObtido,valObtido){jQuery('[name="'+nameObtido+'"]').val(valObtido);}
jQuery(document).ready(function(){jQuery('[name="post"]').click(function(){jQuery('[name="message"]').val('[b]'+jQuery('form input[type="radio"][name="opcao"]:checked').val()+'[/b]\n[b]Tema:[/b] '+jQuery('input#field1').val()+'\n[b]Texto:[/b] '+jQuery('input#field3').val()+'\n[b]Observações:[/b] '+jQuery('textarea#field4').val());});});</script>
<style>
#generated_form .part { background: url(http://i46.tinypic.com/2wrdc42.jpg) no-repeat -235px -600px; width: 60px; height: 20px;}
#generated_form .more { background: url(http://i46.tinypic.com/2wrdc42.jpg) no-repeat 0px 2px; width: 12px; height: 20px; cursor:pointer;}
#generated_form .image .part { background: url(http://i46.tinypic.com/2wrdc42.jpg) no-repeat -235px -548px; width: 60px; height: 20px;}
#generated_form .remove { float: left;background: url(http://i46.tinypic.com/2wrdc42.jpg) no-repeat 0px -286px;padding-left: 16px;width: 12px; height: 20px; cursor:pointer;position: relative;top:3px;}
#generated_form .image { width: 300px; }
#generated_form h1 {
font-family: Verdana,Arial,Helvetica,sans-serif;
font-size: 2em;
font-weight: 400;
margin: .8em 0 .2em;
}
#generated_form dl {
margin-bottom: 10px;
font-size: 1.1em;
font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
}
#generated_form dt {
width: 30%;
padding-top: 5px;
border: none;
float: left;
}
#generated_form dd {
padding: 5px;
padding-right: 5px;
margin-left: 30%;
vertical-align: middle;
}
#generated_form dl:hover dt {
color: #666;
}
#generated_form input {
font-family: "Lucida Sans Unicode", Verdana, Helvetica, Arial, sans-serif;
font-weight: normal;
color: #333333;
padding: 2px;
vertical-align: middle;
padding-left: 4px;
}
#generated_form input[disabled] {
background-color:#ddd;
cursor:pointer;
}
#generated_form select {
font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
font-weight: normal;
font-style: normal;
cursor: default;
vertical-align: middle;
width:auto;
max-width:100%;/* Bug IE */
padding: 1px;
}
#generated_form textarea {
font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
width: 300px;
height: 100px;
padding: 2px;
padding-left: 4px;
cursor: text;
}
#generated_form input[type=text], #generated_form input[type=fields_list] {
width: 300px;
cursor: text;
}
</style>
<form onsubmit="submit_form();" action="/posting.forum" id="generated_form" method="post" enctype="multipart/form-data">
<input type="hidden" name="form_mode" value="0">
<h3 data-type="field">Qual é o seu pedido?</h3>
<dl><dt></dt>
<dd><input type="radio" name="opcao" value="[ Pedido ] Assinatura" onclick="radio('subject',this.value);" /> <font size="2">Assinatura</font>
<input type="radio" name="opcao" value="[ Pedido ] Avatar" onclick="radio('subject',this.value);" /> <font size="2">Avatar</font>
<input type="radio" name="opcao" value="[ Pedido ] Avatar + Assinatura" onclick="radio('subject',this.value);" /> <font size="2">Avatar e Assinatura</font>
<input type="radio" name="opcao" value="[ Pedido ] Assinatura PRO" onclick="radio('subject',this.value);" /> <font size="2">Assinatura PRO</font> </dd>
</dl>
<dl><dt>Tema</dt>
<input type="text" data-type="field" placeholder="Batman, Superman e etc..." id="field1">
</dl>
<dl>
<dl><dt>Texto</dt>
<input type="text" data-type="field" placeholder="O que você quer escrito" id="field3">
</dl>
<dl>
<dt>Observações</dt>
<dd><textarea data-type="field" id="field4"></textarea></dd>
</dl>
<input type="hidden" name="form_mode" value="0">
<input type="hidden" name="f" value="92">
<input type="hidden" name="subject" value="O script não enviou o título" template="">
<input type="hidden" name="description" value="O script não enviou a descrição" template="">
<textarea name="message" style="display:none"></textarea>
<textarea id="message-template-bbcode-0" style="display:none"></textarea>
<input type="hidden" name="mode" value="newtopic">
<input type="hidden" name="lt" value="0">
<input type="submit" name="post" class="button2" value="Enviar">
</form>
No código que eu mandei procure pelo seguinte elemento:
<input type="hidden" name="f" value="92">
Substitua o que está em vermelho pelo número do fórum que o código deve criar o novo tópico.
Abraços.
Re: Formulario de pedidos nao funciona
Questão marcada como Resolvida ou o Autor solicitou que ela fosse arquivada. Tópico marcado como Resolvido e movido para "Questões resolvidas". |
Tópicos semelhantes
» Formulário de pedidos
» [Resolvido] Formulário de pedidos
» Formulário de pedidos gráficos
» Formulário de pedidos graficos
» Formulário para pedidos
» [Resolvido] Formulário de pedidos
» Formulário de pedidos gráficos
» Formulário de pedidos graficos
» Formulário para pedidos
Fórum dos Fóruns :: Ajuda e atendimento ao utilizador :: Questões sobre códigos :: Questões resolvidas sobre HTML e BBCode
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos