當前位置: 首頁>>代碼示例>>PHP>>正文


PHP CCAddParam函數代碼示例

本文整理匯總了PHP中CCAddParam函數的典型用法代碼示例。如果您正苦於以下問題:PHP CCAddParam函數的具體用法?PHP CCAddParam怎麽用?PHP CCAddParam使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了CCAddParam函數的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: clsRecordgroups

 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));
     }
 }
開發者ID:4v4t4r,項目名稱:CTF-LCC,代碼行數:32,代碼來源:GroupsEdit.php

示例2: clsRecorditemsSearch

 function clsRecorditemsSearch()
 {
     global $FileName;
     $this->Visible = true;
     $this->Errors = new clsErrors();
     $this->InsertAllowed = false;
     $this->UpdateAllowed = false;
     $this->DeleteAllowed = false;
     if ($this->Visible) {
         $this->ComponentName = "itemsSearch";
         $this->HTMLFormAction = $FileName . "?" . CCAddParam(CCGetQueryString("QueryString", ""), "ccsForm", $this->ComponentName);
         $CCSForm = CCGetFromGet("ccsForm", "");
         $this->FormSubmitted = $CCSForm == $this->ComponentName;
         $Method = $this->FormSubmitted ? ccsPost : ccsGet;
         $this->s_ItemNum = new clsControl(ccsTextBox, "s_ItemNum", "s_ItemNum", ccsInteger, "", CCGetRequestParam("s_ItemNum", $Method));
         $this->s_user_id = new clsControl(ccsTextBox, "s_user_id", "s_user_id", ccsText, "", CCGetRequestParam("s_user_id", $Method));
         $this->s_title = new clsControl(ccsTextBox, "s_title", "s_title", ccsText, "", CCGetRequestParam("s_title", $Method));
         $this->s_indexsearch = new clsControl(ccsTextBox, "s_indexsearch", "s_indexsearch", ccsText, "", CCGetRequestParam("s_indexsearch", $Method));
         $this->s_description = new clsControl(ccsTextBox, "s_description", "s_description", ccsMemo, "", CCGetRequestParam("s_description", $Method));
         $this->s_asking_min = new clsControl(ccsTextBox, "s_asking_min", "s_asking_min", ccsFloat, "", CCGetRequestParam("s_asking_min", $Method));
         $this->s_asking_max = new clsControl(ccsTextBox, "s_asking_max", "s_asking_max", ccsFloat, "", CCGetRequestParam("s_asking_max", $Method));
         $this->s_make_offer = new clsControl(ccsCheckBox, "s_make_offer", "s_make_offer", ccsInteger, "", CCGetRequestParam("s_make_offer", $Method));
         $this->s_make_offer->CheckedValue = 1;
         $this->s_make_offer->UncheckedValue = 0;
         $this->s_quantity = new clsControl(ccsTextBox, "s_quantity", "s_quantity", ccsInteger, "", CCGetRequestParam("s_quantity", $Method));
         $this->s_city_town = new clsControl(ccsTextBox, "s_city_town", "s_city_town", ccsText, "", CCGetRequestParam("s_city_town", $Method));
         $this->s_state_province = new clsControl(ccsTextBox, "s_state_province", "s_state_province", ccsText, "", CCGetRequestParam("s_state_province", $Method));
         $this->DoSearch = new clsButton("DoSearch");
     }
 }
開發者ID:4v4t4r,項目名稱:CTF-LCC,代碼行數:30,代碼來源:search.php

