23 |
|
|
24 |
if (!$user->rights->telephonie->lire) accessforbidden(); |
if (!$user->rights->telephonie->lire) accessforbidden(); |
25 |
|
|
26 |
|
if ($user->distributeur_id && $user->responsable_distributeur_id == 0) |
27 |
|
{ |
28 |
|
accessforbidden(); |
29 |
|
} |
30 |
|
|
31 |
llxHeader('','Telephonie - Statistiques - Distributeurs'); |
llxHeader('','Telephonie - Statistiques - Distributeurs'); |
32 |
|
|
33 |
/* |
/* |
118 |
} |
} |
119 |
print '</table><br />'; |
print '</table><br />'; |
120 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
print '</td><td width="50%" valign="top"> </td></tr>'; |
print '</td><td width="50%" valign="top"> </td></tr>'; |
122 |
print '</table></div>'; |
print '</table></div>'; |
123 |
|
|
|
|
|
|
|
|
|
/* ************************************************************************** */ |
|
|
/* */ |
|
|
/* Barre d'action */ |
|
|
/* */ |
|
|
/* ************************************************************************** */ |
|
|
|
|
|
print "\n<div class=\"tabsAction\">\n"; |
|
|
|
|
|
if ($_GET["action"] == '') |
|
|
{ |
|
|
print "<a class=\"tabAction\" href=\"fiche.php?action=create\">".$langs->trans("Nouveau")."</a>"; |
|
|
} |
|
|
|
|
|
print "</div><br>"; |
|
|
|
|
|
|
|
124 |
$db->close(); |
$db->close(); |
125 |
|
|
126 |
llxFooter("<em>Dernière modification $Date$ révision $Revision$</em>"); |
llxFooter("<em>Dernière modification $Date$ révision $Revision$</em>"); |