Пример #1
0
// width=50%
////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////
//Newsletter Queue:
////////////////////////////////////////////////////////////////////////////////////////
//prepare chart
#$chart = new PieChart(640,480);
$chart = new HorizontalChart(640, 360);
$chart->setLogo(TM_IMGPATH . "/blank.png");
//tellmatic_logo_256.png
$_MAIN_OUTPUT .= "<br><img alt=\"Chart\"  src=\"" . $tm_URL_FE . "/" . $tm_reportdir . "/status_q_total_" . TM_TODAY . ".png\"><br>";
$NG = $NEWSLETTER->getGroup();
$nlgc = count($NG);
$N = $NEWSLETTER->getNLID();
//$group
$nlc = count($N);
$hc = $QUEUE->countH();
//add total value to graph
$chart->addPoint(new Point(___("Summe", 0) . " (100%)", $hc));
$shownlURLPara->addParam("act", "nl_list");
$shownlURLPara->addParam("set", "");
$shownlURLPara->delParam("nl_id", "");
$shownlURLPara_ = $shownlURLPara->getAllParams();
$hsc = count($STATUS['h']['status']);
$_MAIN_OUTPUT .= "<br><center>";
$_MAIN_OUTPUT .= "<table border=0 width=\"100%\" style=\"border:1px solid #eeeeee;\">";
$_MAIN_OUTPUT .= "<thead>";
$_MAIN_OUTPUT .= "<tr>";
$_MAIN_OUTPUT .= "<td valign=\"top\" align=\"left\" colspan=2>";