Ejemplo n.º 1
0
$xt->assign("grid_block", true);
if (count($grid_row["data"]) > 0) {
    $xt->assign("data_block", true);
    $xt->assignbyref("grid_row", $grid_row);
    $xt->assign("records_display_block", true);
} else {
    $xt->assign("message_block", true);
    $xt->assign("message", "No records found");
}
$xt->assign("top_menu_block", true);
$strSQL = $_SESSION[$sessPrefix . "_sql"];

$preview = "";

if ($cross_table == "true" && $modePrint)
    $xt->assign("report_cross_header", $crosstableObj->getPrintCrossHeader(postvalue("axis_x"), postvalue("axis_y"), postvalue("field"), postvalue("group_func")));

if ($rpt_array['miscellaneous']['print_friendly'])
    $xt->assign("print_friendly_block", true);
if (testAdvSearch($rpt_array['tables'][0]))
    $xt->assign("adv_search_block", true);

$reportName = "";
if (postvalue('rname'))
    $reportName = runner_htmlspecialchars(postvalue('rname'));
else
    $reportName = runner_htmlspecialchars(@$_SESSION['webreports']['settings']['name']);
$xt->assign("reportName", $reportName);

if (postvalue("q"))
    $xt->assign("searchClause", "&q=" . postvalue("q"));
Ejemplo n.º 2
0
    }
}
$xt->assign("grid_block", true);
if (count($grid_row["data"]) > 0) {
    $xt->assign("data_block", true);
    $xt->assignbyref("grid_row", $grid_row);
    $xt->assign("records_display_block", true);
} else {
    $xt->assign("message_block", true);
    $xt->assign("message", "No se hallaron registros");
}
$xt->assign("top_menu_block", true);
$strSQL = $_SESSION[$sessPrefix . "_sql"];
$preview = "";
if ($cross_table == "true" && $modePrint) {
    $xt->assign("report_cross_header", $crosstableObj->getPrintCrossHeader());
}
if ($rpt_array['miscellaneous']['print_friendly']) {
    $xt->assign("print_friendly_block", true);
}
if (testAdvSearch($rpt_array['tables'][0])) {
    $xt->assign("adv_search_block", true);
}
$reportName = "";
if (postvalue('rname')) {
    $reportName = runner_htmlspecialchars(postvalue('rname'));
} else {
    $reportName = runner_htmlspecialchars(@$_SESSION['webreports']['settings']['name']);
}
$xt->assign("reportName", $reportName);
if (postvalue("q")) {