<?php defined('KOOWA') or die('Restricted access') ?>
<form class="an-se-form" id="an-se-comment-form-<?= @$node->id ?>" method="POST" action="<?= @$form_action ?>">
<?php foreach(@$form_data as $name=>$value) : ?>
<input type="hidden" name="<?= $name ?>" value="<?= $value?>" />
<?php endforeach;?>
<?php if(@$comment->id) : ?>
<input type="hidden" name="comment_id" value="<?= @$comment->id ?>" />
<?php endif; ?>
<fieldset>
<div class="an-se-form-field">
<textarea name="body" cols="50" rows="10" id="an-se-comment-body" tabindex="1"><?= stripslashes(@$comment->body) ?></textarea>
</div>
<div class="an-se-form-field">
<input type="submit" class="button an-se-button an-se-comment-action-save" id="an-discus-button-submit" name="submit" tabindex="4" value="<?= @text('AN-SE-ACTION-COMMENT') ?>"/>
<?php if(@$comment->id) : ?>
<input type="submit" class="button an-se-button an-se-comment-action-cancel" id="an-discus-button-submit" name="cancel" tabindex="5" value="<?= @text('AN-SE-ACTION-CANCEL') ?>"/>
<?php endif; ?>
</div>
</fieldset>
</form>