示例3: clsRecordcategories

 function clsRecordcategories()
 {
     global $FileName;
     $this->Visible = true;
     $this->Errors = new clsErrors();
     $this->ds = new clscategoriesDataSource();
     if ($this->Visible) {
         $this->ComponentName = "categories";
         $this->HTMLFormAction = $FileName . "?" . CCAddParam(CCGetQueryString("QueryString", ""), "ccsForm", $this->ComponentName);
         $CCSForm = CCGetFromGet("ccsForm", "");
         $this->FormSubmitted = $CCSForm == $this->ComponentName;
         $Method = $this->FormSubmitted ? ccsPost : ccsGet;
         $this->sub_cat_id = new clsControl(ccsTextBox, "sub_cat_id", "sub_cat_id", ccsInteger, "", CCGetRequestParam("sub_cat_id", $Method));
         $this->caname = new clsControl(ccsTextBox, "caname", "caname", ccsText, "", CCGetRequestParam("caname", $Method));
         $this->weight = new clsControl(ccsTextBox, "weight", "Weight", ccsInteger, "", CCGetRequestParam("weight", $Method));
         $this->Insert = new clsButton("Insert");
         $this->Update = new clsButton("Update");
         $this->Delete = new clsButton("Delete");
         $this->Cancel = new clsButton("Cancel");
         $this->cat_id = new clsControl(ccsHidden, "cat_id", "cat_id", ccsInteger, "", CCGetRequestParam("cat_id", $Method));
         if (!$this->FormSubmitted) {
             if (!strlen($this->sub_cat_id->GetValue())) {
                 $this->sub_cat_id->SetValue(CCGetFromGet("SUBID", ""));
             }
             if (!strlen($this->weight->GetValue())) {
                 $this->weight->SetValue(1);
             }
         }
     }
 }
開發者ID:4v4t4r,項目名稱:CTF-LCC,代碼行數:30,代碼來源:CategoriesMaintanence.php

示例4: clsRecordsettings_accounting

 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;
     }
 }
開發者ID:4v4t4r,項目名稱:CTF-LCC,代碼行數:29,代碼來源:Accountings.php

示例5: clsRecordlookup_listing_dates

 function clsRecordlookup_listing_dates()
 {
     global $FileName;
     $this->Visible = true;
     $this->Errors = new clsErrors();
     $this->ds = new clslookup_listing_datesDataSource();
     $this->InsertAllowed = true;
     $this->UpdateAllowed = true;
     $this->DeleteAllowed = true;
     if ($this->Visible) {
         $this->ComponentName = "lookup_listing_dates";
         $this->HTMLFormAction = $FileName . "?" . CCAddParam(CCGetQueryString("QueryString", ""), "ccsForm", $this->ComponentName);
         $CCSForm = CCGetFromGet("ccsForm", "");
         $this->FormSubmitted = $CCSForm == $this->ComponentName;
         $Method = $this->FormSubmitted ? ccsPost : ccsGet;
         $this->days = new clsControl(ccsTextBox, "days", "days", ccsInteger, "", CCGetRequestParam("days", $Method));
         $this->Checkbox1 = new clsControl(ccsCheckBox, "Checkbox1", "Checkbox1", ccsBoolean, "", CCGetRequestParam("Checkbox1", $Method));
         $this->Checkbox1->CheckedValue = 1;
         $this->Checkbox1->UncheckedValue = 0;
         $this->fee = new clsControl(ccsTextBox, "fee", "Fee", ccsFloat, array(False, 2, ".", "", False, "", "", 1, True, ""), CCGetRequestParam("fee", $Method));
         $this->Insert = new clsButton("Insert");
         $this->Update = new clsButton("Update");
         $this->Delete = new clsButton("Delete");
         $this->Cancel = new clsButton("Cancel");
         $this->date_id = new clsControl(ccsHidden, "date_id", "date_id", ccsInteger, "", CCGetRequestParam("date_id", $Method));
     }
 }
開發者ID:4v4t4r,項目名稱:CTF-LCC,代碼行數:27,代碼來源:ListingDatesEdit.php

示例6: clsRecordusers

 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");
     }
 }
開發者ID:4v4t4r,項目名稱:CTF-LCC,代碼行數:33,代碼來源:SubscribedUserMaintanence.php

示例7: clsRecordcharges

 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));
     }
 }
開發者ID:4v4t4r,項目名稱:CTF-LCC,代碼行數:26,代碼來源:AddCharge.php

