function clsRecordchange_passwordchangepwd1($RelativePath, &$Parent) { global $FileName; global $CCSLocales; global $DefaultDateFormat; $this->Visible = true; $this->Parent =& $Parent; $this->RelativePath = $RelativePath; $this->Errors = new clsErrors(); $this->ErrorBlock = "Record changepwd1/Error"; $this->DataSource = new clschange_passwordchangepwd1DataSource($this); $this->ds =& $this->DataSource; $this->UpdateAllowed = true; $this->ReadAllowed = true; if ($this->Visible) { $this->ComponentName = "changepwd1"; $this->Attributes = new clsAttributes($this->ComponentName . ":"); $CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2); if (sizeof($CCSForm) == 1) { $CCSForm[1] = ""; } list($FormName, $FormMethod) = $CCSForm; $this->EditMode = $FormMethod == "Edit"; $this->FormEnctype = "application/x-www-form-urlencoded"; $this->FormSubmitted = $FormName == $this->ComponentName; $Method = $this->FormSubmitted ? ccsPost : ccsGet; $this->oldpwd = new clsControl(ccsTextBox, "oldpwd", "Old Password", ccsText, "", CCGetRequestParam("oldpwd", $Method, NULL), $this); $this->oldpwd->Required = true; $this->newpwd = new clsControl(ccsTextBox, "newpwd", "New Password", ccsText, "", CCGetRequestParam("newpwd", $Method, NULL), $this); $this->newpwd->Required = true; $this->confirmpwd = new clsControl(ccsTextBox, "confirmpwd", "Confirm Password", ccsText, "", CCGetRequestParam("confirmpwd", $Method, NULL), $this); $this->confirmpwd->Required = true; $this->Button1 = new clsButton("Button1", $Method, $this); } }
function clsRecordt_rep_bphtb_registrationSearch($RelativePath, &$Parent) { global $FileName; global $CCSLocales; global $DefaultDateFormat; $this->Visible = true; $this->Parent =& $Parent; $this->RelativePath = $RelativePath; $this->Errors = new clsErrors(); $this->ErrorBlock = "Record t_rep_bphtb_registrationSearch/Error"; $this->ReadAllowed = true; if ($this->Visible) { $this->ComponentName = "t_rep_bphtb_registrationSearch"; $this->Attributes = new clsAttributes($this->ComponentName . ":"); $CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2); if (sizeof($CCSForm) == 1) { $CCSForm[1] = ""; } list($FormName, $FormMethod) = $CCSForm; $this->FormEnctype = "application/x-www-form-urlencoded"; $this->FormSubmitted = $FormName == $this->ComponentName; $Method = $this->FormSubmitted ? ccsPost : ccsGet; $this->wp_name =& new clsControl(ccsTextBox, "wp_name", "wp_name", ccsDate, array("dd", "-", "mm", "-", "yyyy"), CCGetRequestParam("wp_name", $Method, NULL), $this); $this->Button_DoSearch =& new clsButton("Button_DoSearch", $Method, $this); $this->t_bphtb_registration_id =& new clsControl(ccsHidden, "t_bphtb_registration_id", "t_bphtb_registration_id", ccsText, "", CCGetRequestParam("t_bphtb_registration_id", $Method, NULL), $this); } }
function clsGridcategories() { global $FileName; $this->ComponentName = "categories"; $this->Visible = True; $this->Errors = new clsErrors(); $this->ds = new clscategoriesDataSource(); $this->PageSize = CCGetParam($this->ComponentName . "PageSize", ""); if (!is_numeric($this->PageSize) || !strlen($this->PageSize)) { $this->PageSize = 20; } else { $this->PageSize = intval($this->PageSize); } $this->PageNumber = intval(CCGetParam($this->ComponentName . "Page", 1)); $this->SorterName = CCGetParam("categoriesOrder", ""); $this->SorterDirection = CCGetParam("categoriesDir", ""); $this->Go = new clsControl(ccsLink, "Go", "Go", ccsText, "", CCGetRequestParam("Go", ccsGet)); $this->name = new clsControl(ccsLabel, "name", "name", ccsText, "", CCGetRequestParam("name", ccsGet)); $this->weight = new clsControl(ccsLabel, "weight", "weight", ccsInteger, "", CCGetRequestParam("weight", ccsGet)); $this->Edit = new clsControl(ccsLink, "Edit", "Edit", ccsText, "", CCGetRequestParam("Edit", ccsGet)); $this->Sorter_name = new clsSorter($this->ComponentName, "Sorter_name", $FileName); $this->AddNew = new clsControl(ccsLink, "AddNew", "AddNew", ccsInteger, "", CCGetRequestParam("AddNew", ccsGet)); $this->AddNew->Parameters = CCGetQueryString("QueryString", array("ccsForm")); if (!CCGetFromGet("SUBID", "") || CCGetFromGet("SUBID", "") == "") { $this->AddNew->Parameters = CCAddParam($this->AddNew->Parameters, "SUBID", 1); } else { $this->AddNew->Parameters = CCAddParam($this->AddNew->Parameters, "SUBID", CCGetFromGet("SUBID", "")); } $this->AddNew->Page = "CategoriesMaintanence.php"; $this->Navigator = new clsNavigator($this->ComponentName, "Navigator", $FileName, 10, tpCentered); }
function clsRecordgrafik_pembayaran_form($RelativePath, &$Parent) { global $FileName; global $CCSLocales; global $DefaultDateFormat; $this->Visible = true; $this->Parent =& $Parent; $this->RelativePath = $RelativePath; $this->Errors = new clsErrors(); $this->ErrorBlock = "Record grafik_pembayaran_form/Error"; $this->ReadAllowed = true; if ($this->Visible) { $this->ComponentName = "grafik_pembayaran_form"; $this->Attributes = new clsAttributes($this->ComponentName . ":"); $CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2); if (sizeof($CCSForm) == 1) { $CCSForm[1] = ""; } list($FormName, $FormMethod) = $CCSForm; $this->FormEnctype = "application/x-www-form-urlencoded"; $this->FormSubmitted = $FormName == $this->ComponentName; $Method = $this->FormSubmitted ? ccsPost : ccsGet; $this->Button2 =& new clsButton("Button2", $Method, $this); $this->year_code =& new clsControl(ccsTextBox, "year_code", "year_code", ccsText, "", CCGetRequestParam("year_code", $Method, NULL), $this); $this->p_year_period_id =& new clsControl(ccsHidden, "p_year_period_id", "p_year_period_id", ccsText, "", CCGetRequestParam("p_year_period_id", $Method, NULL), $this); $this->code =& new clsControl(ccsTextBox, "code", "code", ccsText, "", CCGetRequestParam("code", $Method, NULL), $this); $this->p_finance_period_id =& new clsControl(ccsHidden, "p_finance_period_id", "p_finance_period_id", ccsText, "", CCGetRequestParam("p_finance_period_id", $Method, NULL), $this); } }
function clsGridlookup_countries() { global $FileName; $this->ComponentName = "lookup_countries"; $this->Visible = True; $this->Errors = new clsErrors(); $this->ds = new clslookup_countriesDataSource(); $this->PageSize = CCGetParam($this->ComponentName . "PageSize", ""); if (!is_numeric($this->PageSize) || !strlen($this->PageSize)) { $this->PageSize = 20; } else { $this->PageSize = intval($this->PageSize); } $this->PageNumber = intval(CCGetParam($this->ComponentName . "Page", 1)); $this->SorterName = CCGetParam("lookup_countriesOrder", ""); $this->SorterDirection = CCGetParam("lookup_countriesDir", ""); $this->Detail = new clsControl(ccsLink, "Detail", "Detail", ccsText, "", CCGetRequestParam("Detail", ccsGet)); $this->country_id = new clsControl(ccsLabel, "country_id", "country_id", ccsInteger, "", CCGetRequestParam("country_id", ccsGet)); $this->country_desc = new clsControl(ccsLabel, "country_desc", "country_desc", ccsText, "", CCGetRequestParam("country_desc", ccsGet)); $this->Sorter_country_id = new clsSorter($this->ComponentName, "Sorter_country_id", $FileName); $this->Sorter_country_desc = new clsSorter($this->ComponentName, "Sorter_country_desc", $FileName); $this->lookup_countries_Insert = new clsControl(ccsLink, "lookup_countries_Insert", "lookup_countries_Insert", ccsText, "", CCGetRequestParam("lookup_countries_Insert", ccsGet)); $this->lookup_countries_Insert->Parameters = CCGetQueryString("QueryString", array("country_id", "ccsForm")); $this->lookup_countries_Insert->Page = "CountriesEdit.php"; $this->Navigator = new clsNavigator($this->ComponentName, "Navigator", $FileName, 5, tpCentered); }
function clsRecordt_cust_acc_status_editForm($RelativePath, &$Parent) { global $FileName; global $CCSLocales; global $DefaultDateFormat; $this->Visible = true; $this->Parent =& $Parent; $this->RelativePath = $RelativePath; $this->Errors = new clsErrors(); $this->ErrorBlock = "Record t_cust_acc_status_editForm/Error"; $this->DataSource = new clst_cust_acc_status_editFormDataSource($this); $this->ds =& $this->DataSource; $this->UpdateAllowed = true; $this->ReadAllowed = true; if ($this->Visible) { $this->ComponentName = "t_cust_acc_status_editForm"; $this->Attributes = new clsAttributes($this->ComponentName . ":"); $CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2); if (sizeof($CCSForm) == 1) { $CCSForm[1] = ""; } list($FormName, $FormMethod) = $CCSForm; $this->EditMode = $FormMethod == "Edit"; $this->FormEnctype = "application/x-www-form-urlencoded"; $this->FormSubmitted = $FormName == $this->ComponentName; $Method = $this->FormSubmitted ? ccsPost : ccsGet; $this->Button1 =& new clsButton("Button1", $Method, $this); $this->block_status =& new clsControl(ccsListBox, "block_status", "block_status", ccsText, "", CCGetRequestParam("block_status", $Method, NULL), $this); $this->block_status->DSType = dsListOfValues; $this->block_status->Values = array(array("T", "BLOCK"), array("F", "BUKA BLOCK")); $this->alasan =& new clsControl(ccsTextArea, "alasan", "alasan", ccsText, "", CCGetRequestParam("alasan", $Method, NULL), $this); } }
function clsRecordt_laporan_piutang_pajak($RelativePath, &$Parent) { global $FileName; global $CCSLocales; global $DefaultDateFormat; $this->Visible = true; $this->Parent =& $Parent; $this->RelativePath = $RelativePath; $this->Errors = new clsErrors(); $this->ErrorBlock = "Record t_laporan_piutang_pajak/Error"; $this->ReadAllowed = true; if ($this->Visible) { $this->ComponentName = "t_laporan_piutang_pajak"; $this->Attributes = new clsAttributes($this->ComponentName . ":"); $CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2); if (sizeof($CCSForm) == 1) { $CCSForm[1] = ""; } list($FormName, $FormMethod) = $CCSForm; $this->FormEnctype = "application/x-www-form-urlencoded"; $this->FormSubmitted = $FormName == $this->ComponentName; $Method = $this->FormSubmitted ? ccsPost : ccsGet; $this->Button1 =& new clsButton("Button1", $Method, $this); $this->year_code =& new clsControl(ccsTextBox, "year_code", "Periode Tahun", ccsText, "", CCGetRequestParam("year_code", $Method, NULL), $this); $this->year_code->Required = true; $this->p_year_period_id =& new clsControl(ccsHidden, "p_year_period_id", "p_year_period_id", ccsFloat, "", CCGetRequestParam("p_year_period_id", $Method, NULL), $this); $this->cetak_laporan =& new clsControl(ccsHidden, "cetak_laporan", "cetak_laporan", ccsText, "", CCGetRequestParam("cetak_laporan", $Method, NULL), $this); $this->vat_code =& new clsControl(ccsTextBox, "vat_code", "Ayat Pajak", ccsText, "", CCGetRequestParam("vat_code", $Method, NULL), $this); $this->p_vat_type_id =& new clsControl(ccsHidden, "p_vat_type_id", "p_vat_type_id", ccsText, "", CCGetRequestParam("p_vat_type_id", $Method, NULL), $this); $this->Button2 =& new clsButton("Button2", $Method, $this); $this->status =& new clsControl(ccsListBox, "status", "status", ccsText, "", CCGetRequestParam("status", $Method, NULL), $this); $this->status->DSType = dsListOfValues; $this->status->Values = array(array("1", "SUDAH BAYAR"), array("2", "BELUM BAYAR")); } }
function clsGridcharges() { global $FileName; $this->ComponentName = "charges"; $this->Visible = True; $this->Errors = new clsErrors(); $this->ds = new clschargesDataSource(); $this->PageSize = CCGetParam($this->ComponentName . "PageSize", ""); if (!is_numeric($this->PageSize) || !strlen($this->PageSize)) { $this->PageSize = 20; } else { $this->PageSize = intval($this->PageSize); } $this->PageNumber = intval(CCGetParam($this->ComponentName . "Page", 1)); $this->SorterName = CCGetParam("chargesOrder", ""); $this->SorterDirection = CCGetParam("chargesDir", ""); $this->Detail = new clsControl(ccsLink, "Detail", "Detail", ccsText, "", CCGetRequestParam("Detail", ccsGet)); $this->user_id = new clsControl(ccsLabel, "user_id", "user_id", ccsInteger, "", CCGetRequestParam("user_id", ccsGet)); $this->date = new clsControl(ccsLabel, "date", "date", ccsInteger, "", CCGetRequestParam("date", ccsGet)); $this->charge = new clsControl(ccsLabel, "charge", "charge", ccsFloat, array(False, 2, ".", "", False, "", "", 1, True, ""), CCGetRequestParam("charge", ccsGet)); $this->Sorter_user_id = new clsSorter($this->ComponentName, "Sorter_user_id", $FileName); $this->Sorter_date = new clsSorter($this->ComponentName, "Sorter_date", $FileName); $this->Sorter_charge = new clsSorter($this->ComponentName, "Sorter_charge", $FileName); $this->charges_Insert = new clsControl(ccsLink, "charges_Insert", "charges_Insert", ccsText, "", CCGetRequestParam("charges_Insert", ccsGet)); $this->charges_Insert->Parameters = CCGetQueryString("QueryString", array("charge_id", "ccsForm")); $this->charges_Insert->Page = "AddCharge.php"; $this->Navigator = new clsNavigator($this->ComponentName, "Navigator", $FileName, 5, tpCentered); }
function clsGridpromo() { global $FileName; $this->ComponentName = "promo"; $this->Visible = True; $this->Errors = new clsErrors(); $this->ds = new clspromoDataSource(); $this->PageSize = CCGetParam($this->ComponentName . "PageSize", ""); if (!is_numeric($this->PageSize) || !strlen($this->PageSize)) { $this->PageSize = 20; } else { $this->PageSize = intval($this->PageSize); } $this->PageNumber = intval(CCGetParam($this->ComponentName . "Page", 1)); $this->SorterName = CCGetParam("promoOrder", ""); $this->SorterDirection = CCGetParam("promoDir", ""); $this->Detail = new clsControl(ccsLink, "Detail", "Detail", ccsText, "", CCGetRequestParam("Detail", ccsGet)); $this->id = new clsControl(ccsLabel, "id", "id", ccsInteger, "", CCGetRequestParam("id", ccsGet)); $this->code = new clsControl(ccsLabel, "code", "code", ccsText, "", CCGetRequestParam("code", ccsGet)); $this->start = new clsControl(ccsLabel, "start", "start", ccsInteger, "", CCGetRequestParam("start", ccsGet)); $this->end = new clsControl(ccsLabel, "end", "end", ccsInteger, "", CCGetRequestParam("end", ccsGet)); $this->amount = new clsControl(ccsLabel, "amount", "amount", ccsFloat, array(False, 2, ".", "", False, "", "", 1, True, ""), CCGetRequestParam("amount", ccsGet)); $this->Sorter_id = new clsSorter($this->ComponentName, "Sorter_id", $FileName); $this->Sorter_code = new clsSorter($this->ComponentName, "Sorter_code", $FileName); $this->Sorter_start = new clsSorter($this->ComponentName, "Sorter_start", $FileName); $this->Sorter_end = new clsSorter($this->ComponentName, "Sorter_end", $FileName); $this->Sorter_amount = new clsSorter($this->ComponentName, "Sorter_amount", $FileName); $this->promo_Insert = new clsControl(ccsLink, "promo_Insert", "promo_Insert", ccsText, "", CCGetRequestParam("promo_Insert", ccsGet)); $this->promo_Insert->Parameters = CCGetQueryString("QueryString", array("id", "ccsForm")); $this->promo_Insert->Page = "AddPromo.php"; $this->Navigator = new clsNavigator($this->ComponentName, "Navigator", $FileName, 5, tpCentered); }
function clsRecordgrafik_pembayaran_form($RelativePath, &$Parent) { global $FileName; global $CCSLocales; global $DefaultDateFormat; $this->Visible = true; $this->Parent =& $Parent; $this->RelativePath = $RelativePath; $this->Errors = new clsErrors(); $this->ErrorBlock = "Record grafik_pembayaran_form/Error"; $this->ReadAllowed = true; if ($this->Visible) { $this->ComponentName = "grafik_pembayaran_form"; $this->Attributes = new clsAttributes($this->ComponentName . ":"); $CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2); if (sizeof($CCSForm) == 1) { $CCSForm[1] = ""; } list($FormName, $FormMethod) = $CCSForm; $this->FormEnctype = "application/x-www-form-urlencoded"; $this->FormSubmitted = $FormName == $this->ComponentName; $Method = $this->FormSubmitted ? ccsPost : ccsGet; $this->Button2 =& new clsButton("Button2", $Method, $this); $this->app_user_name =& new clsControl(ccsTextBox, "app_user_name", "NPWD", ccsText, "", CCGetRequestParam("app_user_name", $Method, NULL), $this); $this->p_app_user_id =& new clsControl(ccsHidden, "p_app_user_id", "p_app_user_id", ccsFloat, "", CCGetRequestParam("p_app_user_id", $Method, NULL), $this); $this->mobile_no =& new clsControl(ccsTextBox, "mobile_no", "Nama Perusahaan", ccsText, "", CCGetRequestParam("mobile_no", $Method, NULL), $this); $this->message =& new clsControl(ccsTextArea, "message", "message", ccsText, "", CCGetRequestParam("message", $Method, NULL), $this); $this->tgl_penerimaan =& new clsControl(ccsTextBox, "tgl_penerimaan", "tgl_penerimaan", ccsDate, array("dd", "-", "mm", "-", "yyyy"), CCGetRequestParam("tgl_penerimaan", $Method, NULL), $this); $this->DatePicker_tgl_penerimaan =& new clsDatePicker("DatePicker_tgl_penerimaan", "grafik_pembayaran_form", "tgl_penerimaan", $this); $this->Button_DoSearch1 =& new clsButton("Button_DoSearch1", $Method, $this); } }
function clsRecordusers() { global $FileName; $this->Visible = true; $this->Errors = new clsErrors(); $this->ds = new clsusersDataSource(); $this->InsertAllowed = true; $this->UpdateAllowed = true; $this->DeleteAllowed = true; if ($this->Visible) { $this->ComponentName = "users"; $this->HTMLFormAction = $FileName . "?" . CCAddParam(CCGetQueryString("QueryString", ""), "ccsForm", $this->ComponentName); $CCSForm = CCGetFromGet("ccsForm", ""); $this->FormSubmitted = $CCSForm == $this->ComponentName; $Method = $this->FormSubmitted ? ccsPost : ccsGet; $this->id = new clsControl(ccsLabel, "id", "id", ccsInteger, "", CCGetRequestParam("id", $Method)); $this->user_id = new clsControl(ccsListBox, "user_id", "user_id", ccsInteger, "", CCGetRequestParam("user_id", $Method)); $this->user_id->DSType = dsTable; list($this->user_id->BoundColumn, $this->user_id->TextColumn) = array("user_id", "user_login"); $this->user_id->ds = new clsDBDBNetConnect(); $this->user_id->ds->SQL = "SELECT * " . "FROM users"; // $this->user_id->Required = true; $this->paid = new clsControl(ccsTextBox, "paid", "paid", ccsText, "", CCGetRequestParam("paid", $Method)); $this->subsc_id = new clsControl(ccsListBox, "subsc_id", "subsc_id", ccsInteger, "", CCGetRequestParam("subsc_id", $Method)); $this->subsc_id->DSType = dsTable; list($this->subsc_id->BoundColumn, $this->subsc_id->TextColumn) = array("id", "title"); $this->subsc_id->ds = new clsDBDBNetConnect(); $this->subsc_id->ds->SQL = "SELECT * " . "FROM subscription_plans"; $this->Insert = new clsButton("Insert"); $this->Update = new clsButton("Update"); $this->Delete = new clsButton("Delete"); } }
function clsGriditems1() { global $FileName; global $now; $this->ComponentName = "items1"; $this->Visible = True; $this->Errors = new clsErrors(); $this->ds = new clsitems1DataSource(); $this->PageSize = CCGetParam($this->ComponentName . "PageSize", ""); if(!is_numeric($this->PageSize) || !strlen($this->PageSize)) $this->PageSize = $now["frontentrys"]; else $this->PageSize = intval($this->PageSize); $this->PageNumber = intval(CCGetParam($this->ComponentName . "Page", 1)); $this->background = new clsControl(ccsLabel, "background", "background", ccsInteger, "", CCGetRequestParam("background", ccsGet)); $this->background->HTML = true; $this->bold2 = new clsControl(ccsLabel, "bold2", "bold2", ccsText, "", CCGetRequestParam("bold2", ccsGet)); $this->bold2->HTML = true; $this->image_preview = new clsControl(ccsLabel, "image_preview", "image_preview", ccsInteger, "", CCGetRequestParam("image_preview", ccsGet)); $this->image_preview->HTML = true; $this->image_one = new clsControl(ccsLabel, "image_one", "image_one", ccsText, "", CCGetRequestParam("image_one", ccsGet)); $this->image_one->HTML = true; $this->ItemNum = new clsControl(ccsLabel, "ItemNum", "ItemNum", ccsInteger, "", CCGetRequestParam("ItemNum", ccsGet)); $this->bold = new clsControl(ccsLabel, "bold", "bold", ccsInteger, "", CCGetRequestParam("bold", ccsGet)); $this->bold->HTML = true; $this->title = new clsControl(ccsLabel, "title", "title", ccsText, "", CCGetRequestParam("title", ccsGet)); $this->make_offer = new clsControl(ccsLabel, "make_offer", "make_offer", ccsInteger, "", CCGetRequestParam("make_offer", ccsGet)); $this->make_offer->HTML = true; $this->city_town = new clsControl(ccsLabel, "city_town", "city_town", ccsText, "", CCGetRequestParam("city_town", ccsGet)); $this->state_province = new clsControl(ccsLabel, "state_province", "state_province", ccsText, "", CCGetRequestParam("state_province", ccsGet)); $this->started = new clsControl(ccsLabel, "started", "started", ccsInteger, "", CCGetRequestParam("started", ccsGet)); $this->asking_price = new clsControl(ccsLabel, "asking_price", "asking_price", ccsFloat, Array(False, 2, ".", "", False, "", "", 1, True, ""), CCGetRequestParam("asking_price", ccsGet)); }
function clsRecordLOV($RelativePath, &$Parent) { global $FileName; global $CCSLocales; global $DefaultDateFormat; $this->Visible = true; $this->Parent =& $Parent; $this->RelativePath = $RelativePath; $this->Errors = new clsErrors(); $this->ErrorBlock = "Record LOV/Error"; $this->DataSource = new clsLOVDataSource($this); $this->ds =& $this->DataSource; $this->InsertAllowed = true; if ($this->Visible) { $this->ComponentName = "LOV"; $this->Attributes = new clsAttributes($this->ComponentName . ":"); $CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2); if (sizeof($CCSForm) == 1) { $CCSForm[1] = ""; } list($FormName, $FormMethod) = $CCSForm; $this->EditMode = $FormMethod == "Edit"; $this->FormEnctype = "application/x-www-form-urlencoded"; $this->FormSubmitted = $FormName == $this->ComponentName; $Method = $this->FormSubmitted ? ccsPost : ccsGet; $this->nilai_denda =& new clsControl(ccsTextBox, "nilai_denda", "nilai_denda", ccsText, "", CCGetRequestParam("nilai_denda", $Method, NULL), $this); $this->deskripsi =& new clsControl(ccsTextArea, "deskripsi", "deskripsi", ccsText, "", CCGetRequestParam("deskripsi", $Method, NULL), $this); $this->t_vat_setllement_id =& new clsControl(ccsHidden, "t_vat_setllement_id", "t_vat_setllement_id", ccsText, "", CCGetRequestParam("t_vat_setllement_id", $Method, NULL), $this); $this->Button1 =& new clsButton("Button1", $Method, $this); $this->flag_piutang =& new clsControl(ccsListBox, "flag_piutang", "flag_piutang", ccsText, "", CCGetRequestParam("flag_piutang", $Method, NULL), $this); $this->flag_piutang->DSType = dsListOfValues; $this->flag_piutang->Values = array(array("0", "Ubah Nilai"), array("1", "Jadikan Ketetapan Denda")); } }
function clsRecordt_rep_lap_harian_bdhrSearch($RelativePath, &$Parent) { global $FileName; global $CCSLocales; global $DefaultDateFormat; $this->Visible = true; $this->Parent =& $Parent; $this->RelativePath = $RelativePath; $this->Errors = new clsErrors(); $this->ErrorBlock = "Record t_rep_lap_harian_bdhrSearch/Error"; $this->ReadAllowed = true; if ($this->Visible) { $this->ComponentName = "t_rep_lap_harian_bdhrSearch"; $this->Attributes = new clsAttributes($this->ComponentName . ":"); $CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2); if (sizeof($CCSForm) == 1) { $CCSForm[1] = ""; } list($FormName, $FormMethod) = $CCSForm; $this->FormEnctype = "application/x-www-form-urlencoded"; $this->FormSubmitted = $FormName == $this->ComponentName; $Method = $this->FormSubmitted ? ccsPost : ccsGet; $this->tgl_penerimaan =& new clsControl(ccsTextBox, "tgl_penerimaan", "tgl_penerimaan", ccsDate, array("dd", "-", "mm", "-", "yyyy"), CCGetRequestParam("tgl_penerimaan", $Method, NULL), $this); $this->DatePicker_tgl_penerimaan =& new clsDatePicker("DatePicker_tgl_penerimaan", "t_rep_lap_harian_bdhrSearch", "tgl_penerimaan", $this); $this->kabid =& new clsControl(ccsHidden, "kabid", "kabid", ccsText, "", CCGetRequestParam("kabid", $Method, NULL), $this); $this->tgl_penerimaan_last =& new clsControl(ccsTextBox, "tgl_penerimaan_last", "tgl_penerimaan_last", ccsDate, array("dd", "-", "mm", "-", "yyyy"), CCGetRequestParam("tgl_penerimaan_last", $Method, NULL), $this); $this->DatePicker_tgl_penerimaan1 =& new clsDatePicker("DatePicker_tgl_penerimaan1", "t_rep_lap_harian_bdhrSearch", "tgl_penerimaan_last", $this); $this->Button_DoSearch1 =& new clsButton("Button_DoSearch1", $Method, $this); $this->vat_code =& new clsControl(ccsTextBox, "vat_code", "vat_code", ccsText, "", CCGetRequestParam("vat_code", $Method, NULL), $this); $this->p_vat_type_id =& new clsControl(ccsHidden, "p_vat_type_id", "p_vat_type_id", ccsText, "", CCGetRequestParam("p_vat_type_id", $Method, NULL), $this); } }
function clsRecordadministrators() { global $FileName; $this->Visible = true; $this->Errors = new clsErrors(); $this->ds = new clsadministratorsDataSource(); if ($this->Visible) { $this->ComponentName = "administrators"; $this->HTMLFormAction = $FileName . "?" . CCAddParam(CCGetQueryString("QueryString", ""), "ccsForm", $this->ComponentName); $CCSForm = CCGetFromGet("ccsForm", ""); $this->FormSubmitted = $CCSForm == $this->ComponentName; $Method = $this->FormSubmitted ? ccsPost : ccsGet; $this->username = new clsControl(ccsTextBox, "username", "username", ccsText, "", CCGetRequestParam("username", $Method)); $this->password = new clsControl(ccsTextBox, "password", "password", ccsText, "", CCGetRequestParam("password", $Method)); $this->level = new clsControl(ccsListBox, "level", "level", ccsInteger, "", CCGetRequestParam("level", $Method)); $level_values = array(array("1", "Support"), array("2", "Site Manager"), array("3", "System Administrator")); $this->level->Values = $level_values; $this->level->Required = true; $this->firstname = new clsControl(ccsTextBox, "firstname", "firstname", ccsText, "", CCGetRequestParam("firstname", $Method)); $this->lastname = new clsControl(ccsTextBox, "lastname", "lastname", ccsText, "", CCGetRequestParam("lastname", $Method)); $this->address = new clsControl(ccsTextArea, "address", "address", ccsMemo, "", CCGetRequestParam("address", $Method)); $this->phone = new clsControl(ccsTextBox, "phone", "phone", ccsText, "", CCGetRequestParam("phone", $Method)); $this->pager = new clsControl(ccsTextBox, "pager", "pager", ccsText, "", CCGetRequestParam("pager", $Method)); $this->cell = new clsControl(ccsTextBox, "cell", "cell", ccsText, "", CCGetRequestParam("cell", $Method)); $this->Insert = new clsButton("Insert"); $this->Update = new clsButton("Update"); $this->Delete = new clsButton("Delete"); $this->Cancel = new clsButton("Cancel"); $this->admin_id = new clsControl(ccsHidden, "admin_id", "admin_id", ccsInteger, "", CCGetRequestParam("admin_id", $Method)); } }
function clsRecordt_rep_lap_spjpSearch($RelativePath, &$Parent) { global $FileName; global $CCSLocales; global $DefaultDateFormat; $this->Visible = true; $this->Parent =& $Parent; $this->RelativePath = $RelativePath; $this->Errors = new clsErrors(); $this->ErrorBlock = "Record t_rep_lap_spjpSearch/Error"; $this->ReadAllowed = true; if ($this->Visible) { $this->ComponentName = "t_rep_lap_spjpSearch"; $this->Attributes = new clsAttributes($this->ComponentName . ":"); $CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2); if (sizeof($CCSForm) == 1) { $CCSForm[1] = ""; } list($FormName, $FormMethod) = $CCSForm; $this->FormEnctype = "application/x-www-form-urlencoded"; $this->FormSubmitted = $FormName == $this->ComponentName; $Method = $this->FormSubmitted ? ccsPost : ccsGet; $this->code =& new clsControl(ccsTextBox, "code", "code", ccsText, "", CCGetRequestParam("code", $Method, NULL), $this); $this->p_finance_period_id =& new clsControl(ccsHidden, "p_finance_period_id", "p_finance_period_id", ccsText, "", CCGetRequestParam("p_finance_period_id", $Method, NULL), $this); $this->p_year_period_id =& new clsControl(ccsHidden, "p_year_period_id", "p_year_period_id", ccsText, "", CCGetRequestParam("p_year_period_id", $Method, NULL), $this); $this->year_code =& new clsControl(ccsTextBox, "year_code", "year_code", ccsText, "", CCGetRequestParam("year_code", $Method, NULL), $this); $this->Button_DoSearch =& new clsButton("Button_DoSearch", $Method, $this); $this->Button_DoSearch1 =& new clsButton("Button_DoSearch1", $Method, $this); $this->npwpd_jabatan =& new clsControl(ccsListBox, "npwpd_jabatan", "npwpd_jabatan", ccsText, "", CCGetRequestParam("npwpd_jabatan", $Method, NULL), $this); $this->npwpd_jabatan->DSType = dsListOfValues; $this->npwpd_jabatan->Values = array(array("1", "Semua"), array("2", "Hanya NPWPD Jabatan")); $this->npwpd_jabatan->Required = true; } }
function clsGridonline() { global $FileName; $this->ComponentName = "online"; $this->Visible = True; $this->Errors = new clsErrors(); $this->ds = new clsonlineDataSource(); $this->PageSize = CCGetParam($this->ComponentName . "PageSize", ""); if (!is_numeric($this->PageSize) || !strlen($this->PageSize)) { $this->PageSize = 20; } else { $this->PageSize = intval($this->PageSize); } $this->PageNumber = intval(CCGetParam($this->ComponentName . "Page", 1)); $this->SorterName = CCGetParam("onlineOrder", ""); $this->SorterDirection = CCGetParam("onlineDir", ""); $this->ip = new clsControl(ccsLabel, "ip", "ip", ccsText, "", CCGetRequestParam("ip", ccsGet)); $this->datet = new clsControl(ccsLabel, "datet", "datet", ccsText, "", CCGetRequestParam("datet", ccsGet)); $this->user = new clsControl(ccsLabel, "user", "user", ccsText, "", CCGetRequestParam("user", ccsGet)); $this->page = new clsControl(ccsLabel, "page", "page", ccsText, "", CCGetRequestParam("page", ccsGet)); $this->page->HTML = true; $this->Sorter_ip = new clsSorter($this->ComponentName, "Sorter_ip", $FileName); $this->Sorter_datet = new clsSorter($this->ComponentName, "Sorter_datet", $FileName); $this->Sorter_user = new clsSorter($this->ComponentName, "Sorter_user", $FileName); $this->Sorter_page = new clsSorter($this->ComponentName, "Sorter_page", $FileName); $this->Navigator = new clsNavigator($this->ComponentName, "Navigator", $FileName, 5, tpCentered); }
function clsRecordp_pass_byadminForm($RelativePath, &$Parent) { global $FileName; global $CCSLocales; global $DefaultDateFormat; $this->Visible = true; $this->Parent =& $Parent; $this->RelativePath = $RelativePath; $this->Errors = new clsErrors(); $this->ErrorBlock = "Record p_pass_byadminForm/Error"; $this->DataSource = new clsp_pass_byadminFormDataSource($this); $this->ds =& $this->DataSource; $this->ReadAllowed = true; if ($this->Visible) { $this->ComponentName = "p_pass_byadminForm"; $this->Attributes = new clsAttributes($this->ComponentName . ":"); $CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2); if (sizeof($CCSForm) == 1) { $CCSForm[1] = ""; } list($FormName, $FormMethod) = $CCSForm; $this->EditMode = $FormMethod == "Edit"; $this->FormEnctype = "application/x-www-form-urlencoded"; $this->FormSubmitted = $FormName == $this->ComponentName; $Method = $this->FormSubmitted ? ccsPost : ccsGet; $this->Button_Ubah =& new clsButton("Button_Ubah", $Method, $this); $this->n_user_pwd1 =& new clsControl(ccsTextBox, "n_user_pwd1", "n_user_pwd1", ccsText, "", CCGetRequestParam("n_user_pwd1", $Method, NULL), $this); $this->p_app_user_id =& new clsControl(ccsHidden, "p_app_user_id", "p_app_user_id", ccsFloat, "", CCGetRequestParam("p_app_user_id", $Method, NULL), $this); $this->n_user_pwd2 =& new clsControl(ccsTextBox, "n_user_pwd2", "n_user_pwd2", ccsText, "", CCGetRequestParam("n_user_pwd2", $Method, NULL), $this); $this->app_user_name =& new clsControl(ccsLabel, "app_user_name", "app_user_name", ccsText, "", CCGetRequestParam("app_user_name", $Method, NULL), $this); $this->o_user_pwd =& new clsControl(ccsTextBox, "o_user_pwd", "o_user_pwd", ccsText, "", CCGetRequestParam("o_user_pwd", $Method, NULL), $this); $this->Button_cancel =& new clsButton("Button_cancel", $Method, $this); } }
function clsRecordcharges() { global $FileName; $this->Visible = true; $this->Errors = new clsErrors(); $this->ds = new clschargesDataSource(); $this->UpdateAllowed = false; $this->DeleteAllowed = false; if ($this->Visible) { $this->ComponentName = "charges"; $this->HTMLFormAction = $FileName . "?" . CCAddParam(CCGetQueryString("QueryString", ""), "ccsForm", $this->ComponentName); $CCSForm = CCGetFromGet("ccsForm", ""); $this->FormSubmitted = $CCSForm == $this->ComponentName; $Method = $this->FormSubmitted ? ccsPost : ccsGet; $this->user_id = new clsControl(ccsListBox, "user_id", "User Id", ccsInteger, "", CCGetRequestParam("user_id", $Method)); $this->user_id_ds = new clsDBDBNetConnect(); $this->user_id_ds->SQL = "SELECT * FROM users ORDER BY user_login ASC"; $user_id_values = CCGetListValues($this->user_id_ds, $this->user_id_ds->SQL, $this->user_id_ds->Where, $this->user_id_ds->Order, "user_id", "user_login"); $this->user_id->Values = $user_id_values; $this->charge = new clsControl(ccsTextBox, "charge", "charge", ccsFloat, "", CCGetRequestParam("charge", $Method)); $this->cause = new clsControl(ccsTextArea, "cause", "Cause", ccsMemo, "", CCGetRequestParam("cause", $Method)); $this->Insert = new clsButton("Insert"); $this->Cancel = new clsButton("Cancel"); $this->date = new clsControl(ccsHidden, "date", "Date", ccsInteger, "", CCGetRequestParam("date", $Method)); } }
function clsRecordsettings_accounting() { global $FileName; $this->Visible = true; $this->Errors = new clsErrors(); $this->ds = new clssettings_accountingDataSource(); $this->InsertAllowed = false; $this->DeleteAllowed = false; if ($this->Visible) { $this->ComponentName = "settings_accounting"; $this->HTMLFormAction = $FileName . "?" . CCAddParam(CCGetQueryString("QueryString", ""), "ccsForm", $this->ComponentName); $CCSForm = CCGetFromGet("ccsForm", ""); $this->FormSubmitted = $CCSForm == $this->ComponentName; $Method = $this->FormSubmitted ? ccsPost : ccsGet; $this->paypal_on = new clsControl(ccsListBox, "paypal_on", "paypal_on", ccsInteger, "", CCGetRequestParam("paypal_on", $Method)); $paypal_on_values = array(array("0", "OFF"), array("1", "ON")); $this->paypal_on->Values = $paypal_on_values; $this->paypal = new clsControl(ccsTextBox, "paypal", "paypal", ccsText, "", CCGetRequestParam("paypal", $Method)); $this->authorizenet_on = new clsControl(ccsListBox, "authorizenet_on", "authorizenet_on", ccsInteger, "", CCGetRequestParam("authorizenet_on", $Method)); $authorizenet_on_values = array(array("0", "OFF"), array("1", "AuthorizeNet"), array("2", "PlanetPayment"), array("3", "QuickCommerce")); $this->authorizenet_on->Values = $authorizenet_on_values; $this->authorizenet = new clsControl(ccsTextBox, "authorizenet", "authorizenet", ccsText, "", CCGetRequestParam("authorizenet", $Method)); $this->authorize_tran_key = new clsControl(ccsTextBox, "authorize_tran_key", "authorize_tran_key", ccsText, "", CCGetRequestParam("authorize_tran_key", $Method)); $this->Update = new clsButton("Update"); $this->Delete = new clsButton("Delete"); $this->set_id = new clsControl(ccsHidden, "set_id", "set_id", ccsInteger, "", CCGetRequestParam("set_id", $Method)); $this->set_id->Required = true; } }
function clsGridSELECT_x_receipt_no_x_p_f($RelativePath, &$Parent) { global $FileName; global $CCSLocales; global $DefaultDateFormat; $this->ComponentName = "SELECT_x_receipt_no_x_p_f"; $this->Visible = True; $this->Parent =& $Parent; $this->RelativePath = $RelativePath; $this->Errors = new clsErrors(); $this->ErrorBlock = "Grid SELECT_x_receipt_no_x_p_f"; $this->Attributes = new clsAttributes($this->ComponentName . ":"); $this->DataSource = new clsSELECT_x_receipt_no_x_p_fDataSource($this); $this->ds =& $this->DataSource; $this->PageSize = CCGetParam($this->ComponentName . "PageSize", ""); if (!is_numeric($this->PageSize) || !strlen($this->PageSize)) { $this->PageSize = 10; } else { $this->PageSize = intval($this->PageSize); } if ($this->PageSize > 100) { $this->PageSize = 100; } if ($this->PageSize == 0) { $this->Errors->addError("<p>Form: Grid " . $this->ComponentName . "<br>Error: (CCS06) Invalid page size.</p>"); } $this->PageNumber = intval(CCGetParam($this->ComponentName . "Page", 1)); if ($this->PageNumber <= 0) { $this->PageNumber = 1; } $this->p_finance_period_id =& new clsControl(ccsLabel, "p_finance_period_id", "p_finance_period_id", ccsFloat, "", CCGetRequestParam("p_finance_period_id", ccsGet, NULL), $this); $this->description =& new clsControl(ccsLabel, "description", "description", ccsText, "", CCGetRequestParam("description", ccsGet, NULL), $this); $this->code =& new clsControl(ccsLabel, "code", "code", ccsText, "", CCGetRequestParam("code", ccsGet, NULL), $this); $this->activation_date =& new clsControl(ccsLabel, "activation_date", "activation_date", ccsText, "", CCGetRequestParam("activation_date", ccsGet, NULL), $this); }
function clsGridselect_CASE_WHEN_cust_acc($RelativePath, &$Parent) { global $FileName; global $CCSLocales; global $DefaultDateFormat; $this->ComponentName = "select_CASE_WHEN_cust_acc"; $this->Visible = True; $this->Parent =& $Parent; $this->RelativePath = $RelativePath; $this->Errors = new clsErrors(); $this->ErrorBlock = "Grid select_CASE_WHEN_cust_acc"; $this->Attributes = new clsAttributes($this->ComponentName . ":"); $this->DataSource = new clsselect_CASE_WHEN_cust_accDataSource($this); $this->ds =& $this->DataSource; $this->PageSize = CCGetParam($this->ComponentName . "PageSize", ""); if (!is_numeric($this->PageSize) || !strlen($this->PageSize)) { $this->PageSize = 10; } else { $this->PageSize = intval($this->PageSize); } if ($this->PageSize > 100) { $this->PageSize = 100; } if ($this->PageSize == 0) { $this->Errors->addError("<p>Form: Grid " . $this->ComponentName . "<br>Error: (CCS06) Invalid page size.</p>"); } $this->PageNumber = intval(CCGetParam($this->ComponentName . "Page", 1)); if ($this->PageNumber <= 0) { $this->PageNumber = 1; } $this->status =& new clsControl(ccsLabel, "status", "status", ccsMemo, "", CCGetRequestParam("status", ccsGet, NULL), $this); $this->count =& new clsControl(ccsLabel, "count", "count", ccsInteger, "", CCGetRequestParam("count", ccsGet, NULL), $this); }
function clsRecordt_rep_lap_spjpSearch($RelativePath, &$Parent) { global $FileName; global $CCSLocales; global $DefaultDateFormat; $this->Visible = true; $this->Parent =& $Parent; $this->RelativePath = $RelativePath; $this->Errors = new clsErrors(); $this->ErrorBlock = "Record t_rep_lap_spjpSearch/Error"; $this->ReadAllowed = true; if ($this->Visible) { $this->ComponentName = "t_rep_lap_spjpSearch"; $this->Attributes = new clsAttributes($this->ComponentName . ":"); $CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2); if (sizeof($CCSForm) == 1) { $CCSForm[1] = ""; } list($FormName, $FormMethod) = $CCSForm; $this->FormEnctype = "application/x-www-form-urlencoded"; $this->FormSubmitted = $FormName == $this->ComponentName; $Method = $this->FormSubmitted ? ccsPost : ccsGet; $this->Button_DoSearch =& new clsButton("Button_DoSearch", $Method, $this); $this->p_vat_type_id =& new clsControl(ccsHidden, "p_vat_type_id", "p_vat_type_id", ccsText, "", CCGetRequestParam("p_vat_type_id", $Method, NULL), $this); $this->vat_code =& new clsControl(ccsTextBox, "vat_code", "vat_code", ccsText, "", CCGetRequestParam("vat_code", $Method, NULL), $this); $this->p_year_period_id =& new clsControl(ccsListBox, "p_year_period_id", "p_year_period_id", ccsFloat, "", CCGetRequestParam("p_year_period_id", $Method, NULL), $this); $this->p_year_period_id->DSType = dsSQL; $this->p_year_period_id->DataSource = new clsDBConnSIKP(); $this->p_year_period_id->ds =& $this->p_year_period_id->DataSource; list($this->p_year_period_id->BoundColumn, $this->p_year_period_id->TextColumn, $this->p_year_period_id->DBFormat) = array("p_year_period_id", "year_code", ""); $this->p_year_period_id->DataSource->SQL = "select * from p_year_period where start_date > '2014-12-31' {SQL_OrderBy}"; $this->p_year_period_id->DataSource->Order = "start_date DESC"; $this->Button_DoSearch1 =& new clsButton("Button_DoSearch1", $Method, $this); } }
function clsGridadministrators() { global $FileName; $this->ComponentName = "administrators"; $this->Visible = True; $this->Errors = new clsErrors(); $this->ds = new clsadministratorsDataSource(); $this->PageSize = CCGetParam($this->ComponentName . "PageSize", ""); if (!is_numeric($this->PageSize) || !strlen($this->PageSize)) { $this->PageSize = 20; } else { $this->PageSize = intval($this->PageSize); } $this->PageNumber = intval(CCGetParam($this->ComponentName . "Page", 1)); $this->SorterName = CCGetParam("administratorsOrder", ""); $this->SorterDirection = CCGetParam("administratorsDir", ""); $this->Detail = new clsControl(ccsLink, "Detail", "Detail", ccsText, "", CCGetRequestParam("Detail", ccsGet)); $this->username = new clsControl(ccsLabel, "username", "username", ccsText, "", CCGetRequestParam("username", ccsGet)); $this->level = new clsControl(ccsLabel, "level", "level", ccsText, "", CCGetRequestParam("level", ccsGet)); $this->firstname = new clsControl(ccsLabel, "firstname", "firstname", ccsText, "", CCGetRequestParam("firstname", ccsGet)); $this->lastname = new clsControl(ccsLabel, "lastname", "lastname", ccsText, "", CCGetRequestParam("lastname", ccsGet)); $this->phone = new clsControl(ccsLabel, "phone", "phone", ccsText, "", CCGetRequestParam("phone", ccsGet)); $this->Sorter_username = new clsSorter($this->ComponentName, "Sorter_username", $FileName); $this->Sorter_level = new clsSorter($this->ComponentName, "Sorter_level", $FileName); $this->Sorter_firstname = new clsSorter($this->ComponentName, "Sorter_firstname", $FileName); $this->Sorter_lastname = new clsSorter($this->ComponentName, "Sorter_lastname", $FileName); $this->Sorter_phone = new clsSorter($this->ComponentName, "Sorter_phone", $FileName); $this->administrators_Insert = new clsControl(ccsLink, "administrators_Insert", "administrators_Insert", ccsText, "", CCGetRequestParam("administrators_Insert", ccsGet)); $this->administrators_Insert->Parameters = CCGetQueryString("QueryString", array("admin_id", "ccsForm")); $this->administrators_Insert->Page = "AdministratorsEdit.php"; $this->Navigator = new clsNavigator($this->ComponentName, "Navigator", $FileName, 5, tpCentered); }
function clsRecordLOV($RelativePath, &$Parent) { global $FileName; global $CCSLocales; global $DefaultDateFormat; $this->Visible = true; $this->Parent =& $Parent; $this->RelativePath = $RelativePath; $this->Errors = new clsErrors(); $this->ErrorBlock = "Record LOV/Error"; $this->DataSource = new clsLOVDataSource($this); $this->ds =& $this->DataSource; $this->InsertAllowed = true; if ($this->Visible) { $this->ComponentName = "LOV"; $this->Attributes = new clsAttributes($this->ComponentName . ":"); $CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2); if (sizeof($CCSForm) == 1) { $CCSForm[1] = ""; } list($FormName, $FormMethod) = $CCSForm; $this->EditMode = $FormMethod == "Edit"; $this->FormEnctype = "application/x-www-form-urlencoded"; $this->FormSubmitted = $FormName == $this->ComponentName; $Method = $this->FormSubmitted ? ccsPost : ccsGet; $this->alasan =& new clsControl(ccsTextArea, "alasan", "alasan", ccsText, "", CCGetRequestParam("alasan", $Method, NULL), $this); $this->alasan->Required = true; $this->Button1 =& new clsButton("Button1", $Method, $this); $this->t_vat_setllement_id =& new clsControl(ccsHidden, "t_vat_setllement_id", "t_vat_setllement_id", ccsText, "", CCGetRequestParam("t_vat_setllement_id", $Method, NULL), $this); } }
function clsRecordusers($RelativePath, &$Parent) { global $FileName; global $CCSLocales; global $DefaultDateFormat; $this->Visible = true; $this->Parent =& $Parent; $this->RelativePath = $RelativePath; $this->Errors = new clsErrors(); $this->ErrorBlock = "Record users/Error"; $this->DataSource = new clsusersDataSource($this); $this->ds =& $this->DataSource; $this->UpdateAllowed = true; $this->ReadAllowed = true; if ($this->Visible) { $this->ComponentName = "users"; $this->Attributes = new clsAttributes($this->ComponentName . ":"); $CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2); if (sizeof($CCSForm) == 1) { $CCSForm[1] = ""; } list($FormName, $FormMethod) = $CCSForm; $this->EditMode = $FormMethod == "Edit"; $this->FormEnctype = "application/x-www-form-urlencoded"; $this->FormSubmitted = $FormName == $this->ComponentName; $Method = $this->FormSubmitted ? ccsPost : ccsGet; $this->Button_Update = new clsButton("Button_Update", $Method, $this); $this->first_name = new clsControl(ccsLabel, "first_name", "first_name", ccsText, "", CCGetRequestParam("first_name", $Method, NULL), $this); $this->middle_name = new clsControl(ccsLabel, "middle_name", "middle_name", ccsText, "", CCGetRequestParam("middle_name", $Method, NULL), $this); $this->last_name = new clsControl(ccsLabel, "last_name", "last_name", ccsText, "", CCGetRequestParam("last_name", $Method, NULL), $this); $this->user_status_id = new clsControl(ccsHidden, "user_status_id", $CCSLocales->GetText("user_status_id"), ccsInteger, "", CCGetRequestParam("user_status_id", $Method, NULL), $this); $this->Label1 = new clsControl(ccsLabel, "Label1", "Label1", ccsText, "", CCGetRequestParam("Label1", $Method, NULL), $this); $this->Label1->HTML = true; } }
function clsRecordLogin($RelativePath, &$Parent) { global $FileName; global $CCSLocales; global $DefaultDateFormat; $this->Visible = true; $this->Parent =& $Parent; $this->RelativePath = $RelativePath; $this->Errors = new clsErrors(); $this->ErrorBlock = "Record Login/Error"; $this->ReadAllowed = true; if ($this->Visible) { $this->ComponentName = "Login"; $this->Attributes = new clsAttributes($this->ComponentName . ":"); $CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2); if (sizeof($CCSForm) == 1) { $CCSForm[1] = ""; } list($FormName, $FormMethod) = $CCSForm; $this->FormEnctype = "application/x-www-form-urlencoded"; $this->FormSubmitted = $FormName == $this->ComponentName; $Method = $this->FormSubmitted ? ccsPost : ccsGet; $this->login = new clsControl(ccsTextBox, "login", "Username", ccsText, "", CCGetRequestParam("login", $Method, NULL), $this); $this->login->Required = true; $this->password = new clsControl(ccsTextBox, "password", "Password", ccsText, "", CCGetRequestParam("password", $Method, NULL), $this); $this->password->Required = true; $this->Button_DoLogin = new clsButton("Button_DoLogin", $Method, $this); } }
function clsGridusers1($RelativePath, &$Parent) { global $FileName; global $CCSLocales; global $DefaultDateFormat; $this->ComponentName = "users1"; $this->Visible = True; $this->Parent =& $Parent; $this->RelativePath = $RelativePath; $this->Errors = new clsErrors(); $this->ErrorBlock = "Grid users1"; $this->Attributes = new clsAttributes($this->ComponentName . ":"); $this->DataSource = new clsusers1DataSource($this); $this->ds =& $this->DataSource; $this->PageSize = CCGetParam($this->ComponentName . "PageSize", ""); if (!is_numeric($this->PageSize) || !strlen($this->PageSize)) { $this->PageSize = 10; } else { $this->PageSize = intval($this->PageSize); } if ($this->PageSize > 100) { $this->PageSize = 100; } if ($this->PageSize == 0) { $this->Errors->addError("<p>Form: Grid " . $this->ComponentName . "<BR>Error: (CCS06) Invalid page size.</p>"); } $this->PageNumber = intval(CCGetParam($this->ComponentName . "Page", 1)); if ($this->PageNumber <= 0) { $this->PageNumber = 1; } $this->first_name = new clsControl(ccsLabel, "first_name", "first_name", ccsText, "", CCGetRequestParam("first_name", ccsGet, NULL), $this); }
function clsRecordt_laporan_daftar_bphtb($RelativePath, &$Parent) { global $FileName; global $CCSLocales; global $DefaultDateFormat; $this->Visible = true; $this->Parent =& $Parent; $this->RelativePath = $RelativePath; $this->Errors = new clsErrors(); $this->ErrorBlock = "Record t_laporan_daftar_bphtb/Error"; $this->ReadAllowed = true; if ($this->Visible) { $this->ComponentName = "t_laporan_daftar_bphtb"; $this->Attributes = new clsAttributes($this->ComponentName . ":"); $CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2); if (sizeof($CCSForm) == 1) { $CCSForm[1] = ""; } list($FormName, $FormMethod) = $CCSForm; $this->FormEnctype = "application/x-www-form-urlencoded"; $this->FormSubmitted = $FormName == $this->ComponentName; $Method = $this->FormSubmitted ? ccsPost : ccsGet; $this->Button1 =& new clsButton("Button1", $Method, $this); $this->date_start_laporan =& new clsControl(ccsTextBox, "date_start_laporan", "date_start_laporan", ccsText, "", CCGetRequestParam("date_start_laporan", $Method, NULL), $this); $this->date_start_laporan->Required = true; $this->DatePicker_date_start_laporan1 =& new clsDatePicker("DatePicker_date_start_laporan1", "t_laporan_daftar_bphtb", "date_start_laporan", $this); $this->date_end_laporan =& new clsControl(ccsTextBox, "date_end_laporan", "date_end_laporan", ccsText, "", CCGetRequestParam("date_end_laporan", $Method, NULL), $this); $this->date_end_laporan->Required = true; $this->DatePicker_end_start_laporan1 =& new clsDatePicker("DatePicker_end_start_laporan1", "t_laporan_daftar_bphtb", "date_end_laporan", $this); $this->cetak_laporan =& new clsControl(ccsHidden, "cetak_laporan", "cetak_laporan", ccsText, "", CCGetRequestParam("cetak_laporan", $Method, NULL), $this); } }
function clsRecordgroups() { global $FileName; $this->Visible = true; $this->Errors = new clsErrors(); $this->ds = new clsgroupsDataSource(); $this->InsertAllowed = true; $this->UpdateAllowed = true; $this->DeleteAllowed = true; if ($this->Visible) { $this->ComponentName = "groups"; $this->HTMLFormAction = $FileName . "?" . CCAddParam(CCGetQueryString("QueryString", ""), "ccsForm", $this->ComponentName); $CCSForm = CCGetFromGet("ccsForm", ""); $this->FormSubmitted = $CCSForm == $this->ComponentName; $Method = $this->FormSubmitted ? ccsPost : ccsGet; $this->title = new clsControl(ccsTextBox, "title", "title", ccsText, "", CCGetRequestParam("title", $Method)); $this->description = new clsControl(ccsTextArea, "description", "description", ccsMemo, array(False, 2, ".", "", False, "", "", 1, True, ""), CCGetRequestParam("description", $Method)); $this->listing_discount = new clsControl(ccsTextBox, "listing_discount", "listing_discount", ccsInteger, "", CCGetRequestParam("listing_discount", $Method)); $this->tokens = new clsControl(ccsTextBox, "tokens", "tokens", ccsInteger, "", CCGetRequestParam("tokens", $Method)); $this->req_approval = new clsControl(ccsListBox, "req_approval", "req_approval", ccsInteger, "", CCGetRequestParam("req_approval", $Method)); $this->req_approval->DSType = dsListOfValues; $this->req_approval->Values = array(array("0", "No"), array("1", "Yes")); $this->fe_admin = new clsControl(ccsListBox, "fe_admin", "fe_admin", ccsInteger, "", CCGetRequestParam("fe_admin", $Method)); $this->fe_admin->DSType = dsListOfValues; $this->fe_admin->Values = array(array("0", "No"), array("1", "Yes")); $this->Insert = new clsButton("Insert"); $this->Update = new clsButton("Update"); $this->Delete = new clsButton("Delete"); $this->Cancel = new clsButton("Cancel"); $this->id = new clsControl(ccsHidden, "id", "id", ccsInteger, "", CCGetRequestParam("id", $Method)); } }