Location: PHPKode > projects > Simple PHP Shopping cart - asaancart > asaancart v-0.9/templates/edit_brand_form.tpl
<form method="post" name="edit_brand_form" enctype="multipart/form-data">
{section name=selected_brand loop=$selected_brand}

<table width="700" border="0" cellspacing="0" cellpadding="0" id="irForm">
 <tr>
    <td colspan="2">{if $msg_brand==""}{else}<div id="msg_small">{$msg_brand}</div>{/if}
</td>
  <tr>
    <td width="151">Brand Name</td>
    <td ><input id="brand_id" name="brand_id" type="hidden" value="{$selected_brand[selected_brand].brand_id}" /><input id="brand_name" name="brand_name" type="text" value="{$selected_brand[selected_brand].brand_name}" class="irInput" /></td>
  </tr>
  <tr>
    <td>Brand Introduction</td>
    <td><textarea id="brand_intro" name="brand_intro" cols="30" rows="4" class="irTextarea" >{$selected_brand[selected_brand].brand_intro}</textarea></td>
  </tr>
  <tr>
    <td width="151">Brand Logo</td>
    <td><input name="brand_logo_new" type="file" /><br />
<img src="../brand_images/{$selected_brand[selected_brand].brand_logo}" align="left" /><input id="brand_logo" name="brand_logo" type="hidden" value="{$selected_brand[selected_brand].brand_logo}" class="irInput"  /></td>
  </tr>
    
</table>
{/section}
<input name="btn_create" id="btn_create" type="submit" value="Save" class="irBtnSave" />

</form>
Return current item: Simple PHP Shopping cart - asaancart