<!DOCTYPE html>
<html ng-app="myapp" lang="{$SelCurrLanguage}">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>{$language.lblAccountinfo} : {$language.lblSubscriptions}</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'}
    <script type="text/javascript">
      $(document).ready(function(){
      	$('.panelmenu a[rel=subscription]').parent().addClass('active');
      });	
    </script>
  </head>
  <body ng-controller="SearchCtrl" class="{$languageDirection}">
    <div id="main" class="outer">
      {*<!-- Begin : Header Pane-->*}
      {include file='CommonTop.tpl'} 
      {*<!-- End : Header -->*}
      <div id="content-wrapper" ng-show="!query" class="pt-3 pb-4">
        <div class="container">
        <div class="row">
          {include file='account/CommonAccountRightMenu.tpl'}
            <div class="col-12 col-lg-9">
                <div class="py-2 bg-white border-bottom">
                     <h2 class="acc-title shadow-box px-md-4 px-3 py-md-1 py-0 text-capitalize text-dark m-0">{$language.lblManageSubscriptions}</h2>
                </div>
              <div class="right-panel bg-white settngs p-md-4 p-3">
                <div id="common_message" ></div>
                <div class="clearfix">
                  {form->start name="formUserSubscriptions" method="post"}			
                  <fieldset>
                    <ul>
                      <li class="clearfix">
                        <h5>{$language.lblEmailNotifications}</h5>
                        {if $userNewsletterSubscribeStatus=="Yes"}{assign var="checked" value="checked"}{/if}
                        {form->checkbox  tabindex="1" name="userNewsletterSubscribeStatus" caption=" " value="Yes" checked=$checked|default:''}
                        <label for="userNewsletterSubscribeStatus">{$language.lblNewsletterSignup}</label>
                      </li>
                      <li class="clearfix">
                        {form->submit tabindex="1" name="submit" id="submit" class="btn btn-secondary px-4  mt-3" form="formUserSubscriptions" value=$language.lblSave} 
                      </li>
                    </ul>
                  </fieldset>
                  {form->close}
                </div>
              </div>
            </div>
        </div>
        </div>
      </div>
      {*<!-- Begin : Footer	Pane --> *}
      {include file='CommonBottom.tpl'} 
      {*<!-- End : Footer Pane --> *}
    </div>
    {*<!-- End : Outer Pane --> *}
    {html->messages_script id="common_message"}
    {include file='CommonJavaScriptBottom.tpl'} 
    {form->validate_script form="formUserSubscriptions"}
  </body>
</html>