Remove trackingfront

This commit is contained in:
Abhishek Kumar
2022-04-27 19:08:23 +05:30
parent 03a08847be
commit c5aa251371
19 changed files with 0 additions and 815 deletions

View File

@@ -62,7 +62,6 @@
<module action="enable" name="blockcart"/>
<module action="enable" name="blockuserinfo"/>
<module action="disable" name="pscleaner"/>
<module action="disable" name="trackingfront"/>
<module action="disable" name="vatnumber"/>
<hooks>
<hook module="hotelreservationsystem" hook="actionValidateOrder" position="1"/>

View File

@@ -230,17 +230,6 @@ class AdminReferrersControllerCore extends AdminController
'submit' => array('title' => $this->l('Save')),
));
if (Module::isInstalled('trackingfront')) {
$this->fields_form[0]['form']['desc'] = array(
$this->l('Affiliates can access their data with this name and password.'),
$this->l('Front access:').' <a class="btn btn-link" href="'.$uri.'modules/trackingfront/stats.php" onclick="return !window.open(this.href);"><i class="icon-external-link-sign"></i> '.$uri.'modules/trackingfront/stats.php</a>'
);
} else {
$this->fields_form[0]['form']['desc'] = array(
sprintf($this->l('Please install the "%s" module in order to give your affiliates access their own statistics.'), Module::getModuleName('trackingfront'))
);
}
$this->fields_form[1] = array('form' => array(
'legend' => array(
'title' => $this->l('Commission plan'),

View File

@@ -2135,7 +2135,6 @@ class AdminThemesControllerCore extends AdminController
'statssales',
'statsvisits',
'themeconfigurator',
'trackingfront',
'vatnumber',
'watermark'
);

View File

@@ -1,14 +0,0 @@
------------------------------
# V1.8.3 to V1.8.4
------------------------------
## Improved/Changed Features:
* [CO] : Updated with latest PS version - 1.6.1.23.
2014-03-27 17:33:35 +0100 / MO : min ps_versions_compliancy modified
2014-03-25 11:55:41 +0100 Merge branch 'master' of https://github.com/PrestaShop/trackingfront
2014-03-24 16:08:37 +0100 // Typos.
2014-03-24 15:23:11 +0100 / MO trackingfront : ps_versions_compliancy added
2014-03-20 14:40:21 +0100 Initial commit

View File

@@ -1,36 +0,0 @@
<?php
/*
* 2007-2016 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-2016 PrestaShop SA
* @version Release: $Revision$
* @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

@@ -1,36 +0,0 @@
<?php
/*
* 2007-2016 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-2016 PrestaShop SA
* @version Release: $Revision$
* @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

@@ -1,86 +0,0 @@
/*
* 2007-2016 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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-2016 PrestaShop SA
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
$(function () {
updateValues();
$("#datepickerFrom").datepicker({
prevText: "",
nextText: "",
dateFormat: "yy-mm-dd"});
$("#datepickerTo").datepicker({
prevText: "",
nextText: "",
dateFormat: "yy-mm-dd"});
});
function updateValues() {
$.getJSON("stats.php", {ajaxProductFilter: 1, id_referrer: referrer_id, token: token, id_product: 0},
function (j) {
$.each(display_tab, function (index, value) {
if (value == 'reg_rate' || value == 'order_rate')
$("#" + value).html(parseFloat(j[0][value] * 100).toFixed(2) + ' %');
else
$("#" + value).html(j[0][value]);
});
}
)
}
function showProductLines() {
var irow = 0;
for (var i = 0; i < product_ids.length; ++i)
$.getJSON("stats.php", {ajaxProductFilter: 1, token: token, id_referrer: referrer_id, id_product: product_ids[i]},
function (result) {
if (result) {
var newLine = newProductLine(referrer_id, result[0], (irow++ % 2 ? 204 : 238));
$(newLine).hide().insertBefore($('#trid_dummy')).fadeIn();
}
}
);
}
function newProductLine(id_referrer, result, color) {
return '' +
'<tr id="trprid_' + id_referrer + '_' + result.id_product + '" style="background-color: rgb(' + color + ', ' + color + ', ' + color + ');">' +
' <td align="center">' + result.id_product + '</td>' +
' <td>' + result.product_name + '</td>' +
' <td align="center">' + result.uniqs + '</td>' +
' <td align="center">' + result.visits + '</td>' +
' <td align="center">' + result.pages + '</td>' +
' <td align="center">' + result.registrations + '</td>' +
' <td align="center">' + result.orders + '</td>' +
' <td align="right">' + result.sales + '</td>' +
' <td align="right">' + result.cart + '</td>' +
' <td align="center">' + result.reg_rate + '</td>' +
' <td align="center">' + result.order_rate + '</td>' +
' <td align="center">' + result.click_fee + '</td>' +
' <td align="center">' + result.base_fee + '</td>' +
' <td align="center">' + result.percent_fee + '</td>' +
'</tr>';
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

View File

@@ -1,35 +0,0 @@
<?php
/*
* 2007-2016 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-2016 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
include(dirname(__FILE__).'/../../config/config.inc.php');
include(dirname(__FILE__).'/../../init.php');
include(dirname(__FILE__).'/trackingfront.php');
$tf = new TrackingFront();
if (!$tf->active)
Tools::redirect('index.php?controller=404');
$tf->postProcess();
echo $tf->isLogged() ? $tf->displayAccount() : $tf->displayLogin();

View File

@@ -1,237 +0,0 @@
<?php
/*
* 2007-2016 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-2016 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
if (!defined('_PS_VERSION_'))
exit;
class TrackingFront extends Module
{
public function __construct()
{
$this->name = 'trackingfront';
$this->tab = 'shipping_logistics';
$this->version = '1.8.4';
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->displayName = $this->l('Tracking - Front office');
$this->ps_versions_compliancy = array('min' => '1.6', 'max' => '1.6.99.99');
$this->description = $this->l('Enables your affiliates to access their own statistics. See Stats/Referrers.');
}
public function postProcess()
{
if (Tools::isSubmit('ajaxProductFilter'))
{
$fake_employee = new Employee();
$fake_employee->id = 424242;
$fake_employee->stats_date_from = $this->context->cookie->stats_date_from;
$fake_employee->stats_date_to = $this->context->cookie->stats_date_to;
if (empty($fake_employee->stats_date_from) || empty($fake_employee->stats_date_to) || $fake_employee->stats_date_from == '0000-00-00' || $fake_employee->stats_date_to == '0000-00-00')
{
if (empty($fake_employee->stats_date_from) || $fake_employee->stats_date_from == '0000-00-00')
$fake_employee->stats_date_from = date('Y').'-01-01';
if (empty($fake_employee->stats_date_to) || $fake_employee->stats_date_to == '0000-00-00')
$fake_employee->stats_date_to = date('Y').'-12-31';
}
$result = Db::getInstance()->getRow('
SELECT `id_referrer`
FROM `'._DB_PREFIX_.'referrer`
WHERE `id_referrer` = '.(int)Tools::getValue('id_referrer').' AND `passwd` = \''.pSQL(Tools::getValue('token')).'\'');
if (isset($result['id_referrer']) && (int)$result['id_referrer'] > 0)
Referrer::getAjaxProduct((int)$result['id_referrer'], (int)Tools::getValue('id_product'), $fake_employee);
}
elseif (Tools::isSubmit('logout_tracking'))
{
unset($this->context->cookie->tracking_id);
unset($this->context->cookie->tracking_passwd);
Tools::redirect(Tools::getShopDomain(true, false).__PS_BASE_URI__.'modules/trackingfront/stats.php');
}
elseif (Tools::isSubmit('submitLoginTracking'))
{
$errors = array();
$login = trim(Tools::getValue('login'));
$passwd = trim(Tools::getValue('passwd'));
if (empty($login))
$errors[] = $this->l('login is required');
elseif (!Validate::isGenericName($login))
$errors[] = $this->l('invalid login');
elseif (empty($passwd))
$errors[] = $this->l('password is required');
elseif (!Validate::isPasswd($passwd, 1))
$errors[] = $this->l('invalid password');
else
{
$passwd = Tools::encrypt($passwd);
$result = Db::getInstance()->getRow('
SELECT `id_referrer`
FROM `'._DB_PREFIX_.'referrer`
WHERE `name` = \''.pSQL($login).'\' AND `passwd` = \''.pSQL($passwd).'\'');
if (!isset($result['id_referrer']) || !($tracking_id = (int)$result['id_referrer']))
$errors[] = $this->l('authentication failed');
else
{
$this->context->cookie->tracking_id = $tracking_id;
$this->context->cookie->tracking_passwd = $passwd;
Tools::redirect(Tools::getShopDomain(true, false).__PS_BASE_URI__.'modules/trackingfront/stats.php');
}
}
$this->smarty->assign('errors', $errors);
}
$from = date('Y-m-d');
$to = date('Y-m-d');
if (Tools::isSubmit('submitDatePicker'))
{
$from = Tools::getValue('datepickerFrom');
$to = Tools::getValue('datepickerTo');
}
if (Tools::isSubmit('submitDateDay'))
{
$from = date('Y-m-d');
$to = date('Y-m-d');
}
if (Tools::isSubmit('submitDateDayPrev'))
{
$yesterday = time() - 60 * 60 * 24;
$from = date('Y-m-d', $yesterday);
$to = date('Y-m-d', $yesterday);
}
if (Tools::isSubmit('submitDateMonth'))
{
$from = date('Y-m-01');
$to = date('Y-m-t');
}
if (Tools::isSubmit('submitDateMonthPrev'))
{
$m = (date('m') == 1 ? 12 : date('m') - 1);
$y = ($m == 12 ? date('Y') - 1 : date('Y'));
$from = $y.'-'.$m.'-01';
$to = $y.'-'.$m.date('-t', mktime(12, 0, 0, $m, 15, $y));
}
if (Tools::isSubmit('submitDateYear'))
{
$from = date('Y-01-01');
$to = date('Y-12-31');
}
if (Tools::isSubmit('submitDateYearPrev'))
{
$from = (date('Y') - 1).date('-01-01');
$to = (date('Y') - 1).date('-12-31');
}
$this->context->cookie->stats_date_from = $from;
$this->context->cookie->stats_date_to = $to;
}
public function isLogged()
{
if (!$this->context->cookie->tracking_id || !$this->context->cookie->tracking_passwd)
return false;
$result = Db::getInstance()->getRow('
SELECT `id_referrer`
FROM `'._DB_PREFIX_.'referrer`
WHERE `id_referrer` = '.(int)$this->context->cookie->tracking_id.' AND `passwd` = \''.pSQL($this->context->cookie->tracking_passwd).'\'');
return isset($result['id_referrer']) ? $result['id_referrer'] : false;
}
public function displayLogin()
{
return $this->display(__FILE__, 'login.tpl');
}
public function displayAccount()
{
if (!isset($this->context->cookie->stats_date_from))
$this->context->cookie->stats_date_from = date('Y-m-01');
if (!isset($this->context->cookie->stats_date_to))
$this->context->cookie->stats_date_to = date('Y-m-t');
Referrer::refreshCache(array(array('id_referrer' => (int)$this->context->cookie->tracking_id)));
$referrer = new Referrer((int)$this->context->cookie->tracking_id);
$this->smarty->assign('referrer', $referrer);
$this->smarty->assign('datepickerFrom', $this->context->cookie->stats_date_from);
$this->smarty->assign('datepickerTo', $this->context->cookie->stats_date_to);
$display_tab = array(
'uniqs' => $this->l('Unique visitors'),
'visitors' => $this->l('Visitors'),
'visits' => $this->l('Visits'),
'pages' => $this->l('Pages viewed'),
'registrations' => $this->l('Registrations'),
'orders' => $this->l('Orders'),
'base_fee' => $this->l('Base fee'),
'percent_fee' => $this->l('Percent fee'),
'click_fee' => $this->l('Click fee'),
'sales' => $this->l('Sales'),
'cart' => $this->l('Average cart'),
'reg_rate' => $this->l('Registration rate'),
'order_rate' => $this->l('Order rate')
);
$this->smarty->assign('displayTab', $display_tab);
$products = Product::getSimpleProducts($this->context->language->id);
$products_array = array();
foreach ($products as $product)
$products_array[] = $product['id_product'];
$js_files = array();
$jquery_files = Media::getJqueryPath();
if (is_array($jquery_files))
$js_files = array_merge($js_files, $jquery_files);
else
$js_files[] = $jquery_files;
$jquery_ui_files = Media::getJqueryUIPath('ui.datepicker', 'base', true);
$js_files = array_merge($js_files, $jquery_ui_files['js']);
$css_files = $jquery_ui_files['css'];
$js_files[] = $this->_path.'js/trackingfront.js';
$js_tpl_var = array(
'product_ids' => implode(', ', $products_array),
'referrer_id' => $referrer->id,
'token' => $this->context->cookie->tracking_passwd,
'display_tab' => implode('", "', array_keys($display_tab))
);
$this->smarty->assign(array(
'js' => $js_files,
'css' => $css_files,
'js_tpl_var' => $js_tpl_var
));
return $this->display(__FILE__, 'views/templates/front/account.tpl');
}
}

View File

@@ -1,35 +0,0 @@
<?php
/*
* 2007-2016 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-2016 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

@@ -1,36 +0,0 @@
<?php
/*
* 2007-2016 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-2016 PrestaShop SA
* @version Release: $Revision$
* @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

@@ -1,88 +0,0 @@
{*
* 2007-2016 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-2016 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{include 'views/templates/front/header.tpl'}
<div style="width: 800px; height: 75px; background-color: #8AB50E; margin: 0 auto; color: white; font-family: arial; border-bottom: 5px solid #567500;">
<div style="float: left; font-size: 36px; margin-left: 20px; font-weight: bold; height: 75px; line-height: 75px; vertical-align: middle;">{l s='Affiliation space' mod='trackingfront'}</div>
<div style="float: right; font-size: 18px; margin-right: 20px; font-weight: bold; height: 75px; line-height: 75px; vertical-align: middle;">
<a href="{$smarty.server.PHP_SELF|escape:'html':'UTF-8'}?logout_tracking">{l s='Sign out' mod='trackingfront'}</a>
</div>
</div>
<div style="width: 800px; height: 250px; background-color: #EEEEEE; margin: 0 auto; font-family: arial;">
<div style="float:left; margin: 25px 0 0 50px;">
<form action="{$smarty.server.REQUEST_URI|escape:'html':'UTF-8'}" method="post">
<input type="submit" name="submitDateToday" class="button" value="{l s='Today' mod='trackingfront'}">
<input type="submit" name="submitDateMonth" class="button" value="{l s='Month' mod='trackingfront'}">
<input type="submit" name="submitDateYear" class="button" value="{l s='Year' mod='trackingfront'}">
<p>{l s='From:' mod='trackingfront'} <input type="text" name="datepickerFrom" id="datepickerFrom"
value="{$datepickerFrom}"></p>
<p>{l s='To:' mod='trackingfront'} <input type="text" name="datepickerTo" id="datepickerTo"
value="{$datepickerTo}"></p>
<input type="submit" name="submitDatePicker" class="button"/>
</form>
<div>
<a href="javascript:void(0)" onclick="showProductLines();" style="display:block;margin-top:20px;color:black">{l s='Show products details' mod='trackingfront'}</a>
</div>
</div>
<div style="float:right; margin: 25px 50px 0 0;">
<fieldset style="width: 415px; padding: 20px; font-size: 12px; border: 1px solid #88B60E;">
<legend style="color: #88B60E; font-size:20px; font-weight: bold;">{$referrer->name}</legend>
{foreach from=$displayTab key=data item=label}
<div style="float:left; width: 150px; height: 20px; margin-right: 40px;"><span
style="float:left">{$label}</span><span id="{$data}"
style="float: right; font-weight: bold;"></span>
</div>
{/foreach}
</fieldset>
</div>
</div>
<table style="width: 800px; margin: 0 auto; font-family: arial; font-size: 10px; border-bottom: 5px solid #8AB50E;"
cellspacing="0" cellpadding="2">
<tr style="background-color: #8AB50E; font-weight: bold; color: white; font-size: 12px;">
<th>{l s='ID' mod='trackingfront'}</th>
<th>{l s='Name' mod='trackingfront'}</th>
<th>{l s='Visitors' mod='trackingfront'}</th>
<th>{l s='Visits' mod='trackingfront'}</th>
<th>{l s='Pages' mod='trackingfront'}</th>
<th>{l s='Reg.' mod='trackingfront'}</th>
<th>{l s='Ord.' mod='trackingfront'}</th>
<th>{l s='Sales' mod='trackingfront'}</th>
<th>{l s='Cart' mod='trackingfront'}</th>
<th>{l s='Reg. rate' mod='trackingfront'}</th>
<th>{l s='Ord. rate' mod='trackingfront'}</th>
<th>{l s='Click' mod='trackingfront'}</th>
<th>{l s='¤' mod='trackingfront'}</th>
<th>{l s='%' mod='trackingfront'}</th>
</tr>
<tr id="trid_dummy">
<td colspan="14" style="background: #567500;"/>
</tr>
</table>
{include 'views/templates/front/footer.tpl'}

View File

@@ -1,26 +0,0 @@
{*
* 2007-2016 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-2016 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
</body>
</html>

View File

@@ -1,46 +0,0 @@
{*
* 2007-2016 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-2016 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>PrestaShop&trade; - {l s='Affiliation' mod='trackingfront'}</title>
<script type="text/javascript">
var product_ids = [{$js_tpl_var.product_ids}];
var referrer_id = {$js_tpl_var.referrer_id};
var token = "{$js_tpl_var.token}";
var display_tab = ["{$js_tpl_var.display_tab}"];
</script>
{foreach $js as $js_item}
<script type="text/javascript" src="{$js_item}"></script>
{/foreach}
{foreach $css as $key => $css_item}
<link type="text/css" rel="stylesheet" href="{$key}" media="{$css_item}" />
{/foreach}
</head>
<body>

View File

@@ -1,36 +0,0 @@
<?php
/*
* 2007-2016 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-2016 PrestaShop SA
* @version Release: $Revision$
* @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

@@ -1,55 +0,0 @@
{*
* 2007-2016 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-2016 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>PrestaShop&trade; - {l s='Affiliation' mod='trackingfront'}</title>
</head>
<body>
{include file="$tpl_dir./errors.tpl"}
<div style="width: 400px; height: 300px; background-color: #8AB50E; margin: 0 auto; color: white; font-family: arial; ">
<div style="width: 400px; height: 65px; background-color: #567500; margin: 0 auto; color: white; font-family: arial; text-align: center">
<div style="font-size: 36px; margin: 5px auto; font-weight: bold; height: 65x; line-height: 65px; vertical-align: middle;">{l s='Affiliation space' mod='trackingfront'}</div>
</div>
<form action="{$request_uri|escape:'html':'UTF-8'}" method="post" style="margin: 20px 50px; text-align: left; font-weight: bold;">
<label>{l s='Sign in' mod='trackingfront'}</label><br />
<input type="text" id="email" name="login" value="{if isset($smarty.post.login)}{$smarty.post.login|escape:'html'|stripslashes}{/if}" class="input" />
<div style="margin: 2.0em 0 0 0;">
<label>{l s='Password' mod='trackingfront'}</label><br />
<input type="password" name="passwd" class="input" />
</div>
<div style="margin: 2.0em 0 0 0; text-align :right">
<div id="submit"><input type="submit" name="submitLoginTracking" value="{l s='Sign in' mod='trackingfront'}" class="button" style="border: none; background-color: #567500; color: white; font-weight: bold; width: 90px; height: 30px;" /></div>
</div>
</form>
</div>
<script type="text/javascript">
if (document.getElementById('email'))
document.getElementById('email').focus();
</script>
</body>
</html>

View File

@@ -1,36 +0,0 @@
<?php
/*
* 2007-2016 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-2016 PrestaShop SA
* @version Release: $Revision$
* @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;