コード例 #1
0
            $class = ' rnr-field-checkbox';
        }
        if ($format == FORMAT_NUMBER || IsNumberType($pSet->getFieldType("LastUpdate"))) {
            $class = ' rnr-field-number';
        }
        $row["LastUpdate_class"] = $class;
        $rowinfo[] = $row;
        if ($b) {
            $rowinfo2[] = $row;
            $b = false;
        }
        $data = $cipherer->DecryptFetchedArray($qResult->fetchAssoc());
    }
    $xt->assign_loopsection("details_row", $rowinfo);
    $xt->assign_loopsection("details_row_header", $rowinfo2);
    // assign class for header
}
$returnJSON = array("success" => true);
$xt->load_template(GetTemplateName("StockMaster", "detailspreview"));
$returnJSON["body"] = $xt->fetch_loaded();
if ($mode != "inline") {
    $returnJSON["counter"] = postvalue("counter");
    $layout = GetPageLayout(GoodFieldName($strTableName), 'detailspreview');
    if ($layout) {
        foreach ($layout->getCSSFiles(isRTL(), isMobile()) as $css) {
            $returnJSON['CSSFiles'][] = $css;
        }
    }
}
echo printJSON($returnJSON);
exit;
コード例 #2
0
        //	usaha_id -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("usaha_id", $data, $keylink);
        $row["usaha_id_value"] = $value;
        //	multiple -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("multiple", $data, $keylink);
        $row["multiple_value"] = $value;
        //	bulan_telat -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("bulan_telat", $data, $keylink);
        $row["bulan_telat_value"] = $value;
        $rowinfo[] = $row;
        $data = $cipherer->DecryptFetchedArray($rs);
    }
    $xt->assign_loopsection("details_row", $rowinfo);
}
$returnJSON = array("success" => true);
$xt->load_template("pad_pad_spt_detailspreview.htm");
$returnJSON["body"] = $xt->fetch_loaded();
if ($mode != "inline") {
    $returnJSON["counter"] = postvalue("counter");
    $layout = GetPageLayout(GoodFieldName($strTableName), 'detailspreview');
    if ($layout) {
        $rtl = $xt->getReadingOrder() == 'RTL' ? 'RTL' : '';
        $returnJSON["style"] = "styles/" . $layout->style . "/style" . $rtl . ".css";
        $returnJSON["pageStyle"] = "pagestyles/" . $layout->name . $rtl . ".css";
        $returnJSON["layout"] = $layout->style . " page-" . $layout->name . ".css";
    }
}
echo "<textarea>" . htmlspecialchars(my_json_encode($returnJSON)) . "</textarea>";
コード例 #3
0
            $class = ' rnr-field-checkbox';
        }
        if ($format == FORMAT_NUMBER || IsNumberType($pSet->getFieldType("IsActive"))) {
            $class = ' rnr-field-number';
        }
        $row["IsActive_class"] = $class;
        $rowinfo[] = $row;
        if ($b) {
            $rowinfo2[] = $row;
            $b = false;
        }
        $data = $cipherer->DecryptFetchedArray($qResult->fetchAssoc());
    }
    $xt->assign_loopsection("details_row", $rowinfo);
    $xt->assign_loopsection("details_row_header", $rowinfo2);
    // assign class for header
}
$returnJSON = array("success" => true);
$xt->load_template(GetTemplateName("GroupMaster", "detailspreview"));
$returnJSON["body"] = $xt->fetch_loaded();
if ($mode != "inline") {
    $returnJSON["counter"] = postvalue("counter");
    $layout = GetPageLayout(GoodFieldName($strTableName), 'detailspreview');
    if ($layout) {
        foreach ($layout->getCSSFiles(isRTL(), isMobile()) as $css) {
            $returnJSON['CSSFiles'][] = $css;
        }
    }
}
echo printJSON($returnJSON);
exit;
コード例 #4
0
        //	create_uid -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("create_uid", $data, $keylink);
        $row["create_uid_value"] = $value;
        //	updated - Short Date
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("updated", $data, $keylink);
        $row["updated_value"] = $value;
        //	update_uid -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("update_uid", $data, $keylink);
        $row["update_uid_value"] = $value;
        $rowinfo[] = $row;
        $data = $cipherer->DecryptFetchedArray($rs);
    }
    $xt->assign_loopsection("details_row", $rowinfo);
}
$returnJSON = array("success" => true);
$xt->load_template("pad_pad_jenis_pajak_detailspreview.htm");
$returnJSON["body"] = $xt->fetch_loaded();
if ($mode != "inline") {
    $returnJSON["counter"] = postvalue("counter");
    $layout = GetPageLayout(GoodFieldName($strTableName), 'detailspreview');
    if ($layout) {
        $rtl = $xt->getReadingOrder() == 'RTL' ? 'RTL' : '';
        $returnJSON["style"] = "styles/" . $layout->style . "/style" . $rtl . ".css";
        $returnJSON["pageStyle"] = "pagestyles/" . $layout->name . $rtl . ".css";
        $returnJSON["layout"] = $layout->style . " page-" . $layout->name . ".css";
    }
}
echo "<textarea>" . htmlspecialchars(my_json_encode($returnJSON)) . "</textarea>";
コード例 #5
0
        //	create_uid -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("create_uid", $data, $keylink);
        $row["create_uid_value"] = $value;
        //	update_uid -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("update_uid", $data, $keylink);
        $row["update_uid_value"] = $value;
        //	tahun -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("tahun", $data, $keylink);
        $row["tahun_value"] = $value;
        $rowinfo[] = $row;
        $data = $cipherer->DecryptFetchedArray($rs);
    }
    $xt->assign_loopsection("details_row", $rowinfo);
}
$returnJSON = array("success" => true);
$xt->load_template("pad_pad_anggaran_detailspreview.htm");
$returnJSON["body"] = $xt->fetch_loaded();
if ($mode != "inline") {
    $returnJSON["counter"] = postvalue("counter");
    $layout = GetPageLayout(GoodFieldName($strTableName), 'detailspreview');
    if ($layout) {
        $rtl = $xt->getReadingOrder() == 'RTL' ? 'RTL' : '';
        $returnJSON["style"] = "styles/" . $layout->style . "/style" . $rtl . ".css";
        $returnJSON["pageStyle"] = "pagestyles/" . $layout->name . $rtl . ".css";
        $returnJSON["layout"] = $layout->style . " page-" . $layout->name . ".css";
    }
}
echo "<textarea>" . htmlspecialchars(my_json_encode($returnJSON)) . "</textarea>";
コード例 #6
0
            $class = ' rnr-field-checkbox';
        }
        if ($format == FORMAT_NUMBER || IsNumberType($pSet->getFieldType("l"))) {
            $class = ' rnr-field-number';
        }
        $row["l_class"] = $class;
        $rowinfo[] = $row;
        if ($b) {
            $rowinfo2[] = $row;
            $b = false;
        }
        $data = $cipherer->DecryptFetchedArray($qResult->fetchAssoc());
    }
    $xt->assign_loopsection("details_row", $rowinfo);
    $xt->assign_loopsection("details_row_header", $rowinfo2);
    // assign class for header
}
$returnJSON = array("success" => true);
$xt->load_template(GetTemplateName("BranchMaster", "detailspreview"));
$returnJSON["body"] = $xt->fetch_loaded();
if ($mode != "inline") {
    $returnJSON["counter"] = postvalue("counter");
    $layout = GetPageLayout(GoodFieldName($strTableName), 'detailspreview');
    if ($layout) {
        foreach ($layout->getCSSFiles(isRTL(), isMobile()) as $css) {
            $returnJSON['CSSFiles'][] = $css;
        }
    }
}
echo printJSON($returnJSON);
exit;
コード例 #7
0
        //	create_date - Short Date
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("create_date", $data, $keylink);
        $row["create_date_value"] = $value;
        //	create_uid -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("create_uid", $data, $keylink);
        $row["create_uid_value"] = $value;
        //	keterangan -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("keterangan", $data, $keylink);
        $row["keterangan_value"] = $value;
        $rowinfo[] = $row;
        $data = $cipherer->DecryptFetchedArray($rs);
    }
    $xt->assign_loopsection("details_row", $rowinfo);
}
$returnJSON = array("success" => true);
$xt->load_template("pad_pad_daftar_hist_detailspreview.htm");
$returnJSON["body"] = $xt->fetch_loaded();
if ($mode != "inline") {
    $returnJSON["counter"] = postvalue("counter");
    $layout = GetPageLayout(GoodFieldName($strTableName), 'detailspreview');
    if ($layout) {
        $rtl = $xt->getReadingOrder() == 'RTL' ? 'RTL' : '';
        $returnJSON["style"] = "styles/" . $layout->style . "/style" . $rtl . ".css";
        $returnJSON["pageStyle"] = "pagestyles/" . $layout->name . $rtl . ".css";
        $returnJSON["layout"] = $layout->style . " page-" . $layout->name . ".css";
    }
}
echo "<textarea>" . htmlspecialchars(my_json_encode($returnJSON)) . "</textarea>";
コード例 #8
0
        //	updated - Short Date
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("updated", $data, $keylink);
        $row["updated_value"] = $value;
        //	create_uid -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("create_uid", $data, $keylink);
        $row["create_uid_value"] = $value;
        //	update_uid -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("update_uid", $data, $keylink);
        $row["update_uid_value"] = $value;
        $rowinfo[] = $row;
        $data = $cipherer->DecryptFetchedArray($rs);
    }
    $xt->assign_loopsection("details_row", $rowinfo);
}
$returnJSON = array("success" => true);
$xt->load_template("pad_pad_air_tanah_hit_detailspreview.htm");
$returnJSON["body"] = $xt->fetch_loaded();
if ($mode != "inline") {
    $returnJSON["counter"] = postvalue("counter");
    $layout = GetPageLayout(GoodFieldName($strTableName), 'detailspreview');
    if ($layout) {
        $rtl = $xt->getReadingOrder() == 'RTL' ? 'RTL' : '';
        $returnJSON["style"] = "styles/" . $layout->style . "/style" . $rtl . ".css";
        $returnJSON["pageStyle"] = "pagestyles/" . $layout->name . $rtl . ".css";
        $returnJSON["layout"] = $layout->style . " page-" . $layout->name . ".css";
    }
}
echo "<textarea>" . htmlspecialchars(my_json_encode($returnJSON)) . "</textarea>";
コード例 #9
0
            $class = ' rnr-field-checkbox';
        }
        if ($format == FORMAT_NUMBER || IsNumberType($pSet->getFieldType("Fact_Salescol"))) {
            $class = ' rnr-field-number';
        }
        $row["Fact_Salescol_class"] = $class;
        $rowinfo[] = $row;
        if ($b) {
            $rowinfo2[] = $row;
            $b = false;
        }
        $data = $cipherer->DecryptFetchedArray($qResult->fetchAssoc());
    }
    $xt->assign_loopsection("details_row", $rowinfo);
    $xt->assign_loopsection("details_row_header", $rowinfo2);
    // assign class for header
}
$returnJSON = array("success" => true);
$xt->load_template(GetTemplateName("Fact_SalesTransaction", "detailspreview"));
$returnJSON["body"] = $xt->fetch_loaded();
if ($mode != "inline") {
    $returnJSON["counter"] = postvalue("counter");
    $layout = GetPageLayout(GoodFieldName($strTableName), 'detailspreview');
    if ($layout) {
        foreach ($layout->getCSSFiles(isRTL(), isMobile()) as $css) {
            $returnJSON['CSSFiles'][] = $css;
        }
    }
}
echo printJSON($returnJSON);
exit;
コード例 #10
0
        //	create_uid -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("create_uid", $data, $keylink);
        $row["create_uid_value"] = $value;
        //	updated - Short Date
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("updated", $data, $keylink);
        $row["updated_value"] = $value;
        //	update_uid -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("update_uid", $data, $keylink);
        $row["update_uid_value"] = $value;
        $rowinfo[] = $row;
        $data = $cipherer->DecryptFetchedArray($rs);
    }
    $xt->assign_loopsection("details_row", $rowinfo);
}
$returnJSON = array("success" => true);
$xt->load_template("pad_pad_kelurahan_detailspreview.htm");
$returnJSON["body"] = $xt->fetch_loaded();
if ($mode != "inline") {
    $returnJSON["counter"] = postvalue("counter");
    $layout = GetPageLayout(GoodFieldName($strTableName), 'detailspreview');
    if ($layout) {
        $rtl = $xt->getReadingOrder() == 'RTL' ? 'RTL' : '';
        $returnJSON["style"] = "styles/" . $layout->style . "/style" . $rtl . ".css";
        $returnJSON["pageStyle"] = "pagestyles/" . $layout->name . $rtl . ".css";
        $returnJSON["layout"] = $layout->style . " page-" . $layout->name . ".css";
    }
}
echo "<textarea>" . htmlspecialchars(my_json_encode($returnJSON)) . "</textarea>";
コード例 #11
0
        //	bank_id -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("bank_id", $data, $keylink);
        $row["bank_id_value"] = $value;
        //	channel_id -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("channel_id", $data, $keylink);
        $row["channel_id_value"] = $value;
        //	bank_ip -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("bank_ip", $data, $keylink);
        $row["bank_ip_value"] = $value;
        $rowinfo[] = $row;
        $data = $cipherer->DecryptFetchedArray($rs);
    }
    $xt->assign_loopsection("details_row", $rowinfo);
}
$returnJSON = array("success" => true);
$xt->load_template("public_pad_payment_detailspreview.htm");
$returnJSON["body"] = $xt->fetch_loaded();
if ($mode != "inline") {
    $returnJSON["counter"] = postvalue("counter");
    $layout = GetPageLayout(GoodFieldName($strTableName), 'detailspreview');
    if ($layout) {
        $rtl = $xt->getReadingOrder() == 'RTL' ? 'RTL' : '';
        $returnJSON["style"] = "styles/" . $layout->style . "/style" . $rtl . ".css";
        $returnJSON["pageStyle"] = "pagestyles/" . $layout->name . $rtl . ".css";
        $returnJSON["layout"] = $layout->style . " page-" . $layout->name . ".css";
    }
}
echo "<textarea>" . htmlspecialchars(my_json_encode($returnJSON)) . "</textarea>";
コード例 #12
0
            $class = ' rnr-field-checkbox';
        }
        if ($format == FORMAT_NUMBER || IsNumberType($pSet->getFieldType("coy_city"))) {
            $class = ' rnr-field-number';
        }
        $row["coy_city_class"] = $class;
        $rowinfo[] = $row;
        if ($b) {
            $rowinfo2[] = $row;
            $b = false;
        }
        $data = $cipherer->DecryptFetchedArray($qResult->fetchAssoc());
    }
    $xt->assign_loopsection("details_row", $rowinfo);
    $xt->assign_loopsection("details_row_header", $rowinfo2);
    // assign class for header
}
$returnJSON = array("success" => true);
$xt->load_template(GetTemplateName("company", "detailspreview"));
$returnJSON["body"] = $xt->fetch_loaded();
if ($mode != "inline") {
    $returnJSON["counter"] = postvalue("counter");
    $layout = GetPageLayout(GoodFieldName($strTableName), 'detailspreview');
    if ($layout) {
        foreach ($layout->getCSSFiles(isRTL(), isMobile()) as $css) {
            $returnJSON['CSSFiles'][] = $css;
        }
    }
}
echo printJSON($returnJSON);
exit;
コード例 #13
0
            $class = ' rnr-field-checkbox';
        }
        if ($format == FORMAT_NUMBER || IsNumberType($pSet->getFieldType("CompanyLastSyncDate"))) {
            $class = ' rnr-field-number';
        }
        $row["CompanyLastSyncDate_class"] = $class;
        $rowinfo[] = $row;
        if ($b) {
            $rowinfo2[] = $row;
            $b = false;
        }
        $data = $cipherer->DecryptFetchedArray($qResult->fetchAssoc());
    }
    $xt->assign_loopsection("details_row", $rowinfo);
    $xt->assign_loopsection("details_row_header", $rowinfo2);
    // assign class for header
}
$returnJSON = array("success" => true);
$xt->load_template(GetTemplateName("CompanyMaster", "detailspreview"));
$returnJSON["body"] = $xt->fetch_loaded();
if ($mode != "inline") {
    $returnJSON["counter"] = postvalue("counter");
    $layout = GetPageLayout(GoodFieldName($strTableName), 'detailspreview');
    if ($layout) {
        foreach ($layout->getCSSFiles(isRTL(), isMobile()) as $css) {
            $returnJSON['CSSFiles'][] = $css;
        }
    }
}
echo printJSON($returnJSON);
exit;
コード例 #14
0
        //	create_uid -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("create_uid", $data, $keylink);
        $row["create_uid_value"] = $value;
        //	updated - Short Date
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("updated", $data, $keylink);
        $row["updated_value"] = $value;
        //	update_uid -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("update_uid", $data, $keylink);
        $row["update_uid_value"] = $value;
        $rowinfo[] = $row;
        $data = $cipherer->DecryptFetchedArray($rs);
    }
    $xt->assign_loopsection("details_row", $rowinfo);
}
$returnJSON = array("success" => true);
$xt->load_template("pad_pad_tarif_pajak_detailspreview.htm");
$returnJSON["body"] = $xt->fetch_loaded();
if ($mode != "inline") {
    $returnJSON["counter"] = postvalue("counter");
    $layout = GetPageLayout(GoodFieldName($strTableName), 'detailspreview');
    if ($layout) {
        $rtl = $xt->getReadingOrder() == 'RTL' ? 'RTL' : '';
        $returnJSON["style"] = "styles/" . $layout->style . "/style" . $rtl . ".css";
        $returnJSON["pageStyle"] = "pagestyles/" . $layout->name . $rtl . ".css";
        $returnJSON["layout"] = $layout->style . " page-" . $layout->name . ".css";
    }
}
echo "<textarea>" . htmlspecialchars(my_json_encode($returnJSON)) . "</textarea>";
コード例 #15
0
AssignMethod($pageObject->body['end'], "assignBodyEnd", $pageObject);
$xt->assignbyref("body", $pageObject->body);
$xt->assign("grid_block", true);
$xt->assign("grid_header", true);
$xt->assign("TranStockCode_fieldheader", true);
$xt->assign("DESCRIP_fieldheader", true);
$xt->assign("SUM_Fact_SalesValue__fieldheader", true);
if (@$_REQUEST["format"] && $_REQUEST["format"] != "pdf") {
    //$pages[0]["page_summary"] = false;
    //$xt->assign_loopsection("pages", $pages);
    $xt->assign("pdflink_block", false);
    $xt->assign("divideintopages_block", false);
    $pageObject->body["begin"] = "";
    $pageObject->body["end"] = "";
    $xt->assignbyref("body", $pageObject->body);
}
if (@$_REQUEST["format"] !== "pdf") {
    $xt->assign("bodyattrs", 'style="margin:10px;"');
}
$usePage2pdf = postvalue("pdf");
if (!$usePage2pdf) {
    if (@$_REQUEST["format"] == "excel" || @$_REQUEST["format"] == "word") {
        $xt->load_template($pageObject->templatefile);
        $contents = $pageObject->prepareWordOrExcelTemplate($xt->template);
        $xt->template = $contents;
        xt_process_template($xt, $xt->template);
    } else {
        $pageObject->display($pageObject->templatefile);
    }
} else {
}
コード例 #16
0
        //	create_uid -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("create_uid", $data, $keylink);
        $row["create_uid_value"] = $value;
        //	write_date - Short Date
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("write_date", $data, $keylink);
        $row["write_date_value"] = $value;
        //	write_uid -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("write_uid", $data, $keylink);
        $row["write_uid_value"] = $value;
        $rowinfo[] = $row;
        $data = $cipherer->DecryptFetchedArray($rs);
    }
    $xt->assign_loopsection("details_row", $rowinfo);
}
$returnJSON = array("success" => true);
$xt->load_template("pad_pad_terima_detailspreview.htm");
$returnJSON["body"] = $xt->fetch_loaded();
if ($mode != "inline") {
    $returnJSON["counter"] = postvalue("counter");
    $layout = GetPageLayout(GoodFieldName($strTableName), 'detailspreview');
    if ($layout) {
        $rtl = $xt->getReadingOrder() == 'RTL' ? 'RTL' : '';
        $returnJSON["style"] = "styles/" . $layout->style . "/style" . $rtl . ".css";
        $returnJSON["pageStyle"] = "pagestyles/" . $layout->name . $rtl . ".css";
        $returnJSON["layout"] = $layout->style . " page-" . $layout->name . ".css";
    }
}
echo "<textarea>" . htmlspecialchars(my_json_encode($returnJSON)) . "</textarea>";
コード例 #17
0
        //	writes -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("writes", $data, $keylink);
        $row["writes_value"] = $value;
        //	deletes -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("deletes", $data, $keylink);
        $row["deletes_value"] = $value;
        //	inserts -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("inserts", $data, $keylink);
        $row["inserts_value"] = $value;
        $rowinfo[] = $row;
        $data = $cipherer->DecryptFetchedArray($rs);
    }
    $xt->assign_loopsection("details_row", $rowinfo);
}
$returnJSON = array("success" => true);
$xt->load_template("app_group_modules_detailspreview.htm");
$returnJSON["body"] = $xt->fetch_loaded();
if ($mode != "inline") {
    $returnJSON["counter"] = postvalue("counter");
    $layout = GetPageLayout(GoodFieldName($strTableName), 'detailspreview');
    if ($layout) {
        $rtl = $xt->getReadingOrder() == 'RTL' ? 'RTL' : '';
        $returnJSON["style"] = "styles/" . $layout->style . "/style" . $rtl . ".css";
        $returnJSON["pageStyle"] = "pagestyles/" . $layout->name . $rtl . ".css";
        $returnJSON["layout"] = $layout->style . " page-" . $layout->name . ".css";
    }
}
echo "<textarea>" . htmlspecialchars(my_json_encode($returnJSON)) . "</textarea>";
コード例 #18
0
        //	kelompok_usaha_id -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("kelompok_usaha_id", $data, $keylink);
        $row["kelompok_usaha_id_value"] = $value;
        //	golongan -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("golongan", $data, $keylink);
        $row["golongan_value"] = $value;
        //	id_old3 -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("id_old3", $data, $keylink);
        $row["id_old3_value"] = $value;
        $rowinfo[] = $row;
        $data = $cipherer->DecryptFetchedArray($rs);
    }
    $xt->assign_loopsection("details_row", $rowinfo);
}
$returnJSON = array("success" => true);
$xt->load_template("pad_pad_air_hda_detailspreview.htm");
$returnJSON["body"] = $xt->fetch_loaded();
if ($mode != "inline") {
    $returnJSON["counter"] = postvalue("counter");
    $layout = GetPageLayout(GoodFieldName($strTableName), 'detailspreview');
    if ($layout) {
        $rtl = $xt->getReadingOrder() == 'RTL' ? 'RTL' : '';
        $returnJSON["style"] = "styles/" . $layout->style . "/style" . $rtl . ".css";
        $returnJSON["pageStyle"] = "pagestyles/" . $layout->name . $rtl . ".css";
        $returnJSON["layout"] = $layout->style . " page-" . $layout->name . ".css";
    }
}
echo "<textarea>" . htmlspecialchars(my_json_encode($returnJSON)) . "</textarea>";
コード例 #19
0
        //	id -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("id", $data, $keylink);
        $row["id_value"] = $value;
        //	user_id -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("user_id", $data, $keylink);
        $row["user_id_value"] = $value;
        //	group_id -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("group_id", $data, $keylink);
        $row["group_id_value"] = $value;
        $rowinfo[] = $row;
        $data = $cipherer->DecryptFetchedArray($rs);
    }
    $xt->assign_loopsection("details_row", $rowinfo);
}
$returnJSON = array("success" => true);
$xt->load_template("app_user_groups_detailspreview.htm");
$returnJSON["body"] = $xt->fetch_loaded();
if ($mode != "inline") {
    $returnJSON["counter"] = postvalue("counter");
    $layout = GetPageLayout(GoodFieldName($strTableName), 'detailspreview');
    if ($layout) {
        $rtl = $xt->getReadingOrder() == 'RTL' ? 'RTL' : '';
        $returnJSON["style"] = "styles/" . $layout->style . "/style" . $rtl . ".css";
        $returnJSON["pageStyle"] = "pagestyles/" . $layout->name . $rtl . ".css";
        $returnJSON["layout"] = $layout->style . " page-" . $layout->name . ".css";
    }
}
echo "<textarea>" . htmlspecialchars(my_json_encode($returnJSON)) . "</textarea>";
コード例 #20
0
        //	update_uid -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("update_uid", $data, $keylink);
        $row["update_uid_value"] = $value;
        //	npwpd_old -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("npwpd_old", $data, $keylink);
        $row["npwpd_old_value"] = $value;
        //	id_old -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("id_old", $data, $keylink);
        $row["id_old_value"] = $value;
        $rowinfo[] = $row;
        $data = $cipherer->DecryptFetchedArray($rs);
    }
    $xt->assign_loopsection("details_row", $rowinfo);
}
$returnJSON = array("success" => true);
$xt->load_template("pad_pad_customer_detailspreview.htm");
$returnJSON["body"] = $xt->fetch_loaded();
if ($mode != "inline") {
    $returnJSON["counter"] = postvalue("counter");
    $layout = GetPageLayout(GoodFieldName($strTableName), 'detailspreview');
    if ($layout) {
        $rtl = $xt->getReadingOrder() == 'RTL' ? 'RTL' : '';
        $returnJSON["style"] = "styles/" . $layout->style . "/style" . $rtl . ".css";
        $returnJSON["pageStyle"] = "pagestyles/" . $layout->name . $rtl . ".css";
        $returnJSON["layout"] = $layout->style . " page-" . $layout->name . ".css";
    }
}
echo "<textarea>" . htmlspecialchars(my_json_encode($returnJSON)) . "</textarea>";
コード例 #21
0
        //	update_uid -
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("update_uid", $data, $keylink);
        $row["update_uid_value"] = $value;
        //	updated - Short Date
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("updated", $data, $keylink);
        $row["updated_value"] = $value;
        //	created - Short Date
        $viewContainer->recId = $recordsCounter;
        $value = $viewContainer->showDBValue("created", $data, $keylink);
        $row["created_value"] = $value;
        $rowinfo[] = $row;
        $data = $cipherer->DecryptFetchedArray($rs);
    }
    $xt->assign_loopsection("details_row", $rowinfo);
}
$returnJSON = array("success" => true);
$xt->load_template("pad_pad_reklame_jalan_detailspreview.htm");
$returnJSON["body"] = $xt->fetch_loaded();
if ($mode != "inline") {
    $returnJSON["counter"] = postvalue("counter");
    $layout = GetPageLayout(GoodFieldName($strTableName), 'detailspreview');
    if ($layout) {
        $rtl = $xt->getReadingOrder() == 'RTL' ? 'RTL' : '';
        $returnJSON["style"] = "styles/" . $layout->style . "/style" . $rtl . ".css";
        $returnJSON["pageStyle"] = "pagestyles/" . $layout->name . $rtl . ".css";
        $returnJSON["layout"] = $layout->style . " page-" . $layout->name . ".css";
    }
}
echo "<textarea>" . htmlspecialchars(my_json_encode($returnJSON)) . "</textarea>";