42 lines
2.0 KiB
PHP
42 lines
2.0 KiB
PHP
|
<?php
|
||
|
include dirname(__FILE__).'/../../config/config.inc.php';
|
||
|
include dirname(__FILE__).'/shippingstats.php';
|
||
|
|
||
|
if((Tools::getValue('token') === Tools::getAdminToken('AdminLaPosteWS'.(int) Tab::getIdFromClassName('AdminLaPosteWS').(int) Tools::getValue('id_employee')))
|
||
|
|| (Tools::getValue('token') === Tools::getAdminToken('AdminLogistics'.(int) Tab::getIdFromClassName('AdminLogistics').(int) Tools::getValue('id_employee')))) {
|
||
|
$stats = new ShippingStats();
|
||
|
|
||
|
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<meta name="robots" content="NOFOLLOW, NOINDEX" />
|
||
|
<link type="text/css" rel="stylesheet" href="/js/jquery/datepicker/datepicker.css" />
|
||
|
<link type="text/css" rel="stylesheet" href="/css/admin.css" />
|
||
|
<link type="text/css" rel="stylesheet" href="/css/jquery.cluetip.css" />
|
||
|
<link type="text/css" rel="stylesheet" href="/adm/themes/origins_lite/admin.css" />
|
||
|
<title>PrestaShop™ - Panneau d\'administration</title>
|
||
|
<script type="text/javascript">
|
||
|
var helpboxes = 1;
|
||
|
var roundMode = 2;
|
||
|
</script>
|
||
|
<script type="text/javascript" src="/js/jquery/jquery-1.4.4.min.js"></script>
|
||
|
<script type="text/javascript" src="/js/jquery/jquery.hoverIntent.minified.js"></script>
|
||
|
<script type="text/javascript" src="/js/jquery/jquery.cluetip.js"></script>
|
||
|
<script type="text/javascript" src="/js/admin.js"></script>
|
||
|
<script type="text/javascript" src="/js/toggle.js"></script>
|
||
|
<script type="text/javascript" src="/js/tools.js"></script>
|
||
|
<script type="text/javascript" src="/js/ajax.js"></script>
|
||
|
<link rel="shortcut icon" href="/img/favicon.ico" />
|
||
|
|
||
|
<!--[if IE]>
|
||
|
<link type="text/css" rel="stylesheet" href="/css/admin-ie.css" />
|
||
|
<![endif]-->
|
||
|
</head>
|
||
|
<body style="background: #ffffff;"><div id="main"><div id="content">';
|
||
|
|
||
|
echo $stats->getContent(TRUE);
|
||
|
|
||
|
echo '</div></div></body></html>';
|
||
|
}
|