Location: PHPKode > projects > Simple PHP Shopping cart - asaancart > asaancart v-0.9/templates/edit_customer_form_front_shop.tpl
<form method="post" name="edit_customer_form" action="go_edit_customer.php">


{section name=selected_customer loop=$selected_customer}
<table width="700" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td colspan="2"><div id="msg_small">{$msg_customer}</div></td>
  </tr>
  <tr>
    <td colspan="2" class="section_header">General Information</td>
  </tr>
  <tr>
    <td width="151">Customer Name</td>
    <td ><input id="customer_name" name="customer_name" type="text" value="{$selected_customer[selected_customer].customer_name}" /><input type="hidden" name="customer_id" id="customer_id" value="{$selected_customer[selected_customer].customer_id}" /></td>
  </tr>
  <tr>
    <td>Business/Company Name</td>
    <td><input id="business_name" name="business_name" type="text" value="{$selected_customer[selected_customer].business_name}" /></td>
  </tr>
  
  <tr>
    <td>Email Address</td>
    <td><input id="email_address" name="email_address" type="text"  value="{$selected_customer[selected_customer].email_address}" readonly="readonly"/></td>
  </tr>
  <tr>
    <td>Mobile</td>
    <td><input id="customer_mobile" name="customer_mobile" type="text"  value="{$selected_customer[selected_customer].customer_mobile}"/></td>
  <tr>
    <td>Phone</td>
    <td><input id="customer_phone" name="customer_phone" type="text"  value="{$selected_customer[selected_customer].customer_phone}"/></td>
    
  </tr>
  <tr>
  <td colspan="2" class="section_header">Postal Address</td>
  </tr>
  <tr>
    <td>Country</td>
    <td><input id="customer_country" name="customer_country" type="text" value="Australia" readonly="readonly" /><!-- {$selected_customer[selected_customer].customer_country} --></td>
  </tr>
  <tr>
    <td>State</td>
    <td><input id="customer_state" name="customer_state" type="text"  value="{$selected_customer[selected_customer].customer_state}"/></td>
  </tr>
  <tr>
    <td>City</td>
    <td><input id="customer_city" name="customer_city" type="text"  value="{$selected_customer[selected_customer].customer_city}"/></td>
  </tr>
  <tr>
    <td>Suburb</td>
    <td><input id="customer_suburb" name="customer_suburb" type="text"  value="{$selected_customer[selected_customer].customer_suburb}"/></td>
  </tr>
  <tr>
    <td>postcode</td>
    <td><input name="customer_postcode" type="text" id="customer_postcode" size="10"  value="{$selected_customer[selected_customer].customer_postcode}"/></td>
  </tr>
  <tr>
    <td>Address</td>
    <td><textarea name="customer_address" cols="30" rows="3" id="customer_address" />{$selected_customer[selected_customer].customer_address}</textarea></td>
  </tr>
  <tr>
  <td colspan="2" class="section_header">Billing Address [<a href="javascript:copyPaddress();">same as postal address</a>]</td>
  </tr>
  <tr>
    <td>Country</td>
    <td><input id="b_customer_country" name="b_customer_country" type="text" value="Australia" readonly="readonly" /></td>
  </tr>
  <tr>
    <td>State</td>
    <td><input id="b_customer_state" name="b_customer_state" type="text"  value="{$selected_customer[selected_customer].b_customer_state}"/></td>
  </tr>
  <tr>
    <td>City</td>
    <td><input id="b_customer_city" name="b_customer_city" type="text"  value="{$selected_customer[selected_customer].b_customer_city}"/></td>
  </tr>
  <tr>
    <td>Suburb</td>
    <td><input id="b_customer_suburb" name="b_customer_suburb" type="text"  value="{$selected_customer[selected_customer].b_customer_suburb}"/></td>
  </tr>
  <tr>
    <td>postcode</td>
    <td><input name="b_customer_postcode" type="text" id="b_customer_postcode" size="10"  value="{$selected_customer[selected_customer].b_customer_postcode}"/></td>
  </tr>
  <tr>
    <td>Address</td>
    <td><textarea name="b_customer_address" cols="30" rows="3" id="b_customer_address" />{$selected_customer[selected_customer].b_customer_address}</textarea></td>
  </tr>
  <tr>
  <td colspan="2" class="section_header">Shipping Address [<a href="javascript:copyBaddress();">same as billing address</a>]</td>
  </tr>
  <tr>
    <td>Country</td>
    <td><input id="s_customer_country" name="s_customer_country" type="text" value="Australia" readonly="readonly" /></td>
  </tr>
  <tr>
    <td>State</td>
    <td><input id="s_customer_state" name="s_customer_state" type="text"  value="{$selected_customer[selected_customer].s_customer_state}"/></td>
  </tr>
  <tr>
    <td>City</td>
    <td><input id="s_customer_city" name="s_customer_city" type="text"  value="{$selected_customer[selected_customer].s_customer_city}"/></td>
  </tr>
  <tr>
    <td>Suburb</td>
    <td><input id="s_customer_suburb" name="s_customer_suburb" type="text"  value="{$selected_customer[selected_customer].s_customer_suburb}"/></td>
  </tr>
  <tr>
    <td>postcode</td>
    <td><input name="s_customer_postcode" type="text" id="s_customer_postcode" size="10"  value="{$selected_customer[selected_customer].s_customer_postcode}"/></td>
  </tr>
  <tr>
    <td>Address</td>
    <td><textarea name="s_customer_address" cols="30" rows="3" id="s_customer_address" />{$selected_customer[selected_customer].s_customer_address}</textarea></td>
  </tr>
</table>
{/section}
<input name="btn_edit" id="btn_edit" type="submit" value="Save" class="btn_submit" />

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