<?php echo $header; ?>
<div id="content">
  <div class="breadcrumb">
    <?php foreach ($breadcrumbs as $breadcrumb) { ?>
    <?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
    <?php } ?>
  </div>
  <?php if ($error_warning) { ?>
  <div class="warning"><?php echo $error_warning; ?></div>
  <?php } ?>
  <div class="box">
    <div class="heading">
      <h1><img src="view/image/module.png" alt="" /> <?php echo $heading_title; ?></h1>
      <div class="buttons"><a onclick="$('#form').submit();" class="button"><?php echo $button_save; ?></a><a onclick="location = '<?php echo $cancel; ?>';" class="button"><?php echo $button_cancel; ?></a></div>
    </div>
    <div class="content">
      <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="form">
        <table class="form">
          <tr>
            <td  style="width:230px;"><?php echo $entry_heading_box; ?></td>
            <td style="width:255px;"><?php foreach ($languages as $language) { ?>
			  <input name="heading_box<?php echo $language['language_id']; ?>" type="text" size="42" value="<?php echo isset(${'heading_box' . $language['language_id']}) ? ${'heading_box' . $language['language_id']} : ''; ?>" /> <img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" align="top" /><br />
			  <?php } ?></td>
			<td><?php echo $info_heading_box; ?></td>
          </tr>
		  <tr>
            <td><?php echo $entry_options_product; ?></td>
			<td><?php foreach ($languages as $language) { ?>
			  <input name="text_options_product<?php echo $language['language_id']; ?>" type="text" size="42" value="<?php echo isset(${'text_options_product' . $language['language_id']}) ? ${'text_options_product' . $language['language_id']} : ''; ?>" /> <img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" align="top" /><br />
			  <?php } ?></td>
			<td><?php echo $info_options_product; ?></td>
          </tr>
		  <tr>
            <td><?php echo $entry_image; ?></td>
            <td><?php echo $text_image_width; ?><input type="text" name="image_width" value="<?php echo $image_width; ?>" size="10" /> <?php echo $text_image_height; ?><input type="text" name="image_height" value="<?php echo $image_height; ?>" size="10" /></td>
			<td><?php echo $info_image; ?></td>
          </tr>
		  <tr>
            <td><?php echo $entry_popup; ?></td>
            <td><?php echo $text_popup_width; ?><input type="text" name="popup_width" value="<?php echo $popup_width; ?>" size="10" /> <?php echo $text_popup_height; ?><input type="text" name="popup_height" value="<?php echo $popup_height; ?>" size="10" /></td>
			<td><?php echo $info_popup; ?></td>
          </tr>
		  <tr>
            <td><?php echo $entry_description; ?></td>
            <td align="right"><input type="text" name="description_accessories_product" value="<?php echo $description_accessories_product; ?>" size="12" /></td>
			<td><?php echo $info_description; ?></td>
          </tr>
        </table>
      </form>
    </div>
  </div>
</div>
<?php echo $footer; ?>