<div id="kb" class="block">
    <div class="block_title">
        <h3><b><a href="#">[l]Support Center[/l]</a> &raquo; <a href="#">[l]Profile[/l]</a></b></h3>
    </div>
    
<ul>
<li>
<h1>[l]Client Profile[/l]</h1>
<p class="kb st" style="background: url(templates/{TEMPLATE}/images/public/icon_submit_ticket.jpg) no-repeat 0 8px;">[l]Please keep your profile up to date.  You can use this section to update your billing preferences, alternatate contact information and update your password.[/l]</p>
</li>
<li>
<div id="cip">
<!-- BEGIN DYNAMIC BLOCK: profile -->
<script language="javascript" type="text/javascript" src="{RELATIVE_PATH}javascript/modules/clients.js?version={VERSION}" ></script>
<script language="javascript" type="text/javascript">
// <![CDATA[ 
    if (document.images) {
        pic1= new Image(167,14);
        pic1.src="{RELATIVE_PATH}images/loading.gif";
    }
// ]]>
</script>


<div class="nav_1">
    <ul>
        <li class="selected">
            <a href="#"><span>[l]Profile[/l]</span></a>
        </li>
        <li>
            <a href="index.php?fuse=clients&amp;view=ViewProfile_AlternateEmails"><span>[l]Alternate Emails[/l]</span></a>
        </li>
        <li>
            <a href="index.php?fuse=clients&amp;view=ViewProfile_Billing"><span>[l]Billing[/l]</span></a>
        </li>
        <li>
            <a href="index.php?fuse=clients&amp;view=ViewProfile_Password"><span>[l]Password[/l]</span></a>
        </li>
	<li>
            <a href="index.php?fuse=clients&amp;view=ViewProfile_StaffNotes"><span>[l]Notes[/l]</span></a>
        </li>
    </ul>
</div>

