<?php $row=$this->row;?>
<div class="jshop_edit">
<form action="index.php?option=com_jshopping&controller=shippingextprice" method="post" name="adminForm" id="adminForm">

<div class="col100">
<fieldset class="adminform">
    <table class="admintable" width="100%" >
   	<tr>
     	<td class="key" width="30%">
       		<?php echo _JSHOP_PUBLISH;?>
     	</td>
     	<td>
            <input type="hidden" name="published" value="0" />
       		<input type="checkbox" name="published" value="1" <?php if ($row->published) echo 'checked="checked"'?> />
     	</td>
   	</tr>    
   	<tr>
     	<td class="key">
       		<?php echo _JSHOP_TITLE;?>*
     	</td>
     	<td>
       		<input type="text" class="inputbox" name="name" value="<?php echo $row->name?>" />
     	</td>
   	</tr>
    <tr>
         <td class="key">
               <?php echo _JSHOP_DESCRIPTION;?>
         </td>
         <td>
            <textarea name="description" cols="40" rows="5"><?php echo $row->description?></textarea>               
         </td>
       </tr>
    <tr>
         <td class="key">
            <?php echo _JSHOP_SHIPPINGS;?>
         </td>
         <td>
            <?php foreach($this->list_shippings as $shipping){?>
                <div style="padding:5px 0px;">
                    <input type="hidden" name="shipping[<?php print $shipping->shipping_id?>]" value="0">
                    <input type="checkbox" name="shipping[<?php print $shipping->shipping_id?>]" value="1" <?php if ($this->shippings_conects[$shipping->shipping_id]!=="0") print "checked"?>>                    
                    <?php print $shipping->name;?>
                </div>
            <?php }?>
         </td>
    </tr>
    <?php        
        $row->exec->showConfigForm($row->getParams(), $row, $this);
    ?>
   <?php $pkey="etemplatevar";if ($this->$pkey){print $this->$pkey;}?>
</table>
</fieldset>
</div>
<div class="clr"></div>

<input type="hidden" name="task" value="" />
<input type="hidden" name="id" value="<?php echo $row->id?>" />
</form>
</div>