<form action="./index.php?action=edit_post&amp;p_id=<?php echo intval($_GET["p_id"]); ?>&amp;t_id=<?php echo $index->post_details("topic"); ?>" method="post">

<div class="ul-border">

<h2><?php echo LANG_EDIT_POST; ?></h2>

<script src="./components/formater.js" type="text/javascript"></script>

<div><textarea name="text" id="post-textarea" style="height: 200px; width: 915px;" rows="" cols=""><?php echo str_replace("<br />", "\r\n", $index->post_details("text")); ?></textarea></div>

</div>

<div class="ul-bottom-corners"><!-- --></div>

<div class="buttons">
<div class="float-left">
<?php $index->print_format_buttons(); ?>
</div>
<div class="float-right">
<input type="reset" value="Reset" class="button" /> <input type="submit" name="submit" value="<?php echo LANG_SAVE_CHANGES; ?>" class="button" />
</div>
<div class="float-ending"><!-- --></div>
</div>

</form>