<!-- BEGIN DYNAMIC BLOCK: updateCustomerForm -->
<form method="post" name="customerdata" action="index.php?fuse=clients&amp;action=UpdateCustomer" id="submit_ticket">
    <input type="hidden" name="id" value="{customerId}" />
    <input type="hidden" name="userid" value="{customerId}" />
    <input type="hidden" name="packageaction" value="0" />
    <input type="hidden" name="packageplugin" value="0" />
    <!-- BEGIN DYNAMIC BLOCK: packageWithPluginVar -->
    <input type="hidden" name="packagewithplugin" value="{packageWithPlugin}" />
    <!-- END DYNAMIC BLOCK: packageWithPluginVar -->
    <!-- END DYNAMIC BLOCK: updateCustomerForm -->
    {error}
    <div style="padding-left: 15px;">
        <div class="profile">
            <!-- BEGIN DYNAMIC BLOCK: userIdBlock -->
            <span class="label130">[l]User ID[/l]:</span>
            <span><b>{userId}</b></span>
            <br />
            <!-- END DYNAMIC BLOCK: userIdBlock -->


            <!-- !!!!!!!~TODO Remove -->
            <!-- BEGIN DYNAMIC BLOCK: customerStatus -->
            <label for="status">[l]Status[/l]:</label>
            <select name="status" id='status'>
            <!-- BEGIN DYNAMIC BLOCK: pendingStatus -->
            <option value="1" {pendingSelected} >[l]Pending[/l]</option>
            <!-- END DYNAMIC BLOCK: pendingStatus -->
            <!-- BEGIN DYNAMIC BLOCK: activeStatus -->
            <option value="1" {activeSelected} >[l]Active[/l]</option>
            <!-- END DYNAMIC BLOCK: activeStatus -->
            <!-- BEGIN DYNAMIC BLOCK: inactiveStatus -->
            <option value="-1" {inactiveSelected} >[l]Inactive[/l]</option>
            <!-- END DYNAMIC BLOCK: inactiveStatus -->
            <!-- BEGIN DYNAMIC BLOCK: cancelledStatus -->
            <option value="-2" {cancelledSelected} >[l]Cancelled[/l]</option>
            <!-- END DYNAMIC BLOCK: cancelledStatus -->
            <!-- BEGIN DYNAMIC BLOCK: fraudStatus -->
            <option value="-3" {fraudSelected} >[l]Fraud[/l]</option>
            <!-- END DYNAMIC BLOCK: fraudStatus -->
            </select>
            <input name="old_status" id="old_status" type="hidden" value='{status}' />
            <!-- END DYNAMIC BLOCK: customerStatus -->
            <!-- end todo -->


            <!-- BEGIN DYNAMIC BLOCK: customerStatusHidden -->
            <input name="old_status" id="old_status" type="hidden" value='{customerStatus}' />
            <input name="status" type="hidden" value='{customerStatus}' />
            <!-- END DYNAMIC BLOCK: customerStatusHidden -->

            <!-- BEGIN DYNAMIC BLOCK: customFields -->
            <span class="label130">{rowLabel}:</span>
            <!-- BEGIN DYNAMIC BLOCK: typeLanguage -->
            <select name='CT_{fieldId}' id="CT_{fieldId}" class="body" {disabled} >
            <!-- BEGIN DYNAMIC BLOCK: typeLanguageOption -->
            <option value="{typeLanguageOptionValue}" {typeLanguageOptionSelected} >{typeLanguageOptionLabel}</option>
            <!-- END DYNAMIC BLOCK: typeLanguageOption -->
            </select>
            <!-- END DYNAMIC BLOCK: typeLanguage -->
            <!-- BEGIN DYNAMIC BLOCK: typeTextarea -->
            <textarea name='CT_{fieldId}' id="CT_{fieldId}" class="body" cols='{fieldWidth}' {disabled} >{value}</textarea>
            <!-- END DYNAMIC BLOCK: typeTextarea -->
            <!-- BEGIN DYNAMIC BLOCK: typeDropdown -->
            <select name="CT_{fieldId}" id="CT_{fieldId}" {disabled} >
            <!-- BEGIN DYNAMIC BLOCK: typeDropdownOption -->
            <option value="{typeDropdownOptionValue}" {typeDropdownOptionSelected} >{typeDropdownOptionLabel}</option>
            <!-- END DYNAMIC BLOCK: typeDropdownOption -->
            </select>
            <!-- END DYNAMIC BLOCK: typeDropdown -->
            <!-- BEGIN DYNAMIC BLOCK: typeCountry -->
            <select name="CT_{fieldId}" id="CT_{fieldId}" {disabled} >
            {countryOptions}
            </select>
            <!-- END DYNAMIC BLOCK: typeCountry -->
            <!-- BEGIN DYNAMIC BLOCK: typeYesNo -->
            <select name="CT_{fieldId}" id="CT_{fieldId}" {disabled} >
            <option value="1" {yesSelected} >[l]Yes[/l]</option>
            <option value="0" {noSelected} >[l]No[/l]</option>
            </select>{allowEmailHelp}
            <!-- END DYNAMIC BLOCK: typeYesNo -->
            <!-- BEGIN DYNAMIC BLOCK: typeDate -->
            <input type="hidden" name="CTT_{fieldId}" id="CTT_{fieldId}" value="{typeDateConstant}" />
            <input type="text" name="CT_{fieldId}" id="CT_{fieldId}" value="{value}" {readOnly} />&nbsp;&nbsp;
            <!-- END DYNAMIC BLOCK: typeDate -->
            <!-- BEGIN DYNAMIC BLOCK: typeSimple -->
            <input class="{cssClass}" type="text" name="CT_{fieldId}" id="CT_{fieldId}" size="{fieldWidth}" value="{value}" />
            <!-- END DYNAMIC BLOCK: typeSimple -->
            <!-- BEGIN DYNAMIC BLOCK: typeLabel -->
            <span><b>{value}</b></span>
            <!-- END DYNAMIC BLOCK: typeLabel -->
            <!-- BEGIN DYNAMIC BLOCK: organization -->
            &nbsp;<input type="checkbox" name="isOrganization" {checkedIsOrganization} />{organizationHelp}
            <!-- END DYNAMIC BLOCK: organization -->
            <!-- BEGIN DYNAMIC BLOCK: organizationHidden -->
            <input type="hidden" name="isOrganization" value="on" />
            <!-- END DYNAMIC BLOCK: organizationHidden -->
            <!-- BEGIN DYNAMIC BLOCK: someOtherHiddenFields -->
            <input type="hidden" name="{fieldName}" value="{fieldValue}" />
            <!-- END DYNAMIC BLOCK: someOtherHiddenFields -->
            <br />
            <!-- END DYNAMIC BLOCK: customFields -->
        </div>

        <!-- BEGIN DYNAMIC BLOCK: changePassword -->
        <!-- BEGIN DYNAMIC BLOCK: changePasswordNote -->
        <!-- END DYNAMIC BLOCK: changePasswordNote -->
        <!-- END DYNAMIC BLOCK: changePassword -->

        <div class="st_submit cip_sb">
            <!-- BEGIN DYNAMIC BLOCK: passwordButtons1 -->
            <!-- END DYNAMIC BLOCK: passwordButtons1 -->
            <!-- BEGIN DYNAMIC BLOCK: passwordButtons2 -->
            <input type="submit" value='[l]update[/l]' onclick='check(form,form.elements.length);return false;' class="body" />
            <!-- END DYNAMIC BLOCK: passwordButtons2 -->
            <input type="hidden" name="removeArray" value='{queryString1}' />
            <input type="hidden" name="customTagsArray" value='{queryString2}' />
            <input type="hidden" name="altEmailsArray" value='{queryString3}' />
        </div>

    </div>
</form>

<!-- BEGIN DYNAMIC BLOCK: staffNotes -->
<!-- END DYNAMIC BLOCK: staffNotes -->


<!-- END DYNAMIC BLOCK: profile -->
</div>
</li>
</ul>
</div>
