function Zoom() { if ($_GET["Zoom"] == "CamParMois") { echo RoundedLightGrey("<img src='" . camparmois(true) . "'>"); exit; } echo RoundedBlack("<img src='" . courbeparmois(true) . "'>"); }
function popup() { if (trim($_GET["MONTH"]) == null) { if ($_SESSION["ARTICA_SMTP_DAYS_GRAPH_MONTH"] != null) { $_GET["MONTH"] = $_SESSION["ARTICA_SMTP_DAYS_GRAPH_MONTH"]; } else { $_GET["MONTH"] = calcul_month(); $_SESSION["ARTICA_SMTP_DAYS_GRAPH_MONTH"] = $_GET["MONTH"]; } } $field = ArrayDays(); $html = "<h1>{monthly_statistics} {$_GET["MONTH"]}</H1>\n\t<div style='text-align:right;padding-bottom:9px;'>{$field}</div>\n\t" . RoundedLightWhite("<div style='width:100%;height:450px;overflow:auto'>\n\t<table style='width:100%'>\n\t\t<tr>\n\t\t\t<td align='center'>" . RoundedBlack("<a href='#' OnClick=\"javascript:ZoomCourbeParMois()\"><img src='" . courbeparmois() . "'></a>") . "</td>\n\t\t</tr>\n\t\t<tr><td> </td></tR>\n\t\t<tr>\n\t\t<td align='center'>" . RoundedLightGrey("<a href='#' OnClick=\"javascript:ZoomCamParMois()\"><img src='" . camparmois() . "'>") . "</a></td>\n\t\t</tr>\t\t\n\t\t<tr>\n\t\t\t<td valign='top'>\n\t\t\t<hr>\n\t\t\t\n\t\t\t<div style='width:100%;height:300px;overflow;auto'>" . tableaudomains() . "</div></td>\n\t\t</tR>\n\t</table></div>"); $tpl = new templates(); echo $tpl->_ENGINE_parse_body($html); }