示例8: clsRecordusers

 function clsRecordusers()
 {
     global $FileName;
     $this->Visible = true;
     $this->Errors = new clsErrors();
     $this->ds = new clsusersDataSource();
     $this->InsertAllowed = false;
     $this->DeleteAllowed = false;
     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->first_name = new clsControl(ccsLabel, "first_name", "First Name", ccsText, "", CCGetRequestParam("first_name", $Method));
         $this->last_name = new clsControl(ccsLabel, "last_name", "Last Name", ccsText, "", CCGetRequestParam("last_name", $Method));
         $this->address1 = new clsControl(ccsTextBox, "address1", "Address1", ccsText, "", CCGetRequestParam("address1", $Method));
         $this->address2 = new clsControl(ccsTextBox, "address2", "Address2", ccsText, "", CCGetRequestParam("address2", $Method));
         $this->city = new clsControl(ccsTextBox, "city", "City", ccsText, "", CCGetRequestParam("city", $Method));
         $this->state_id = new clsControl(ccsTextBox, "state_id", "State Province", ccsText, "", CCGetRequestParam("state_id", $Method));
         $this->zip = new clsControl(ccsTextBox, "zip", "Zip", ccsText, "", CCGetRequestParam("zip", $Method));
         $this->country_id = new clsControl(ccsListBox, "country_id", "Country Id", ccsInteger, "", CCGetRequestParam("country_id", $Method));
         $this->country_id_ds = new clsDBNetConnect();
         $this->country_id_ds->SQL = "SELECT *  " . "FROM lookup_countries";
         $country_id_values = CCGetListValues($this->country_id_ds, $this->country_id_ds->SQL, $this->country_id_ds->Where, $this->country_id_ds->Order, "country_id", "country_desc");
         $this->country_id->Values = $country_id_values;
         $this->phone_day = new clsControl(ccsTextBox, "phone_day", "Phone Day", ccsText, "", CCGetRequestParam("phone_day", $Method));
         $this->phone_evn = new clsControl(ccsTextBox, "phone_evn", "Phone Evn", ccsText, "", CCGetRequestParam("phone_evn", $Method));
         $this->fax = new clsControl(ccsTextBox, "fax", "Fax", ccsText, "", CCGetRequestParam("fax", $Method));
         $this->Update = new clsButton("Update");
         $this->Cancel = new clsButton("Cancel");
     }
 }
開發者ID:4v4t4r,項目名稱:CTF-LCC,代碼行數:33,代碼來源:ChangeContact.php

示例9: clsRecordpromo

 function clsRecordpromo()
 {
     global $FileName;
     $this->Visible = true;
     $this->Errors = new clsErrors();
     $this->ds = new clspromoDataSource();
     $this->InsertAllowed = false;
     if ($this->Visible) {
         $this->ComponentName = "promo";
         $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->end = new clsControl(ccsText, "end", "end", ccsText, "", CCGetRequestParam("end", $Method));
         $this->start = new clsControl(ccsText, "start", "start", ccsText, "", CCGetRequestParam("start", $Method));
         $this->amount = new clsControl(ccsTextBox, "amount", "amount", ccsFloat, array(False, 2, ".", "", False, "", "", 1, True, ""), CCGetRequestParam("amount", $Method));
         $this->group = new clsControl(ccsListBox, "group", "Group", ccsInteger, "", CCGetRequestParam("group", $Method));
         $this->group->DSType = dsTable;
         list($this->group->BoundColumn, $this->group->TextColumn) = array("id", "title");
         $this->group->ds = new clsDBDBNetConnect();
         $this->group->ds->SQL = "SELECT * FROM groups";
         $this->code = new clsControl(ccsTextArea, "code", "code", ccsText, "", CCGetRequestParam("code", $Method));
         $this->Update = new clsButton("Update");
         $this->Delete = new clsButton("Delete");
         $this->Cancel = new clsButton("Cancel");
     }
 }
開發者ID:4v4t4r,項目名稱:CTF-LCC,代碼行數:28,代碼來源:PromoMaintanence.php

示例10: clsRecordadministrators

 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));
     }
 }
開發者ID:4v4t4r,項目名稱:CTF-LCC,代碼行數:31,代碼來源:AdministratorsEdit.php

