<?php



/* SSL Management */

$useSSL = true;



include(dirname(__FILE__).'/config/config.inc.php');

include(dirname(__FILE__).'/init.php');



if (!$cookie->isLogged())

	Tools::redirect('authentication.php?back=history.php');



//CSS ans JS file calls

$js_files = array(

	__PS_BASE_URI__.'js/jquery/jquery.scrollto.js',

	_THEME_JS_DIR_.'history.js'

);



$ordersSlip = OrderSlip::getOrdersSlip(intval($cookie->id_customer));

$smarty->assign('ordersSlip', $ordersSlip);



include(dirname(__FILE__).'/header.php');

$smarty->display(_PS_THEME_DIR_.'order-slip.tpl');

include(dirname(__FILE__).'/footer.php');



?>