<div class="search">
  <form action="<?php echo $action; ?>" method="post">
    <div>
      <?php if ($search) { ?>
      <input type="text" name="search" value="<?php echo $search; ?>" />
      <?php } else { ?>
      <input type="text" name="search" value="<?php echo $text_keywords; ?>" onclick="this.value = ''" />
      <?php } ?>
      <input type="submit" value="<?php echo $button_search; ?>" />
    </div>
  </form>
</div>
