Location: PHPKode > projects > Twisty Forum > twisty-forum/forum/fmess.inc
<form action="validmess.php"method="post" id="formulaire">
<div style="text-align:center">Saisissez votre texte.<br />
<textarea class="ssmenu" name="texte"  id="texte" rows="15" cols="50"></textarea>
<input type="hidden"name="f"value="<?php echo $tit2[0];?>" />
<input type="hidden"name="ind"value="<?php echo $ind;?>" />
<input type="hidden"name="page"value="<?php echo $page;?>" /><br />
<input type="submit" class="bouton" value="envoyer" />
<input class="ssmenu" type="checkbox" name="watch" /> être prévenu des réponses
</div>
</form>


<div id="smileys">
<script type="text/javascript">
var t=String.fromCharCode(60);

for(i=1;i!= <?php echo $numsmiley + 1;?>;i++){
if(i>=10){var zero=''}
else {var zero=0};
document.write(t+'img src="<?php echo $racinegif;?>sm'+zero+i+'.gif" alt="">')}
</script>
</div>
<script type="text/javascript">
function disp(e){
obj2 = (window.Event)? e.target : event.srcElement;
if(document.getElementById('texte')){
document.getElementById('texte').value+=" (" + obj2.src.substr(obj2.src.indexOf("sm"),4) + ") ";
document.getElementById('texte').focus();}
}
for(i=0;i!=<?php echo $numsmiley;?>;i++){
document.getElementById('smileys').getElementsByTagName('img')[i].onclick=disp;}
</script>
Return current item: Twisty Forum