<?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/shipping.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><?php echo $text_status; ?></td>
                        <td><select name="fretedinamico_status">
                                <?php if ($fretedinamico_status) { ?>
                                <option value="1" selected="selected"><?php echo $text_enabled; ?></option>
                                <option value="0"><?php echo $text_disabled; ?></option>
                                <?php } else { ?>
                                <option value="1"><?php echo $text_enabled; ?></option>
                                <option value="0" selected="selected"><?php echo $text_disabled; ?></option>
                                <?php } ?>
                            </select>
                        <td>
                    </tr>
					
                    <tr>
                        <td><?php echo $text_dinamicopcao; ?></td>
                        <td>
							<input type="text" name="fretedinamico_opcao" value="<?php echo $fretedinamico_opcao; ?>" size="15" />
                            <?php if ($error_fretedinamico_opcao) { ?>
                            <span class="error"><?php echo $error_fretedinamico_opcao; ?></span>
                            <?php  } ?>
						</td>
                    </tr>
					
                    <tr>
                        <td><?php echo $text_dinamicopcao_sub; ?></td>
                        <td>
							<input type="text" name="fretedinamico_subopcao" value="<?php echo $fretedinamico_subopcao; ?>" size="15" />
                            <?php if ($error_fretedinamico_subopcao) { ?>
                            <span class="error"><?php echo $error_fretedinamico_subopcao; ?></span>
                            <?php  } ?>
						</td>
                    </tr>
					
                    <tr>
                        <td><?php echo $text_val_visualizacao; ?></td>
                        <td>
							<input type="text" name="fretedinamico_valvisu" value="<?php echo $fretedinamico_valvisu; ?>" size="10" />
                            <?php if ($error_fretedinamico_valvisu) { ?>
                            <span class="error"><?php echo $error_fretedinamico_valvisu; ?></span>
                            <?php  } ?>
						</td>
                    </tr>
					
                    <tr>
                        <td><?php echo $text_val_calculo; ?></td>
                        <td>
							<input type="text" name="fretedinamico_valcalc" value="<?php echo $fretedinamico_valcalc; ?>" size="10" />
                            <?php if ($error_fretedinamico_valcalc) { ?>
                            <span class="error"><?php echo $error_fretedinamico_valcalc; ?></span>
                            <?php  } ?>
						</td>
                    </tr>
					
                    <tr>
                        <td><?php echo $text_ordem; ?></td>
                        <td>
							<input type="text" name="fretedinamico_sort_order" value="<?php echo $fretedinamico_sort_order; ?>" size="1" />
						</td>
                    </tr>
					
					
                </table>
            </form>
        </div>
    </div>
</div>
<?php echo $footer; ?>