示例11: clsRecordsubscriptions

 function clsRecordsubscriptions()
 {
     global $FileName;
     $this->Visible = true;
     $this->Errors = new clsErrors();
     $this->ds = new clssubscriptionsDataSource();
     $this->InsertAllowed = true;
     $this->UpdateAllowed = true;
     $this->DeleteAllowed = true;
     if ($this->Visible) {
         $this->ComponentName = "subscriptions";
         $this->HTMLFormAction = $FileName . "?" . CCAddParam(CCGetQueryString("QueryString", array("cat_id")), "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->icon = new clsControl(ccsTextBox, "icon", "icon", ccsText, "", CCGetRequestParam("icon", $Method));
         $this->description = new clsControl(ccsTextArea, "description", "Transaction Message", ccsText, "", CCGetRequestParam("description", $Method));
         $this->duration = new clsControl(ccsTextBox, "duration", "duration", ccsFloat, array(False, 2, ".", "", False, "", "", 1, True, ""), CCGetRequestParam("duration", $Method));
         $this->unlimited = new clsControl(ccsCheckBox, "unlimited", "unlimited", ccsBoolean, "", CCGetRequestParam("unlimited", $Method));
         $this->unlimited->CheckedValue = 1;
         $this->unlimited->UncheckedValue = 0;
         $this->price = new clsControl(ccsTextBox, "price", "price", ccsFloat, array(False, 2, ".", "", False, "", "", 1, True, ""), CCGetRequestParam("price", $Method));
         $this->intro_duration = new clsControl(ccsTextBox, "intro_duration", "intro_duration", ccsFloat, array(False, 2, ".", "", False, "", "", 1, True, ""), CCGetRequestParam("intro_duration", $Method));
         $this->intro_price = new clsControl(ccsTextBox, "intro_price", "intro_price", ccsFloat, array(False, 2, ".", "", False, "", "", 1, True, ""), CCGetRequestParam("intro_price", $Method));
         $this->recurring = new clsControl(ccsCheckBox, "recurring", "recurring", ccsBoolean, "", CCGetRequestParam("recurring", $Method));
         $this->recurring->CheckedValue = 1;
         $this->recurring->UncheckedValue = 0;
         $this->intro = new clsControl(ccsCheckBox, "intro", "intro", ccsBoolean, "", CCGetRequestParam("intro", $Method));
         $this->intro->CheckedValue = 1;
         $this->intro->UncheckedValue = 0;
         $this->paypal = new clsControl(ccsCheckBox, "paypal", "paypal", ccsBoolean, "", CCGetRequestParam("paypal", $Method));
         $this->paypal->CheckedValue = 1;
         $this->paypal->UncheckedValue = 0;
         $this->authnet = new clsControl(ccsCheckBox, "authnet", "authnet", ccsBoolean, "", CCGetRequestParam("authnet", $Method));
         $this->authnet->CheckedValue = 1;
         $this->authnet->UncheckedValue = 0;
         $this->co2 = new clsControl(ccsCheckBox, "co2", "co2", ccsBoolean, "", CCGetRequestParam("co2", $Method));
         $this->co2->CheckedValue = 1;
         $this->co2->UncheckedValue = 0;
         $this->active = new clsControl(ccsCheckBox, "active", "active", ccsBoolean, "", CCGetRequestParam("active", $Method));
         $this->active->CheckedValue = 1;
         $this->active->UncheckedValue = 0;
         $this->group = new clsControl(ccsListBox, "group", "User Group", ccsInteger, "", CCGetRequestParam("group", $Method));
         $this->group->DSType = dsTable;
         list($this->group->BoundColumn, $this->group->TextColumn) = array("id", "title");
         $this->group->ds = new clsDBDBNetConnect();
         $this->group->ds->SQL = "SELECT * FROM groups";
         $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));
     }
 }
開發者ID:4v4t4r,項目名稱:CTF-LCC,代碼行數:55,代碼來源:AddSubscription.php

