Jump to content
php.lv forumi

php / BBcode / .gif


didy

Recommended Posts

Nekad nesu lietojis JS! Esmu php iesacejs! Sit mani nost bet es nesaprotu!

 

<form action="index.php" method="post">
<table width="390" border="0" height="10" align=center background="/style/add_style_green.png">
<tr>
<td>
<!-- attiecigas bildes -->
<img src="/style/bloods.png" />
<img src="/style/blood.png"/>
<img src="/style/underline.png" />
<img src="/style/strip.png" />
<img src="/style/gas_strip_os_83.png" />
<img src="/style/link.png" />
<img src="/style/img.png" />
<img src="/style/gas_strip_os_83.png" />



<a href="" border="0"><img src="/style/info68.png" border="0" /></a>
<!-- attiecigas bildes END -->
</td>
</tr>
</table>
<table align=center width=396 border="0">
<tr>
<td>Niks:<font color="red">*</font> <input type="input" name="vards" size="15" style="background-color:#FBFBFB"></td>
</tr>
<tr>
<td colspan=2>Komentars:<font color="red">*</font><br><textarea rows=4 cols=45 name="teksts" style="background-color:#FBFBFB"></textarea></td>
</tr>
<tr>
<td><input type=submit value="Pievienot" name="aiziet">
 <input type=hidden value="<?php echo $_SERVER['REMOTE_ADDR']; ?>" name="aipii">
 <input type=hidden value="<?php echo time() ?>" name="laiks"></td>
</tr>
</form>
</table>

Neizdodas panakt velamo efektu, tapec palugsu lai Jus palabojat manu source!

Link to comment
Share on other sites

<img src="/style/bloods.png" onclick="document.getElementById('textarea1').value +='[w00t]';document.getElementById('textarea1').focus();"/>
...


<textarea rows=4 cols=45 name="teksts" style="background-color:#FBFBFB" id="textarea1"></textarea>

Link to comment
Share on other sites

×
×
  • Create New...