Formulario de Postagem
Página 1 de 1
Formulario de Postagem
e o seguinte quando vo enviar o topico
do meu formulario nao vai,fica travado nao da nenhum erro nen nada :S
O Codigo do meu FORMULARIO e esse
do meu formulario nao vai,fica travado nao da nenhum erro nen nada :S
O Codigo do meu FORMULARIO e esse
- Código:
<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
width: 0; height:0;
border: 10px solid transparent;
display: inline-block;
border-left: 10px solid #DD4B39;
"></span><font></font></div>
<font size=4>Novo topico de revisao - <img src=http://2img.net/i/fa/i/smiles/icon_exclaim.gif> <b>Leia com atencao</b>, preencha o formulario corretamente ou seu topico podera ser excluido.</font>
<hr height=30% style="box-shadow: 0 2px 2px #CCCCCC;"><br>
<label><b>Titulo do topico</b></label> <input type="text" style="height: 25px; position: absolute; left: 195px;" autocomplete="off" spellcheck="true" id="subject" name="subject" class="TextLightI WatermarkedInput" maxlength="1024" value="[ Ban ] SEU_NICK [ NICK_DO_ADMIN/MOD RESPONSAVEL ]" data-from="[composeData.Subject]" data-to="[composeData.Subject]" placeholder="" size="70"</div><br><br>
<label><b>Seu nick</b></label> <input type="text" size="28" style="height: 25px; position: absolute; left: 195px;" autocomplete="off" spellcheck="true" id="nome" name="nome" class="" maxlength="20" value="" data-from="[composeData.Subject]" data-to="[composeData.Subject]" placeholder="Escreva corretamente"<br><br><br>
<label><b>Seu level</b></label> <input type="text" size="28" style="height: 25px; position: absolute; left: 195px;" autocomplete="off" spellcheck="true" id="level" name="level" class="" maxlength="4" value="" data-from="[composeData.Subject]" data-to="[composeData.Subject]" placeholder=""<br><br><br>
<label><b>Admin/Mod responsavel</b></label> <input type="text" size="28" style="height: 25px; position: absolute; left: 195px;" autocomplete="off" spellcheck="true" id="admin" name="admin" class="" maxlength="1024" value="" data-from="[composeData.Subject]" data-to="[composeData.Subject]" placeholder="Escreva corretamente"<br><br><br>
<label><b>Motivo do ban</b></label> <input type="text" size="28" style="height: 25px; position: absolute; left: 195px;" autocomplete="off" spellcheck="true" id="motivoban" name="motivoban" class="" maxlength="1024" value="" data-from="[composeData.Subject]" data-to="[composeData.Subject]" placeholder=""<br><br><br><br>
<b>Print Screen</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><br><br>
<textarea id="print" name="print" placeholder="Use o ícone acima da caixa de digitação para fazer upload de sua imagem" style="width: 800px; height: 185px;"></textarea><br><br><br>
<b>Porque voce acha que deve ser desbanido?</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> <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> <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> <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: 250px;"></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 topico" 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="Pre-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="38"><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<10){jQuery('#erro').css('display','inline-block');jQuery('#erro font').html('O título necessita ao menos 10 caracteres');i=1}else if(jQuery('#questao').val()==''){jQuery('#erro').css('display','inline-block');jQuery('#erro font').html('Você não preencheu todos os campos');i=1};
if(jQuery('#nick').val()==''){jQuery('#erro').css('display','inline-block');jQuery('#erro font').html('Você não preencheu todos os campos');i=1};
if(jQuery('#admin').val()==''){jQuery('#erro').css('display','inline-block');jQuery('#erro font').html('Você não nos disse qual o admin/mod responsavel pelo seu ban.');i=1};
if(jQuery('#motivo').val()==''){jQuery('#erro').css('display','inline-block');jQuery('#erro font').html('Você não nos disse o motivo do seu ban.');i=1};
if(jQuery('#level').val()==''){jQuery('#erro').css('display','inline-block');jQuery('#erro font').html('Você não nos disse seu level.');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]Meu nick:[/b] '+jQuery('#nome').val()+'\n\n[b]Meu level:[/b] '+jQuery('#level').val()+'\n\n[b]Admin/Mod responsavel:[/b] '+jQuery('#admin').val()+'\n\n[b]Motivo do ban:[/b] '+jQuery('#motivoban').val()+'\n\n[b]Print Screens:[/b]\n'+jQuery('#print').val()+'\n\n[b]Por que eu acho que deveria ser desbanido:[/b]\n'+jQuery('#questao').val());
jQuery('input[name="post"]').click()};
});
jQuery('#prequestao').click(function(){
jQuery('#seequestion').show('slow');
jQuery('#seequestion font').html('<strong>Meu nick:</strong></br>'+jQuery('#level').val()+'<br><br><strong>Meu level:</strong></br>'+jQuery('#endereco').val()+'<br><br><strong>Admin/Mod responsavel:</strong></br>'+jQuery('#admin').val()+'<br><br><strong>Motivo do ban:</strong></br>'+jQuery('#motivoban').val()+'<br><br><strong>Print Screen:</strong></br>'+jQuery('#print').val()+'<br><br><strong>Por que eu acho que devo ser desbanido:</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>
Convidado- Convidado
Re: Formulario de Postagem
Lamento, mas este código não lhe pertence. Você o retirou do fórum http://ajuda.forumeiros.com
Não posso lhe ajudar.
Não posso lhe ajudar.
Re: Formulario de Postagem
Não sei de onde retirou, amigo, mas pertence ao FdF.Davisnatsu escreveu:não retirei de lá
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos
|
|