<div class="row">

    

    <div class="col-lg-12 col-xl-12  primary-content">     

        

        <div class="card">

            

            <div class="card-body">

                

                {if $template neq 'lagom2'}

                    <h1>{$ATLANG.menulabelview}</h1>

                    <p>{$ATLANG.downloadagreeterms}</p>

                {/if}

                

                <ul class="list-group mt-5 mb-5">

               

                  {foreach from=$agreedtermsservices item=agreedterm}









                      {if $agreedterm.agree_type eq 'global' && $agreedterm.is_optional eq 0} 

                          <li class="list-group-item d-flex justify-content-between">{$ATLANG.agreeterms} <a href="index.php?m=agreeterms&view=accepted&dltype=global" target="_blank" class="float-right text-right"><img src="{$BASE_PATH_IMG}/pdf.png"></a></li>

                          <!--{$dfwagreeterms.agree}-->



                      {/if}



                      {if $agreedterm.agree_type eq 'privacypolicy'} 

                          <li class="list-group-item d-flex justify-content-between">{$ATLANG.privacy_cookie_policy} <a href="index.php?m=agreeterms&view=accepted&dltype=privacypolicy" target="_blank" class="float-right text-right"><img src="{$BASE_PATH_IMG}/pdf.png"></a></li>

                          <!--{$dfwagreeterms.privacypolicy_agree}-->



                      {/if}





                      {if $agreedterm.agree_type eq 'dpa'} 

                          <li class="list-group-item d-flex justify-content-between">{$ATLANG.dpaterm} <a href="index.php?m=agreeterms&view=accepted&dltype=dpa" target="_blank" class="float-right text-right"><img src="{$BASE_PATH_IMG}/pdf.png"></a></li>

                          <!--{$dfwagreeterms.dpa_agree}-->

                      {/if}



                      {if $agreedterm.agree_type eq 'quote'} 

                          <li class="list-group-item d-flex justify-content-between">{$ATLANG.quoteterms} <a href="index.php?m=agreeterms&view=accepted&dltype=quote" target="_blank" class="float-right text-right"><img src="{$BASE_PATH_IMG}/pdf.png"></a></li>

                          <!--{$dfwagreeterms.quote_agree}-->

                      {/if}



                      {if $agreedterm.agree_type eq 'global' && $agreedterm.is_optional eq 1} 

                           <li class="list-group-item d-flex justify-content-between">{$ATLANG.optionalglobal} <a href="index.php?m=agreeterms&view=accepted&dltype=optional" target="_blank" class="float-right text-right"><img src="{$BASE_PATH_IMG}/pdf.png"></a></li>

                           <!--{$dfwagreeterms.optional_agree}-->

                      {/if}



                      {if $agreedterm.agree_type eq 'unfair'} 

                           <li class="list-group-item d-flex justify-content-between">{$ATLANG.unfairterms} <a href="index.php?m=agreeterms&view=accepted&dltype=unfair" target="_blank" class="float-right text-right"><img src="{$BASE_PATH_IMG}/pdf.png"></a></li>

                           <!--{$dfwagreeterms.optional_agree}-->

                      {/if}

                    

                  {/foreach}

                    

                  {foreach from=$productagreeterms item=productagreedterm}



                      {if $productagreedterm.agree_type eq 'invoice'}

                           <li class="list-group-item d-flex justify-content-between">{$ATLANG.loginvoice} <a href="index.php?m=agreeterms&view=accepted&dltype=invoice&pid={$productagreedterm.pid}" target="_blank" class="float-right text-right"><img src="{$BASE_PATH_IMG}/pdf.png"></a></li>

                      {/if}

                    

                  {/foreach}     

               

                </ul>

                

             </div>  

            

        </div> 

        

   </div> 

    

</div>    