コード例 #1
0
ファイル: index.php プロジェクト: nrjacker4/crm-php
    print '</td>';
    print '<td>&nbsp;</td>';
    print '</table></td>';
    print '<td colspan="4">&nbsp;</td>';
    print '</tr>';
}
// ----- End of section -----
// --------------------------
print "</table><br>";
/* Print Graph */
if ($conf->highcharts->enabled && $user->rights->highcharts->read && $conf->societe->enabled) {
    dol_include_once("/highCharts/class/highCharts.class.php");
    $langs->load("highcharts@highCharts");
    $graph = new HighCharts($db);
    $graph->width = "100%";
    $graph->height = "300px";
    $graph->name = "graphPriority";
    if ($user->rights->highcharts->all && $user->rights->societe->client->voir) {
        $graph->mine = 0;
    }
    if ($_GET["type"] == 2) {
        $graph->label = $langs->trans("graphPriorityTiers");
        $graph->graphPriorityTiers();
    }
    if ($_GET["type"] == 5) {
        $graph->label = $langs->trans("graphPriorityContacts");
        $graph->graphPriorityContacts();
    }
}
llxFooter();
$db->close();