first commit

This commit is contained in:
2024-12-17 13:43:22 +01:00
commit 8e6cd8b410
21292 changed files with 3514826 additions and 0 deletions

View File

@@ -0,0 +1,60 @@
{*
* PrestaChamps
*
* NOTICE OF LICENSE
*
* This source file is subject to the Commercial License
* you can't distribute, modify or sell this code
*
* DISCLAIMER
*
* Do not edit or add to this file
* If you need help please contact leo@prestachamps.com
*
* @author Mailchimp
* @copyright PrestaChamps
* @license commercial
*}
<div class="panel table-responsive">
<div class="panel-heading">
{l s='Account info' mod='mailchimppro'}
</div>
<div class="panel-body">
<table class="table">
<tbody>
<tr>
<td>{l s='Account name' mod='mailchimppro'}</td>
<td>{$info.account_name|escape:'htmlall':'UTF-8'}</td>
</tr>
<tr>
<td>{l s='E-mail' mod='mailchimppro'}</td>
<td>{$info.email|escape:'htmlall':'UTF-8'}</td>
</tr>
<tr>
<td>{l s='Name' mod='mailchimppro'}</td>
<td>{$info.first_name|escape:'htmlall':'UTF-8'} {$info.last_name|escape:'htmlall':'UTF-8'}</td>
</tr>
<tr>
<td>{l s='Pricing plan' mod='mailchimppro'}</td>
<td>{$info.pricing_plan_type|escape:'htmlall':'UTF-8'}</td>
</tr>
<tr>
<td>{l s='Timezone' mod='mailchimppro'}</td>
<td>{$info.account_timezone|escape:'htmlall':'UTF-8'}</td>
</tr>
<tr>
<td>{l s='Industry' mod='mailchimppro'}</td>
<td>{$info.account_industry|escape:'htmlall':'UTF-8'}</td>
</tr>
<tr>
<td>{l s='Pro enabled' mod='mailchimppro'}</td>
<td>{$info.pro_enabled|escape:'htmlall':'UTF-8'}</td>
</tr>
<tr>
<td>{l s='Total subscribers' mod='mailchimppro'}</td>
<td>{$info.total_subscribers|escape:'htmlall':'UTF-8'}</td>
</tr>
</tbody>
</table>
</div>
</div>

View File

@@ -0,0 +1,39 @@
{*
* PrestaChamps
*
* NOTICE OF LICENSE
*
* This source file is subject to the Commercial License
* you can't distribute, modify or sell this code
*
* DISCLAIMER
*
* Do not edit or add to this file
* If you need help please contact leo@prestachamps.com
*
* @author Mailchimp
* @copyright PrestaChamps
* @license commercial
*}
<div class="panel table-responsive">
<div class="panel-heading">
{l s='Delete e-commerce data' mod='mailchimppro'}
</div>
<div class="panel-body">
<div class="alert alert-danger">
<p>
{l s='Delete all e-commerce data from your Mailchimp account' mod='mailchimppro'}
</p>
<p>
{l s='Once you delete a these datas, there is no going back. Please be certain.' mod='mailchimppro'}
</p>
</div>
<div class="row text-center">
<a class="btn btn-danger"
onclick="return confirm('Are you sure?')"
href="{LinkHelper::getAdminLink('AdminMailchimpProConfig', true, [], ['action' => 'deleteEcommerceData'])|escape:'htmlall':'UTF-8'}">
{l s='Delete e-commerce' mod='mailchimppro'}
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,34 @@
<?php
/**
* 2007-2018 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-2018 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,98 @@
{*
* PrestaChamps
*
* NOTICE OF LICENSE
*
* This source file is subject to the Commercial License
* you can't distribute, modify or sell this code
*
* DISCLAIMER
*
* Do not edit or add to this file
* If you need help please contact leo@prestachamps.com
*
* @author Mailchimp
* @copyright PrestaChamps
* @license commercial
*}
<div class="row">
<div class="col-sm-6 hidden-xs">
<img class="img-responsive" src="../modules/mailchimppro/views/img/logo-horizontal.png" height="326" width="1200" style="max-height: 32px; width: auto">
</div>
<div class="col-sm-6">
<div class="btn-group pull-right" role="group" style="height:100%; vertical-align:center;line-height : 100%;">
<a class="btn btn-default" href="{LinkHelper::getAdminLink('AdminMailchimpProWizard')|escape:'htmlall':'UTF-8'}">
<i class="icon icon-floppy-o" aria-hidden="true"></i>
{l s='Setup wizard' mod='mailchimppro'}
</a>
<a class="btn btn-default hidden" href="{LinkHelper::getAdminLink('AdminMailchimpProSync')|escape:'htmlall':'UTF-8'}">
<i class="icon icon-retweet" aria-hidden="true"></i>
{l s='Sync' mod='mailchimppro'}
</a>
<div class="btn-group" role="group">
<button type="button" class="btn btn-primary btn-mc dropdown-toggle" data-toggle="dropdown" aria-haspopup="true"
aria-expanded="false">
<i class="icon icon-folder-open-o" aria-hidden="true"></i>
{l s='Mailchimp Objects' mod='mailchimppro'}
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li>
<a href="{LinkHelper::getAdminLink('AdminMailchimpProBatches')|escape:'htmlall':'UTF-8'}">
{l s='Batches' mod='mailchimppro'}
</a>
</li>
<li>
<a href="{LinkHelper::getAdminLink('AdminMailchimpProCarts')|escape:'htmlall':'UTF-8'}">
{l s='Carts' mod='mailchimppro'}
</a>
</li>
<li>
<a href="{LinkHelper::getAdminLink('AdminMailchimpProCustomers')|escape:'htmlall':'UTF-8'}">
{l s='Customers' mod='mailchimppro'}
</a>
</li>
<li>
<a href="{LinkHelper::getAdminLink('AdminMailchimpProLists')|escape:'htmlall':'UTF-8'}">
{l s='Lists' mod='mailchimppro'}
</a>
</li>
<li>
<a href="{LinkHelper::getAdminLink('AdminMailchimpProOrders')|escape:'htmlall':'UTF-8'}">
{l s='Orders' mod='mailchimppro'}
</a>
</li>
<li>
<a href="{LinkHelper::getAdminLink('AdminMailchimpProProducts')|escape:'htmlall':'UTF-8'}">
{l s='Products' mod='mailchimppro'}
</a>
</li>
<li>
<a href="{LinkHelper::getAdminLink('AdminMailchimpProStores')|escape:'htmlall':'UTF-8'}">
{l s='Stores' mod='mailchimppro'}
</a>
</li>
<li>
<a href="{LinkHelper::getAdminLink('AdminMailchimpProSites')|escape:'htmlall':'UTF-8'}">
{l s='Sites' mod='mailchimppro'}
</a>
</li>
<li>
<a href="{LinkHelper::getAdminLink('AdminMailchimpProAutomations')|escape:'htmlall':'UTF-8'}">
{l s='Automations' mod='mailchimppro'}
</a>
</li>
<li>
<a href="{LinkHelper::getAdminLink('AdminMailchimpProPromoRules')|escape:'htmlall':'UTF-8'}">
{l s='Promo rules' mod='mailchimppro'}
</a>
</li>
</ul>
</div>
</div>
<div class="clearfix"></div>
</div>
</div>
<hr>