<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" class="no-js" ng-app="myapp">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>{$language.lblAccountinfo} : {$language.lblAddress}</title>
    <meta name="viewport" content="width=device-width">
    <meta name="Description" content="{$commonMetaDescription}" />
    <meta name="Keywords" content="{$commonMetaKeywords}" />
    {include file='CommonStyles.tpl'}
    <link href="{$view_styles}/myaccount.css" rel="stylesheet" type="text/css" media="screen" />
    {include file='CommonJavaScript.tpl'}
    {form->rootpath_script}
    {form->basepath_script}
    {include file='TheamingStyles.tpl'}
    <script type="text/javascript">
      {literal}
      $(document).ready(function(){
      	$('.panelmenu a[rel=address]').parent().addClass('active');
      });	
      {/literal}
    </script>
  </head>
  <body ng-controller="SearchCtrl">
      {*<!-- Begin : Outer Pane -->*}
    <div id="main" class="outer">
    {*<!-- Begin : Header--> *}
    {include file='CommonTop.tpl'} 
    {*<!-- End : Header --> *}
    {*<!-- Begin : Content Pane -->*}
    <div id="content-wrapper" ng-show="!query" >
      <div class="container">
          <div class="container-wraper">
              <div class="row">
        {include file='account/CommonAccountRightMenu.tpl'}
          <div class="col-xs-12 col-md-9">
            <h2 class="acc-title shadow-box">{$language.lblAddress} </h2>
            <div class="right-panel light-bg">
                  {*<!-- Begin : Content Pane --> *}
                  {form->start name="formaddress" method="post" enctype="multipart/form-data"}                      
                  {form->hidden name="userID"}
                  {form->hidden name="cityhidValue"} 
                  <fieldset class="form1">
                    <div class="clearfix">
                      <div id="common_message" ></div>
                      <div class="margin-top">
                        <div class="form-group row">
                          <label class="c-label"> {$language.lblAddress1}<span class="mndty">*</span> : </label>
                          {form->textbox  tabindex="1" class="form-control" maxlength="100" name="userAdress1" validate="required" error=$language.errAddress1 validate_event="submit"} </div>
                        </div>
                        <div class="form-group row">
                          <label class="c-label"> {$language.lblAddress2} : </label>
                          {form->textbox  tabindex="2"  class="form-control" maxlength="100" name="userAdress2"} </div>
                        </div>
                        <div class="form-group row">
                          <label class="c-label"> {$language.lblPhoneNo} : </label>
                          {form->textbox tabindex="3" class="form-control" maxlength="20" name="userPhone"} </div>
                        </div>
                        {*<div class="form-group row">
                          <label class="c-label"> {$language.lblCity} <span class="mndty">*</span> : </label>
                          {form->textbox   class="form-control" maxlength="70" name="userCity"  tabindex="4"  validate="required" error=$language.errCityName validate_event="submit"} </div>
                        </div>*}
                        <div class="form-group row">
                          <label class="c-label"> {$language.lblCountry} <span class="mndty">*</span> : </label>
                          {form->select tabindex="5" options=$resCountry   class="form-control"  onchange="listStates(this.value,'');" name="countryID" caption="->Select" validate="required" error=$language.errCountry validate_event="submit"} </div>
                        </div>
            						<div class="form-group row">
                          <label class="c-label"> {$language.lblStateProvince} <span class="mndty">*</span> : </label>
            						  {form->select  class="form-control" name="stateID" options="->{$language.lblselecttext}" value=$stateID validate="required" error=$language.errState}
              						<span id="loadProcessImage"></span> {form->hidden id="stateSelectedType"  name="stateSelectedType" value=$stateSelectedType} {form->hidden name="stateIDhid" value=$stateID}
                        </div>
                        <div class="form-group row">
                          <label class="c-label"> {$language.lblCity} <span class="mndty">*</span> : </label>
                          {form->textbox name="userCity" class="form-control" validate="required" error=$language.errCityName maxlength="50"}  </div>
                        </div>
                        <div class="form-group row">
                          <label class="c-label"> {$language.lblZipPostalCode} <span class="mndty">*</span> : </label>
                          {form->textbox  tabindex="8" class="form-control" maxlength="20" name="userZip" validate="required" error=$language.errZipCode validate_event="submit"} </div>
                        </div>
                        <div class="clearfix">
                          <div class="field col-md-5 col-md-offset-3 col-xs-12">{form->submit tabindex="9" name="submit" id="submit" class="btn btn-primary btn-md" form="formaddress" value=$language.lblSaveChanges}</div>
                        </div>
                      </div>
                      {*<!-- div -->*}
                  </fieldset>
                  {form->close} 
                  {*<!-- End : Content Pane --> *}
          </div>
          </div>
              </div>
        </div>
      </div>
        </div>
      {*<!-- End : Content Pane --> *}
      {*<!-- Begin : Footer	Pane --> *}
      {include file='CommonBottom.tpl'} 
        {*<!-- End : Footer Pane --> *}
    </div>
   {* <!-- End : Outer Pane --> *}
    {html->messages_script id="common_message"}
    {include file='CommonJavaScriptBottom.tpl'} 
	{html->script src="{$common_js}/chosen.pluggin.js"}
      {html->script_group_start name="{$compiled_js_path}/account.address.js"}
        {html->script src="{$common_frontend_js}/signup.page.js"}
      {html->script_group_end} 
    <script type="text/javascript">
      var lblSelect = '{$language.lblSelect}';
      var errSelectCity = '{$language.errSelectCity}';
    </script> 
    {form->validate_script form="formaddress"}
  </body>
</html>
