2010-09-06, 07:12:46
A better html/css form for your theme :
Code:
<form action="index.php?id=<?php get_page_slug(); ?>" method="post">
<fieldset>
<p>
<label>(*) <?php echo $tr_cont['Nb']; ?> :</label>
<input type="text" class="text" name="guest[nombre]" />
</p>
<p>
<label><?php echo $tr_cont['Sub']; ?> :</label>
<input type="text" class="text" name="guest[tema]" />
</p>
<p>
<label><?php echo $tr_cont['Em']; ?> :</label>
<input type="text" class="text" name="guest[email]" />
</p>
<p>
<label>(*) <?php echo $tr_cont['Cm']; ?> :</label><br/>
<textarea class="text" name="guest[comentario]" rows="4" cols="70"></textarea>
</p>
<p>
<label>CAPTCHA Code</label>
<?php img_cp(); ?>
<img src= "data/uploads/string.png" />
<input class="text" type="text" style="width: 130px; font-size:20px;" value="" name="guest[pot]" /> (*)<?php echo $tr_cont['Cpt']; ?>
</p>
<p>
<input type="submit" class="submit" value="<?php echo $tr_cont['Ev']; ?>" id="guest-submit" name="guest-submit" /></textarea>
(*) <?php echo $tr_cont['Rf']; ?>
</p>
</fieldset>
</form>