示例12: clsRecordsettings_general

 function clsRecordsettings_general()
 {
     global $FileName;
     $this->Visible = true;
     $this->Errors = new clsErrors();
     $this->ds = new clssettings_generalDataSource();
     $this->UpdateAllowed = true;
     if ($this->Visible) {
         $this->ComponentName = "settings_general";
         $this->HTMLFormAction = $FileName . "?" . CCAddParam(CCGetQueryString("QueryString", ""), "ccsForm", $this->ComponentName);
         $CCSForm = CCGetFromGet("ccsForm", "");
         $this->FormSubmitted = $CCSForm == $this->ComponentName;
         $Method = $this->FormSubmitted ? ccsPost : ccsGet;
         $this->sitename = new clsControl(ccsTextBox, "sitename", "sitename", ccsText, "", CCGetRequestParam("sitename", $Method));
         $this->siteemail = new clsControl(ccsTextBox, "siteemail", "siteemail", ccsText, "", CCGetRequestParam("siteemail", $Method));
         $this->homeurl = new clsControl(ccsTextBox, "homeurl", "homeurl", ccsText, "", CCGetRequestParam("homeurl", $Method));
         $this->secureurl = new clsControl(ccsTextBox, "secureurl", "secureurl", ccsText, "", CCGetRequestParam("secureurl", $Method));
         $this->uploadurl = new clsControl(ccsTextBox, "uploadurl", "uploadurl", ccsText, "", CCGetRequestParam("uploadurl", $Method));
         $this->pagentrys = new clsControl(ccsTextBox, "pagentrys", "pagentrys", ccsInteger, "", CCGetRequestParam("pagentrys", $Method));
         $this->frontentrys = new clsControl(ccsTextBox, "frontentrys", "frontentrys", ccsInteger, "", CCGetRequestParam("frontentrys", $Method));
         $this->notify = new clsControl(ccsListBox, "notify", "notify", ccsInteger, "", CCGetRequestParam("notify", $Method));
         $this->notify->DSType = dsListOfValues;
         $this->notify->Values = array(array("0", "No"), array("1", "Yes"));
         $this->has_gd = new clsControl(ccsListBox, "has_gd", "has_gd", ccsInteger, "", CCGetRequestParam("has_gd", $Method));
         $this->has_gd->DSType = dsListOfValues;
         $this->has_gd->Values = array(array("0", "No"), array("1", "Yes"));
         $this->approv_priority = new clsControl(ccsListBox, "approv_priority", "approv_priority", ccsInteger, "", CCGetRequestParam("approv_priority", $Method));
         $this->approv_priority->DSType = dsListOfValues;
         $this->approv_priority->Values = array(array("0", "No Approval Required"), array("1", "Require Approval"));
         $this->notifyads = new clsControl(ccsListBox, "notifyads", "Notify of Ads", ccsInteger, "", CCGetRequestParam("notifyads", $Method));
         $this->notifyads->DSType = dsListOfValues;
         $this->notifyads->Values = array(array("0", "No"), array("1", "Yes"));
         $this->notifyemail = new clsControl(ccsTextBox, "notifyemail", "notifyemail", ccsText, "", CCGetRequestParam("notifyemail", $Method));
         $this->bounceout = new clsControl(ccsListBox, "bounceout", "Bounce Out", ccsInteger, "", CCGetRequestParam("bounceout", $Method));
         $this->bounceout->DSType = dsListOfValues;
         $this->bounceout->Values = array(array("1", "Yes"), array("0", "No"));
         $this->bounce_id = new clsControl(ccsListBox, "bounce_id", "Bounced Age Group", ccsInteger, "", CCGetRequestParam("bounce_id", $Method));
         $this->bounce_id->DSType = dsTable;
         list($this->bounce_id->BoundColumn, $this->bounce_id->TextColumn) = array("age_id", "age_desc");
         $this->bounce_id->ds = new clsDBDBNetConnect();
         $this->bounce_id->ds->SQL = "SELECT *  " . "FROM lookup_ages";
         $this->langg_id = new clsControl(ccsListBox, "langg_id", "Language ID", ccsInteger, "", CCGetRequestParam("langg_id", $Method));
         $this->langg_id->DSType = dsTable;
         list($this->langg_id->BoundColumn, $this->langg_id->TextColumn) = array("lang_id", "lang_file");
         $this->langg_id->ds = new clsDBDBNetConnect();
         $this->langg_id->ds->SQL = "SELECT *  " . "FROM languages";
         $this->timeout = new clsControl(ccsTextBox, "timeout", "timeout", ccsInteger, "", CCGetRequestParam("timeout", $Method));
         $this->Update = new clsButton("Update");
         $this->Cancel = new clsButton("Cancel");
         $this->set_id = new clsControl(ccsHidden, "set_id", "set_id", ccsInteger, "", CCGetRequestParam("set_id", $Method));
         $this->set_id->Required = true;
     }
 }
