git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7523 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -1,40 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
require(dirname(__FILE__).'/config/config.inc.php');
|
||||
Tools::displayFileAsDeprecated();
|
||||
|
||||
// init front controller in order to use Tools::redirect
|
||||
$controller = new FrontController();
|
||||
$controller->init();
|
||||
|
||||
$params = $_SERVER['QUERY_STRING'];
|
||||
if (!empty($params))
|
||||
$params = '?'.$params;
|
||||
|
||||
Tools::redirect('index.php/my-account'.$params);
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
require(dirname(__FILE__).'/config/config.inc.php');
|
||||
Tools::displayFileAsDeprecated();
|
||||
|
||||
// init front controller in order to use Tools::redirect
|
||||
$controller = new FrontController();
|
||||
$controller->init();
|
||||
|
||||
$params = $_SERVER['QUERY_STRING'];
|
||||
if (!empty($params))
|
||||
$params = '?'.$params;
|
||||
|
||||
Tools::redirect('index.php/new-products'.$params);
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
require(dirname(__FILE__).'/config/config.inc.php');
|
||||
Tools::displayFileAsDeprecated();
|
||||
|
||||
// init front controller in order to use Tools::redirect
|
||||
$controller = new FrontController();
|
||||
$controller->init();
|
||||
|
||||
$params = $_SERVER['QUERY_STRING'];
|
||||
if (!empty($params))
|
||||
$params = '?'.$params;
|
||||
|
||||
Tools::redirect('index.php/order-confirmation'.$params);
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
require(dirname(__FILE__).'/config/config.inc.php');
|
||||
Tools::displayFileAsDeprecated();
|
||||
|
||||
// init front controller in order to use Tools::redirect
|
||||
$controller = new FrontController();
|
||||
$controller->init();
|
||||
|
||||
$params = $_SERVER['QUERY_STRING'];
|
||||
if (!empty($params))
|
||||
$params = '?'.$params;
|
||||
|
||||
Tools::redirect('index.php/order-detail'.$params);
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
require(dirname(__FILE__).'/config/config.inc.php');
|
||||
Tools::displayFileAsDeprecated();
|
||||
|
||||
// init front controller in order to use Tools::redirect
|
||||
$controller = new FrontController();
|
||||
$controller->init();
|
||||
|
||||
$params = $_SERVER['QUERY_STRING'];
|
||||
if (!empty($params))
|
||||
$params = '?'.$params;
|
||||
|
||||
Tools::redirect('index.php/order-follow'.$params);
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
require(dirname(__FILE__).'/config/config.inc.php');
|
||||
Tools::displayFileAsDeprecated();
|
||||
|
||||
// init front controller in order to use Tools::redirect
|
||||
$controller = new FrontController();
|
||||
$controller->init();
|
||||
|
||||
$params = $_SERVER['QUERY_STRING'];
|
||||
if (!empty($params))
|
||||
$params = '?'.$params;
|
||||
|
||||
Tools::redirect('index.php/order-opc'.$params);
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
require(dirname(__FILE__).'/config/config.inc.php');
|
||||
Tools::displayFileAsDeprecated();
|
||||
|
||||
// init front controller in order to use Tools::redirect
|
||||
$controller = new FrontController();
|
||||
$controller->init();
|
||||
|
||||
$params = $_SERVER['QUERY_STRING'];
|
||||
if (!empty($params))
|
||||
$params = '?'.$params;
|
||||
|
||||
Tools::redirect('index.php/order-return'.$params);
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
require(dirname(__FILE__).'/config/config.inc.php');
|
||||
Tools::displayFileAsDeprecated();
|
||||
|
||||
// init front controller in order to use Tools::redirect
|
||||
$controller = new FrontController();
|
||||
$controller->init();
|
||||
|
||||
$params = $_SERVER['QUERY_STRING'];
|
||||
if (!empty($params))
|
||||
$params = '?'.$params;
|
||||
|
||||
Tools::redirect('index.php/order-slip'.$params);
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
require(dirname(__FILE__).'/config/config.inc.php');
|
||||
Tools::displayFileAsDeprecated();
|
||||
|
||||
// init front controller in order to use Tools::redirect
|
||||
$controller = new FrontController();
|
||||
$controller->init();
|
||||
|
||||
$params = $_SERVER['QUERY_STRING'];
|
||||
if (!empty($params))
|
||||
$params = '?'.$params;
|
||||
|
||||
Tools::redirect('index.php/order'.$params);
|
||||
|
||||
@@ -1,342 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
|
||||
function developpementErrorHandler($errno, $errstr, $errfile, $errline)
|
||||
{
|
||||
if (!(error_reporting() & $errno))
|
||||
return;
|
||||
switch($errno)
|
||||
{
|
||||
case E_ERROR:
|
||||
echo '[PHP Error #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')';
|
||||
break;
|
||||
case E_WARNING:
|
||||
echo '[PHP Warning #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')';
|
||||
break;
|
||||
case E_PARSE:
|
||||
echo '[PHP Parse #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')';
|
||||
break;
|
||||
case E_NOTICE:
|
||||
echo '[PHP Notice #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')';
|
||||
break;
|
||||
case E_CORE_ERROR:
|
||||
echo '[PHP Core #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')';
|
||||
break;
|
||||
case E_CORE_WARNING:
|
||||
echo '[PHP Core warning #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')';
|
||||
break;
|
||||
case E_COMPILE_ERROR:
|
||||
echo '[PHP Compile #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')';
|
||||
break;
|
||||
case E_COMPILE_WARNING:
|
||||
echo '[PHP Compile warning #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')';
|
||||
break;
|
||||
case E_USER_ERROR:
|
||||
echo '[PHP Error #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')';
|
||||
break;
|
||||
case E_USER_WARNING:
|
||||
echo '[PHP User warning #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')';
|
||||
break;
|
||||
case E_USER_NOTICE:
|
||||
echo '[PHP User notice #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')';
|
||||
break;
|
||||
case E_STRICT:
|
||||
echo '[PHP Strict #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')';
|
||||
break;
|
||||
case E_RECOVERABLE_ERROR:
|
||||
echo '[PHP Recoverable error #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')';
|
||||
break;
|
||||
default:
|
||||
echo '[PHP Unknown error #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')';
|
||||
}
|
||||
die;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
class FrontController extends FrontControllerCore
|
||||
{
|
||||
public $_memory = array();
|
||||
public $_time = array();
|
||||
|
||||
private function displayMemoryColor($n)
|
||||
{
|
||||
$n /= 1048576;
|
||||
if ($n > 3)
|
||||
return '<span style="color:red">'.round($n, 2).' Mb</span>';
|
||||
if ($n > 1)
|
||||
return '<span style="color:orange">'.round($n, 2).' Mb</span>';
|
||||
return '<span style="color:green">'.round($n, 2).' Mb</span>';
|
||||
}
|
||||
|
||||
private function displaySQLQueries($n)
|
||||
{
|
||||
if ($n > 150)
|
||||
return '<span style="color:red">'.$n.' queries</span>';
|
||||
if ($n > 100)
|
||||
return '<span style="color:orange">'.$n.' queries</span>';
|
||||
return '<span style="color:green">'.$n.' quer'.($n == 1 ? 'y' : 'ies').'</span>';
|
||||
}
|
||||
|
||||
private function displayLoadTimeColor($n, $kikoo = false)
|
||||
{
|
||||
if ($n > 1)
|
||||
return '<span style="color:red">'.round($n, 3).'s</span>'.($kikoo ? '<br />You\'d better run your shop on a toaster' : '');
|
||||
if ($n > 0.5)
|
||||
return '<span style="color:orange">'.round($n * 1000).'ms</span>'.($kikoo ? '<br />I hope it is a shared hosting' : '');
|
||||
return '<span style="color:green">'.round($n * 1000).'ms</span>'.($kikoo ? '<br />Good boy! That\'s what I call a webserver!' : '');
|
||||
}
|
||||
|
||||
private function getTimeColor($n)
|
||||
{
|
||||
if ($n > 4)
|
||||
return 'style="color:red"';
|
||||
if ($n > 2)
|
||||
return 'style="color:orange"';
|
||||
return 'style="color:green"';
|
||||
}
|
||||
|
||||
private function getQueryColor($n)
|
||||
{
|
||||
if ($n > 5)
|
||||
return 'style="color:red"';
|
||||
if ($n > 2)
|
||||
return 'style="color:orange"';
|
||||
return 'style="color:green"';
|
||||
}
|
||||
|
||||
private function getTableColor($n)
|
||||
{
|
||||
if ($n > 30)
|
||||
return 'style="color:red"';
|
||||
if ($n > 20)
|
||||
return 'style="color:orange"';
|
||||
return 'style="color:green"';
|
||||
}
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
// error management
|
||||
set_error_handler('developpementErrorHandler');
|
||||
ini_set('html_errors', 'on');
|
||||
ini_set('display_errors', 'on');
|
||||
error_reporting(E_ALL | E_STRICT);
|
||||
|
||||
$this->_memory = array_fill(0, 10, 0);
|
||||
$this->_time = array_fill(0, 10, 0);
|
||||
|
||||
// Usually set in the parent constructor, but here I need it to evaluate init()
|
||||
$useSSL = $this->ssl;
|
||||
|
||||
$this->_memory[-3] = memory_get_usage();
|
||||
$this->_time[-3] = microtime(true);
|
||||
$this->init();
|
||||
$this->_memory[-2] = memory_get_usage();
|
||||
$this->_time[-2] = microtime(true);
|
||||
parent::__construct();
|
||||
$this->_memory[-1] = memory_get_usage();
|
||||
$this->_time[-1] = microtime(true);
|
||||
}
|
||||
|
||||
public function run()
|
||||
{
|
||||
$this->_memory[0] = memory_get_usage();
|
||||
$this->_time[0] = microtime(true);
|
||||
$this->preProcess();
|
||||
$this->_memory[1] = memory_get_usage();
|
||||
$this->_time[1] = microtime(true);
|
||||
$this->setMedia();
|
||||
$this->_memory[2] = memory_get_usage();
|
||||
$this->_time[2] = microtime(true);
|
||||
$this->displayHeader();
|
||||
$this->_memory[3] = memory_get_usage();
|
||||
$this->_time[3] = microtime(true);
|
||||
$this->process();
|
||||
$this->_memory[4] = memory_get_usage();
|
||||
$this->_time[4] = microtime(true);
|
||||
$this->displayContent();
|
||||
$this->_memory[5] = memory_get_usage();
|
||||
$this->_time[5] = microtime(true);
|
||||
$this->displayFooter();
|
||||
}
|
||||
|
||||
function ini_get_display_errors()
|
||||
{
|
||||
$a = 'display_errors';
|
||||
$b = ini_get($a);
|
||||
switch (strtolower($b))
|
||||
{
|
||||
case 'on':
|
||||
case 'yes':
|
||||
case 'true':
|
||||
return 'assert.active' !== $a;
|
||||
case 'stdout':
|
||||
case 'stderr':
|
||||
return 'display_errors' === $a;
|
||||
default:
|
||||
return (bool)(int)$b;
|
||||
}
|
||||
}
|
||||
|
||||
private function sizeofvar($var)
|
||||
{
|
||||
$start_memory = memory_get_usage();
|
||||
$tmp = unserialize(serialize($var));
|
||||
$size = memory_get_usage() - $start_memory;
|
||||
return $size;
|
||||
}
|
||||
|
||||
public function displayFooter()
|
||||
{
|
||||
global $start_time;
|
||||
parent::displayFooter();
|
||||
if (!$this->ini_get_display_errors())
|
||||
return;
|
||||
|
||||
$this->_memory[6] = memory_get_usage();
|
||||
$this->_time[6] = microtime(true);
|
||||
|
||||
$hr = '<hr style="color:#F5F5F5;margin:2px" />';
|
||||
|
||||
$totalSize = 0;
|
||||
foreach (get_included_files() as $file)
|
||||
$totalSize += filesize($file);
|
||||
|
||||
$totalQueryTime = 0;
|
||||
foreach (Db::getInstance()->queriesTime as $time)
|
||||
$totalQueryTime += $time;
|
||||
|
||||
$hooktime = Module::getHookTime();
|
||||
arsort($hooktime);
|
||||
$totalHookTime = 0;
|
||||
foreach ($hooktime as $time)
|
||||
$totalHookTime += $time;
|
||||
|
||||
$globalSize = array();
|
||||
$totalGlobalSize = 0;
|
||||
foreach ($GLOBALS as $key => $value)
|
||||
if ($key != 'GLOBALS')
|
||||
{
|
||||
$totalGlobalSize += ($size = $this->sizeofvar($value));
|
||||
if ($size > 1024)
|
||||
$globalSize[$key] = round($size / 1024, 1);
|
||||
}
|
||||
arsort($globalSize);
|
||||
|
||||
echo '<br /><br />
|
||||
<div class="rte" style="text-align:left;padding:8px;float:left">
|
||||
<b>Load time</b>: '.$this->displayLoadTimeColor($this->_time[6] - $start_time, true).'
|
||||
<ul>
|
||||
<li>Config: '.$this->displayLoadTimeColor($this->_time[-3] - $start_time).'</li>
|
||||
<li>Init: '.$this->displayLoadTimeColor(($this->_time[-2] - $this->_time[-3])).'</li>
|
||||
<li>Constructor: '.$this->displayLoadTimeColor(($this->_time[-1] - $this->_time[-2])).'</li>
|
||||
<li>preProcess: '.$this->displayLoadTimeColor(($this->_time[1] - $this->_time[0])).'</li>
|
||||
<li>setMedia: '.$this->displayLoadTimeColor(($this->_time[2] - $this->_time[1])).'</li>
|
||||
<li>displayHeader: '.$this->displayLoadTimeColor(($this->_time[3] - $this->_time[2])).'</li>
|
||||
<li>process: '.$this->displayLoadTimeColor(($this->_time[4] - $this->_time[3])).'</li>
|
||||
<li>displayContent: '.$this->displayLoadTimeColor(($this->_time[5] - $this->_time[4])).'</li>
|
||||
<li>displayFooter: '.$this->displayLoadTimeColor(($this->_time[6] - $this->_time[5])).'</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="rte" style="text-align:left;padding:8px;float:left;margin-left:20px">
|
||||
<b>Hook processing</b>: '.$this->displayLoadTimeColor($totalHookTime).'
|
||||
<ul>';
|
||||
foreach ($hooktime as $hook => $time)
|
||||
echo '<li>'.$hook.': '.$this->displayLoadTimeColor($time).'</li>';
|
||||
echo '</ul>
|
||||
</div>
|
||||
<div class="rte" style="text-align:left;padding:8px;float:left;margin-left:20px">
|
||||
<b>Memory peak usage</b>: '.$this->displayMemoryColor(memory_get_peak_usage()).'
|
||||
<ul>
|
||||
<li>Config: '.$this->displayMemoryColor($this->_memory[-3]).'</li>
|
||||
<li>Init: '.$this->displayMemoryColor(($this->_memory[-2] - $this->_memory[-3])).'</li>
|
||||
<li>Constructor: '.$this->displayMemoryColor(($this->_memory[-1] - $this->_memory[-2])).'</li>
|
||||
<li>preProcess: '.$this->displayMemoryColor(($this->_memory[1] - $this->_memory[0])).'</li>
|
||||
<li>setMedia: '.$this->displayMemoryColor(($this->_memory[2] - $this->_memory[1])).'</li>
|
||||
<li>displayHeader: '.$this->displayMemoryColor(($this->_memory[3] - $this->_memory[2])).'</li>
|
||||
<li>process: '.$this->displayMemoryColor(($this->_memory[4] - $this->_memory[3])).'</li>
|
||||
<li>displayContent: '.$this->displayMemoryColor(($this->_memory[5] - $this->_memory[4])).'</li>
|
||||
<li>displayFooter: '.$this->displayMemoryColor(($this->_memory[6] - $this->_memory[5])).'</li>
|
||||
</ul>
|
||||
</div>';
|
||||
|
||||
$countByTypes = '';
|
||||
foreach (Db::getInstance()->countTypes as $type => $count)
|
||||
if ($count)
|
||||
$countByTypes .= '<li>'.$count.' x '.$type.'</li>';
|
||||
$countByTypes = rtrim($countByTypes, ' |');
|
||||
|
||||
echo '
|
||||
<div class="rte" style="text-align:left;padding:8px;float:left;margin-left:20px">
|
||||
<b>SQL Queries</b>: '.$this->displaySQLQueries(Db::getInstance()->count).'
|
||||
<ul>'.$countByTypes.'</ul>
|
||||
<br /><b>Time spent querying</b>: '.$this->displayLoadTimeColor($totalQueryTime).'
|
||||
</div>
|
||||
<div class="rte" style="text-align:left;padding:8px;float:left;margin-left:20px">
|
||||
<b>Included files</b>: '.sizeof(get_included_files()).'<br />
|
||||
<b>Size of included files</b>: '.$this->displayMemoryColor($totalSize).'
|
||||
</div>
|
||||
<div class="rte" style="text-align:left;padding:8px;float:left;margin-left:20px">
|
||||
<b>Globals (> 1 Ko only): '.round($totalGlobalSize / 1024).' Ko</b>
|
||||
<ul>';
|
||||
foreach ($globalSize as $global => $size)
|
||||
echo '<li>'.$global.' ≈ '.$size.' Ko</li>';
|
||||
echo '</ul>
|
||||
</div>';
|
||||
|
||||
echo '
|
||||
<div class="rte" style="text-align:left;padding:8px;clear:both;margin-top:20px">
|
||||
<ul>
|
||||
<li><a href="#stopwatch">Go to Stopwatch</a></li>
|
||||
<li><a href="#doubles">Go to Doubles</a></li>
|
||||
<li><a href="#tables">Go to Tables</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="rte" style="text-align:left;padding:8px">
|
||||
<h3><a name="stopwatch">Stopwatch (with SQL_NO_CACHE)</a></h3>';
|
||||
$queries = Db::getInstance()->queriesTime;
|
||||
arsort($queries);
|
||||
foreach ($queries as $q => $time)
|
||||
echo $hr.'<b '.$this->getTimeColor($time * 1000).'>'.round($time * 1000, 3).' ms</b> '.$q;
|
||||
echo '</div>
|
||||
<div class="rte" style="text-align:left;padding:8px">
|
||||
<h3><a name="doubles">Doubles (IDs replaced by "XX")</a></h3>';
|
||||
$queries = Db::getInstance()->queries;
|
||||
arsort($queries);
|
||||
foreach ($queries as $q => $nb)
|
||||
echo $hr.'<b '.$this->getQueryColor($nb).'>'.$nb.'</b> '.$q;
|
||||
echo '</div>
|
||||
<div class="rte" style="text-align:left;padding:8px">
|
||||
<h3><a name="tables">Tables stress</a></h3>';
|
||||
$tables = Db::getInstance()->tables;
|
||||
arsort($tables);
|
||||
foreach ($tables as $table => $nb)
|
||||
echo $hr.'<b '.$this->getTableColor($nb).'>'.$nb.'</b> '.$table;
|
||||
echo '</div>';
|
||||
}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
class Module extends ModuleCore
|
||||
{
|
||||
private static $hookTime = array();
|
||||
|
||||
public static function getHookTime()
|
||||
{
|
||||
return self::$hookTime;
|
||||
}
|
||||
|
||||
public static function hookExec($hook_name, $hookArgs = array(), $id_module = NULL)
|
||||
{
|
||||
$t0 = microtime(true);
|
||||
$result = parent::hookExec($hook_name, $hookArgs, $id_module);
|
||||
self::$hookTime[$hook_name] = microtime(true) - $t0;
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
@@ -1,209 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
class MySQL extends MySQLCore
|
||||
{
|
||||
public $count = 0;
|
||||
public $queries = array();
|
||||
public $queriesTime = array();
|
||||
public $tables = array();
|
||||
public $countTypes = array('getRow' => 0, 'getValue' => 0, 'Execute' => 0, 'ExecuteS' => 0, 'delete' => 0, 'q' => 0);
|
||||
|
||||
private function disableCache($query)
|
||||
{
|
||||
return preg_replace('/^select /', 'SELECT SQL_NO_CACHE', trim($query));
|
||||
}
|
||||
|
||||
public function getRow($query, $use_cache = 1)
|
||||
{
|
||||
$this->count++;
|
||||
$this->countTypes['getRow']++;
|
||||
$query2 = preg_replace('/[0-9]+/', '<span style="color:blue">XX</span>', $query);
|
||||
if (!isset($this->queries[$query2]))
|
||||
$this->queries[$query2] = 0;
|
||||
$this->queries[$query2]++;
|
||||
preg_match_all('/(from|join)\s+`?'.preg_replace('/[0-9]+/', 'XX', _DB_PREFIX_).'([a-z0-9_-]+)/ui', $query2, $matches);
|
||||
foreach ($matches[2] as $table)
|
||||
{
|
||||
if (!isset($this->tables[$table]))
|
||||
$this->tables[$table] = 0;
|
||||
$this->tables[$table]++;
|
||||
}
|
||||
|
||||
$query = $this->disableCache($query);
|
||||
$t0 = microtime(true);
|
||||
|
||||
$return = parent::getRow($query, $use_cache);
|
||||
|
||||
if (!isset($this->queriesTime[$query]))
|
||||
$this->queriesTime[$query] = microtime(true)-$t0;
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
||||
public function getValue($query, $use_cache = 1)
|
||||
{
|
||||
$this->count++;
|
||||
$this->countTypes['getValue']++;
|
||||
$query2 = preg_replace('/[0-9]+/', '<span style="color:blue">XX</span>', $query);
|
||||
if (!isset($this->queries[$query2]))
|
||||
$this->queries[$query2] = 0;
|
||||
$this->queries[$query2]++;
|
||||
preg_match_all('/(from|join)\s+`?'.preg_replace('/[0-9]+/', 'XX', _DB_PREFIX_).'([a-z0-9_-]+)/ui', $query2, $matches);
|
||||
foreach ($matches[2] as $table)
|
||||
{
|
||||
if (!isset($this->tables[$table]))
|
||||
$this->tables[$table] = 0;
|
||||
$this->tables[$table]++;
|
||||
}
|
||||
|
||||
$query = $this->disableCache($query);
|
||||
$t0 = microtime(true);
|
||||
|
||||
$return = parent::getValue($query, $use_cache);
|
||||
|
||||
if (!isset($this->queriesTime[$query]))
|
||||
$this->queriesTime[$query] = microtime(true)-$t0;
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
||||
public function Execute($query, $use_cache = 1)
|
||||
{
|
||||
$this->count++;
|
||||
$this->countTypes['Execute']++;
|
||||
$query2 = preg_replace('/[0-9]+/', '<span style="color:blue">XX</span>', $query);
|
||||
if (!isset($this->queries[$query2]))
|
||||
$this->queries[$query2] = 0;
|
||||
$this->queries[$query2]++;
|
||||
preg_match_all('/(from|join)\s+`?'.preg_replace('/[0-9]+/', 'XX', _DB_PREFIX_).'([a-z0-9_-]+)/ui', $query2, $matches);
|
||||
foreach ($matches[2] as $table)
|
||||
{
|
||||
if (!isset($this->tables[$table]))
|
||||
$this->tables[$table] = 0;
|
||||
$this->tables[$table]++;
|
||||
}
|
||||
|
||||
$query = $this->disableCache($query);
|
||||
$t0 = microtime(true);
|
||||
|
||||
$return = parent::Execute($query, $use_cache);
|
||||
|
||||
if (!isset($this->queriesTime[$query]))
|
||||
$this->queriesTime[$query] = microtime(true)-$t0;
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
||||
public function ExecuteS($query, $array = true, $use_cache = 1)
|
||||
{
|
||||
$this->count++;
|
||||
$this->countTypes['ExecuteS']++;
|
||||
$query2 = preg_replace('/[0-9]+/', '<span style="color:blue">XX</span>', $query);
|
||||
if (!isset($this->queries[$query2]))
|
||||
$this->queries[$query2] = 0;
|
||||
$this->queries[$query2]++;
|
||||
preg_match_all('/(from|join)\s+`?'.preg_replace('/[0-9]+/', 'XX', _DB_PREFIX_).'([a-z0-9_-]+)/ui', $query2, $matches);
|
||||
foreach ($matches[2] as $table)
|
||||
{
|
||||
if (!isset($this->tables[$table]))
|
||||
$this->tables[$table] = 0;
|
||||
$this->tables[$table]++;
|
||||
}
|
||||
|
||||
$query = $this->disableCache($query);
|
||||
$t0 = microtime(true);
|
||||
|
||||
$return = parent::ExecuteS($query, $array, $use_cache);
|
||||
|
||||
if (!isset($this->queriesTime[$query]))
|
||||
$this->queriesTime[$query] = microtime(true)-$t0;
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
||||
public function delete($table, $where = false, $limit = false, $use_cache = 1)
|
||||
{
|
||||
$this->_result = false;
|
||||
if ($this->_link)
|
||||
{
|
||||
$query = 'DELETE FROM `'.pSQL($table).'`'.($where ? ' WHERE '.$where : '').($limit ? ' LIMIT '.(int)($limit) : '');
|
||||
|
||||
$this->count++;
|
||||
$this->countTypes['delete']++;
|
||||
$query2 = preg_replace('/[0-9]+/', '<span style="color:blue">XX</span>', $query);
|
||||
if (!isset($this->queries[$query2]))
|
||||
$this->queries[$query2] = 0;
|
||||
$this->queries[$query2]++;
|
||||
preg_match_all('/(from|join)\s+`?'.preg_replace('/[0-9]+/', 'XX', _DB_PREFIX_).'([a-z0-9_-]+)/ui', $query2, $matches);
|
||||
foreach ($matches[2] as $table)
|
||||
{
|
||||
if (!isset($this->tables[$table]))
|
||||
$this->tables[$table] = 0;
|
||||
$this->tables[$table]++;
|
||||
}
|
||||
|
||||
$query = $this->disableCache($query);
|
||||
$t0 = microtime(true);
|
||||
|
||||
$return = parent::delete($table, $where, $limit, $use_cache);
|
||||
|
||||
if (!isset($this->queriesTime[$query]))
|
||||
$this->queriesTime[$query] = microtime(true)-$t0;
|
||||
|
||||
return $return;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
protected function q($query, $use_cache = 1)
|
||||
{
|
||||
$this->count++;
|
||||
$this->countTypes['q']++;
|
||||
$query2 = preg_replace('/[0-9]+/', '<span style="color:blue">XX</span>', $query);
|
||||
if (!isset($this->queries[$query2]))
|
||||
$this->queries[$query2] = 0;
|
||||
$this->queries[$query2]++;
|
||||
preg_match_all('/(from|join)\s+`?'.preg_replace('/[0-9]+/', 'XX', _DB_PREFIX_).'([a-z0-9_-]+)/ui', $query2, $matches);
|
||||
foreach ($matches[2] as $table)
|
||||
{
|
||||
if (!isset($this->tables[$table]))
|
||||
$this->tables[$table] = 0;
|
||||
$this->tables[$table]++;
|
||||
}
|
||||
|
||||
$query = $this->disableCache($query);
|
||||
$t0 = microtime(true);
|
||||
|
||||
$return = parent::q($query, $use_cache);
|
||||
|
||||
if (!isset($this->queriesTime[$query]))
|
||||
$this->queriesTime[$query] = microtime(true)-$t0;
|
||||
|
||||
return $return;
|
||||
}
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
$controller = new FrontController();
|
||||
$controller->pagination();
|
||||
@@ -1,40 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
require(dirname(__FILE__).'/config/config.inc.php');
|
||||
Tools::displayFileAsDeprecated();
|
||||
|
||||
// init front controller in order to use Tools::redirect
|
||||
$controller = new FrontController();
|
||||
$controller->init();
|
||||
|
||||
$params = $_SERVER['QUERY_STRING'];
|
||||
if (!empty($params))
|
||||
$params = '?'.$params;
|
||||
|
||||
Tools::redirect('index.php/password'.$params);
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
include(dirname(__FILE__).'/config/config.inc.php');
|
||||
include(dirname(__FILE__).'/init.php');
|
||||
|
||||
$cookie = new Cookie('ps');
|
||||
if (!$cookie->isLogged() AND !Tools::getValue('secure_key'))
|
||||
Tools::redirect('index.php/authentication?back=pdf-invoice.php');
|
||||
if (!(int)(Configuration::get('PS_INVOICE')))
|
||||
die(Tools::displayError('Invoices are disabled in this shop.'));
|
||||
if (isset($_GET['id_order']) AND Validate::isUnsignedId($_GET['id_order']))
|
||||
$order = new Order((int)($_GET['id_order']));
|
||||
if (!isset($order) OR !Validate::isLoadedObject($order))
|
||||
die(Tools::displayError('Invoice not found'));
|
||||
elseif ((isset($cookie->id_customer) AND $order->id_customer != $cookie->id_customer) OR (Tools::isSubmit('secure_key') AND $order->secure_key != Tools::getValue('secure_key')))
|
||||
die(Tools::displayError('Invoice not found'));
|
||||
elseif (!OrderState::invoiceAvailable($order->getCurrentState()) AND !$order->invoice_number)
|
||||
die(Tools::displayError('No invoice available'));
|
||||
else
|
||||
PDF::invoice($order);
|
||||
@@ -1,45 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
include(dirname(__FILE__).'/config/config.inc.php');
|
||||
include(dirname(__FILE__).'/init.php');
|
||||
|
||||
$cookie = new Cookie('ps');
|
||||
if (!$cookie->isLogged())
|
||||
Tools::redirect('index.php/authentication?back=order-follow.php');
|
||||
|
||||
if (isset($_GET['id_order_return']) AND Validate::isUnsignedId($_GET['id_order_return']))
|
||||
$orderReturn = new OrderReturn((int)($_GET['id_order_return']));
|
||||
if (!isset($orderReturn) OR !Validate::isLoadedObject($orderReturn))
|
||||
die(Tools::displayError('Order return not found'));
|
||||
elseif ($orderReturn->id_customer != $cookie->id_customer)
|
||||
die(Tools::displayError('Order return not found'));
|
||||
elseif ($orderReturn->state < 2)
|
||||
die(Tools::displayError('Order return not confirmed'));
|
||||
else
|
||||
PDF::orderReturn($orderReturn);
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
include(dirname(__FILE__).'/config/config.inc.php');
|
||||
include(dirname(__FILE__).'/init.php');
|
||||
|
||||
$cookie = new Cookie('ps');
|
||||
if (!$cookie->isLogged())
|
||||
Tools::redirect('index.php/authentication?back=order-follow.php');
|
||||
|
||||
if (isset($_GET['id_order_slip']) AND Validate::isUnsignedId($_GET['id_order_slip']))
|
||||
$orderSlip = new OrderSlip((int)($_GET['id_order_slip']));
|
||||
if (!isset($orderSlip) OR !Validate::isLoadedObject($orderSlip))
|
||||
die(Tools::displayError('Order return not found'));
|
||||
elseif ($orderSlip->id_customer != $cookie->id_customer)
|
||||
die(Tools::displayError('Order return not found'));
|
||||
$order = new Order((int)($orderSlip->id_order));
|
||||
if (!Validate::isLoadedObject($order))
|
||||
die(Tools::displayError('Order not found'));
|
||||
$order->products = OrderSlip::getOrdersSlipProducts((int)($orderSlip->id), $order);
|
||||
$ref = NULL;
|
||||
PDF::invoice($order, 'D', false, $ref, $orderSlip);
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
require(dirname(__FILE__).'/config/config.inc.php');
|
||||
Tools::displayFileAsDeprecated();
|
||||
|
||||
// init front controller in order to use Tools::redirect
|
||||
$controller = new FrontController();
|
||||
$controller->init();
|
||||
|
||||
$params = $_SERVER['QUERY_STRING'];
|
||||
if (!empty($params))
|
||||
$params = '?'.$params;
|
||||
|
||||
Tools::redirect('index.php/prices-drop'.$params);
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
require(dirname(__FILE__).'/config/config.inc.php');
|
||||
Tools::displayFileAsDeprecated();
|
||||
|
||||
// init front controller in order to use Tools::redirect
|
||||
$controller = new FrontController();
|
||||
$controller->init();
|
||||
|
||||
$params = $_SERVER['QUERY_STRING'];
|
||||
if (!empty($params))
|
||||
$params = '?'.$params;
|
||||
|
||||
Tools::redirect('index.php/product-sort'.$params);
|
||||
|
||||
-40
@@ -1,40 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
require(dirname(__FILE__).'/config/config.inc.php');
|
||||
Tools::displayFileAsDeprecated();
|
||||
|
||||
// init front controller in order to use Tools::redirect
|
||||
$controller = new FrontController();
|
||||
$controller->init();
|
||||
|
||||
$params = $_SERVER['QUERY_STRING'];
|
||||
if (!empty($params))
|
||||
$params = '?'.$params;
|
||||
|
||||
Tools::redirect('index.php/product'.$params);
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
require(dirname(__FILE__).'/config/config.inc.php');
|
||||
Tools::displayFileAsDeprecated();
|
||||
|
||||
// init front controller in order to use Tools::redirect
|
||||
$controller = new FrontController();
|
||||
$controller->init();
|
||||
|
||||
$params = $_SERVER['QUERY_STRING'];
|
||||
if (!empty($params))
|
||||
$params = '?'.$params;
|
||||
|
||||
Tools::redirect('index.php/products-comparison'.$params);
|
||||
|
||||
@@ -1,82 +0,0 @@
|
||||
2007-2011 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-2011 PrestaShop SA
|
||||
@license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
International Registered Trademark & Property of PrestaShop SA
|
||||
|
||||
NAME: Prestashop 1.4.1.0
|
||||
VERSION: 1.4.1.0
|
||||
|
||||
VORBEREITUNG
|
||||
===========
|
||||
|
||||
Zur Installation von PrestaShop benötigen Sie einen Remote-Web-Server oder
|
||||
Ihren Computer (MAMP) mit Zugriff auf eine Datenbank wie MySQL.
|
||||
Sie benötigen Zugriff auf phpMyAdmin, um eine Datenbank zu erstellen und die
|
||||
Informationen in der Datenbank im Installer anzuzeigen.
|
||||
|
||||
Wenn Sie keinen Hosting-Provider haben und Ihren Shop selbst nicht erstellen
|
||||
können, bieten wir einen schlüsselfertigen Shop, mit dem Sie Ihren eigenen
|
||||
Online-Shop in weniger als 10 Minuten ohne jegliche technische Kenntnisse
|
||||
erstellen können.
|
||||
Besuchen Sie:
|
||||
http://www.prestabox.com/
|
||||
|
||||
INSTALLATION
|
||||
============
|
||||
|
||||
Gehen Sie einfach zu Ihrem PrestaShop Web-Verzeichnis und verwenden Sie den
|
||||
Installer :-)
|
||||
|
||||
Falls ein PHP-Fehler auftritt, haben Sie vielleicht kein PHP5 oder müssen es
|
||||
auf Ihrem Web-Host aktivieren.
|
||||
Die Vorinstallationseinstellungen (PHP 5, htaccess) für bestimmte
|
||||
Hosting-Dienste (1&1, Free, Lycos, OVH, Infomaniak, Amen, GoDaddy, etc.)
|
||||
finden Sie in unserem Forum.
|
||||
|
||||
Spezifische englische Webhosting-Einstellungen:
|
||||
http://www.prestashop.com/forums/viewthread/2946/installation_configuration___upgrade/preinstallation_settings_php_5_htaccess_for_certain_hosting_servi
|
||||
ces
|
||||
|
||||
Wenn Sie keine Lösung zum Starten des Installers finden, posten Sie bitte
|
||||
Ihr Problem in unserem Forum:
|
||||
http://www.prestashop.com/forums/viewforum/7/installation_configuration___upgrade
|
||||
|
||||
Es gibt immer Lösungen für Ihre Fragen ;-)
|
||||
|
||||
DOKUMENTATION
|
||||
=============
|
||||
|
||||
Für zusätzliche Benutzerhinweise (how-to), lesen Sie bitte unser Wiki:
|
||||
http://www.prestashop.com/wiki/
|
||||
|
||||
FOREN
|
||||
======
|
||||
|
||||
Sie können außerdem mit der PrestaShop Community in unseren Foren
|
||||
diskutieren, Hilfe finden und eigene Beiträge liefern unter:
|
||||
http://www.prestashop.com/forums/
|
||||
|
||||
Danke für Ihren Download und die Nutzung der PrestaShop E-Commerce-Open-Source-Lösung!
|
||||
|
||||
==========================
|
||||
= The PrestaTeam' =
|
||||
= www.PrestaShop.com =
|
||||
==========================
|
||||
@@ -1,70 +0,0 @@
|
||||
2007-2011 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-2011 PrestaShop SA
|
||||
@license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
International Registered Trademark & Property of PrestaShop SA
|
||||
|
||||
NAME: Prestashop 1.4.1.0
|
||||
VERSION: 1.4.1.0
|
||||
|
||||
PREPARATION
|
||||
===========
|
||||
|
||||
To install PrestaShop, you need a remote web server or on your computer (MAMP), with access to a database like MySQL.
|
||||
You'll need access to phpMyAdmin to create a database and to indicate the information in the database in the installer.
|
||||
|
||||
If you do not host and unable to create your store, we offer a turnkey store, which lets you create your online store in less than 10 minutes without any technical knowledge.
|
||||
We invite you to visit:
|
||||
http://www.prestabox.com/
|
||||
|
||||
INSTALLATION
|
||||
============
|
||||
|
||||
Simply go to your PrestaShop web directory and use installer :-)
|
||||
|
||||
If you have any PHP error, perhaps you don't have PHP5 or you need to activate it on your web host.
|
||||
Please go to our forum to find pre-installation settings (PHP 5, htaccess) for certain hosting services (1&1, Free, Lycos, OVH, Infomaniak, Amen, GoDaddy, etc).
|
||||
|
||||
English webhost specifics settings :
|
||||
http://www.prestashop.com/forums/viewthread/2946/installation_configuration___upgrade/preinstallation_settings_php_5_htaccess_for_certain_hosting_services
|
||||
|
||||
If you don't find any solution to launch installer, please post on our forum :
|
||||
http://www.prestashop.com/forums/viewforum/7/installation_configuration___upgrade
|
||||
|
||||
There are always solutions for your issues ;-)
|
||||
|
||||
DOCUMENTATION
|
||||
=============
|
||||
|
||||
For any extra documentation (how-to), please read our wiki :
|
||||
http://www.prestashop.com/wiki/
|
||||
|
||||
FORUMS
|
||||
======
|
||||
|
||||
You can also discute, help and contribute with PrestaShop community on our forums :
|
||||
http://www.prestashop.com/forums/
|
||||
|
||||
Thanks for downloading and using PrestaShop e-commerce open-source solution !
|
||||
|
||||
==========================
|
||||
= The PrestaTeam' =
|
||||
= www.PrestaShop.com =
|
||||
==========================
|
||||
@@ -1,70 +0,0 @@
|
||||
2007-2011 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-2011 PrestaShop SA
|
||||
@license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
International Registered Trademark & Property of PrestaShop SA
|
||||
|
||||
NAME: Prestashop 1.4.1.0
|
||||
VERSION: 1.4.1.0
|
||||
|
||||
PREPARACI�N
|
||||
===========
|
||||
|
||||
Para instalar PrestaShop, necesita un servidor web remoto o en su ordenador (MAMP), con acceso a una base de datos como MySQL.
|
||||
Tendr� acceso a phpMyAdmin para crear una base de datos y para indicar la informaci�n en la base de datos en el instalador.
|
||||
|
||||
Si no de acogida y no puede crear su tienda, le ofrecemos una tienda "llave en mano, que le permite crear su tienda en l�nea en menos de 10 minutos sin ning�n conocimiento t�cnico.
|
||||
Le invitamos a visitar:
|
||||
http://www.prestabox.com/
|
||||
|
||||
INSTALACI�N
|
||||
============
|
||||
|
||||
Simplemente vaya a su directorio web y el uso PrestaShop instalador :-)
|
||||
|
||||
Si usted tiene cualquier error de PHP, tal vez usted no tiene PHP5 o necesitas activarlo en su web host.
|
||||
Por favor, vaya a nuestro foro para encontrar la configuraci�n de la instalaci�n pre-(PHP 5, htaccess) para determinados servicios de hospedaje (1 & 1, gratis, Lycos, OVH, Infomaniak, Am�n, GoDaddy, etc.)
|
||||
|
||||
Ingl�s webhost ajustes espec�ficos:
|
||||
http://www.prestashop.com/forums/viewthread/2946/installation_configuration___upgrade/preinstallation_settings_php_5_htaccess_for_certain_hosting_services
|
||||
|
||||
Si usted no encuentra ninguna soluci�n para lanzar el instalador, por favor enviar en nuestro foro:
|
||||
http://www.prestashop.com/forums/viewforum/7/installation_configuration___upgrade
|
||||
|
||||
Siempre hay soluciones para sus problemas ;-)
|
||||
|
||||
DOCUMENTACI�N
|
||||
=============
|
||||
|
||||
Para cualquier documentaci�n adicional (procedimientos), por favor lea nuestra wiki:
|
||||
http://www.prestashop.com/wiki/
|
||||
|
||||
FOROS
|
||||
======
|
||||
|
||||
Usted puede tambi�n discute, ayudar y contribuir con la comunidad PrestaShop en nuestros foros:
|
||||
http://www.prestashop.com/forums/
|
||||
|
||||
Gracias por descargar y utilizar el comercio electr�nico PrestaShop soluci�n de c�digo abierto!
|
||||
|
||||
==========================
|
||||
= The PrestaTeam' =
|
||||
= www.PrestaShop.com =
|
||||
==========================
|
||||
@@ -1,70 +0,0 @@
|
||||
2007-2011 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-2011 PrestaShop SA
|
||||
@license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
International Registered Trademark & Property of PrestaShop SA
|
||||
|
||||
NAME: Prestashop 1.4.1.0
|
||||
VERSION: 1.4.1.0
|
||||
|
||||
PREPARATION
|
||||
===========
|
||||
|
||||
Pour installer PrestaShop, vous avez besoin d'un serveur web distant ou sur votre ordinateur (MAMP), avec un acc�s � une base de donn�es de type MySQL.
|
||||
Vous aurez besoin d'un acc�s � PhpMyAdmin afin de cr�er un base de donn�es, et d'indiquer les informations de la base de donn�es dans l'installeur.
|
||||
|
||||
Si vous n'avez pas d'h�bergeur et pas la possibilit� de cr�er votre boutique, nous vous proposons un service de boutique cl� en main, qui vous permet de cr�er votre boutique en ligne en moins de 10 minutes sans aucunes notions techniques.
|
||||
Nous vous invitons � vous rendre sur:
|
||||
http://www.prestabox.com/
|
||||
|
||||
INSTALLATION
|
||||
============
|
||||
|
||||
Il suffit d'aller dans votre r�pertoire web PrestaShop et de lancer l'installateur (dans /install) :-)
|
||||
|
||||
Si vous avez des erreurs de PHP, peut-�tre que vous n'avez pas PHP5 ou peut �tre devez vous l'activer via votre h�bergeur.
|
||||
Merci de vous rendre sur notre forum pour trouver les param�tres de pr�-installation (PHP 5, htaccess) pour certains services d'h�bergement (1 & 1, Free, Lycos, OVH, Infomaniak, Amen, GoDaddy, etc.)
|
||||
|
||||
Topic fran�ais sur notre forum officiel :
|
||||
http://www.prestashop.com/forums/viewthread/446/installation_configuration_et_mise_a_jour/preinstallation_settings_php_5_htaccess_for_certain_hosting_services
|
||||
|
||||
Si vous ne trouvez pas de solution pour lancer l'installateur, merci de vous rendre � cette adresse:
|
||||
http://www.prestashop.com/forums/viewforum/7/installation_configuration___upgrade
|
||||
|
||||
Il ya toujours des solutions pour vos questions ;-)
|
||||
|
||||
DOCUMENTATION
|
||||
=============
|
||||
|
||||
Pour toute documentation suppl�mentaire (how-to), vous trouverez notre wiki � cette adresse:
|
||||
http://www.prestashop.com/wiki/
|
||||
|
||||
FORUMS
|
||||
======
|
||||
|
||||
Vous pouvez �galement discuter, aider et contribuer avec la communaut� PrestaShop sur nos forums:
|
||||
http://www.prestashop.com/forums/
|
||||
|
||||
Merci d'avoir t�l�charger et d'utiliser PrestaShop, solution e-commerce open-source !
|
||||
|
||||
==========================
|
||||
= The PrestaTeam' =
|
||||
= www.PrestaShop.com =
|
||||
==========================
|
||||
@@ -1,70 +0,0 @@
|
||||
2007-2011 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-2011 PrestaShop SA
|
||||
@license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
International Registered Trademark & Property of PrestaShop SA
|
||||
|
||||
NAME: Prestashop 1.4.1.0
|
||||
VERSION: 1.4.1.0
|
||||
|
||||
PREPARAZIONE
|
||||
===========
|
||||
|
||||
Per installare PrestaShop, hai bisogno di un server remoto o nel tuo computer (MAMP), con accesso ad un database come MySQL.
|
||||
Dovrai accedere a phpMyAdmin per creare un database e per indicare le informazioni nel database all'installatore.
|
||||
|
||||
Sei non hai un host e non sai come creare il tuo negozio, ti offriamo un negozio già pronto che ti farà realizzare il tuo negozio online in meno di 10 minuti senza nessun bisogno di competenze tecniche.
|
||||
Ti invitiamo a visitare:
|
||||
http://www.prestabox.com/
|
||||
|
||||
INSTALLAZIONE
|
||||
============
|
||||
|
||||
Devi solo andare nella tua directory PrestaShop e usare l'installatore :-)
|
||||
|
||||
Se si verifica un qualsiasi errore PHP, forse non hai PHP5 oppure devi attivarlo nel tuo web host.
|
||||
Vai nel nostro forum e cerca le impostazioni di pre-installazione (PHP 5, htaccess) per alcuni hosting services (1&1, Free, Lycos, OVH, Infomaniak, Amen, GoDaddy, etc).
|
||||
|
||||
Impostazioni specifiche per web host in inglese:
|
||||
http://www.prestashop.com/forums/viewthread/2946/installation_configuration___upgrade/preinstallation_settings_php_5_htaccess_for_certain_hosting_services
|
||||
|
||||
Se non trovi nessuna soluzione per lanciare l'installatore, scrivi un post sul nostro forum:
|
||||
http://www.prestashop.com/forums/viewforum/7/installation_configuration___upgrade
|
||||
|
||||
Troverai sempre una soluzione ai tuoi problemi :-)
|
||||
|
||||
INFORMAZIONI
|
||||
=============
|
||||
|
||||
Per qualsiasi informazione ulteriore (come fare per?), leggi il nostro wiki:
|
||||
http://www.prestashop.com/wiki/
|
||||
|
||||
FORUM
|
||||
======
|
||||
|
||||
Puoi anche inserirti, chattare, e contribuire alla community PrestaShop nei nostri forum:
|
||||
http://www.prestashop.com/forums/
|
||||
|
||||
Ti ringraziamo per l'uso della soluzione open-source PrestaShop per il commercio online!
|
||||
|
||||
==========================
|
||||
= The PrestaTeam' =
|
||||
= www.PrestaShop.com =
|
||||
==========================
|
||||
-40
@@ -1,40 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
require(dirname(__FILE__).'/config/config.inc.php');
|
||||
Tools::displayFileAsDeprecated();
|
||||
|
||||
// init front controller in order to use Tools::redirect
|
||||
$controller = new FrontController();
|
||||
$controller->init();
|
||||
|
||||
$params = $_SERVER['QUERY_STRING'];
|
||||
if (!empty($params))
|
||||
$params = '?'.$params;
|
||||
|
||||
Tools::redirect('index.php/search'.$params);
|
||||
|
||||
-40
@@ -1,40 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
require(dirname(__FILE__).'/config/config.inc.php');
|
||||
Tools::displayFileAsDeprecated();
|
||||
|
||||
// init front controller in order to use Tools::redirect
|
||||
$controller = new FrontController();
|
||||
$controller->init();
|
||||
|
||||
$params = $_SERVER['QUERY_STRING'];
|
||||
if (!empty($params))
|
||||
$params = '?'.$params;
|
||||
|
||||
Tools::redirect('index.php/sitemap'.$params);
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
if (!isset($_POST['token']) OR !isset($_POST['type']))
|
||||
die;
|
||||
|
||||
include(dirname(__FILE__).'/config/config.inc.php');
|
||||
|
||||
if ($_POST['type'] == 'navinfo')
|
||||
{
|
||||
if (sha1($_POST['id_guest']._COOKIE_KEY_) != $_POST['token'])
|
||||
die;
|
||||
|
||||
$guest = new Guest((int)$_POST['id_guest']);
|
||||
$guest->javascript = true;
|
||||
$guest->screen_resolution_x = (int)($_POST['screen_resolution_x']);
|
||||
$guest->screen_resolution_y = (int)($_POST['screen_resolution_y']);
|
||||
$guest->screen_color = (int)($_POST['screen_color']);
|
||||
$guest->sun_java = (int)($_POST['sun_java']);
|
||||
$guest->adobe_flash = (int)($_POST['adobe_flash']);
|
||||
$guest->adobe_director = (int)($_POST['adobe_director']);
|
||||
$guest->apple_quicktime = (int)($_POST['apple_quicktime']);
|
||||
$guest->real_player = (int)($_POST['real_player']);
|
||||
$guest->windows_media = (int)($_POST['windows_media']);
|
||||
$guest->update();
|
||||
}
|
||||
elseif ($_POST['type'] == 'pagetime')
|
||||
{
|
||||
if (sha1($_POST['id_connections'].$_POST['id_page'].$_POST['time_start']._COOKIE_KEY_) != $_POST['token'])
|
||||
die;
|
||||
if (!Validate::isInt($_POST['time']) OR $_POST['time'] <= 0)
|
||||
die;
|
||||
Connection::setPageTime((int)$_POST['id_connections'], (int)$_POST['id_page'], substr($_POST['time_start'], 0, 19), intval($_POST['time']));
|
||||
}
|
||||
-40
@@ -1,40 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
require(dirname(__FILE__).'/config/config.inc.php');
|
||||
Tools::displayFileAsDeprecated();
|
||||
|
||||
// init front controller in order to use Tools::redirect
|
||||
$controller = new FrontController();
|
||||
$controller->init();
|
||||
|
||||
$params = $_SERVER['QUERY_STRING'];
|
||||
if (!empty($params))
|
||||
$params = '?'.$params;
|
||||
|
||||
Tools::redirect('index.php/stores'.$params);
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
require(dirname(__FILE__).'/config/config.inc.php');
|
||||
Tools::displayFileAsDeprecated();
|
||||
|
||||
// init front controller in order to use Tools::redirect
|
||||
$controller = new FrontController();
|
||||
$controller->init();
|
||||
|
||||
$params = $_SERVER['QUERY_STRING'];
|
||||
if (!empty($params))
|
||||
$params = '?'.$params;
|
||||
|
||||
Tools::redirect('index.php/supplier'.$params);
|
||||
|
||||
@@ -1,90 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
{* Smarty *}
|
||||
|
||||
{* debug.tpl, last updated version 2.0.1 *}
|
||||
|
||||
{assign_debug_info}
|
||||
|
||||
{if isset($_smarty_debug_output) and $_smarty_debug_output eq "html"}
|
||||
<table border=0 width=100%>
|
||||
<tr bgcolor=#cccccc><th colspan=2>Smarty Debug Console</th></tr>
|
||||
<tr bgcolor=#cccccc><td colspan=2><b>included templates & config files (load time in seconds):</b></td></tr>
|
||||
{section name=templates loop=$_debug_tpls}
|
||||
<tr bgcolor={if %templates.index% is even}#eeeeee{else}#fafafa{/if}><td colspan=2><tt>{section name=indent loop=$_debug_tpls[templates].depth} {/section}<font color={if $_debug_tpls[templates].type eq "template"}brown{elseif $_debug_tpls[templates].type eq "insert"}black{else}green{/if}>{$_debug_tpls[templates].filename|escape:html}</font>{if isset($_debug_tpls[templates].exec_time)} <font size=-1><i>({$_debug_tpls[templates].exec_time|string_format:"%.5f"}){if %templates.index% eq 0} (total){/if}</i></font>{/if}</tt></td></tr>
|
||||
{sectionelse}
|
||||
<tr bgcolor=#eeeeee><td colspan=2><tt><i>no templates included</i></tt></td></tr>
|
||||
{/section}
|
||||
<tr bgcolor=#cccccc><td colspan=2><b>assigned template variables:</b></td></tr>
|
||||
{section name=vars loop=$_debug_keys}
|
||||
<tr bgcolor={if %vars.index% is even}#eeeeee{else}#fafafa{/if}><td valign=top><tt><font color=blue>{ldelim}${$_debug_keys[vars]}{rdelim}</font></tt></td><td nowrap><tt><font color=green>{$_debug_vals[vars]|@debug_print_var}</font></tt></td></tr>
|
||||
{sectionelse}
|
||||
<tr bgcolor=#eeeeee><td colspan=2><tt><i>no template variables assigned</i></tt></td></tr>
|
||||
{/section}
|
||||
<tr bgcolor=#cccccc><td colspan=2><b>assigned config file variables (outer template scope):</b></td></tr>
|
||||
{section name=config_vars loop=$_debug_config_keys}
|
||||
<tr bgcolor={if %config_vars.index% is even}#eeeeee{else}#fafafa{/if}><td valign=top><tt><font color=maroon>{ldelim}#{$_debug_config_keys[config_vars]}#{rdelim}</font></tt></td><td><tt><font color=green>{$_debug_config_vals[config_vars]|@debug_print_var}</font></tt></td></tr>
|
||||
{sectionelse}
|
||||
<tr bgcolor=#eeeeee><td colspan=2><tt><i>no config vars assigned</i></tt></td></tr>
|
||||
{/section}
|
||||
</table>
|
||||
</BODY></HTML>
|
||||
{else}
|
||||
<SCRIPT language=javascript>
|
||||
if( self.name == '' ) {ldelim}
|
||||
var title = 'Console';
|
||||
{rdelim}
|
||||
else {ldelim}
|
||||
var title = 'Console_' + self.name;
|
||||
{rdelim}
|
||||
_smarty_console = window.open("",title.value,"width=680,height=600,resizable,scrollbars=yes");
|
||||
_smarty_console.document.write("<HTML><TITLE>Smarty Debug Console_"+self.name+"</TITLE><BODY bgcolor=#ffffff>");
|
||||
_smarty_console.document.write("<table border=0 width=100%>");
|
||||
_smarty_console.document.write("<tr bgcolor=#cccccc><th colspan=2>Smarty Debug Console</th></tr>");
|
||||
_smarty_console.document.write("<tr bgcolor=#cccccc><td colspan=2><b>included templates & config files (load time in seconds):</b></td></tr>");
|
||||
{section name=templates loop=$_debug_tpls}
|
||||
_smarty_console.document.write("<tr bgcolor={if %templates.index% is even}#eeeeee{else}#fafafa{/if}><td colspan=2><tt>{section name=indent loop=$_debug_tpls[templates].depth} {/section}<font color={if $_debug_tpls[templates].type eq "template"}brown{elseif $_debug_tpls[templates].type eq "insert"}black{else}green{/if}>{$_debug_tpls[templates].filename|escape:html|escape:javascript}</font>{if isset($_debug_tpls[templates].exec_time)} <font size=-1><i>({$_debug_tpls[templates].exec_time|string_format:"%.5f"}){if %templates.index% eq 0} (total){/if}</i></font>{/if}</tt></td></tr>");
|
||||
{sectionelse}
|
||||
_smarty_console.document.write("<tr bgcolor=#eeeeee><td colspan=2><tt><i>no templates included</i></tt></td></tr>");
|
||||
{/section}
|
||||
_smarty_console.document.write("<tr bgcolor=#cccccc><td colspan=2><b>assigned template variables:</b></td></tr>");
|
||||
{section name=vars loop=$_debug_keys}
|
||||
_smarty_console.document.write("<tr bgcolor={if %vars.index% is even}#eeeeee{else}#fafafa{/if}><td valign=top><tt><font color=blue>{ldelim}${$_debug_keys[vars]}{rdelim}</font></tt></td><td nowrap><tt><font color=green>{$_debug_vals[vars]|@debug_print_var|escape:javascript}</font></tt></td></tr>");
|
||||
{sectionelse}
|
||||
_smarty_console.document.write("<tr bgcolor=#eeeeee><td colspan=2><tt><i>no template variables assigned</i></tt></td></tr>");
|
||||
{/section}
|
||||
_smarty_console.document.write("<tr bgcolor=#cccccc><td colspan=2><b>assigned config file variables (outer template scope):</b></td></tr>");
|
||||
{section name=config_vars loop=$_debug_config_keys}
|
||||
_smarty_console.document.write("<tr bgcolor={if %config_vars.index% is even}#eeeeee{else}#fafafa{/if}><td valign=top><tt><font color=maroon>{ldelim}#{$_debug_config_keys[config_vars]}#{rdelim}</font></tt></td><td><tt><font color=green>{$_debug_config_vals[config_vars]|@debug_print_var|escape:javascript}</font></tt></td></tr>");
|
||||
{sectionelse}
|
||||
_smarty_console.document.write("<tr bgcolor=#eeeeee><td colspan=2><tt><i>no config vars assigned</i></tt></td></tr>");
|
||||
{/section}
|
||||
_smarty_console.document.write("</table>");
|
||||
_smarty_console.document.write("</BODY></HTML>");
|
||||
_smarty_console.document.close();
|
||||
</SCRIPT>
|
||||
{/if}
|
||||
@@ -1,36 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @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;
|
||||
@@ -1,53 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<script type="text/javascript">
|
||||
{if isset($ad) && isset($live_edit)}
|
||||
var ad = "{$smarty.get.ad}";
|
||||
{/if}
|
||||
var lastMove = '';
|
||||
var saveOK = '{l s='Module position saved'}';
|
||||
var confirmClose = '{l s='Are you sure ? If you close this window, position wont be save'}';
|
||||
var close = '{l s='Close'}';
|
||||
var cancel = '{l s='Cancel'}';
|
||||
var confirm = '{l s='Confirm'}';
|
||||
var add = '{l s='Add this module'}';
|
||||
var unableToUnregisterHook = '{l s='Unable to unregister hook'}';
|
||||
var unableToSaveModulePosition = '{l s='Unable to save module position'}';
|
||||
var loadFail = '{l s='Failed to load module list'}';
|
||||
var baseDir = '{$base_dir}';
|
||||
</script>
|
||||
|
||||
<div style="width:100%;height:30px;padding-top:10px;background-color:#D0D3D8;border:solid 1px gray;position:fixed;bottom:0;left:0;opacity:0.7" onmouseover="$(this).css('opacity', 1);" onmouseout="$(this).css('opacity', 0.7);">
|
||||
<input type="submit" value="{l s='Save'}" id="saveLiveEdit" class="exclusive" style="float:left">
|
||||
<input type="submit" value="{l s='Close Live edit'}" id="closeLiveEdit" class="button" style="float:left">
|
||||
<div style="float:right;margin-right:20px;" id="live_edit_feed_back"></div>
|
||||
</div>
|
||||
<a href="#" style="display:none;" id="fancy"></a>
|
||||
<div id="live_edit_feedback" style="width:400px">
|
||||
<p id="live_edit_feedback_str">
|
||||
</p>
|
||||
<!-- <a href="javascript:;" onclick="$.fancybox.close();">{l s='Close'}</a> -->
|
||||
</div>
|
||||
@@ -1,46 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 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-2011 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
|
||||
*}
|
||||
|
||||
<h1>{l s='Page not available'}</h1>
|
||||
|
||||
<p class="error">
|
||||
<img src="{$img_dir}icon/error.gif" alt="{l s='Error'}" class="middle" />
|
||||
{l s='We\'re sorry, but the Web address you entered is no longer available'}
|
||||
</p>
|
||||
|
||||
<h3>{l s='To find a product, please type its name in the field below'}</h3>
|
||||
|
||||
<form action="{$link->getPageLink('search')}', " method="post" class="std">
|
||||
<fieldset>
|
||||
<p>
|
||||
<label for="search">{l s='Search our product catalog:'}</label>
|
||||
<input id="search_query" name="search_query" type="text" />
|
||||
<input type="submit" name="Submit" value="OK" class="button_small" />
|
||||
</p>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
<p><a href="{$base_dir}" title="{l s='Home'}"><img src="{$img_dir}icon/home.gif" alt="{l s='Home'}" class="icon" /></a><a href="{$base_dir}" title="{l s='Home'}">{l s='Home'}</a></p>
|
||||
@@ -1,216 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 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-2011 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
|
||||
*}
|
||||
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
var baseDir = '{$base_dir_ssl}';
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
idSelectedCountry = {if isset($smarty.post.id_state)}{$smarty.post.id_state|intval}{elseif isset($address->id_state)}{$address->id_state|intval}{else}false{/if};
|
||||
countries = new Array();
|
||||
countriesNeedIDNumber = new Array();
|
||||
countriesNeedZipCode = new Array();
|
||||
{foreach from=$countries item='country'}
|
||||
{if isset($country.states) && $country.contains_states}
|
||||
countries[{$country.id_country|intval}] = new Array();
|
||||
{foreach from=$country.states item='state' name='states'}
|
||||
countries[{$country.id_country|intval}].push({ldelim}'id' : '{$state.id_state}', 'name' : '{$state.name|escape:'htmlall':'UTF-8'}'{rdelim});
|
||||
{/foreach}
|
||||
{/if}
|
||||
{if $country.need_identification_number}
|
||||
countriesNeedIDNumber.push({$country.id_country|intval});
|
||||
{/if}
|
||||
{if isset($country.need_zip_code)}
|
||||
countriesNeedZipCode[{$country.id_country|intval}] = {$country.need_zip_code};
|
||||
{/if}
|
||||
{/foreach}
|
||||
$(function(){ldelim}
|
||||
$('.id_state option[value={if isset($smarty.post.id_state)}{$smarty.post.id_state}{else}{if isset($address->id_state)}{$address->id_state|escape:'htmlall':'UTF-8'}{/if}{/if}]').attr('selected', 'selected');
|
||||
{rdelim});
|
||||
{if $vat_management}
|
||||
{literal}
|
||||
$(document).ready(function() {
|
||||
$('#company').blur(function(){
|
||||
vat_number();
|
||||
});
|
||||
vat_number();
|
||||
function vat_number()
|
||||
{
|
||||
if ($('#company').val() != '')
|
||||
$('#vat_number').show();
|
||||
else
|
||||
$('#vat_number').hide();
|
||||
}
|
||||
});
|
||||
{/literal}
|
||||
{/if}
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
{capture name=path}{l s='Your addresses'}{/capture}
|
||||
{include file="$tpl_dir./breadcrumb.tpl"}
|
||||
|
||||
<h1>{l s='Your addresses'}</h1>
|
||||
|
||||
<h3>{if isset($id_address)}{l s='Modify address'} {if isset($smarty.post.alias)}"{$smarty.post.alias}"{elseif isset($address->alias)}"{$address->alias|escape:'htmlall':'UTF-8'}"{/if}{else}{l s='To add a new address, please fill out the form below.'}{/if}</h3>
|
||||
|
||||
{include file="$tpl_dir./errors.tpl"}
|
||||
|
||||
<form action="{$link->getPageLink('address', true)}" method="post" class="std">
|
||||
<fieldset>
|
||||
<h3>{if isset($id_address)}{l s='Your address'}{else}{l s='New address'}{/if}</h3>
|
||||
<p class="text">
|
||||
<input type="hidden" name="token" value="{$token}" />
|
||||
<label for="company">{l s='Company'}</label>
|
||||
<input type="text" id="company" name="company" value="{if isset($smarty.post.company)}{$smarty.post.company}{else}{if isset($address->company)}{$address->company|escape:'htmlall':'UTF-8'}{/if}{/if}" />
|
||||
</p>
|
||||
<p class="required text dni">
|
||||
<label for="dni">{l s='Identification number'}</label>
|
||||
<input type="text" class="text" name="dni" id="dni" value="{if isset($smarty.post.dni)}{$smarty.post.dni}{else}{if isset($address->dni)}{$address->dni|escape:'htmlall':'UTF-8'}{/if}{/if}" />
|
||||
<span class="form_info">{l s='DNI / NIF / NIE'}</span>
|
||||
</p>
|
||||
{if $vat_display == 2}
|
||||
<div id="vat_area">
|
||||
{elseif $vat_display == 1}
|
||||
<div id="vat_area" style="display: none;">
|
||||
{else}
|
||||
<div style="display: none;">
|
||||
{/if}
|
||||
<div id="vat_number">
|
||||
<p class="text">
|
||||
<label for="vat_number">{l s='VAT number'}</label>
|
||||
<input type="text" class="text" name="vat_number" value="{if isset($smarty.post.vat_number)}{$smarty.post.vat_number}{else}{if isset($address->vat_number)}{$address->vat_number|escape:'htmlall':'UTF-8'}{/if}{/if}" />
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{foreach from=$ordered_adr_fields item=field_name}
|
||||
{if $field_name eq 'firstname'}
|
||||
<p class="required text">
|
||||
<label for="firstname">{l s='First name'}</label>
|
||||
<input type="text" name="firstname" id="firstname" value="{if isset($smarty.post.firstname)}{$smarty.post.firstname}{elseif isset($address->firstname)}{$address->firstname|escape:'htmlall':'UTF-8'}{/if}" />
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
{elseif $field_name eq 'lastname'}
|
||||
<p class="required text">
|
||||
<label for="lastname">{l s='Last name'}</label>
|
||||
<input type="text" id="lastname" name="lastname" value="{if isset($smarty.post.lastname)}{$smarty.post.lastname}{else}{if isset($address->lastname)}{$address->lastname|escape:'htmlall':'UTF-8'}{/if}{/if}" />
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
{elseif $field_name eq 'address1'}
|
||||
<p class="required text">
|
||||
<label for="address1">{l s='Address'}</label>
|
||||
<input type="text" id="address1" name="address1" value="{if isset($smarty.post.address1)}{$smarty.post.address1}{else}{if isset($address->address1)}{$address->address1|escape:'htmlall':'UTF-8'}{/if}{/if}" />
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
{elseif $field_name eq 'address2'}
|
||||
<p class="required text">
|
||||
<label for="address2">{l s='Address (Line 2)'}</label>
|
||||
<input type="text" id="address2" name="address2" value="{if isset($smarty.post.address2)}{$smarty.post.address2}{else}{if isset($address->address2)}{$address->address2|escape:'htmlall':'UTF-8'}{/if}{/if}" />
|
||||
</p>
|
||||
{elseif $field_name eq 'postcode'}
|
||||
<p class="required postcode text">
|
||||
<label for="postcode">{l s='Zip / Postal Code'}</label>
|
||||
<input type="text" id="postcode" name="postcode" value="{if isset($smarty.post.postcode)}{$smarty.post.postcode}{else}{if isset($address->postcode)}{$address->postcode|escape:'htmlall':'UTF-8'}{/if}{/if}" onkeyup="$('#postcode').val($('#postcode').val().toUpperCase());" />
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
{elseif $field_name eq 'city'}
|
||||
<p class="required text">
|
||||
<label for="city">{l s='City'}</label>
|
||||
<input type="text" name="city" id="city" value="{if isset($smarty.post.city)}{$smarty.post.city}{else}{if isset($address->city)}{$address->city|escape:'htmlall':'UTF-8'}{/if}{/if}" maxlength="64" />
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
{elseif $field_name eq 'country'}
|
||||
<p class="required select">
|
||||
<label for="id_country">{l s='Country'}</label>
|
||||
<select id="id_country" name="id_country">{$countries_list}</select>
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
<script type="text/javascript">
|
||||
var ajaxurl = '{$ajaxurl}';
|
||||
{literal}
|
||||
$(document).ready(function(){
|
||||
$('#id_country').change(function() {
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: ajaxurl+"vatnumber/ajax.php?id_country="+$('#id_country').val(),
|
||||
success: function(isApplicable){
|
||||
if(isApplicable == "1")
|
||||
{
|
||||
$('#vat_area').show();
|
||||
$('#vat_number').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
$('#vat_area').hide();
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
{/literal}
|
||||
</script>
|
||||
<p class="required id_state select">
|
||||
<label for="id_state">{l s='State'}</label>
|
||||
<select name="id_state" id="id_state">
|
||||
<option value="">-</option>
|
||||
</select>
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
<p class="textarea">
|
||||
<label for="other">{l s='Additional information'}</label>
|
||||
<textarea id="other" name="other" cols="26" rows="3">{if isset($smarty.post.other)}{$smarty.post.other}{else}{if isset($address->other)}{$address->other|escape:'htmlall':'UTF-8'}{/if}{/if}</textarea>
|
||||
</p>
|
||||
<p style="margin-left:50px;">{l s='You must register at least one phone number'} <sup style="color:red;">*</sup></p>
|
||||
<p class="text">
|
||||
<label for="phone">{l s='Home phone'}</label>
|
||||
<input type="text" id="phone" name="phone" value="{if isset($smarty.post.phone)}{$smarty.post.phone}{else}{if isset($address->phone)}{$address->phone|escape:'htmlall':'UTF-8'}{/if}{/if}" />
|
||||
</p>
|
||||
<p class="text">
|
||||
<label for="phone_mobile">{l s='Mobile phone'}</label>
|
||||
<input type="text" id="phone_mobile" name="phone_mobile" value="{if isset($smarty.post.phone_mobile)}{$smarty.post.phone_mobile}{else}{if isset($address->phone_mobile)}{$address->phone_mobile|escape:'htmlall':'UTF-8'}{/if}{/if}" />
|
||||
</p>
|
||||
<p class="required text" id="adress_alias">
|
||||
<label for="alias">{l s='Assign an address title for future reference'}</label>
|
||||
<input type="text" id="alias" name="alias" value="{if isset($smarty.post.alias)}{$smarty.post.alias}{elseif isset($address->alias)}{$address->alias|escape:'htmlall':'UTF-8'}{elseif isset($select_address)}{else}{l s='My address'}{/if}" />
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
</fieldset>
|
||||
<p class="submit2">
|
||||
{if isset($id_address)}<input type="hidden" name="id_address" value="{$id_address|intval}" />{/if}
|
||||
{if isset($back)}<input type="hidden" name="back" value="{$back}?step=1" />{/if}
|
||||
{if isset($mod)}<input type="hidden" name="mod" value="{$mod}" />{/if}
|
||||
{if isset($select_address)}<input type="hidden" name="select_address" value="{$select_address|intval}" />{/if}
|
||||
<input type="submit" name="submitAddress" id="submitAddress" value="{l s='Save'}" class="button" />
|
||||
</p>
|
||||
<p class="required"><sup>*</sup>{l s='Required field'}</p>
|
||||
</form>
|
||||
@@ -1,73 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 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-2011 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
|
||||
*}
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
var baseDir = '{$base_dir_ssl}';
|
||||
-->
|
||||
</script>
|
||||
|
||||
{capture name=path}<a href="{$link->getPageLink('my-account', true)}">{l s='My account'}</a><span class="navigation-pipe">{$navigationPipe}</span>{l s='My addresses'}{/capture}
|
||||
{include file="$tpl_dir./breadcrumb.tpl"}
|
||||
|
||||
<h1>{l s='My addresses'}</h1>
|
||||
<p>{l s='Please configure the desired billing and delivery addresses to be preselected when placing an order. You may also add additional addresses, useful for sending gifts or receiving your order at the office.'}</p>
|
||||
|
||||
{if $ordered_fields}
|
||||
<div class="addresses">
|
||||
<h3>{l s='Your addresses are listed below.'}</h3>
|
||||
<p>{l s='Be sure to update them if they have changed.'}</p>
|
||||
{assign var="adrs_style" value=$addresses_style}
|
||||
{foreach from=$addresses item=address name=myLoop}
|
||||
<ul class="address {if $smarty.foreach.myLoop.last}last_item{elseif $smarty.foreach.myLoop.first}first_item{/if} {if $smarty.foreach.myLoop.index % 2}alternate_item{else}item{/if}">
|
||||
<li class="address_title">{$address.alias}</li>
|
||||
{foreach from=$ordered_fields name=adr_loop item=field_item}
|
||||
{if $field_item eq "company" && $address.company}<li class="address_company">{$address.company}</li>
|
||||
{elseif $field_item eq "vat_number" && $address.vat_number}<li class="address_company">{$address.vat_number}</li>
|
||||
{elseif $field_item eq "address2" && $address.address2}<li class="address_address2">{$address.address2}</li>
|
||||
{elseif $field_item eq "phone" && $address.phone}<li class="address_phone">{$address.phone}</li>
|
||||
{elseif $field_item eq "phone_mobile" && $address.phone_mobile}<li class="address_phone_mobile">{$address.phone_mobile}</li>
|
||||
{else}
|
||||
{assign var=address_words value=" "|explode:$field_item}
|
||||
<li>{foreach from=$address_words item=word_item name="word_loop"}{if !$smarty.foreach.word_loop.first} {/if}<span class="address_{$word_item}">{$address.$word_item|escape:'htmlall':'UTF-8'}</span>{/foreach}</li>
|
||||
{/if}
|
||||
{/foreach}
|
||||
<li class="address_update"><a href="{$link->getPageLink('address', true)}?id_address={$address.id_address|intval}" title="{l s='Update'}">{l s='Update'}</a></li>
|
||||
<li class="address_delete"><a href="{$link->getPageLink('address', true)}?id_address={$address.id_address|intval}&delete" onclick="return confirm('{l s='Are you sure?'}');" title="{l s='Delete'}">{l s='Delete'}</a></li>
|
||||
</ul>
|
||||
{/foreach}
|
||||
<p class="clear" />
|
||||
</div>
|
||||
{else}
|
||||
<p class="warning">{l s='No addresses available.'} <a href="{$link->getPageLink('address', true)}">{l s='Add new address'}</a></p>
|
||||
{/if}
|
||||
|
||||
<div class="clear address_add"><a href="{$link->getPageLink('address', true)}" title="{l s='Add an address'}" class="button_large">{l s='Add an address'}</a></div>
|
||||
|
||||
<ul class="footer_links">
|
||||
<li><a href="{$link->getPageLink('my-account', true)}"><img src="{$img_dir}icon/my-account.gif" alt="" class="icon" /></a><a href="{$link->getPageLink('my-account', true)}">{l s='Back to Your Account'}</a></li>
|
||||
<li><a href="{$base_dir}"><img src="{$img_dir}icon/home.gif" alt="" class="icon" /></a><a href="{$base_dir}">{l s='Home'}</a></li>
|
||||
</ul>
|
||||
@@ -1,455 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 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-2011 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
|
||||
*}
|
||||
|
||||
{capture name=path}{l s='Login'}{/capture}
|
||||
{include file="$tpl_dir./breadcrumb.tpl"}
|
||||
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
idSelectedCountry = {if isset($smarty.post.id_state)}{$smarty.post.id_state|intval}{else}false{/if};
|
||||
countries = new Array();
|
||||
countriesNeedIDNumber = new Array();
|
||||
countriesNeedZipCode = new Array();
|
||||
{if isset($countries)}
|
||||
{foreach from=$countries item='country'}
|
||||
{if isset($country.states) && $country.contains_states}
|
||||
countries[{$country.id_country|intval}] = new Array();
|
||||
{foreach from=$country.states item='state' name='states'}
|
||||
countries[{$country.id_country|intval}].push({ldelim}'id' : '{$state.id_state}', 'name' : '{$state.name|escape:'htmlall':'UTF-8'}'{rdelim});
|
||||
{/foreach}
|
||||
{/if}
|
||||
{if $country.need_identification_number}
|
||||
countriesNeedIDNumber.push({$country.id_country|intval});
|
||||
{/if}
|
||||
{if isset($country.need_zip_code)}
|
||||
countriesNeedZipCode[{$country.id_country|intval}] = {$country.need_zip_code};
|
||||
{/if}
|
||||
{/foreach}
|
||||
{/if}
|
||||
$(function(){ldelim}
|
||||
$('.id_state option[value={if isset($smarty.post.id_state)}{$smarty.post.id_state}{else}{if isset($address)}{$address->id_state|escape:'htmlall':'UTF-8'}{/if}{/if}]').attr('selected', 'selected');
|
||||
{rdelim});
|
||||
//]]>
|
||||
{if $vat_management}
|
||||
{literal}
|
||||
$(document).ready(function() {
|
||||
$('#company').blur(function(){
|
||||
vat_number();
|
||||
});
|
||||
vat_number();
|
||||
function vat_number()
|
||||
{
|
||||
if ($('#company').val() != '')
|
||||
$('#vat_number').show();
|
||||
else
|
||||
$('#vat_number').hide();
|
||||
}
|
||||
});
|
||||
{/literal}
|
||||
{/if}
|
||||
</script>
|
||||
<h1>{if !isset($email_create)}{l s='Log in'}{else}{l s='Create your account'}{/if}</h1>
|
||||
|
||||
{assign var='current_step' value='login'}
|
||||
{include file="$tpl_dir./order-steps.tpl"}
|
||||
|
||||
{include file="$tpl_dir./errors.tpl"}
|
||||
|
||||
{if !isset($email_create)}
|
||||
<form action="{$link->getPageLink('authentication', true)}" method="post" id="create-account_form" class="std">
|
||||
<fieldset>
|
||||
<h3>{l s='Create your account'}</h3>
|
||||
<h4>{l s='Enter your e-mail address to create an account'}.</h4>
|
||||
<p class="text">
|
||||
<label for="email_create">{l s='E-mail address'}</label>
|
||||
<span><input type="text" id="email_create" name="email_create" value="{if isset($smarty.post.email_create)}{$smarty.post.email_create|escape:'htmlall':'UTF-8'|stripslashes}{/if}" class="account_input" /></span>
|
||||
</p>
|
||||
<p class="submit">
|
||||
{if isset($back)}<input type="hidden" class="hidden" name="back" value="{$back|escape:'htmlall':'UTF-8'}" />{/if}
|
||||
<input type="submit" id="SubmitCreate" name="SubmitCreate" class="button_large" value="{l s='Create your account'}" />
|
||||
<input type="hidden" class="hidden" name="SubmitCreate" value="{l s='Create your account'}" />
|
||||
</p>
|
||||
</fieldset>
|
||||
</form>
|
||||
<form action="{$link->getPageLink('authentication', true)}" method="post" id="login_form" class="std">
|
||||
<fieldset>
|
||||
<h3>{l s='Already registered ?'}</h3>
|
||||
<p class="text">
|
||||
<label for="email">{l s='E-mail address'}</label>
|
||||
<span><input type="text" id="email" name="email" value="{if isset($smarty.post.email)}{$smarty.post.email|escape:'htmlall':'UTF-8'|stripslashes}{/if}" class="account_input" /></span>
|
||||
</p>
|
||||
<p class="text">
|
||||
<label for="passwd">{l s='Password'}</label>
|
||||
<span><input type="password" id="passwd" name="passwd" value="{if isset($smarty.post.passwd)}{$smarty.post.passwd|escape:'htmlall':'UTF-8'|stripslashes}{/if}" class="account_input" /></span>
|
||||
</p>
|
||||
<p class="submit">
|
||||
{if isset($back)}<input type="hidden" class="hidden" name="back" value="{$back|escape:'htmlall':'UTF-8'}" />{/if}
|
||||
<input type="submit" id="SubmitLogin" name="SubmitLogin" class="button" value="{l s='Log in'}" />
|
||||
</p>
|
||||
<p class="lost_password"><a href="{$link->getPageLink('password')}', ">{l s='Forgot your password?'}</a></p>
|
||||
</fieldset>
|
||||
</form>
|
||||
{if isset($inOrderProcess) && $inOrderProcess && $PS_GUEST_CHECKOUT_ENABLED}
|
||||
<form action="{$link->getPageLink('authentication', true)}?back={$back}" method="post" id="new_account_form" class="std">
|
||||
<fieldset>
|
||||
<h3>{l s='Instant Checkout'}</h3>
|
||||
<div id="opc_account_form" style="display: block; ">
|
||||
<!-- Account -->
|
||||
<p class="required text">
|
||||
<label for="email">{l s='E-mail address'}</label>
|
||||
<input type="text" class="text" id="guest_email" name="guest_email" value="{if isset($smarty.post.guest_email)}{$smarty.post.guest_email}{/if}">
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
<p class="radio required">
|
||||
<span>{l s='Title'}</span>
|
||||
<input type="radio" name="id_gender" id="id_gender1" value="1" {if isset($smarty.post.id_gender) && $smarty.post.id_gender == '1'}checked="checked"{/if}>
|
||||
<label for="id_gender1" class="top">{l s='Mr.'}</label>
|
||||
<input type="radio" name="id_gender" id="id_gender2" value="2" {if isset($smarty.post.id_gender) && $smarty.post.id_gender == '2'}checked="checked"{/if}>
|
||||
<label for="id_gender2" class="top">{l s='Ms.'}</label>
|
||||
</p>
|
||||
<p class="required text">
|
||||
<label for="firstname">{l s='First name'}</label>
|
||||
<input type="text" class="text" id="firstname" name="firstname" onblur="$('#customer_firstname').val($(this).val());" value="{if isset($smarty.post.firstname)}{$smarty.post.firstname}{/if}">
|
||||
<input type="hidden" class="text" id="customer_firstname" name="customer_firstname" value="{if isset($smarty.post.firstname)}{$smarty.post.firstname}{/if}">
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
<p class="required text">
|
||||
<label for="lastname">{l s='Last name'}</label>
|
||||
<input type="text" class="text" id="lastname" name="lastname" onblur="$('#customer_lastname').val($(this).val());" value="{if isset($smarty.post.lastname)}{$smarty.post.lastname}{/if}">
|
||||
<input type="hidden" class="text" id="customer_lastname" name="customer_lastname" value="{if isset($smarty.post.lastname)}{$smarty.post.lastname}{/if}">
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
<p class="select">
|
||||
<span>{l s='Date of Birth'}</span>
|
||||
<select id="days" name="days">
|
||||
<option value="">-</option>
|
||||
{foreach from=$days item=day}
|
||||
<option value="{$day|escape:'htmlall':'UTF-8'}" {if ($sl_day == $day)} selected="selected"{/if}>{$day|escape:'htmlall':'UTF-8'} </option>
|
||||
{/foreach}
|
||||
</select>
|
||||
{*
|
||||
{l s='January'}
|
||||
{l s='February'}
|
||||
{l s='March'}
|
||||
{l s='April'}
|
||||
{l s='May'}
|
||||
{l s='June'}
|
||||
{l s='July'}
|
||||
{l s='August'}
|
||||
{l s='September'}
|
||||
{l s='October'}
|
||||
{l s='November'}
|
||||
{l s='December'}
|
||||
*}
|
||||
<select id="months" name="months">
|
||||
<option value="">-</option>
|
||||
{foreach from=$months key=k item=month}
|
||||
<option value="{$k|escape:'htmlall':'UTF-8'}" {if ($sl_month == $k)} selected="selected"{/if}>{l s="$month"} </option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<select id="years" name="years">
|
||||
<option value="">-</option>
|
||||
{foreach from=$years item=year}
|
||||
<option value="{$year|escape:'htmlall':'UTF-8'}" {if ($sl_year == $year)} selected="selected"{/if}>{$year|escape:'htmlall':'UTF-8'} </option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</p>
|
||||
{if $newsletter}
|
||||
<p class="checkbox">
|
||||
<input type="checkbox" name="newsletter" id="newsletter" value="1" {if isset($smarty.post.newsletter) && $smarty.post.newsletter == '1'}checked="checked"{/if}>
|
||||
<label for="newsletter">{l s='Sign up for our newsletter'}</label>
|
||||
</p>
|
||||
<p class="checkbox">
|
||||
<input type="checkbox" name="optin" id="optin" value="1" {if isset($smarty.post.optin) && $smarty.post.optin == '1'}checked="checked"{/if}>
|
||||
<label for="optin">{l s='Receive special offers from our partners'}</label>
|
||||
</p>
|
||||
{/if}
|
||||
<h3>{l s='Delivery address'}</h3>
|
||||
{foreach from=$dlv_all_fields item=field_name}
|
||||
{if $field_name eq "company"}
|
||||
<p class="text">
|
||||
<label for="company">{l s='Company'}</label>
|
||||
<input type="text" class="text" id="company" name="company" value="{if isset($smarty.post.company)}{$smarty.post.company}{/if}" />
|
||||
</p>
|
||||
{elseif $field_name eq "vat_number"}
|
||||
<div id="vat_number" style="display:none;">
|
||||
<p class="text">
|
||||
<label for="vat_number">{l s='VAT number'}</label>
|
||||
<input type="text" class="text" name="vat_number" value="{if isset($smarty.post.vat_number)}{$smarty.post.vat_number}{/if}" />
|
||||
</p>
|
||||
</div>
|
||||
{elseif $field_name eq "address1"}
|
||||
<p class="required text">
|
||||
<label for="address1">{l s='Address'}</label>
|
||||
<input type="text" class="text" name="address1" id="address1" value="{if isset($smarty.post.address1)}{$smarty.post.address1}{/if}">
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
{elseif $field_name eq "postcode"}
|
||||
<p class="required postcode text">
|
||||
<label for="postcode">{l s='Zip / Postal Code'}</label>
|
||||
<input type="text" class="text" name="postcode" id="postcode" value="{if isset($smarty.post.postcode)}{$smarty.post.postcode}{/if}" onblur="$('#postcode').val($('#postcode').val().toUpperCase());">
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
{elseif $field_name eq "city"}
|
||||
<p class="required text">
|
||||
<label for="city">{l s='City'}</label>
|
||||
<input type="text" class="text" name="city" id="city" value="{if isset($smarty.post.city)}{$smarty.post.city}{/if}">
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
{elseif $field_name eq "country"}
|
||||
<p class="required select">
|
||||
<label for="id_country">{l s='Country'}</label>
|
||||
<select name="id_country" id="id_country">
|
||||
<option value="">-</option>
|
||||
{foreach from=$countries item=v}
|
||||
<option value="{$v.id_country}" {if ($sl_country == $v.id_country)} selected="selected"{/if}>{$v.name|escape:'htmlall':'UTF-8'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
<p class="required id_state select">
|
||||
<label for="id_state">{l s='State'}</label>
|
||||
<select name="id_state" id="id_state">
|
||||
<option value="">-</option>
|
||||
</select>
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
{elseif $field_name eq "phone"}
|
||||
<p class="text">
|
||||
<label for="phone">{l s='Phone'}</label>
|
||||
<input type="text" class="text" name="phone" id="phone" value="{if isset($smarty.post.phone)}{$smarty.post.phone}{/if}"> <sup style="color:red;">*</sup>
|
||||
</p>
|
||||
{/if}{/foreach}
|
||||
|
||||
|
||||
<input type="hidden" name="alias" id="alias" value="{l s='My address'}">
|
||||
<input type="hidden" name="is_new_customer" id="is_new_customer" value="0">
|
||||
<!-- END Account -->
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset class="account_creation dni">
|
||||
<h3>{l s='Tax identification'}</h3>
|
||||
|
||||
<p class="required text">
|
||||
<label for="dni">{l s='Identification number'}</label>
|
||||
<input type="text" class="text" name="dni" id="dni" value="{if isset($smarty.post.dni)}{$smarty.post.dni}{/if}" />
|
||||
<span class="form_info">{l s='DNI / NIF / NIE'}</span>
|
||||
</p>
|
||||
</fieldset>
|
||||
<p class="cart_navigation required submit">
|
||||
<span><sup>*</sup>{l s='Required field'}</span>
|
||||
<input type="submit" class="button" name="submitGuestAccount" id="submitGuestAccount" style="float:right" value="{l s='Continue'}">
|
||||
</p>
|
||||
</form>
|
||||
{/if}
|
||||
{else}
|
||||
<form action="{$link->getPageLink('authentication', true)}" method="post" id="account-creation_form" class="std">
|
||||
{$HOOK_CREATE_ACCOUNT_TOP}
|
||||
<fieldset class="account_creation">
|
||||
<h3>{l s='Your personal information'}</h3>
|
||||
<p class="radio required">
|
||||
<span>{l s='Title'}</span>
|
||||
<input type="radio" name="id_gender" id="id_gender1" value="1" {if isset($smarty.post.id_gender) && $smarty.post.id_gender == 1}checked="checked"{/if} />
|
||||
<label for="id_gender1" class="top">{l s='Mr.'}</label>
|
||||
<input type="radio" name="id_gender" id="id_gender2" value="2" {if isset($smarty.post.id_gender) && $smarty.post.id_gender == 2}checked="checked"{/if} />
|
||||
<label for="id_gender2" class="top">{l s='Ms.'}</label>
|
||||
</p>
|
||||
<p class="required text">
|
||||
<label for="customer_firstname">{l s='First name'}</label>
|
||||
<input onkeyup="$('#firstname').val(this.value);" type="text" class="text" id="customer_firstname" name="customer_firstname" value="{if isset($smarty.post.customer_firstname)}{$smarty.post.customer_firstname}{/if}" />
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
<p class="required text">
|
||||
<label for="customer_lastname">{l s='Last name'}</label>
|
||||
<input onkeyup="$('#lastname').val(this.value);" type="text" class="text" id="customer_lastname" name="customer_lastname" value="{if isset($smarty.post.customer_lastname)}{$smarty.post.customer_lastname}{/if}" />
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
<p class="required text">
|
||||
<label for="email">{l s='E-mail'}</label>
|
||||
<input type="text" class="text" id="email" name="email" value="{if isset($smarty.post.email)}{$smarty.post.email}{/if}" />
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
<p class="required password">
|
||||
<label for="passwd">{l s='Password'}</label>
|
||||
<input type="password" class="text" name="passwd" id="passwd" />
|
||||
<sup>*</sup>
|
||||
<span class="form_info">{l s='(5 characters min.)'}</span>
|
||||
</p>
|
||||
<p class="select">
|
||||
<span>{l s='Date of Birth'}</span>
|
||||
<select id="days" name="days">
|
||||
<option value="">-</option>
|
||||
{foreach from=$days item=day}
|
||||
<option value="{$day|escape:'htmlall':'UTF-8'}" {if ($sl_day == $day)} selected="selected"{/if}>{$day|escape:'htmlall':'UTF-8'} </option>
|
||||
{/foreach}
|
||||
</select>
|
||||
{*
|
||||
{l s='January'}
|
||||
{l s='February'}
|
||||
{l s='March'}
|
||||
{l s='April'}
|
||||
{l s='May'}
|
||||
{l s='June'}
|
||||
{l s='July'}
|
||||
{l s='August'}
|
||||
{l s='September'}
|
||||
{l s='October'}
|
||||
{l s='November'}
|
||||
{l s='December'}
|
||||
*}
|
||||
<select id="months" name="months">
|
||||
<option value="">-</option>
|
||||
{foreach from=$months key=k item=month}
|
||||
<option value="{$k|escape:'htmlall':'UTF-8'}" {if ($sl_month == $k)} selected="selected"{/if}>{l s="$month"} </option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<select id="years" name="years">
|
||||
<option value="">-</option>
|
||||
{foreach from=$years item=year}
|
||||
<option value="{$year|escape:'htmlall':'UTF-8'}" {if ($sl_year == $year)} selected="selected"{/if}>{$year|escape:'htmlall':'UTF-8'} </option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</p>
|
||||
{if $newsletter}
|
||||
<p class="checkbox" >
|
||||
<input type="checkbox" name="newsletter" id="newsletter" value="1" {if isset($smarty.post.newsletter) AND $smarty.post.newsletter == 1} checked="checked"{/if} />
|
||||
<label for="newsletter">{l s='Sign up for our newsletter'}</label>
|
||||
</p>
|
||||
<p class="checkbox" >
|
||||
<input type="checkbox"name="optin" id="optin" value="1" {if isset($smarty.post.optin) AND $smarty.post.optin == 1} checked="checked"{/if} />
|
||||
<label for="optin">{l s='Receive special offers from our partners'}</label>
|
||||
</p>
|
||||
{/if}
|
||||
</fieldset>
|
||||
<fieldset class="account_creation">
|
||||
<h3>{l s='Your address'}</h3>
|
||||
{foreach from=$dlv_all_fields item=field_name}
|
||||
{if $field_name eq "company"}
|
||||
<p class="text">
|
||||
<label for="company">{l s='Company'}</label>
|
||||
<input type="text" class="text" id="company" name="company" value="{if isset($smarty.post.company)}{$smarty.post.company}{/if}" />
|
||||
</p>
|
||||
{elseif $field_name eq "vat_number"}
|
||||
<div id="vat_number" style="display:none;">
|
||||
<p class="text">
|
||||
<label for="vat_number">{l s='VAT number'}</label>
|
||||
<input type="text" class="text" name="vat_number" value="{if isset($smarty.post.vat_number)}{$smarty.post.vat_number}{/if}" />
|
||||
</p>
|
||||
</div>
|
||||
{elseif $field_name eq "firstname"}
|
||||
<p class="required text">
|
||||
<label for="firstname">{l s='First name'}</label>
|
||||
<input type="text" class="text" id="firstname" name="firstname" value="{if isset($smarty.post.firstname)}{$smarty.post.firstname}{/if}" />
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
{elseif $field_name eq "lastname"}
|
||||
<p class="required text">
|
||||
<label for="lastname">{l s='Last name'}</label>
|
||||
<input type="text" class="text" id="lastname" name="lastname" value="{if isset($smarty.post.lastname)}{$smarty.post.lastname}{/if}" />
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
{elseif $field_name eq "address1"}
|
||||
<p class="required text">
|
||||
<label for="address1">{l s='Address'}</label>
|
||||
<input type="text" class="text" name="address1" id="address1" value="{if isset($smarty.post.address1)}{$smarty.post.address1}{/if}" />
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
{elseif $field_name eq "address2"}
|
||||
<p class="text">
|
||||
<label for="address2">{l s='Address (Line 2)'}</label>
|
||||
<input type="text" class="text" name="address2" id="address2" value="{if isset($smarty.post.address2)}{$smarty.post.address2}{/if}" />
|
||||
</p>
|
||||
{elseif $field_name eq "postcode"}
|
||||
<p class="required postcode text">
|
||||
<label for="postcode">{l s='Zip / Postal Code'}</label>
|
||||
<input type="text" class="text" name="postcode" id="postcode" value="{if isset($smarty.post.postcode)}{$smarty.post.postcode}{/if}" onkeyup="$('#postcode').val($('#postcode').val().toUpperCase());" />
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
{elseif $field_name eq "city"}
|
||||
<p class="required text">
|
||||
<label for="city">{l s='City'}</label>
|
||||
<input type="text" class="text" name="city" id="city" value="{if isset($smarty.post.city)}{$smarty.post.city}{/if}" />
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
{elseif $field_name eq "country"}
|
||||
<p class="required select">
|
||||
<label for="id_country">{l s='Country'}</label>
|
||||
<select name="id_country" id="id_country">
|
||||
<option value="">-</option>
|
||||
{foreach from=$countries item=v}
|
||||
<option value="{$v.id_country}" {if ($sl_country == $v.id_country)} selected="selected"{/if}>{$v.name|escape:'htmlall':'UTF-8'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
<p class="required id_state select">
|
||||
<label for="id_state">{l s='State'}</label>
|
||||
<select name="id_state" id="id_state">
|
||||
<option value="">-</option>
|
||||
</select>
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
{/if}
|
||||
{/foreach}
|
||||
<p class="textarea">
|
||||
<label for="other">{l s='Additional information'}</label>
|
||||
<textarea name="other" id="other" cols="26" rows="3">{if isset($smarty.post.other)}{$smarty.post.other}{/if}</textarea>
|
||||
</p>
|
||||
<p style="margin-left:50px;">{l s='You must register at least one phone number'} <sup style="color:red;">*</sup></p>
|
||||
<p class="text">
|
||||
<label for="phone">{l s='Home phone'}</label>
|
||||
<input type="text" class="text" name="phone" id="phone" value="{if isset($smarty.post.phone)}{$smarty.post.phone}{/if}" />
|
||||
</p>
|
||||
<p class="text">
|
||||
<label for="phone_mobile">{l s='Mobile phone'}</label>
|
||||
<input type="text" class="text" name="phone_mobile" id="phone_mobile" value="{if isset($smarty.post.phone_mobile)}{$smarty.post.phone_mobile}{/if}" />
|
||||
</p>
|
||||
<p class="required text" id="address_alias">
|
||||
<label for="alias">{l s='Assign an address title for future reference'} </label>
|
||||
<input type="text" class="text" name="alias" id="alias" value="{if isset($smarty.post.alias)}{$smarty.post.alias}{else}{l s='My address'}{/if}" />
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
</fieldset>
|
||||
<fieldset class="account_creation dni">
|
||||
<h3>{l s='Tax identification'}</h3>
|
||||
|
||||
<p class="required text">
|
||||
<label for="dni">{l s='Identification number'}</label>
|
||||
<input type="text" class="text" name="dni" id="dni" value="{if isset($smarty.post.dni)}{$smarty.post.dni}{/if}" />
|
||||
<span class="form_info">{l s='DNI / NIF / NIE'}</span>
|
||||
</p>
|
||||
</fieldset>
|
||||
{$HOOK_CREATE_ACCOUNT_FORM}
|
||||
<p class="cart_navigation required submit">
|
||||
<input type="hidden" name="email_create" value="1" />
|
||||
<input type="hidden" name="is_new_customer" value="1" />
|
||||
{if isset($back)}<input type="hidden" class="hidden" name="back" value="{$back|escape:'htmlall':'UTF-8'}" />{/if}
|
||||
<input type="submit" name="submitAccount" id="submitAccount" value="{l s='Register'}" class="exclusive" />
|
||||
<span><sup>*</sup>{l s='Required field'}</span>
|
||||
</p>
|
||||
|
||||
</form>
|
||||
{/if}
|
||||
@@ -1,38 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 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-2011 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
|
||||
*}
|
||||
|
||||
{capture name=path}{l s='Top sellers'}{/capture}
|
||||
{include file="$tpl_dir./breadcrumb.tpl"}
|
||||
|
||||
<h1>{l s='Top sellers'}</h1>
|
||||
|
||||
{if $products}
|
||||
{include file="$tpl_dir./product-sort.tpl"}
|
||||
{include file="$tpl_dir./product-list.tpl" products=$products}
|
||||
{include file="$tpl_dir./pagination.tpl"}
|
||||
{else}
|
||||
<p class="warning">{l s='No top sellers.'}</p>
|
||||
{/if}
|
||||
@@ -1,32 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 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-2011 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
|
||||
*}
|
||||
|
||||
<!-- Breadcrumb -->
|
||||
{if isset($smarty.capture.path)}{assign var='path' value=$smarty.capture.path}{/if}
|
||||
<div class="breadcrumb">
|
||||
<a href="{$base_dir}" title="{l s='return to'} {l s='Home'}">{l s='Home'}</a>{if isset($path) AND $path}<span class="navigation-pipe">{$navigationPipe|escape:html:'UTF-8'}</span>{if !$path|strpos:'span'}<span class="navigation_page">{$path}</span>{else}{$path}{/if}{/if}
|
||||
</div>
|
||||
<!-- /Breadcrumb -->
|
||||
@@ -1,53 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 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-2011 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
|
||||
*}
|
||||
|
||||
<li {if isset($last) && $last == 'true'}class="last"{/if}>
|
||||
<strong><a href="{$node.link|escape:'htmlall':'UTF-8'}" title="{$node.name|escape:'htmlall':'UTF-8'}">{$node.name|escape:'htmlall':'UTF-8'}</a></strong>
|
||||
{if isset($node.children) && $node.children|@count > 0}
|
||||
<ul>
|
||||
{foreach from=$node.children item=child name=categoryCmsTreeBranch}
|
||||
{if isset($child.children) && $child.children|@count > 0 || isset($child.cms) && $child.cms|@count > 0}
|
||||
{if $smarty.foreach.categoryCmsTreeBranch.last && $node.cms|@count == 0}
|
||||
{include file="$tpl_dir./category-cms-tree-branch.tpl" node=$child last='true'}
|
||||
{else}
|
||||
{include file="$tpl_dir./category-cms-tree-branch.tpl" node=$child}
|
||||
{/if}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{if isset($node.cms) && $node.cms|@count > 0}
|
||||
{foreach from=$node.cms item=cms name=cmsTreeBranch}
|
||||
<li {if $smarty.foreach.cmsTreeBranch.last}class="last"{/if} ><a href="{$cms.link|escape:'htmlall':'UTF-8'}" title="{$cms.meta_title|escape:'htmlall':'UTF-8'}">{$cms.meta_title|escape:'htmlall':'UTF-8'}</a></li>
|
||||
{/foreach}
|
||||
{/if}
|
||||
</ul>
|
||||
{elseif isset($node.cms) && $node.cms|@count > 0}
|
||||
<ul>
|
||||
{foreach from=$node.cms item=cms name=cmsTreeBranch}
|
||||
<li {if $smarty.foreach.cmsTreeBranch.last}class="last"{/if} ><a href="{$cms.link|escape:'htmlall':'UTF-8'}" title="{$cms.meta_title|escape:'htmlall':'UTF-8'}">{$cms.meta_title|escape:'htmlall':'UTF-8'}</a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
</li>
|
||||
@@ -1,40 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 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-2011 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
|
||||
*}
|
||||
|
||||
<li {if isset($last) && $last == 'true'}class="last"{/if}>
|
||||
<a href="{$node.link|escape:'htmlall':'UTF-8'}" {if isset($currentCategoryId) && $node.id == $currentCategoryId}class="selected"{/if} title="{$node.desc|escape:'htmlall':'UTF-8'}">{$node.name|escape:'htmlall':'UTF-8'}</a>
|
||||
{if $node.children|@count > 0}
|
||||
<ul>
|
||||
{foreach from=$node.children item=child name=categoryTreeBranch}
|
||||
{if $smarty.foreach.categoryTreeBranch.last}
|
||||
{include file="$tpl_dir./category-tree-branch.tpl" node=$child last='true'}
|
||||
{else}
|
||||
{include file="$tpl_dir./category-tree-branch.tpl" node=$child last='false'}
|
||||
{/if}
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
</li>
|
||||
@@ -1,93 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 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-2011 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
|
||||
*}
|
||||
|
||||
{include file="$tpl_dir./breadcrumb.tpl"}
|
||||
{include file="$tpl_dir./errors.tpl"}
|
||||
|
||||
{if isset($category)}
|
||||
{if $category->id AND $category->active}
|
||||
<h1>{strip}
|
||||
{$category->name|escape:'htmlall':'UTF-8'}
|
||||
<span>
|
||||
{if $category->id == 1 OR $nb_products == 0}{l s='There are no products.'}
|
||||
{else}
|
||||
{if $nb_products == 1}{l s='There is'}{else}{l s='There are'}{/if} 
|
||||
{$nb_products} 
|
||||
{if $nb_products == 1}{l s='product.'}{else}{l s='products.'}{/if}
|
||||
{/if}
|
||||
</span>{/strip}
|
||||
</h1>
|
||||
|
||||
{if $scenes}
|
||||
<!-- Scenes -->
|
||||
{include file="$tpl_dir./scenes.tpl" scenes=$scenes}
|
||||
{else}
|
||||
<!-- Category image -->
|
||||
{if $category->id_image}
|
||||
<div class="align_center">
|
||||
<img src="{$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category')}" alt="{$category->name|escape:'htmlall':'UTF-8'}" title="{$category->name|escape:'htmlall':'UTF-8'}" id="categoryImage" width="{$categorySize.width}" height="{$categorySize.height}" />
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{if $category->description}
|
||||
<div class="cat_desc">{$category->description}</div>
|
||||
{/if}
|
||||
{if isset($subcategories)}
|
||||
<!-- Subcategories -->
|
||||
<div id="subcategories">
|
||||
<h3>{l s='Subcategories'}</h3>
|
||||
<ul class="inline_list">
|
||||
{foreach from=$subcategories item=subcategory}
|
||||
<li>
|
||||
<a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$subcategory.name|escape:'htmlall':'UTF-8'}">
|
||||
{if $subcategory.id_image}
|
||||
<img src="{$link->getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium')}" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" />
|
||||
{else}
|
||||
<img src="{$img_cat_dir}default-medium.jpg" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" />
|
||||
{/if}
|
||||
</a>
|
||||
<a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}">{$subcategory.name|escape:'htmlall':'UTF-8'}</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
<br class="clear"/>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $products}
|
||||
{include file="$tpl_dir./product-compare.tpl"}
|
||||
{include file="$tpl_dir./product-sort.tpl"}
|
||||
{include file="$tpl_dir./product-list.tpl" products=$products}
|
||||
{include file="$tpl_dir./product-compare.tpl"}
|
||||
{include file="$tpl_dir./pagination.tpl"}
|
||||
{elseif !isset($subcategories)}
|
||||
<p class="warning">{l s='There are no products in this category.'}</p>
|
||||
{/if}
|
||||
{elseif $category->id}
|
||||
<p class="warning">{l s='This category is currently unavailable.'}</p>
|
||||
{/if}
|
||||
{/if}
|
||||
@@ -1,73 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 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-2011 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
|
||||
*}
|
||||
{if isset($cms) && $cms->id != $cgv_id}
|
||||
{include file="$tpl_dir./breadcrumb.tpl"}
|
||||
{/if}
|
||||
{if isset($cms) && !isset($category)}
|
||||
{if !$cms->active}
|
||||
<br />
|
||||
<div id="admin-action-cms">
|
||||
<p>{l s='This CMS page is not visible to your customers.'}
|
||||
<input type="hidden" id="admin-action-cms-id" value="{$cms->id}" />
|
||||
<input type="submit" value="{l s='Publish'}" class="exclusive" onclick="submitPublishCMS('{$base_dir}{$smarty.get.ad}', 0)"/>
|
||||
<input type="submit" value="{l s='Back'}" class="exclusive" onclick="submitPublishCMS('{$base_dir}{$smarty.get.ad}', 1)"/>
|
||||
</p>
|
||||
<div class="clear" ></div>
|
||||
<p id="admin-action-result"></p>
|
||||
</p>
|
||||
</div>
|
||||
{/if}
|
||||
<div class="rte{if $content_only} content_only{/if}">
|
||||
{$cms->content}
|
||||
</div>
|
||||
{elseif isset($category)}
|
||||
<div>
|
||||
<h1>{$category->name|escape:'htmlall':'UTF-8'}</h1>
|
||||
{if isset($sub_category) & !empty($sub_category)}
|
||||
<h4>{l s='List of sub categories in '}{$category->name}{l s=':'}</h4>
|
||||
<ul class="bullet">
|
||||
{foreach from=$sub_category item=subcategory}
|
||||
<li>
|
||||
<a href="{$link->getCMSCategoryLink($subcategory.id_cms_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}">{$subcategory.name|escape:'htmlall':'UTF-8'}</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
{if isset($cms_pages) & !empty($cms_pages)}
|
||||
<h4>{l s='List of pages in '}{$category->name}{l s=':'}</h4>
|
||||
<ul class="bullet">
|
||||
{foreach from=$cms_pages item=cmspages}
|
||||
<li>
|
||||
<a href="{$link->getCMSLink($cmspages.id_cms, $cmspages.link_rewrite)|escape:'htmlall':'UTF-8'}">{$cmspages.meta_title|escape:'htmlall':'UTF-8'}</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
</div>
|
||||
{else}
|
||||
{l s='This page does not exist.'}
|
||||
{/if}
|
||||
<br />
|
||||
@@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<theme>
|
||||
<version value="1.4">
|
||||
<ccc available="true" />
|
||||
<guest_checkout available="true" />
|
||||
<one_page_checkout available="true" />
|
||||
<store_locator available="true" />
|
||||
</version>
|
||||
</theme>
|
||||
@@ -1,121 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 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-2011 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
|
||||
*}
|
||||
|
||||
{capture name=path}{l s='Contact'}{/capture}
|
||||
{include file="$tpl_dir./breadcrumb.tpl"}
|
||||
|
||||
<h1>{l s='Customer Service'} - {if isset($customerThread) && $customerThread}{l s='Your reply'}{else}{l s='Contact us'}{/if}</h1>
|
||||
|
||||
{if isset($confirmation)}
|
||||
<p>{l s='Your message has been successfully sent to our team.'}</p>
|
||||
<ul class="footer_links">
|
||||
<li><a href="{$base_dir}"><img class="icon" alt="" src="{$img_dir}icon/home.gif"/></a><a href="{$base_dir}">{l s='Home'}</a></li>
|
||||
</ul>
|
||||
{elseif isset($alreadySent)}
|
||||
<p>{l s='Your message has already been sent.'}</p>
|
||||
<ul class="footer_links">
|
||||
<li><a href="{$base_dir}"><img class="icon" alt="" src="{$img_dir}icon/home.gif"/></a><a href="{$base_dir}">{l s='Home'}</a></li>
|
||||
</ul>
|
||||
{else}
|
||||
<p class="bold">{l s='For questions about an order or for more information about our products'}.</p>
|
||||
{include file="$tpl_dir./errors.tpl"}
|
||||
<form action="{$request_uri|escape:'htmlall':'UTF-8'}" method="post" class="std" enctype="multipart/form-data">
|
||||
<fieldset>
|
||||
<h3>{l s='Send a message'}</h3>
|
||||
<p class="select">
|
||||
<label for="id_contact">{l s='Subject Heading'}</label>
|
||||
{if isset($customerThread.id_contact)}
|
||||
{foreach from=$contacts item=contact}
|
||||
{if $contact.id_contact == $customerThread.id_contact}
|
||||
<input type="text" id="contact_name" name="contact_name" value="{$contact.name|escape:'htmlall':'UTF-8'}" readonly="readonly" />
|
||||
<input type="hidden" name="id_contact" value="{$contact.id_contact}" />
|
||||
{/if}
|
||||
{/foreach}
|
||||
</p>
|
||||
{else}
|
||||
<select id="id_contact" name="id_contact" onchange="showElemFromSelect('id_contact', 'desc_contact')">
|
||||
<option value="0">{l s='-- Choose --'}</option>
|
||||
{foreach from=$contacts item=contact}
|
||||
<option value="{$contact.id_contact|intval}" {if isset($smarty.post.id_contact) && $smarty.post.id_contact == $contact.id_contact}selected="selected"{/if}>{$contact.name|escape:'htmlall':'UTF-8'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</p>
|
||||
<p id="desc_contact0" class="desc_contact"> </p>
|
||||
{foreach from=$contacts item=contact}
|
||||
<p id="desc_contact{$contact.id_contact|intval}" class="desc_contact" style="display:none;">
|
||||
<label> </label>{$contact.description|escape:'htmlall':'UTF-8'}
|
||||
</p>
|
||||
{/foreach}
|
||||
{/if}
|
||||
<p class="text">
|
||||
<label for="email">{l s='E-mail address'}</label>
|
||||
{if isset($customerThread.email)}
|
||||
<input type="text" id="email" name="from" value="{$customerThread.email}" readonly="readonly" />
|
||||
{else}
|
||||
<input type="text" id="email" name="from" value="{$email}" />
|
||||
{/if}
|
||||
</p>
|
||||
{if !$PS_CATALOG_MODE}
|
||||
{if (!isset($customerThread.id_order) || $customerThread.id_order > 0)}
|
||||
<p class="text">
|
||||
<label for="id_order">{l s='Order ID'}</label>
|
||||
{if !isset($customerThread.id_order) && isset($isLogged) && $isLogged == 1}
|
||||
<select name="id_order" ><option value="0">{l s='-- Choose --'}</option>{$orderList}</select>
|
||||
{elseif !isset($customerThread.id_order) && !isset($isLogged)}
|
||||
<input type="text" name="id_order" id="id_order" value="{if isset($customerThread.id_order) && $customerThread.id_order > 0}{$customerThread.id_order|intval}{else}{if isset($smarty.post.id_order)}{$smarty.post.id_order|intval}{/if}{/if}" />
|
||||
{elseif $customerThread.id_order > 0}
|
||||
<input type="text" name="id_order" id="id_order" value="{$customerThread.id_order|intval}" readonly="readonly" />
|
||||
{/if}
|
||||
</p>
|
||||
{/if}
|
||||
{if isset($isLogged) && $isLogged}
|
||||
<p class="text">
|
||||
<label for="id_product">{l s='Product'}</label>
|
||||
{if !isset($customerThread.id_product)}
|
||||
<select name="id_product" style="width:300px;"><option value="0">{l s='-- Choose --'}</option>{$orderedProductList}</select>
|
||||
{elseif $customerThread.id_product > 0}
|
||||
<input type="text" name="id_product" id="id_product" value="{$customerThread.id_product|intval}" readonly="readonly" />
|
||||
{/if}
|
||||
</p>
|
||||
{/if}
|
||||
{/if}
|
||||
{if $fileupload == 1}
|
||||
<p class="text">
|
||||
<label for="fileUpload">{l s='Attach File'}</label>
|
||||
<input type="hidden" name="MAX_FILE_SIZE" value="2000000" />
|
||||
<input type="file" name="fileUpload" id="fileUpload" />
|
||||
</p>
|
||||
{/if}
|
||||
<p class="textarea">
|
||||
<label for="message">{l s='Message'}</label>
|
||||
<textarea id="message" name="message" rows="15" cols="20" style="width:340px;height:220px">{if isset($message)}{$message|escape:'htmlall':'UTF-8'|stripslashes}{/if}</textarea>
|
||||
</p>
|
||||
<p class="submit">
|
||||
<input type="submit" name="submitMessage" id="submitMessage" value="{l s='Send'}" class="button_large" onclick="$(this).hide();" />
|
||||
</p>
|
||||
</fieldset>
|
||||
</form>
|
||||
{/if}
|
||||
@@ -1,68 +0,0 @@
|
||||
/* adresses */
|
||||
div.addresses {
|
||||
border: 1px solid #d0d3d8;
|
||||
background: #D0D1D5 url('../img/form_bg.jpg') repeat-x top left;
|
||||
padding: 0.6em;
|
||||
position: relative;
|
||||
width: 544px
|
||||
}
|
||||
div.addresses h3 { margin: 0 }
|
||||
div.addresses p.checkbox input {
|
||||
margin-top: 0!important;
|
||||
margin-top: -3px
|
||||
}
|
||||
div.addresses ul.item { clear: both }
|
||||
ul.address {
|
||||
background-color: white;
|
||||
float: left;
|
||||
list-style-image: none;
|
||||
list-style-position: outside;
|
||||
list-style-type: none;
|
||||
margin-left: 0.25em;
|
||||
padding-bottom: 0.6em;
|
||||
margin-bottom: 1em;
|
||||
position: relative;
|
||||
width: 268px
|
||||
}
|
||||
ul.address li {
|
||||
padding-left: 1.4em;
|
||||
margin-top: 0.6em
|
||||
}
|
||||
li.address_title {
|
||||
margin-top: 0!important;
|
||||
background-color: #d0d1d5;
|
||||
color: #374853;
|
||||
font-weight: bold;
|
||||
height: 27px;
|
||||
font-size: 1.2em;
|
||||
line-height: 1.9em
|
||||
}
|
||||
ul.item li.address_title { background-image: url('../img/address_alias_left.gif') }
|
||||
ul.alternate_item li.address_title { background-image: url('../img/address_alias_right.gif') }
|
||||
li.address_name,
|
||||
li.address_firstname,
|
||||
li.address_lastname,
|
||||
li.address_update a,
|
||||
li.address_delete a { color: #dd2a81 }
|
||||
li.address_name,
|
||||
li.address_firstname,
|
||||
li.address_lastname,
|
||||
li.address_company { font-weight: bold }
|
||||
|
||||
span.address_name,
|
||||
span.address_firstname,
|
||||
span.address_lastname,
|
||||
span.address_update a,
|
||||
span.address_delete a { color: #dd2a81 }
|
||||
span.address_name,
|
||||
span.address_firstname,
|
||||
span.address_lastname,
|
||||
span.address_company { font-weight: bold }
|
||||
|
||||
li.address_update,
|
||||
li.address_delete {
|
||||
background: transparent url('../img/bullet_myaccount.gif') no-repeat 0 0.5em!important;
|
||||
background: transparent url('../img/bullet_myaccount.gif') no-repeat 0 0.4em;
|
||||
margin-left: 1.4em
|
||||
}
|
||||
#center_column .address_add { padding: 1em 0 }
|
||||
@@ -1,50 +0,0 @@
|
||||
|
||||
/* authentication.tpl */
|
||||
#create-account_form,
|
||||
#authentication #login_form {
|
||||
width: 49%;
|
||||
height: 20em;
|
||||
clear: none;
|
||||
float: left
|
||||
}
|
||||
#create-account_form h4 {
|
||||
height: 3.4em;
|
||||
padding: 0.3em 3em 0 4em
|
||||
}
|
||||
#create-account_form p.text,
|
||||
#authentication #login_form p.text {
|
||||
height: 3.4em;
|
||||
margin-left: 4em;
|
||||
padding-left: 0;
|
||||
padding-right: 0
|
||||
}
|
||||
#authentication #login_form a { color: #374853 }
|
||||
#create-account_form { margin-right: 11px }
|
||||
#create-account_form p.text {
|
||||
text-align: left;
|
||||
width: 100px
|
||||
}
|
||||
#authentication #create-account_form p.text label { width: 100px }
|
||||
#authentication input#SubmitCreate,
|
||||
#authentication input#SubmitLogin { margin: 0 }
|
||||
#authentication p.submit {
|
||||
margin-right: 0;
|
||||
text-align: left;
|
||||
padding-left: 17%!important
|
||||
}
|
||||
#authentication p.lost_password { padding-left: 4em }
|
||||
#authentication #create-account_form fieldset,
|
||||
#authentication #login_form fieldset { height: 18em }
|
||||
#authentication p.submit span { padding-right: 0.5em }
|
||||
#create-account_form label, #authentication #login_form label {
|
||||
float: none;
|
||||
clear: both;
|
||||
display: block;
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
margin-bottom: 0.3em
|
||||
}
|
||||
#account-creation_form input.text,
|
||||
#account-creation_form #id_country,
|
||||
#account-creation_form #id_state,
|
||||
#authentication textarea { width: 17em }
|
||||
@@ -1,5 +0,0 @@
|
||||
/* category.tpl */
|
||||
body#category #subcategories li { height: 136px; width: 108px; margin-right: 3px }
|
||||
div.cat_desc { margin: 0 1em }
|
||||
body#category div#subcategories .inline_list a img { display: inline }
|
||||
#category img#categoryImage { margin-top: 1em }
|
||||
@@ -1,10 +0,0 @@
|
||||
#admin-action-cms {
|
||||
background-color: #DFFAD3;
|
||||
border: 1px solid #72CB67;
|
||||
color: #374853;
|
||||
margin-bottom: 10px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
#admin-action-cms input.exclusive { float:right }
|
||||
|
||||
@@ -1,122 +0,0 @@
|
||||
.comparison_feature_value
|
||||
{
|
||||
padding: 5px;
|
||||
margin-top: 5px
|
||||
}
|
||||
|
||||
.comparison_feature
|
||||
{
|
||||
padding: 5px;
|
||||
color: red;
|
||||
font-weight: bold
|
||||
}
|
||||
|
||||
.comparison_feature_odd
|
||||
{
|
||||
background-color: #F1F2F4;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
.comparison_feature_even
|
||||
{
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
.comparison_infos
|
||||
{
|
||||
border-left: 1px dotted #595A5E;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.comparison_infos_first
|
||||
{
|
||||
border-left: 1px dotted #595A5E;
|
||||
border-right: 1px dotted #595A5E
|
||||
}
|
||||
|
||||
#product_comparison
|
||||
{
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
tr.comparison_header td
|
||||
{
|
||||
background-color: #595A5E;
|
||||
color: #FFFFFF;
|
||||
font-weight: bold;
|
||||
padding: 3px
|
||||
}
|
||||
|
||||
.product_desc a
|
||||
{
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.comparison_comment
|
||||
{
|
||||
background-color: #FFFFFF;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.cluetip-comparison_comments {
|
||||
text-align: justify;
|
||||
background-color:white;
|
||||
padding:10px;
|
||||
border:1px solid gray;
|
||||
background-color:#F1F2F4;
|
||||
opacity:0.95;
|
||||
width: 430px
|
||||
}
|
||||
|
||||
.comment .customer_name
|
||||
{
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
.cmp_remove
|
||||
{
|
||||
margin: auto;
|
||||
text-align: center;
|
||||
display: block;
|
||||
width: 120px;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
line-height: 22px;
|
||||
height: 22px;
|
||||
background: url('../../../../img/admin/delete.gif') no-repeat;
|
||||
}
|
||||
|
||||
.comparison_availability_statut
|
||||
{
|
||||
height: 27px;
|
||||
}
|
||||
|
||||
.comparison_old_price
|
||||
{
|
||||
height: 13px;
|
||||
}
|
||||
|
||||
.comparison_product_infos
|
||||
{
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.comparison_unit_price
|
||||
{
|
||||
color:gray;
|
||||
font-size:0.75em;
|
||||
}
|
||||
|
||||
.product_discount
|
||||
{
|
||||
height: 13px;
|
||||
color:#DA0F00;
|
||||
font-weight:bold;
|
||||
text-transform:uppercase;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
/* contact-form.tpl */
|
||||
body#contact-form div#center_column form input#email,
|
||||
body#contact-form div#center_column form select#id_contact,
|
||||
body#contact-form div#center_column form textarea#message { width: 50% }
|
||||
form.std p.desc_contact span.like_input {
|
||||
width: 366px;
|
||||
text-align: left
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,45 +0,0 @@
|
||||
/* history.tpl*/
|
||||
#block-history { color: #374853 }
|
||||
.color-myaccount { color: #dd2a81 }
|
||||
#block-history table#order-list { border: none }
|
||||
#block-history table#order-list thead th { background-image: url('../img/block_myaccount_header_large.gif') }
|
||||
#block-history table#order-list thead th { color: white }
|
||||
#block-history table#order-list tbody { background: #D0D1D5 url('../img/form_bg.jpg') repeat-x top left }
|
||||
#block-history table#order-list tbody tr td { background-color: white }
|
||||
#block-history table#order-list td.history_link {
|
||||
white-space: nowrap;
|
||||
text-align: right
|
||||
}
|
||||
#block-history #block-order-detail {
|
||||
border-top: 2px #dd2a81 solid;
|
||||
border-bottom: 2px #dd2a81 solid;
|
||||
padding: 0.5em;
|
||||
background: #D0D1D5 url('../img/form_bg.jpg') repeat-x top left
|
||||
}
|
||||
#block-history #block-order-detail p {
|
||||
padding-left: 0;
|
||||
padding-right: 0
|
||||
}
|
||||
#order-detail-content {
|
||||
clear: both;
|
||||
margin-top: 1.5em
|
||||
}
|
||||
#order-detail-content tbody tr { height: 3em }
|
||||
#order-detail-content tfoot td { border: none }
|
||||
#order-detail-content table td input.order_qte_input { display: none }
|
||||
#order-detail-content table td.order_cb input { border: none }
|
||||
#order-detail-content table td span.order_qte_span {
|
||||
width: 100%;
|
||||
display: block
|
||||
}
|
||||
#block-history #block-order-detail h4 { font-size: 1.4em }
|
||||
#block-history #block-order-detail #sendOrderMessage p { padding: 0 4px 0 1px }
|
||||
#block-history #block-order-detail textarea {
|
||||
margin: 0 auto;
|
||||
width: 100%
|
||||
}
|
||||
#ordermsg textarea {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 528px;
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
/* identity.tpl */
|
||||
p#security_informations {
|
||||
font-size: 0.85em;
|
||||
margin: 0 3em
|
||||
}
|
||||
@@ -1,39 +0,0 @@
|
||||
*, body{margin:0;padding:0}
|
||||
body
|
||||
{
|
||||
font-family:90%/1em 'Lucida Grande', Verdana, sans-serif;
|
||||
}
|
||||
|
||||
#maintenance
|
||||
{
|
||||
width:450px;
|
||||
margin:35px auto 0 auto;
|
||||
padding:12px 0;
|
||||
background:#fff;
|
||||
text-align:center;
|
||||
text-transform:none;
|
||||
font-weight:normal;
|
||||
letter-spacing:0;
|
||||
color: #C73178;
|
||||
}
|
||||
|
||||
#message
|
||||
{
|
||||
width:450px;
|
||||
margin-top:35px;
|
||||
padding:12px 15px;
|
||||
border-top:1px dotted #666;
|
||||
border-bottom:1px dotted #666;
|
||||
background:#F9E3EE;
|
||||
text-align:justify;
|
||||
font:90%/1em 'Lucida Grande', Verdana, sans-serif;
|
||||
text-transform:none;
|
||||
font-weight:normal;
|
||||
letter-spacing:0;
|
||||
color:#C73178;
|
||||
}
|
||||
|
||||
#message img
|
||||
{
|
||||
padding:30px;
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
/* Block advertising */
|
||||
.advertising_block { width: 191px; margin-bottom: 1em; text-align: center }
|
||||
@@ -1,5 +0,0 @@
|
||||
/* Block best sellers */
|
||||
#best-sellers_block_right p {
|
||||
margin: 0;
|
||||
padding-top:3px
|
||||
}
|
||||
@@ -1,113 +0,0 @@
|
||||
/* Special style for block cart*/
|
||||
#cart_block .block_content { padding: 6px 6px 2px }
|
||||
#cart_block h4 { background-image: url('../../../img/block_header_exclusive_cart.png') }
|
||||
#cart_block h4 span {
|
||||
text-transform: none;
|
||||
font-size: 0.8em;
|
||||
cursor: pointer;
|
||||
background-repeat: no-repeat;
|
||||
background-position: left top;
|
||||
padding-left: 10px
|
||||
}
|
||||
#cart_block h4 span#block_cart_collapse { background-image: url('../../../img/icon/sort_asc_white.png') }
|
||||
#cart_block h4 span#block_cart_expand { background-image: url('../../../img/icon/sort_desc_white.png') }
|
||||
#cart_block #cart_block_no_products { margin: 0.5em 0 }
|
||||
#cart_block dl dt a,
|
||||
#cart_block dl dt span.quantity-formated { float: left }
|
||||
#cart_block dl { font-size: 0.9em }
|
||||
#cart_block dt { padding-top: 0.4em }
|
||||
#cart_block dl span.quantity-formated { padding-right: 1px }
|
||||
#cart_block dt, #cart_block dd {
|
||||
clear: both;
|
||||
margin-top: 0.2em
|
||||
}
|
||||
#cart_block dt {
|
||||
width: 175px;
|
||||
text-align: right
|
||||
}
|
||||
#cart_block dd { width: 155px }
|
||||
#cart_block dd {
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
font-style: italic
|
||||
}
|
||||
#cart_block dl dt a { font-weight: bold }
|
||||
#cart_block a.ajax_cart_block_remove_link {
|
||||
width: 11px;
|
||||
height: 13px;
|
||||
margin-left: 6px;
|
||||
float: right;
|
||||
font-size: 0;
|
||||
display: block;
|
||||
background: transparent url('../../../img/icon/delete.gif') no-repeat left bottom
|
||||
}
|
||||
#cart_block a.ajax_cart_block_remove_link:hover { text-decoration: none }
|
||||
#cart_block p { clear: both }
|
||||
#cart_block p span {
|
||||
clear: right;
|
||||
float: left;
|
||||
text-align: right
|
||||
}
|
||||
#cart_block li { clear: both }
|
||||
#cart_block span.price {
|
||||
color: white;
|
||||
float: right
|
||||
}
|
||||
#cart_block dl span.price {
|
||||
font-weight: normal;
|
||||
color: white;
|
||||
float: none
|
||||
}
|
||||
|
||||
#cart_block_wrapping_cost, #cart_block_shipping_cost, #cart_block_tax_cost, #cart_block_total { padding-right: 1.3em }
|
||||
|
||||
#cart_block table#vouchers {
|
||||
margin-top: 0.5em;
|
||||
border-top: 1px solid white;
|
||||
height: 3em;
|
||||
padding-top: 0.4em;
|
||||
margin-bottom: 0.5em;
|
||||
clear: both
|
||||
}
|
||||
#cart_block p#cart-prices {
|
||||
clear: both;
|
||||
margin-top: 8px;
|
||||
margin-bottom: 2em;
|
||||
display: block;
|
||||
padding-top: 0.4em;
|
||||
border-top: 1px solid white
|
||||
}
|
||||
#cart_block table#vouchers td {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
height: 1.5em
|
||||
}
|
||||
#cart_block table#vouchers td.price {
|
||||
color: white;
|
||||
font-size: 1em;
|
||||
font-weight: normal;
|
||||
width: 37%;
|
||||
text-align: right
|
||||
}
|
||||
#cart_block table#vouchers td.delete {
|
||||
width: 9%;
|
||||
text-align: right
|
||||
}
|
||||
#cart_block table#vouchers td.delete img { margin: 0 }
|
||||
#cart_block p#cart-buttons {
|
||||
height: 1.6em;
|
||||
margin: 0 -0.3em
|
||||
}
|
||||
#cart_block p#cart-buttons a { float: left }
|
||||
#cart_block p#cart-buttons a#button_order_cart { float: right }
|
||||
#cart_block .cart_block_customizations {
|
||||
margin-left: 6px;
|
||||
list-style-type: square
|
||||
}
|
||||
#cart_block #cart-price-precisions {
|
||||
margin-top: 0.5em;
|
||||
padding-top: 0.4em;
|
||||
border-top: 1px solid white;
|
||||
font-size: 0.9em;
|
||||
height: 2em
|
||||
}
|
||||
@@ -1,47 +0,0 @@
|
||||
/* Block categories */
|
||||
#categories_block_left .tree { padding-left: 0.5em }
|
||||
#categories_block_left .tree li {
|
||||
border: none;
|
||||
padding-top: 5px;
|
||||
padding-left: 15px;
|
||||
background: none;
|
||||
margin-left: 0;
|
||||
font-weight: bold;
|
||||
font-size: 13px;
|
||||
line-height: 13px
|
||||
}
|
||||
#categories_block_left .tree li.last { padding-bottom: 0 }
|
||||
#categories_block_left .tree ul { padding: 2px 0 0 }
|
||||
#categories_block_left .tree li li {
|
||||
padding: 1px 0 1px 15px;
|
||||
background: none;
|
||||
font-size: 11px;
|
||||
font-weight: normal
|
||||
}
|
||||
#categories_block_left .tree li li.last { padding-bottom: 0 }
|
||||
#categories_block_left .tree li li li {
|
||||
padding-left: 15px;
|
||||
font-size: 9px
|
||||
}
|
||||
#categories_block_left .tree a {
|
||||
padding-left: 0;
|
||||
color: #374853
|
||||
}
|
||||
#categories_block_left .tree a:hover { text-decoration: none }
|
||||
#categories_block_left ul.tree a.selected {
|
||||
color: #488c40;
|
||||
font-weight: bold
|
||||
}
|
||||
#categories_block_left span.grower {
|
||||
display: block;
|
||||
float: left;
|
||||
background-position: 0 3px;
|
||||
background-repeat: no-repeat;
|
||||
width: 9px;
|
||||
height: 15px;
|
||||
margin: 0 0 0 -12px!important;
|
||||
margin: 0 0 0 -8px;
|
||||
padding: 0
|
||||
}
|
||||
#categories_block_left span.OPEN { background-image: url('../../../img/icon/less.gif') }
|
||||
#categories_block_left span.CLOSE { background-image: url('../../../img/icon/more.gif') }
|
||||
@@ -1,14 +0,0 @@
|
||||
#footer .block_various_links { list-style: none }
|
||||
#footer .block_various_links li a { text-decoration: none }
|
||||
#footer .block_various_links li {
|
||||
display: inline;
|
||||
border-left: 1px solid #888;
|
||||
padding: 0 2px 0 4px
|
||||
}
|
||||
#footer .block_various_links li.first_item {
|
||||
border: none;
|
||||
padding-left: 0
|
||||
}
|
||||
|
||||
/* Block CMS links */
|
||||
.informations_block_left .block_content { padding-top: 3px }
|
||||
@@ -1,38 +0,0 @@
|
||||
/* block top currencies */
|
||||
#currencies_block_top {
|
||||
margin: 0.4em 0.5em 0 0;
|
||||
float: left;
|
||||
width: 8em;
|
||||
text-align: left
|
||||
}
|
||||
#currencies_block_top li {
|
||||
float: left;
|
||||
margin-right: 0.2em;
|
||||
margin-bottom: 2px
|
||||
}
|
||||
#currencies_block_top a {
|
||||
display: block;
|
||||
font-size: 0.8em;
|
||||
background-color: #f1f2f4;
|
||||
border: #595a5e 1px solid;
|
||||
text-decoration: none;
|
||||
min-width: 1em;
|
||||
padding: 0 2px 0 3px;
|
||||
line-height: 1.5em;
|
||||
text-align: center;
|
||||
vertical-align: middle
|
||||
}
|
||||
#currencies_block_top a:hover {
|
||||
background-color: white;
|
||||
color: black
|
||||
}
|
||||
#currencies_block_top .selected a {
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
font-size: 11px;
|
||||
line-height: 1.2em;
|
||||
font-weight: bold;
|
||||
color: black;
|
||||
border: 1px solid white
|
||||
}
|
||||
#currencies_block_top p { clear: left }
|
||||
@@ -1,17 +0,0 @@
|
||||
/* block top languages */
|
||||
#header_right #languages_block_top {
|
||||
margin: 0.4em 0.1em 0 0;
|
||||
float: left
|
||||
}
|
||||
#header_right #languages_block_top p { clear: left }
|
||||
#languages_block_top {
|
||||
width: 80px
|
||||
}
|
||||
#languages_block_top ul#first-languages li {
|
||||
float: left;
|
||||
margin-right: 3px
|
||||
}
|
||||
#languages_block_top ul#first-languages li.selected_language {
|
||||
float: left;
|
||||
margin-right: 0.3em
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
/* Block manufacturer */
|
||||
.blockmanufacturer ul { padding: 4px 0 6px }
|
||||
.blockmanufacturer select {
|
||||
width: 100%;
|
||||
margin: 0
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
/* block myaccount */
|
||||
#left_column div.myaccount, #right_column div.myaccount { background: #f6dce8 url('../../../img/block_footer_myaccount.jpg') no-repeat bottom left }
|
||||
div.myaccount h4 { background: #971d58 url('../../../img/block_header_myaccount.jpg') no-repeat top left }
|
||||
div.myaccount h4 a, div.myaccount h4 { color: white }
|
||||
div.myaccount, div.myaccount a { color: #5d0630 }
|
||||
div.myaccount ul.bullet { margin-top: 0.6em }
|
||||
div.myaccount ul.bullet li { background-image: url('../../../img/bullet_myaccount.gif') }
|
||||
div.myaccount ul.bullet .icon { display: none }
|
||||
div.myaccount p.logout { padding: 0.3em 0 0.3em 2em }
|
||||
div.myaccount p.logout, div.myaccount p.logout a { color: #dd2a81 }
|
||||
div.myaccount p.logout a { text-decoration: underline }
|
||||
div.myaccount p.logout a:hover { text-decoration: none }
|
||||
div.myaccount .block_content { background: #f6dce8 url('../../../img/block_bg_myaccount.jpg') repeat-x bottom left; border-left: 1px solid #f6dce8; border-right: 1px solid #f6dce8; }
|
||||
.account_input { margin-left: 0; width: 15em; }
|
||||
@@ -1,8 +0,0 @@
|
||||
/* Block new products */
|
||||
#new-products_block_right ul { padding: 5px 0 }
|
||||
#new-products_block_right li {
|
||||
margin-top: 0;
|
||||
padding:0
|
||||
}
|
||||
#new-products_block_right .product_images li.first { margin-right: 11px }
|
||||
#new-products_block_right dt a { font-size: 0.8em; font-weight: bold }
|
||||
@@ -1,4 +0,0 @@
|
||||
/* Block newsletter */
|
||||
div#newsletter_block_left div.block_content { padding: 1em 0; text-align: center }
|
||||
div#newsletter_block_left div.block_content p { padding: 0.3em 0; text-align: center }
|
||||
div#newsletter_block_left div.block_content input.button_mini { margin: 1em auto 0em auto }
|
||||
@@ -1,4 +0,0 @@
|
||||
/* Block logo payment */
|
||||
.paiement_logo_block { width: 191px; text-align: center; margin-bottom: 1.5em }
|
||||
.paiement_logo_block a { text-decoration: none }
|
||||
.paiement_logo_block img { margin: 0 0.5em }
|
||||
@@ -1,24 +0,0 @@
|
||||
/* block top links */
|
||||
ul#header_links {
|
||||
margin: 0.4em 0.3em 0 0;
|
||||
list-style-type: none;
|
||||
float: left
|
||||
}
|
||||
#header_links li {
|
||||
float: left;
|
||||
width: 66px
|
||||
}
|
||||
#header_links a {
|
||||
display: block;
|
||||
height: 15px;
|
||||
color: #595a5e;
|
||||
padding-top: 19px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
background-repeat: no-repeat;
|
||||
background-position: top center;
|
||||
background-color: transparent
|
||||
}
|
||||
#header_links #header_link_sitemap a { background-image: url('../../../img/icon/sitemap.gif') }
|
||||
#header_links #header_link_contact a { background-image: url('../../../img/icon/contact.gif') }
|
||||
#header_links #header_link_bookmark a { background-image: url('../../../img/icon/star.gif') }
|
||||
@@ -1,2 +0,0 @@
|
||||
/* Block RSS */
|
||||
#rss_block_left p { margin: 0.5em 0; text-align: center }
|
||||
@@ -1,24 +0,0 @@
|
||||
/* block top search */
|
||||
#header_right #search_block_top {
|
||||
float: right;
|
||||
background: #e5e6e7 url('../../../img/block_search_bg.jpg') no-repeat top right;
|
||||
margin-bottom: 11px;
|
||||
width: 336px;
|
||||
height: 28px
|
||||
}
|
||||
#header_right #search_block_top p { padding: 0.4em 0 0.4em 1em }
|
||||
#header_right #search_block_top label, #header_right #search_block_top input { float: left }
|
||||
#header_right #search_block_top label {
|
||||
background: transparent url('../../../img/icon/search.gif') no-repeat 0 2px;
|
||||
float: left;
|
||||
width: 19px;
|
||||
height: 18px;
|
||||
display: block
|
||||
}
|
||||
#header_right #search_block_top input.search_query { width: 12em }
|
||||
|
||||
|
||||
/* block left column "Quick search" */
|
||||
#search_block_left input { margin: 2px 0 0 0 }
|
||||
#search_block_left .search_query { width: 11em }
|
||||
#search_button { display: inline }
|
||||
@@ -1,16 +0,0 @@
|
||||
/* Block specials */
|
||||
.blockspecials ul { padding-top: 5px }
|
||||
.blockspecials ul li {
|
||||
float: left;
|
||||
clear: none;
|
||||
padding: 0;
|
||||
width: 48%
|
||||
}
|
||||
.blockspecials p.product_image { margin-right: 0.3em }
|
||||
.blockspecials p {
|
||||
padding: 0.3em 0 0 0;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
clear: both
|
||||
}
|
||||
.blockspecials p a { margin: 0 auto }
|
||||
@@ -1,3 +0,0 @@
|
||||
/* Block store */
|
||||
.blockstore img { margin: 10px 0 0 0; }
|
||||
.blockstore p { text-align: center; font-weight: 10px; }
|
||||
@@ -1,7 +0,0 @@
|
||||
/* Block supplier */
|
||||
.blocksupplier ul { padding: 4px 0 6px }
|
||||
.blocksupplier select {
|
||||
width: 100%;
|
||||
margin: 0
|
||||
}
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
/* Block tags */
|
||||
div.tags_block .block_content { padding: 3px 6px 0 }
|
||||
div.tags_block p {
|
||||
text-align: justify;
|
||||
font-size: 0.9em
|
||||
}
|
||||
div.tags_block p a {
|
||||
margin: 0 0.1em;
|
||||
line-height: 1.5em
|
||||
}
|
||||
div.tags_block p a:hover {
|
||||
color: white!important;
|
||||
background-color: #5D717E;
|
||||
text-decoration: none
|
||||
}
|
||||
a.tag_level3 { font-size: 1.8em; font-weight: bold }
|
||||
a.tag_level2 { font-size: 1.4em }
|
||||
a.tag_level1 { font-size: 1em; color: #888!important }
|
||||
@@ -1,27 +0,0 @@
|
||||
/* block top user information */
|
||||
#header_right #header_user {
|
||||
float: right;
|
||||
width: 535px;
|
||||
text-align: right;
|
||||
margin-right: 6px
|
||||
}
|
||||
#header_user p { color: #595a5e }
|
||||
#header_user span { font-weight: bold }
|
||||
#header_user ul { margin-top: 0.3em }
|
||||
#header_user li {
|
||||
float: right;
|
||||
line-height: 2em;
|
||||
margin-left: 0.5em;
|
||||
white-space: nowrap
|
||||
}
|
||||
#header_user #shopping_cart, #header_user #your_account { font-size: 0.9em }
|
||||
#header_user li#your_account { margin-left: 0 }
|
||||
#header_user #shopping_cart a, #header_user #your_account a {
|
||||
background-repeat: no-repeat;
|
||||
background-position: top left;
|
||||
padding: 2px 0 4px 26px;
|
||||
height: 20px;
|
||||
text-decoration: none
|
||||
}
|
||||
#header_user #shopping_cart a { background-image: url('../../../img/icon/cart.gif') }
|
||||
#header_user #your_account a { background-image: url('../../../img/icon/my-account.gif') }
|
||||
@@ -1,6 +0,0 @@
|
||||
/* Block Viewed Products */
|
||||
div#viewed-products_block_left div.block_content ul.products li {
|
||||
margin-top: 0;
|
||||
padding: 4px 0 0
|
||||
}
|
||||
div#viewed-products_block_left div.block_content ul.products li img { margin-right: 7px }
|
||||
@@ -1,16 +0,0 @@
|
||||
/* module blockwishlist */
|
||||
#wishlist_block #wishlist_block_list dl.products {
|
||||
font-size: 10px;
|
||||
border-bottom: 1px solid #fff;
|
||||
margin: 0 0 5px 0;
|
||||
padding: 3px 0 5px
|
||||
}
|
||||
#wishlist_block div.block_content #wishlist_block_list dl.products dt a.cart_block_product_name { font-weight: bold }
|
||||
#wishlist_block div.block_content #wishlist_block_list dl.products dt { margin: 2px 0 }
|
||||
#wishlist_block div.block_content #wishlist_block_list dl.products dt a.ajax_cart_block_remove_link { float: right }
|
||||
#wishlist_block div.block_content #wishlist_block_list dl.products dd {
|
||||
font-style: italic;
|
||||
margin: 0 0 0 10px
|
||||
}
|
||||
#wishlist_block div.block_content p select#wishlists { width: 140px }
|
||||
#wishlist_block div.block_content p a.exclusive { margin: 5px auto 0 auto }
|
||||
@@ -1,43 +0,0 @@
|
||||
div#crossselling {
|
||||
padding-top: 10px;
|
||||
clear: both;
|
||||
}
|
||||
#crossselling {
|
||||
margin: 0 auto 0;
|
||||
height: 170px;
|
||||
width: 100%
|
||||
}
|
||||
#crossselling_noscroll {
|
||||
margin: 0 auto 0;
|
||||
height: 120px;
|
||||
width: 100%
|
||||
}
|
||||
#crossselling_list {
|
||||
overflow: hidden;
|
||||
float: left;
|
||||
width: 96%
|
||||
}
|
||||
#crossselling_list ul {
|
||||
padding-left: 0;
|
||||
list-style-type: none
|
||||
}
|
||||
#crossselling_list li {
|
||||
float: left;
|
||||
margin: 0 3px;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
width: 100px;
|
||||
overflow: hidden
|
||||
}
|
||||
#crossselling_list li a { margin: auto }
|
||||
#crossselling_scroll_left,
|
||||
#crossselling_scroll_right {
|
||||
background: url('../../../img/thumbs_left.gif') no-repeat center;
|
||||
text-indent: -3000px;
|
||||
display: block;
|
||||
width: 9px;
|
||||
height: 18px;
|
||||
float: left;
|
||||
margin-top: 30px
|
||||
}
|
||||
#crossselling_scroll_right { background-image: url('../../../img/thumbs_right.gif') }
|
||||
@@ -1,30 +0,0 @@
|
||||
/* Block editorial */
|
||||
.editorial_block { margin-bottom: 2em }
|
||||
.editorial_block .rte { background: transparent none repeat scroll 0 0 }
|
||||
.editorial_block h1 {
|
||||
background: none;
|
||||
padding: 0;
|
||||
margin-bottom: 1em
|
||||
}
|
||||
.editorial_block h2 {
|
||||
font-size: 1.1em;
|
||||
margin: 1em 0;
|
||||
text-transform: none;
|
||||
line-height: 1.2em;
|
||||
padding: 0;
|
||||
padding-bottom: 10px;
|
||||
background: none;
|
||||
color: #5D717E
|
||||
}
|
||||
.editorial_block p { padding-top: 0.4em }
|
||||
#editorial_block_center p { padding-left: 0 }
|
||||
|
||||
#editorial_image_legend {
|
||||
color: #AAAAAA;
|
||||
font-size: 6pt;
|
||||
font-style: italic;
|
||||
margin: 0;
|
||||
padding-left: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
/* my-account.tpl */
|
||||
#my-account #center_column ul { margin: 2em 0 }
|
||||
#my-account #center_column li {
|
||||
list-style: none;
|
||||
margin: 2em 1.5em
|
||||
}
|
||||
@@ -1,66 +0,0 @@
|
||||
#order-opc .opc_status {
|
||||
border: 1px solid #d0d3d8;
|
||||
background: #D0D1D5 url('../img/form_bg.jpg') repeat-x top left;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.opc_float {
|
||||
float:left;
|
||||
width: 49%;
|
||||
}
|
||||
|
||||
.opc_float_status {
|
||||
float: left;
|
||||
width: 45%;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
#order-opc #login_form {
|
||||
width: 100%;
|
||||
clear: none;
|
||||
}
|
||||
|
||||
#order-opc #login_form p.text {
|
||||
height: 3.4em;
|
||||
margin-left: 4em;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
#order-opc #login_form a { color: #374853 }
|
||||
#order-opc input#SubmitLogin { margin: 0 }
|
||||
#order-opc #login_form p.submit {
|
||||
margin-right: 0;
|
||||
text-align: left;
|
||||
padding-left: 17%!important;
|
||||
}
|
||||
#order-opc p.lost_password { padding-left: 4em }
|
||||
#order-opc p.submit span { padding-right: 0.5em }
|
||||
#order-opc #login_form label {
|
||||
float: none;
|
||||
clear: both;
|
||||
display: block;
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
margin-bottom: 0.3em;
|
||||
}
|
||||
|
||||
#order-opc textarea#message { width: 42em }
|
||||
|
||||
#order-opc sup { color: red; }
|
||||
|
||||
#order-opc div.opc-overlay {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background: url('../img/ajax-loader.gif') #666 no-repeat center center;
|
||||
opacity: 0.7;
|
||||
filter : alpha(opacity=70); /* IE < 8 */
|
||||
-moz-opacity : 0.7;
|
||||
-ms-filter: "alpha(opacity=70)"; /* IE 8 */
|
||||
z-index: 99;
|
||||
}
|
||||
|
||||
#order-opc div.opc-main-block { position: relative }
|
||||
@@ -1,159 +0,0 @@
|
||||
|
||||
/* product.tpl */
|
||||
#primary_block #pb-right-column {
|
||||
width: 310px;
|
||||
float: left
|
||||
}
|
||||
#primary_block #image-block {
|
||||
border: #d0d1d5 solid 1px;
|
||||
height: 300px;
|
||||
width: 300px
|
||||
}
|
||||
#primary_block #image-block img#bigpic {
|
||||
cursor: pointer;
|
||||
height: 300px;
|
||||
width: 300px
|
||||
}
|
||||
#primary_block ul#usefull_link_block {
|
||||
list-style-type: none;
|
||||
margin-top: 1em
|
||||
}
|
||||
#primary_block ul#usefull_link_block li { margin: 0.5em 1em 0.5em 0; display: block }
|
||||
#primary_block ul#usefull_link_block li a,
|
||||
#primary_block ul#usefull_link_block span.span_link,
|
||||
#primary_block ul#usefull_link_block span.span_link:hover {
|
||||
text-decoration: none;
|
||||
color: #76839b;
|
||||
font-size: 0.9em;
|
||||
background: white url('../img/bullet_alt.jpg') no-repeat top left;
|
||||
padding-left: 15px;
|
||||
height: 15px
|
||||
}
|
||||
#primary_block #pb-left-column {
|
||||
float: left;
|
||||
margin-left: 1.1em;
|
||||
width: 233px
|
||||
}
|
||||
#primary_block #short_description_block {
|
||||
background: #e5e6e7 url('../img/product-short-desc-bg.gif') repeat-x top left;
|
||||
border: 1px #d0d3d8 solid;
|
||||
padding: 0.7em;
|
||||
margin-bottom: 1.5em
|
||||
}
|
||||
#primary_block #color_picker p {
|
||||
margin-bottom: 0.4em;
|
||||
padding: 0
|
||||
}
|
||||
#primary_block #color_picker {
|
||||
padding: 0.6em 0.7em 0.4em 0.7em;
|
||||
background: #e5e6e7 url('../img/product-short-desc-bg.gif') repeat-x top left;
|
||||
border: 1px #d0d3d8 solid;
|
||||
margin-bottom: 1.5em
|
||||
}
|
||||
#primary_block #color_to_pick_list li {
|
||||
display: inline;
|
||||
float: left;
|
||||
margin: 0 0.4em 0.4em 0
|
||||
}
|
||||
#primary_block a.color_pick {
|
||||
display: block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border: 1px solid #666;
|
||||
cursor: pointer
|
||||
}
|
||||
#primary_block a.color_pick:hover { border: 1px solid #000 }
|
||||
#primary_block a#color_all { cursor: pointer }
|
||||
#primary_block #image-block img#bigpic.jqzoom {
|
||||
cursor: crosshair;
|
||||
position: relative
|
||||
}
|
||||
#primary_block p.buttons_bottom_block { margin: 0 }
|
||||
#primary_block p.buttons_bottom_block a,
|
||||
#primary_block p.buttons_bottom_block input { margin: 0.9em auto 0 auto }
|
||||
#primary_block #short_description_content { margin-bottom: 0.5em }
|
||||
#primary_block #buy_block {
|
||||
background: #f1f2f4 url('../img/product-buy-bg.gif') repeat-x top left;
|
||||
font-size: 1.1em;
|
||||
padding: 0.7em;
|
||||
color: #374853;
|
||||
border: 1px #d0d3d8 solid;
|
||||
margin-bottom: 1.5em
|
||||
}
|
||||
#primary_block #buy_block p {
|
||||
padding: 0;
|
||||
margin-top: 0;
|
||||
clear: both
|
||||
}
|
||||
#primary_block #buy_block img.on_sale_img { float: left }
|
||||
#primary_block #buy_block span.on_sale {
|
||||
color: #da0f00;
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
float: right
|
||||
}
|
||||
#primary_block #buy_block span.discount {
|
||||
color: #da0f00;
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
float: right
|
||||
}
|
||||
#primary_block #buy_block span.our_price_display { float: right }
|
||||
#primary_block #buy_block span#availability_label {
|
||||
float: left;
|
||||
margin-right: 1em
|
||||
}
|
||||
#primary_block #buy_block label { text-align: right }
|
||||
#primary_block #buy_block label,#primary_block #buy_block select {
|
||||
display: block;
|
||||
width: 47%;
|
||||
float: left
|
||||
}
|
||||
#primary_block div#attributes p, #quantity_wanted_p {
|
||||
clear: left;
|
||||
height: 2em
|
||||
}
|
||||
#primary_block div#attributes p, #minimal_quantity_wanted_p {
|
||||
clear: left;
|
||||
text-align: center
|
||||
}
|
||||
|
||||
/* prices */
|
||||
#primary_block #buy_block p.price {
|
||||
font-size: 1.05em;
|
||||
text-align: right
|
||||
}
|
||||
#primary_block #buy_block span#pretaxe_price {
|
||||
font-size: 0.75em;
|
||||
text-align: right
|
||||
}
|
||||
#primary_block #buy_block p#old_price {
|
||||
font-size: 0.8em;
|
||||
text-align: right;
|
||||
text-decoration: line-through
|
||||
}
|
||||
#primary_block #buy_block p#reduction_percent {
|
||||
color: #da0f00;
|
||||
font-size: 0.75em;
|
||||
text-align: right
|
||||
}
|
||||
#primary_block #buy_block p.price-ecotax {
|
||||
font-size: 0.75em;
|
||||
text-align: right
|
||||
}
|
||||
#admin-action {
|
||||
color: #374853;
|
||||
background-color: #DFFAD3;
|
||||
margin-bottom:10px;
|
||||
padding: 4px;
|
||||
border: 1px solid #72CB67
|
||||
}
|
||||
#admin-action input.exclusive
|
||||
{
|
||||
float: right
|
||||
}
|
||||
|
||||
.product_accessories_price
|
||||
{
|
||||
margin-top: 5px
|
||||
}
|
||||
@@ -1,73 +0,0 @@
|
||||
/* product-list.tpl */
|
||||
ul#product_list { margin-top: 2em; list-style-type: none }
|
||||
ul#product_list li {
|
||||
background: #d0d3d8 url('../img/block_category_item_bg.jpg') repeat-x;
|
||||
border: solid 1px #d0d3d8;
|
||||
padding: 6px;
|
||||
min-height: 130px;
|
||||
height: auto;
|
||||
clear: both;
|
||||
margin-bottom: 0.3em
|
||||
}
|
||||
* html ul#product_list li {
|
||||
height: auto !important;
|
||||
height: 130px
|
||||
}
|
||||
ul#product_list li a {
|
||||
text-decoration: none;
|
||||
color: #374853
|
||||
}
|
||||
ul#product_list a.product_img_link {
|
||||
border: solid 1px #d0d3d8;
|
||||
float: left;
|
||||
margin-right: 0.6em
|
||||
}
|
||||
ul#product_list a.product_img_link img { vertical-align: bottom; display: block }
|
||||
ul#product_list li h3 { margin: 0.4em 0 }
|
||||
ul#product_list li .new {
|
||||
background: transparent url(../img/flag_new_bg.jpg) repeat-x scroll 0%;
|
||||
border: 1px solid #488C40;
|
||||
color: white;
|
||||
font-size: 0.6em;
|
||||
font-weight: bold;
|
||||
margin: 0 1em 0 0;
|
||||
padding: 0 0.4em;
|
||||
text-transform: uppercase;
|
||||
vertical-align: 0.3em
|
||||
}
|
||||
ul#product_list li p.product_desc {
|
||||
margin-bottom: 0;
|
||||
font-size: 0.92em
|
||||
}
|
||||
ul#product_list li div.center_block {
|
||||
float: left;
|
||||
width: 74%
|
||||
}
|
||||
ul#product_list li div.right_block {
|
||||
float: left;
|
||||
width: 11em;
|
||||
text-align: right;
|
||||
margin-left: 1em;
|
||||
margin-top: 0
|
||||
}
|
||||
ul#product_list li .discount, ul#product_list li .on_sale, ul#product_list li .online_only {
|
||||
color: #da0f00;
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
display: block
|
||||
}
|
||||
ul#product_list li .reduction {
|
||||
display: block;
|
||||
margin-bottom: 0.3em
|
||||
}
|
||||
ul#product_list li .price {
|
||||
display: block;
|
||||
font-size: 1.5em;
|
||||
margin-bottom: 0.2em
|
||||
}
|
||||
ul#product_list li span.availability {
|
||||
color: #488c40;
|
||||
font-size: 0.9em
|
||||
}
|
||||
ul#product_list li a.button { margin-top: 0.5em }
|
||||
ul#product_list li p.compare input { vertical-align: text-bottom }
|
||||
@@ -1,39 +0,0 @@
|
||||
*, body{margin:0;padding:0}
|
||||
body
|
||||
{
|
||||
font-family:90%/1em 'Lucida Grande', Verdana, sans-serif;
|
||||
}
|
||||
|
||||
#restricted-country
|
||||
{
|
||||
width:450px;
|
||||
margin:35px auto 0 auto;
|
||||
padding:12px 0;
|
||||
background:#fff;
|
||||
text-align:center;
|
||||
text-transform:none;
|
||||
font-weight:normal;
|
||||
letter-spacing:0;
|
||||
color: #C73178;
|
||||
}
|
||||
|
||||
#message
|
||||
{
|
||||
width:450px;
|
||||
margin-top:35px;
|
||||
padding:12px 15px;
|
||||
border-top:1px dotted #666;
|
||||
border-bottom:1px dotted #666;
|
||||
background:#F9E3EE;
|
||||
text-align:justify;
|
||||
font:90%/1em 'Lucida Grande', Verdana, sans-serif;
|
||||
text-transform:none;
|
||||
font-weight:normal;
|
||||
letter-spacing:0;
|
||||
color:#C73178;
|
||||
}
|
||||
|
||||
#message img
|
||||
{
|
||||
padding:5px;
|
||||
}
|
||||
@@ -1,134 +0,0 @@
|
||||
/* Cluetip design */
|
||||
|
||||
.cluetip-product_scene {
|
||||
text-align:left;
|
||||
background-color:white;
|
||||
padding:10px;
|
||||
border:1px solid gray;
|
||||
background:#F1F2F4 url(../img/block_bg.jpg) repeat-x scroll left bottom;
|
||||
opacity:0.95;
|
||||
}
|
||||
|
||||
.cluetip-product_scene #cluetip-close{
|
||||
text-align:right;
|
||||
float:right;
|
||||
}
|
||||
|
||||
.cluetip-product_scene h4{
|
||||
float:left;
|
||||
font-size:1.6em;
|
||||
margin-bottom:5px;
|
||||
width:175px;
|
||||
}
|
||||
|
||||
.cluetip-product_scene a{
|
||||
float:left;
|
||||
margin-top:2px;
|
||||
}
|
||||
|
||||
.cluetip-product_scene p.description{
|
||||
float:left;
|
||||
width:170px;
|
||||
margin-left:15px;
|
||||
}
|
||||
|
||||
.cluetip-product_scene div.prices{
|
||||
float:left;
|
||||
width:90px;
|
||||
text-align:right;
|
||||
}
|
||||
|
||||
.cluetip-product_scene .new {
|
||||
background:transparent url(../img/flag_new_bg.jpg) repeat-x scroll 0% 50%;
|
||||
border:1px solid #488C40;
|
||||
clear:both;
|
||||
color:white;
|
||||
display:inline;
|
||||
font-size:0.45em;
|
||||
font-weight:bold;
|
||||
margin:8px;
|
||||
padding:0pt 0.4em;
|
||||
text-transform:uppercase;
|
||||
vertical-align:0.3em;
|
||||
}
|
||||
.cluetip-product_scene .on_sale, .cluetip-product_scene .discount {
|
||||
color:#DA0F00;
|
||||
display:block;
|
||||
font-weight:bold;
|
||||
text-transform:uppercase;
|
||||
}
|
||||
|
||||
/* END Cluetip design */
|
||||
|
||||
#scenes .screen_scene {
|
||||
margin:0 auto;
|
||||
}
|
||||
|
||||
#scenes a.cluetip{
|
||||
display:block;
|
||||
position:absolute;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
/*TMP*/
|
||||
#scenes .cluetip span{
|
||||
background:transparent url(../img/icon/cible.gif) no-repeat scroll center center;
|
||||
color:black;
|
||||
display:block;
|
||||
font-size:1.1em;
|
||||
font-weight:bold;
|
||||
height:23px;
|
||||
padding-top:5px;
|
||||
text-align:center;
|
||||
width:23px;
|
||||
}
|
||||
/*TMP*/
|
||||
.thumbs_banner{
|
||||
margin:10px auto;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
.thumbs_banner .space-keeper{
|
||||
width:25px;
|
||||
float:left;
|
||||
display:block;
|
||||
height:100%;
|
||||
}
|
||||
|
||||
.thumbs_banner .space-keeper a.prev{
|
||||
background:transparent url(../img/icon/serial_scroll_left.gif);
|
||||
display:none;
|
||||
width:25px;
|
||||
text-align:center;
|
||||
font-size:1.5em;
|
||||
text-decoration:none;
|
||||
background-color:#EEE;
|
||||
}
|
||||
#scenes_list{
|
||||
overflow:hidden;
|
||||
width:504px;
|
||||
float:left;
|
||||
border:1px solid #EEE;
|
||||
}
|
||||
#scenes_list ul{
|
||||
list-style-type:none;
|
||||
}
|
||||
|
||||
#scenes_list li{
|
||||
float:left;
|
||||
}
|
||||
|
||||
#scenes_list a{
|
||||
display:block;
|
||||
}
|
||||
|
||||
.thumbs_banner a.next {
|
||||
background:transparent url(../img/icon/serial_scroll_right.gif);
|
||||
width:25px;
|
||||
float:left;
|
||||
display:block;
|
||||
text-align:center;
|
||||
font-size:1.5em;
|
||||
text-decoration:none;
|
||||
background-color:#DDD;
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
/* sitemap.tpl */
|
||||
#sitemap_content { margin-left: 5em }
|
||||
div.sitemap_block {
|
||||
padding: 0;
|
||||
float: left;
|
||||
width: 33%;
|
||||
min-height: 120px;
|
||||
_height: 120px;
|
||||
}
|
||||
div.sitemap_block ul { text-align: left }
|
||||
div.sitemap_block h3, .categTree h3 {
|
||||
margin-top: 1em;
|
||||
margin-bottom: 1em
|
||||
}
|
||||
div.categTree {
|
||||
float: left;
|
||||
margin-top: 25px;
|
||||
margin-bottom: 1em;
|
||||
margin-left: 5em
|
||||
}
|
||||
@@ -1,65 +0,0 @@
|
||||
#stores-table {
|
||||
border: 1px solid #999;
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#stores-table tr td {
|
||||
height: 95px;
|
||||
}
|
||||
|
||||
#stores-table tr th, #stores-table tr td {
|
||||
border-right: 1px solid #999;
|
||||
border-bottom: 1px solid #999;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
#stores-table tr td.num {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
#stores-table tr td.distance, #stores-table tr td.num {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#stores-table tr th {
|
||||
text-align: center;
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
div.store-small {
|
||||
border: 1px solid #CCC;
|
||||
padding: 5px;
|
||||
width: 200px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#map {
|
||||
width: 556px;
|
||||
height: 375px;
|
||||
margin: 15px auto;
|
||||
}
|
||||
|
||||
#locationSelect {
|
||||
width: 350px;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
#stores_loader {
|
||||
margin-left: 5px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#store_hours {
|
||||
font-weight: bold;
|
||||
text-decoration: underline;
|
||||
width: 80px;
|
||||
height: 15px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
#addressInput {
|
||||
width: 350px;
|
||||
}
|
||||
@@ -1,95 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 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-2011 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
|
||||
*}
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
var baseDir = '{$base_dir_ssl}';
|
||||
-->
|
||||
</script>
|
||||
|
||||
{capture name=path}<a href="{$link->getPageLink('my-account', true)}">{l s='My account'}</a><span class="navigation-pipe">{$navigationPipe}</span>{l s='My Vouchers'}{/capture}
|
||||
{include file="$tpl_dir./breadcrumb.tpl"}
|
||||
|
||||
<h1>{l s='My Vouchers'}</h1>
|
||||
|
||||
{if isset($discount) && count($discount) && $nbDiscounts}
|
||||
<table class="discount std">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="discount_code first_item">{l s='Code'}</th>
|
||||
<th class="discount_description item">{l s='Description'}</th>
|
||||
<th class="discount_quantity item">{l s='Quantity'}</th>
|
||||
<th class="discount_value item">{l s='Value'}*</th>
|
||||
<th class="discount_minimum item">{l s='Minimum'}</th>
|
||||
<th class="discount_cumulative item">{l s='Cumulative'}</th>
|
||||
<th class="discount_expiration_date last_item">{l s='Expiration date'}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$discount item=discountDetail name=myLoop}
|
||||
<tr class="{if $smarty.foreach.myLoop.first}first_item{elseif $smarty.foreach.myLoop.last}last_item{else}item{/if} {if $smarty.foreach.myLoop.index % 2}alternate_item{/if}">
|
||||
<td class="discount_code">{$discountDetail.name}</td>
|
||||
<td class="discount_description">{$discountDetail.description}</td>
|
||||
<td class="discount_quantity">{$discountDetail.quantity_for_user}</td>
|
||||
<td class="discount_value">
|
||||
{if $discountDetail.id_discount_type == 1}
|
||||
{$discountDetail.value|escape:'htmlall':'UTF-8'}%
|
||||
{elseif $discountDetail.id_discount_type == 2}
|
||||
{convertPrice price=$discountDetail.value}
|
||||
{else}
|
||||
{l s='Free shipping'}
|
||||
{/if}
|
||||
</td>
|
||||
<td class="discount_minimum">
|
||||
{if $discountDetail.minimal == 0}
|
||||
{l s='none'}
|
||||
{else}
|
||||
{convertPrice price=$discountDetail.minimal}
|
||||
{/if}
|
||||
</td>
|
||||
<td class="discount_cumulative">
|
||||
{if $discountDetail.cumulable == 1}
|
||||
<img src="{$img_dir}icon/yes.gif" alt="{l s='Yes'}" class="icon" />
|
||||
{else}
|
||||
<img src="{$img_dir}icon/no.gif" alt="{l s='No'}" class="icon" />
|
||||
{/if}
|
||||
</td>
|
||||
<td class="discount_expiration_date">{dateFormat date=$discountDetail.date_to}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<p>
|
||||
*{l s='Tax included'}
|
||||
</p>
|
||||
{else}
|
||||
<p class="warning">{l s='You do not possess any vouchers.'}</p>
|
||||
{/if}
|
||||
|
||||
<ul class="footer_links">
|
||||
<li><a href="{$link->getPageLink('my-account', true)}"><img src="{$img_dir}icon/my-account.gif" alt="" class="icon" /></a><a href="{$link->getPageLink('my-account', true)}">{l s='Back to Your Account'}</a></li>
|
||||
<li><a href="{$base_dir}"><img src="{$img_dir}icon/home.gif" alt="" class="icon" /></a><a href="{$base_dir}">{l s='Home'}</a></li>
|
||||
</ul>
|
||||
@@ -1,39 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 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-2011 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
|
||||
*}
|
||||
|
||||
{if isset($errors) && $errors}
|
||||
<div class="error">
|
||||
<p>{if $errors|@count > 1}{l s='There are'}{else}{l s='There is'}{/if} {$errors|@count} {if $errors|@count > 1}{l s='errors'}{else}{l s='error'}{/if} :</p>
|
||||
<ol>
|
||||
{foreach from=$errors key=k item=error}
|
||||
<li>{$error}</li>
|
||||
{/foreach}
|
||||
</ol>
|
||||
{if isset($smarty.server.HTTP_REFERER) && !strstr($request_uri, 'authentication')}
|
||||
<p class="align_right"><a href="{$smarty.server.HTTP_REFERER|escape:'htmlall':'UTF-8'|secureReferrer}" class="button_small" title="{l s='Back'}">« {l s='Back'}</a></p>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
@@ -1,41 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 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-2011 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
|
||||
*}
|
||||
|
||||
{if !$content_only}
|
||||
</div>
|
||||
|
||||
<!-- Right -->
|
||||
<div id="right_column" class="column">
|
||||
{$HOOK_RIGHT_COLUMN}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Footer -->
|
||||
<div id="footer">{$HOOK_FOOTER}</div>
|
||||
</div>
|
||||
{/if}
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,85 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 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-2011 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
|
||||
*}
|
||||
|
||||
{capture name=path}{l s='Guest tracking'}{/capture}
|
||||
{include file="$tpl_dir./breadcrumb.tpl"}
|
||||
|
||||
<h1>{l s='Guest Tracking'}</h1>
|
||||
|
||||
{if isset($order)}
|
||||
<div id="block-history">
|
||||
<div id="block-order-detail" class="std">
|
||||
{include file="$tpl_dir./order-detail.tpl"}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2 id="guestToCustomer">{l s='For more advantages...'}</h2>
|
||||
|
||||
{include file="$tpl_dir./errors.tpl"}
|
||||
|
||||
{if isset($transformSuccess)}
|
||||
<p class="success">{l s='Your guest account has been successfully transformed into a customer account. You can now log in on this'} <a href="{$link->getPageLink('authentication', true)}">{l s='page'}</a></p>
|
||||
{else}
|
||||
<form method="POST" action="{$action|escape:'htmlall':'UTF-8'}#guestToCustomer" class="std">
|
||||
<fieldset>
|
||||
<p class="bold">{l s='Transform your guest account to a customer account and enjoy :'}</p>
|
||||
<ul class="bullet">
|
||||
<li>{l s='Personalized and secure access'}</li>
|
||||
<li>{l s='Fast and easy check out'}</li>
|
||||
<li>{l s='Easier merchandise return'}</li>
|
||||
</ul>
|
||||
<p class="text">
|
||||
<label>{l s='Define your password:'}</label>
|
||||
<input type="password" name="password" />
|
||||
</p>
|
||||
|
||||
<input type="hidden" name="id_order" value="{if isset($smarty.get.id_order)}{$smarty.get.id_order|escape:'htmlall':'UTF-8'}{else}{if isset($smarty.post.id_order)}{$smarty.post.id_order|escape:'htmlall':'UTF-8'}{/if}{/if}" />
|
||||
<input type="hidden" name="email" value="{if isset($smarty.get.email)}{$smarty.get.email|escape:'htmlall':'UTF-8'}{else}{if isset($smarty.post.email)}{$smarty.post.email|escape:'htmlall':'UTF-8'}{/if}{/if}" />
|
||||
|
||||
<p class="center"><input type="submit" class="exclusive_large" name="submitTransformGuestToCustomer" value="{l s='Send'}" /></p>
|
||||
</fieldset>
|
||||
</form>
|
||||
{/if}
|
||||
{else}
|
||||
{include file="$tpl_dir./errors.tpl"}
|
||||
<form method="POST" action="{$action|escape:'htmlall':'UTF-8'}" class="std">
|
||||
<fieldset>
|
||||
<p>{l s='To track your order, please enter the following information:'}</p>
|
||||
<p class="text">
|
||||
<label>{l s='Order ID:'} <b>#</b></label>
|
||||
<input type="text" name="id_order" value="{if isset($smarty.get.id_order)}{$smarty.get.id_order|escape:'htmlall':'UTF-8'}{else}{if isset($smarty.post.id_order)}{$smarty.post.id_order|escape:'htmlall':'UTF-8'}{/if}{/if}" size="8" />
|
||||
<i>{l s='For example: 010123'}</i>
|
||||
</p>
|
||||
|
||||
<p class="text">
|
||||
<label>{l s='E-mail:'}</label>
|
||||
<input type="text" name="email" value="{if isset($smarty.get.email)}{$smarty.get.email|escape:'htmlall':'UTF-8'}{else}{if isset($smarty.post.email)}{$smarty.post.email|escape:'htmlall':'UTF-8'}{/if}{/if}" />
|
||||
</p>
|
||||
|
||||
<p class="center"><input type="submit" class="button" name="submitGuestTracking" value="{l s='Send'}" /></p>
|
||||
</fieldset>
|
||||
</form>
|
||||
{/if}
|
||||
@@ -1,90 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 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-2011 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
|
||||
*}
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang_iso}">
|
||||
<head>
|
||||
<title>{$meta_title|escape:'htmlall':'UTF-8'}</title>
|
||||
{if isset($meta_description) AND $meta_description}
|
||||
<meta name="description" content="{$meta_description|escape:html:'UTF-8'}" />
|
||||
{/if}
|
||||
{if isset($meta_keywords) AND $meta_keywords}
|
||||
<meta name="keywords" content="{$meta_keywords|escape:html:'UTF-8'}" />
|
||||
{/if}
|
||||
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
|
||||
<meta name="generator" content="PrestaShop" />
|
||||
<meta name="robots" content="{if isset($nobots)}no{/if}index,follow" />
|
||||
<link rel="icon" type="image/vnd.microsoft.icon" href="{$img_ps_dir}favicon.ico?{$img_update_time}" />
|
||||
<link rel="shortcut icon" type="image/x-icon" href="{$img_ps_dir}favicon.ico?{$img_update_time}" />
|
||||
<script type="text/javascript">
|
||||
var baseDir = '{$content_dir}';
|
||||
var static_token = '{$static_token}';
|
||||
var token = '{$token}';
|
||||
var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals};
|
||||
var priceDisplayMethod = {$priceDisplay};
|
||||
var roundMode = {$roundMode};
|
||||
</script>
|
||||
{if isset($css_files)}
|
||||
{foreach from=$css_files key=css_uri item=media}
|
||||
<link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" />
|
||||
{/foreach}
|
||||
{/if}
|
||||
{if isset($js_files)}
|
||||
{foreach from=$js_files item=js_uri}
|
||||
<script type="text/javascript" src="{$js_uri}"></script>
|
||||
{/foreach}
|
||||
{/if}
|
||||
{$HOOK_HEADER}
|
||||
</head>
|
||||
|
||||
<body {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}>
|
||||
{if !$content_only}
|
||||
{if isset($restricted_country_mode) && $restricted_country_mode}
|
||||
<div id="restricted-country">
|
||||
<p>{l s='You cannot place a new order from your country.'} <span class="bold">{$geolocation_country}</span></p>
|
||||
</div>
|
||||
{/if}
|
||||
<div id="page">
|
||||
|
||||
<!-- Header -->
|
||||
<div id="header">
|
||||
<a id="header_logo" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}">
|
||||
<img class="logo" src="{$img_ps_dir}logo.jpg?{$img_update_time}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} />
|
||||
</a>
|
||||
<div id="header_right">
|
||||
{$HOOK_TOP}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="columns">
|
||||
<!-- Left -->
|
||||
<div id="left_column" class="column">
|
||||
{$HOOK_LEFT_COLUMN}
|
||||
</div>
|
||||
|
||||
<!-- Center -->
|
||||
<div id="center_column">
|
||||
{/if}
|
||||
@@ -1,92 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 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-2011 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
|
||||
*}
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
var baseDir = '{$base_dir_ssl}';
|
||||
-->
|
||||
</script>
|
||||
|
||||
{capture name=path}<a href="{$link->getPageLink('my-account', true)}">{l s='My account'}</a><span class="navigation-pipe">{$navigationPipe}</span>{l s='Order history'}{/capture}
|
||||
{include file="$tpl_dir./breadcrumb.tpl"}
|
||||
{include file="$tpl_dir./errors.tpl"}
|
||||
|
||||
<h1>{l s='Order history'}</h1>
|
||||
<p>{l s='Here are the orders you have placed since the creation of your account'}.</p>
|
||||
|
||||
{if $slowValidation}<p class="warning">{l s='If you have just placed an order, it may take a few minutes for it to be validated. Please refresh the page if your order is missing.'}</p>{/if}
|
||||
|
||||
<div class="block-center" id="block-history">
|
||||
{if $orders && count($orders)}
|
||||
<table id="order-list" class="std">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="first_item">{l s='Order'}</th>
|
||||
<th class="item">{l s='Date'}</th>
|
||||
<th class="item">{l s='Total price'}</th>
|
||||
<th class="item">{l s='Payment'}</th>
|
||||
<th class="item">{l s='Status'}</th>
|
||||
<th class="item">{l s='Invoice'}</th>
|
||||
<th class="last_item" style="width:65px"> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$orders item=order name=myLoop}
|
||||
<tr class="{if $smarty.foreach.myLoop.first}first_item{elseif $smarty.foreach.myLoop.last}last_item{else}item{/if} {if $smarty.foreach.myLoop.index % 2}alternate_item{/if}">
|
||||
<td class="history_link bold">
|
||||
{if isset($order.invoice) && $order.invoice && isset($order.virtual) && $order.virtual}<img src="{$img_dir}icon/download_product.gif" class="icon" alt="{l s='Products to download'}" title="{l s='Products to download'}" />{/if}
|
||||
<a class="color-myaccount" href="javascript:showOrder(1, {$order.id_order|intval}, 'order-detail');">{l s='#'}{$order.id_order|string_format:"%06d"}</a>
|
||||
</td>
|
||||
<td class="history_date bold">{dateFormat date=$order.date_add full=0}</td>
|
||||
<td class="history_price"><span class="price">{displayPrice price=$order.total_paid_real currency=$order.id_currency no_utf8=false convert=false}</span></td>
|
||||
<td class="history_method">{$order.payment|escape:'htmlall':'UTF-8'}</td>
|
||||
<td class="history_state">{if isset($order.order_state)}{$order.order_state|escape:'htmlall':'UTF-8'}{/if}</td>
|
||||
<td class="history_invoice">
|
||||
{if (isset($order.invoice) && $order.invoice && isset($order.invoice_number) && $order.invoice_number) && isset($invoiceAllowed) && $invoiceAllowed == true}
|
||||
<a href="{$link->getPageLink('pdf-invoice', true)}?id_order={$order.id_order|intval}" title="{l s='Invoice'}"><img src="{$img_dir}icon/pdf.gif" alt="{l s='Invoice'}" class="icon" /></a>
|
||||
<a href="{$link->getPageLink('pdf-invoice', true)}?id_order={$order.id_order|intval}" title="{l s='Invoice'}">{l s='PDF'}</a>
|
||||
{else}-{/if}
|
||||
</td>
|
||||
<td class="history_detail">
|
||||
<a class="color-myaccount" href="javascript:showOrder(1, {$order.id_order|intval}, 'order-detail');">{l s='details'}</a>
|
||||
<a href="{if isset($opc) && $opc}{$link->getPageLink('order-opc', true)}{else}{$link->getPageLink('order', true)}{/if}?submitReorder&id_order={$order.id_order|intval}" title="{l s='Reorder'}">
|
||||
<img src="{$img_dir}arrow_rotate_anticlockwise.png" alt="{l s='Reorder'}" title="{l s='Reorder'}" class="icon" />
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<div id="block-order-detail" class="hidden"> </div>
|
||||
{else}
|
||||
<p class="warning">{l s='You have not placed any orders.'}</p>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<ul class="footer_links">
|
||||
<li><a href="{$link->getPageLink('my-account', true)}"><img src="{$img_dir}icon/my-account.gif" alt="" class="icon" /></a><a href="{$link->getPageLink('my-account', true)}">{l s='Back to Your Account'}</a></li>
|
||||
<li><a href="{$base_dir}"><img src="{$img_dir}icon/home.gif" alt="" class="icon" /></a><a href="{$base_dir}">{l s='Home'}</a></li>
|
||||
</ul>
|
||||
@@ -1,139 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 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-2011 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
|
||||
*}
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
var baseDir = '{$base_dir_ssl}';
|
||||
-->
|
||||
</script>
|
||||
|
||||
{capture name=path}<a href="{$link->getPageLink('my-account', true)}">{l s='My account'}</a><span class="navigation-pipe">{$navigationPipe}</span>{l s='Your personal information'}{/capture}
|
||||
{include file="$tpl_dir./breadcrumb.tpl"}
|
||||
|
||||
<h1>{l s='Your personal information'}</h1>
|
||||
|
||||
{include file="$tpl_dir./errors.tpl"}
|
||||
|
||||
{if isset($confirmation) && $confirmation}
|
||||
<p class="success">
|
||||
{l s='Your personal information has been successfully updated.'}
|
||||
{if isset($pwd_changed)}<br />{l s='Your password has been sent to your e-mail:'} {$email|escape:'htmlall':'UTF-8'}{/if}
|
||||
</p>
|
||||
{else}
|
||||
<h3>{l s='Please do not hesitate to update your personal information if it has changed.'}</h3>
|
||||
<p class="required"><sup>*</sup>{l s='Required field'}</p>
|
||||
<form action="{$link->getPageLink('identity', true)}" method="post" class="std">
|
||||
<fieldset>
|
||||
<p class="radio">
|
||||
<span>{l s='Title'}</span>
|
||||
<input type="radio" id="id_gender1" name="id_gender" value="1" {if $smarty.post.id_gender == 1 OR !$smarty.post.id_gender}checked="checked"{/if} />
|
||||
<label for="id_gender1">{l s='Mr.'}</label>
|
||||
<input type="radio" id="id_gender2" name="id_gender" value="2" {if $smarty.post.id_gender == 2}checked="checked"{/if} />
|
||||
<label for="id_gender2">{l s='Ms.'}</label>
|
||||
</p>
|
||||
<p class="required text">
|
||||
<label for="firstname">{l s='First name'}</label>
|
||||
<input type="text" id="firstname" name="firstname" value="{$smarty.post.firstname}" /> <sup>*</sup>
|
||||
</p>
|
||||
<p class="required text">
|
||||
<label for="lastname">{l s='Last name'}</label>
|
||||
<input type="text" name="lastname" id="lastname" value="{$smarty.post.lastname}" /> <sup>*</sup>
|
||||
</p>
|
||||
<p class="required text">
|
||||
<label for="email">{l s='E-mail'}</label>
|
||||
<input type="text" name="email" id="email" value="{$smarty.post.email}" /> <sup>*</sup>
|
||||
</p>
|
||||
<p class="required text">
|
||||
<label for="old_passwd">{l s='Current Password'}</label>
|
||||
<input type="password" name="old_passwd" id="old_passwd" /> <sup>*</sup>
|
||||
</p>
|
||||
<p class="password">
|
||||
<label for="passwd">{l s='New Password'}</label>
|
||||
<input type="password" name="passwd" id="passwd" />
|
||||
</p>
|
||||
<p class="password">
|
||||
<label for="confirmation">{l s='Confirmation'}</label>
|
||||
<input type="password" name="confirmation" id="confirmation" />
|
||||
</p>
|
||||
<p class="select">
|
||||
<label>{l s='Date of Birth'}</label>
|
||||
<select name="days" id="days">
|
||||
<option value="">-</option>
|
||||
{foreach from=$days item=v}
|
||||
<option value="{$v|escape:'htmlall':'UTF-8'}" {if ($sl_day == $v)}selected="selected"{/if}>{$v|escape:'htmlall':'UTF-8'} </option>
|
||||
{/foreach}
|
||||
</select>
|
||||
{*
|
||||
{l s='January'}
|
||||
{l s='February'}
|
||||
{l s='March'}
|
||||
{l s='April'}
|
||||
{l s='May'}
|
||||
{l s='June'}
|
||||
{l s='July'}
|
||||
{l s='August'}
|
||||
{l s='September'}
|
||||
{l s='October'}
|
||||
{l s='November'}
|
||||
{l s='December'}
|
||||
*}
|
||||
<select id="months" name="months">
|
||||
<option value="">-</option>
|
||||
{foreach from=$months key=k item=v}
|
||||
<option value="{$k|escape:'htmlall':'UTF-8'}" {if ($sl_month == $k)}selected="selected"{/if}>{l s="$v"} </option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<select id="years" name="years">
|
||||
<option value="">-</option>
|
||||
{foreach from=$years item=v}
|
||||
<option value="{$v|escape:'htmlall':'UTF-8'}" {if ($sl_year == $v)}selected="selected"{/if}>{$v|escape:'htmlall':'UTF-8'} </option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</p>
|
||||
{if $newsletter}
|
||||
<p class="checkbox">
|
||||
<input type="checkbox" id="newsletter" name="newsletter" value="1" {if isset($smarty.post.newsletter) && $smarty.post.newsletter == 1} checked="checked"{/if} />
|
||||
<label for="newsletter">{l s='Sign up for our newsletter'}</label>
|
||||
</p>
|
||||
<p class="checkbox">
|
||||
<input type="checkbox" name="optin" id="optin" value="1" {if isset($smarty.post.optin) && $smarty.post.optin == 1} checked="checked"{/if} />
|
||||
<label for="optin">{l s='Receive special offers from our partners'}</label>
|
||||
</p>
|
||||
{/if}
|
||||
<p class="submit">
|
||||
<input type="submit" class="button" name="submitIdentity" value="{l s='Save'}" />
|
||||
</p>
|
||||
</fieldset>
|
||||
</form>
|
||||
<p id="security_informations">
|
||||
{l s='[Insert customer data privacy clause or law here, if applicable]'}
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
<ul class="footer_links">
|
||||
<li><a href="{$link->getPageLink('my-account', true)}"><img src="{$img_dir}icon/my-account.gif" alt="" class="icon" /></a><a href="{$link->getPageLink('my-account', true)}">{l s='Back to Your Account'}</a></li>
|
||||
<li><a href="{$base_dir}"><img src="{$img_dir}icon/home.gif" alt="" class="icon" /></a><a href="{$base_dir}">{l s='Home'}</a></li>
|
||||
</ul>
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 928 B |
Binary file not shown.
|
Before Width: | Height: | Size: 928 B |
Binary file not shown.
|
Before Width: | Height: | Size: 3.1 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 608 B |
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user