{*
* 2007-2024 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2024 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}
{extends file='page.tpl'}

{block name='page_content'}
	<div>
		<h2 style="color:red">{l s='Access Permission Denied' d='Modules.Agilemultisellerpro.Membership'}</h2>
		<p>
		{l s='The page you are trying to access is for members access only. ' d='Modules.Agilemultisellerpro.Membership'}<br />
		</p>

		{if isset($am_error_no) && $am_error_no>0}
			{if $am_error_no==1}
			<p class="error">
				{l s='You are trying to add a product to shopping cart. Only customers with valid membership can purchase.' d='Modules.Agilemultisellerpro.Membership'}<br />
			</p>
			{/if}
		{/if}

		<p>
		{l s='If you have not signed up for an account yet, ' d='Modules.Agilemultisellerpro.Membership'}<a href="{$urls.pages.register|escape:'html':'UTF-8'}">{l s='please click to sign up' d='Modules.Agilemultisellerpro.Membership'}</a>.<br />
		</p>

		<p>
		{l s='If you have signed up, but have not bought a membership, ' d='Modules.Agilemultisellerpro.Membership'}<a href="{$link->getCategoryLink($membership_cid)|escape:'html':'UTF-8'}">{l s='please click to buy your membership.' d='Modules.Agilemultisellerpro.Membership'}</a><br />
		</p>

		<p>
		{l s='If you have purchased a membership but it has not been activated, please try again later. Once we approve your membership, your account will be activated.' d='Modules.Agilemultisellerpro.Membership'}<br />
		</p>

		<p>
		{l s='If you have any questions, ' d='Modules.Agilemultisellerpro.Membership'}<a href="{$link->getPageLink('contact')|escape:'html':'UTF-8'}">{l s='please feel free to contact us' d='Modules.Agilemultisellerpro.Membership'}</a>.
		</p>

	</div>

{/block}