開發者ID:4v4t4r,項目名稱:CTF-LCC,代碼行數:53,代碼來源:Settings.php

示例13: clsRecordusercontrol

 function clsRecordusercontrol()
 {
     global $FileName;
     $this->Visible = true;
     $this->Errors = new clsErrors();
     $this->ds = new clsusercontrolDataSource();
     $this->InsertAllowed = false;
     $this->UpdateAllowed = false;
     $this->DeleteAllowed = false;
     if ($this->Visible) {
         $this->ComponentName = "usercontrol";
         $this->HTMLFormAction = $FileName . "?" . CCAddParam(CCGetQueryString("QueryString", ""), "ccsForm", $this->ComponentName);
         $CCSForm = CCGetFromGet("ccsForm", "");
         $this->FormSubmitted = $CCSForm == $this->ComponentName;
         $Method = $this->FormSubmitted ? ccsPost : ccsGet;
         $this->userID = new clsControl(ccsLabel, "userID", "userID", ccsInteger, "", CCGetRequestParam("userID", $Method));
         $this->tokens = new clsControl(ccsLabel, "tokens", "tokens", ccsInteger, "", CCGetRequestParam("tokens", $Method));
     }
 }
開發者ID:4v4t4r,項目名稱:CTF-LCC,代碼行數:19,代碼來源:myaccount.php

示例14: clsRecordtemplates_pages

 function clsRecordtemplates_pages()
 {
     global $FileName;
     $this->Visible = true;
     $this->Errors = new clsErrors();
     $this->ds = new clstemplates_pagesDataSource();
     $this->InsertAllowed = false;
     $this->UpdateAllowed = false;
     $this->DeleteAllowed = false;
     if ($this->Visible) {
         $this->ComponentName = "templates_pages";
         $this->HTMLFormAction = $FileName . "?" . CCAddParam(CCGetQueryString("QueryString", ""), "ccsForm", $this->ComponentName);
         $CCSForm = CCGetFromGet("ccsForm", "");
         $this->FormSubmitted = $CCSForm == $this->ComponentName;
         $Method = $this->FormSubmitted ? ccsPost : ccsGet;
         $this->page_name = new clsControl(ccsLabel, "page_name", "Page Name", ccsText, "", CCGetRequestParam("page_name", $Method));
         $this->page_html = new clsControl(ccsLabel, "page_html", "Page Html", ccsMemo, "", CCGetRequestParam("page_html", $Method));
         $this->page_html->HTML = true;
     }
 }
開發者ID:4v4t4r,項目名稱:CTF-LCC,代碼行數:20,代碼來源:page.php

示例15: clsRecordsent_newsletters

 function clsRecordsent_newsletters()
 {
     global $FileName;
     $this->Visible = true;
     $this->Errors = new clsErrors();
     $this->ds = new clssent_newslettersDataSource();
     if ($this->Visible) {
         $this->ComponentName = "sent_newsletters";
         $this->HTMLFormAction = $FileName . "?" . CCAddParam(CCGetQueryString("QueryString", ""), "ccsForm", $this->ComponentName);
         $CCSForm = CCGetFromGet("ccsForm", "");
         $this->FormSubmitted = $CCSForm == $this->ComponentName;
         $Method = $this->FormSubmitted ? ccsPost : ccsGet;
         $this->datesent = new clsControl(ccsTextBox, "datesent", "datesent", ccsInteger, "", CCGetRequestParam("datesent", $Method));
         $this->newsletter = new clsControl(ccsTextArea, "newsletter", "newsletter", ccsMemo, "", CCGetRequestParam("newsletter", $Method));
         $this->Insert = new clsButton("Insert");
         $this->Update = new clsButton("Update");
         $this->Delete = new clsButton("Delete");
         $this->newsletter_id = new clsControl(ccsHidden, "newsletter_id", "newsletter_id", ccsInteger, "", CCGetRequestParam("newsletter_id", $Method));
     }
 }
開發者ID:4v4t4r,項目名稱:CTF-LCC,代碼行數:20,代碼來源:NewslettersMaintanence.php


注:本文中的CCAddParam函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。