<link rel="stylesheet" type="text/css" href="catalog/template/default/css/review.css">
<script type="text/javascript" src="catalog/javascript/ajax/jquery.js"></script> 
<script type="text/javascript" src="catalog/javascript/thickbox/thickbox-compressed.js"></script>
<link rel="stylesheet" type="text/css" href="catalog/javascript/thickbox/thickbox.css" />
<form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data">
  <div class="heading">
    <div class="left"><?php echo $heading_title; ?></div>
    <div class="right"><?php echo $price; ?></div>
  </div>
  <?php if ($error) { ?>
  <div class="warning"><?php echo $error; ?></div>
  <?php } ?>
  <div id="review_write">
    <div class="a"><a href="<?php echo $popup; ?>" title="<?php echo $heading_title; ?>" class="thickbox"><img src="<?php echo $thumb; ?>" title="<?php echo $product; ?>" alt="<?php echo $product; ?>" /></a><br />
      <?php echo $text_enlarge; ?></div>
    <div class="b"><b><?php echo $text_author; ?></b> <?php echo $author; ?><br />
      <br />
      <b><?php echo $entry_review; ?></b></div>
    <div id="c">
      <textarea name="text" cols="67" rows="8"><?php echo $text; ?></textarea>
      <div class="d"><?php echo $text_note; ?></div>
      <div class="e"><b><?php echo $entry_rating; ?></b>&nbsp;<span><?php echo $entry_bad; ?></span>&nbsp;
        <?php if ($rating == 1) { ?>
        <input type="radio" name="rating" value="1" CHECKED />
        <?php } else { ?>
        <input type="radio" name="rating" value="1" />
        <?php } ?>
        &nbsp;
        <?php if ($rating == 2) { ?>
        <input type="radio" name="rating" value="2" CHECKED />
        <?php } else { ?>
        <input type="radio" name="rating" value="2" />
        <?php } ?>
        &nbsp;
        <?php if ($rating == 3) { ?>
        <input type="radio" name="rating" value="3" CHECKED />
        <?php } else { ?>
        <input type="radio" name="rating" value="3" />
        <?php } ?>
        &nbsp;
        <?php if ($rating == 4) { ?>
        <input type="radio" name="rating" value="4" CHECKED />
        <?php } else { ?>
        <input type="radio" name="rating" value="4" />
        <?php } ?>
        &nbsp;
        <?php if ($rating == 5) { ?>
        <input type="radio" name="rating" value="5" CHECKED />
        <?php } else { ?>
        <input type="radio" name="rating" value="5" />
        <?php } ?>
        &nbsp; <span><?php echo $entry_good; ?></span></div>
    </div>
  </div>
  <div class="buttons">
    <table>
      <tr>
        <td align="left"><input type="button" value="<?php echo $button_back; ?>" onclick="location='<?php echo $back; ?>'" /></td>
        <td align="right"><input type="submit" value="<?php echo $button_continue; ?>" /></td>
      </tr>
    </table>
  </div>
</form>
