<form method="post" action="index.php?fuse=clients&amp;action=Admin_UpdateProfileContact">
<input type="hidden" name="id" value="{customerId}"></input>
<input type="hidden" name="userid" value="{customerId}"></input>
<input type="hidden" name="packageaction" value="0"></input>
<input type="hidden" name="packageplugin" value="0"></input>

<span style="padding-left:20px;">
    <font color="red">
        {MESSAGES}
    </font>
</span>

<dl class="form">

    <!-- BEGIN DYNAMIC BLOCK: affiliateInfo -->
    <dt style="border-top:0px !important;"><label>[l]Affiliate[/l]</label></dt>
    <dd style="border-top:0px !important;">
    <input type="radio"  id="enable_aff" name="enable_aff" value="0" {nchecked} >  [l]No[/l]   </input>&nbsp;&nbsp;
    <input type="radio"  id="enable_aff" name="enable_aff" value="1" {ychecked} >  [l]Yes[/l]  </input>
    </dd>
    <!-- END DYNAMIC BLOCK: affiliateInfo -->

    <!-- BEGIN DYNAMIC BLOCK: customFields -->
    <!-- style class="{cssClass}"-->
    <dt><label>{rowLabel}</label></dt>
    <dd class="ddelement" style="width:300px;">
        <!-- BEGIN DYNAMIC BLOCK: typeLanguage -->
        <select name='CT_{fieldId}' style="width:248px;" {disabled} >
            <!-- BEGIN DYNAMIC BLOCK: typeLanguageOption -->
            <option size="30" value="{typeLanguageOptionValue}" {typeLanguageOptionSelected} >{typeLanguageOptionLabel}</option>
            <!-- END DYNAMIC BLOCK: typeLanguageOption -->
        </select>
        <!-- END DYNAMIC BLOCK: typeLanguage -->

        <!-- BEGIN DYNAMIC BLOCK: typeTextarea -->
        <textarea name='CT_{fieldId}' style="width:236px; height:65px;" cols='{fieldWidth}' {disabled} >{value}</textarea>
        <!-- END DYNAMIC BLOCK: typeTextarea -->

        <!-- BEGIN DYNAMIC BLOCK: typeDropdown -->
        <select name="CT_{fieldId}" style="width:248px;" {disabled} >
            <!-- BEGIN DYNAMIC BLOCK: typeDropdownOption -->
            <option size="30" value="{typeDropdownOptionValue}" {typeDropdownOptionSelected} >{typeDropdownOptionLabel}</option>
            <!-- END DYNAMIC BLOCK: typeDropdownOption -->
        </select>
        <!-- END DYNAMIC BLOCK: typeDropdown -->

        <!-- BEGIN DYNAMIC BLOCK: typeCountry -->
        <select name="CT_{fieldId}" style="width:248px;" {disabled} >
            {countryOptions}
        </select>
        <!-- END DYNAMIC BLOCK: typeCountry -->

        <!-- BEGIN DYNAMIC BLOCK: typeYesNo -->
        <select name="CT_{fieldId}" style="width:248px;" {disabled} >
            <option value="1" {yesSelected} >[l]Yes[/l]</option>
            <option value="0" {noSelected} >[l]No[/l]</option>
        </select>
        <!-- END DYNAMIC BLOCK: typeYesNo -->

        <!-- BEGIN DYNAMIC BLOCK: typeDate -->
        <input type="hidden" name="CTT_{fieldId}" id="CTT_{fieldId}" value="{typeDateConstant}"></input>
        <input type="text" name="CT_{fieldId}" id="CT_{fieldId}" style="width:223px;" value="{value}" {readOnly}></input>&nbsp;&nbsp;

            <script type="text/javascript">
                datefields.push("CT_{fieldId}");
            </script>
            <!-- BEGIN DYNAMIC BLOCK: canEditDate -->
            <!--{dateFormat}-->
            <!-- END DYNAMIC BLOCK: canEditDate -->
        <!-- END DYNAMIC BLOCK: typeDate -->

        <!-- BEGIN DYNAMIC BLOCK: typeSimple -->
        <input type="text" class="x-form-text x-form-field" name="CT_{fieldId}" style="width:240px;" value="{value}" />
        <!-- END DYNAMIC BLOCK: typeSimple -->

        <!-- BEGIN DYNAMIC BLOCK: typeLabel -->
        {value}
        <!-- END DYNAMIC BLOCK: typeLabel -->

        <!-- BEGIN DYNAMIC BLOCK: organization -->
        &nbsp;<input type='checkbox' name='isOrganization' {checkedIsOrganization} ></input>&nbsp;&nbsp;<img id="organizationtip" class="tip-target" src="../templates/admin/images/information-button.png"/>

        <!-- END DYNAMIC BLOCK: organization -->

        <!-- BEGIN DYNAMIC BLOCK: organizationHidden -->
        <input type="hidden" name="isOrganization" value="on"></input>
        <!-- END DYNAMIC BLOCK: organizationHidden -->
    </dd>

        <!-- BEGIN DYNAMIC BLOCK: someOtherHiddenFields -->
        <input type="hidden" name="{fieldName}" value="{fieldValue}"></input>
        <!-- END DYNAMIC BLOCK: someOtherHiddenFields -->
    <!-- END DYNAMIC BLOCK: customFields -->
</dl>


<input type="hidden" name="removeArray" value='{queryString1}'></input>
<input type="hidden" name="customTagsArray" value='{queryString2}'></input>
<input type="submit" style="float:left" class="button" value='[l]update[/l]' onclick='check(form,form.elements.length); return false;'></input>
</form>

<div style="padding-left:10px;float:left">
    <form method="post" action="index.php?fuse=clients&amp;action=DeleteClient" >
        <input type="hidden" name="deleteid" value="{customerId}"></input>
        <input type="hidden" name="deletewithplugin" value="0"></input>
        <input type="hidden" name="nextaction" value="ViewUsers"></input>
        <!-- BEGIN DYNAMIC BLOCK: deleteCustomerButton -->
            <input type="button" class="button" value='[l]delete[/l]' onClick='deleteCustomer(this.form); return false;'></input>
        <!-- END DYNAMIC BLOCK: deleteCustomerButton -->
    </form>
</div>