<?php
/* Smarty version 3.1.40, created on 2022-07-08 15:40:23
  from '/home/mzpg3195/site.essentielweb/wp-content/plugins/paygreen-woocommerce/templates/payment/block-payment.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.40',
  'unifunc' => 'content_62c84fe71836d0_97221615',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'cadc4b2f47cdbd52ce496982bf095145b130635e' => 
    array (
      0 => '/home/mzpg3195/site.essentielweb/wp-content/plugins/paygreen-woocommerce/templates/payment/block-payment.tpl',
      1 => 1657293553,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:toggle.tpl' => 1,
    'file:account/block-logout.tpl' => 1,
  ),
),false)) {
function content_62c84fe71836d0_97221615 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="pgdiv_flex_row pg_justify_content_between pg_align_items-flex_start pgpayment_home_block">
    <h2 class="pgblock__shadow__title pg__mtop-md">
        <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'pgtrans' ][ 0 ], array( 'blocks.payment.title' ));?>

    </h2>
</div>

<article>
    <?php if ($_smarty_tpl->tpl_vars['connected']->value) {?>
        <?php $_smarty_tpl->_subTemplateRender("file:toggle.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('title'=>"blocks.payment.payment_activation.title",'description'=>"blocks.payment.payment_activation.help",'action'=>"backoffice.payment.activation",'active'=>$_smarty_tpl->tpl_vars['paymentActivated']->value), 0, false);
?>
        <div class="pgblock pg__success_container">
            <div class="pgbutton__container">
                <a
                        href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'toback' ][ 0 ], array( 'backoffice.account.display' ));?>
"
                        class="pgbutton pg__default"
                >
                    <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'pgtrans' ][ 0 ], array( 'pages.account.name' ));?>

                </a>
            </div>
            <p>
                <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'pgtrans' ][ 0 ], array( 'pages.account.title' ));?>

            </p>
        </div>
        <div class="pgblock pg__danger_container">
            <?php $_smarty_tpl->_subTemplateRender("file:account/block-logout.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
        </div>
    <?php } else { ?>
        <ul>
            <li>
                <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'pgtrans' ][ 0 ], array( 'blocks.payment.text1' ));?>

            </li>
            <li class="pg__mtop">
                <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'pgtrans' ][ 0 ], array( 'blocks.payment.text2' ));?>

            </li>
            <li class="pg__mtop">
                <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'pgtrans' ][ 0 ], array( 'blocks.payment.text3' ));?>

            </li>
        </ul>

        <div class="pgdiv_flex_row">
            <div class="pgbutton__container">
                <a
                        target="_blank"
                        href="https://paygreen.fr/subscribe"
                        class="pgbutton pg__default"
                >
                    <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'pgtrans' ][ 0 ], array( 'blocks.account_subscription.activate' ));?>

                </a>
            </div>
            <div class="pgbutton__container">
                <a href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'toback' ][ 0 ], array( 'backoffice.account.oauth.request' ));?>
" class="pgbutton">
                    <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'pgtrans' ][ 0 ], array( 'blocks.account_login.action' ));?>

                </a>
            </div>
        </div>
        <p>
            <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'pgtrans' ][ 0 ], array( 'blocks.payment.description' ));?>

        </p>
    <?php }?>

</article><?php }
}
