示例#1
0
//{
print '</td>';
print '<td valign="top" width="70%" class="notopnoleftnoright">';
//}
//else
//{
//	print '<td valign="top" width="100%" class="notopnoleftnoright">';
//}
/* Print Portefeuille Prospection */
if ($user->rights->agenda->myactions->read && $conf->highcharts->enabled && $user->rights->highcharts->read) {
    $graph->name = "graphProspectionState";
    $graph->label = $langs->trans("ProspectionStatus");
    if ($user->rights->highcharts->all && $user->rights->agenda->allactions->read) {
        $graph->mine = 0;
    }
    $graph->graphProspectionState();
}
/* Print Activity Graph */
if ($user->rights->agenda->myactions->read && $conf->highcharts->enabled && $user->rights->highcharts->read) {
    $graph->label = $langs->trans("graphMonthTaskDone") . ' ' . (isset($_GET["month"]) ? $_GET["month"] : strftime("%m", dol_now())) . "/" . (isset($_GET["year"]) ? $_GET["year"] : strftime("%Y", dol_now()));
    $graph->name = "graphMonthTaskDone";
    $graph->height = "350px";
    if ($user->rights->highcharts->all && $user->rights->agenda->myactions->all) {
        $graph->mine = 0;
    }
    $graph->graphTaskDone(isset($_GET["month"]) ? $_GET["month"] : strftime("%m", dol_now()), isset($_GET["year"]) ? $_GET["year"] : strftime("%Y", dol_now()));
}
/*
 * Last modified customers or prospects
 */
if ($conf->societe->enabled && $user->rights->societe->lire) {