65 lines
1.1 KiB
PHP
65 lines
1.1 KiB
PHP
<?php
|
|
|
|
|
|
|
|
include_once(realpath(dirname(__FILE__)) . "/../../../fonctions/authplugins.php");
|
|
|
|
autorisation("ganalytics");
|
|
|
|
include_once(realpath(dirname(__FILE__)) . "/Ganalytics.class.php");
|
|
|
|
include_once(realpath(dirname(__FILE__)) . "/../../../classes/Commande.class.php");
|
|
|
|
|
|
|
|
$tmpcmd = new Commande();
|
|
|
|
$tmpcmd->charger_ref($_REQUEST['ref']);
|
|
|
|
|
|
|
|
$ganalytics = new Ganalytics();
|
|
|
|
$ganalytics->charger($tmpcmd->id);
|
|
|
|
|
|
|
|
$searchEngine = $ganalytics->GetSearchEngine($ganalytics->referer);
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
<div class="bordure_bottom" style="margin:0 0 10px 0;">
|
|
|
|
<div class="entete_liste_client">
|
|
|
|
<div class="titre">REFERER</div>
|
|
|
|
</div>
|
|
|
|
<ul class="ligne_fonce_BlocDescription">
|
|
|
|
<li class="designation" style="width:120px;">Moteur</li>
|
|
|
|
<li style="width:210px;"><?php echo $searchEngine['moteur'] ?></li>
|
|
|
|
</ul>
|
|
|
|
<ul class="ligne_claire_BlocDescription">
|
|
|
|
<li class="designation" style="width:120px;">Mots clés</li>
|
|
|
|
<li>
|
|
|
|
<?php echo $searchEngine['keywords'] ?>
|
|
|
|
<?php if(!empty($ganalytics->gclid)) echo '(Campagne Adwords)' ?>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|