""); $vdata["NeedEncode"] = true; $fdata["ViewFormats"]["view"] = $vdata; // End View Formats // Begin Edit Formats $fdata["EditFormats"] = array(); $edata = array("EditFormat" => "Text field"); $edata["acceptFileTypes"] = ".+$"; $edata["maxNumberOfFiles"] = 1; $edata["HTML5InuptType"] = "text"; $edata["EditParams"] = ""; $edata["EditParams"].= " maxlength=255"; $edata["controlWidth"] = 200; // Begin validation $edata["validateAs"] = array(); $edata["validateAs"]["basicValidate"] = array(); $edata["validateAs"]["customMessages"] = array(); // End validation $fdata["EditFormats"]["edit"] = $edata; // End Edit Formats $fdata["isSeparate"] = false; // the field's search options settings $fdata["defaultSearchOption"] = "Contains"; // the default search options list $fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY); // the end of search options settings $tdataaccount_info["username"] = $fdata; // email // Custom field settings $fdata = array(); $fdata["Index"] = 2; $fdata["strName"] = "email"; $fdata["GoodName"] = "email"; $fdata["ownerTable"] = "rs_users"; $fdata["Label"] = GetFieldLabel("account_info","email"); $fdata["FieldType"] = 200; $fdata["bListPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["strField"] = "email"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "email"; $fdata["FieldPermissions"] = true; $fdata["UploadFolder"] = "files"; // Begin View Formats $fdata["ViewFormats"] = array(); $vdata = array("ViewFormat" => ""); $vdata["NeedEncode"] = true; $fdata["ViewFormats"]["view"] = $vdata; // End View Formats // Begin Edit Formats $fdata["EditFormats"] = array(); $edata = array("EditFormat" => "Text field"); $edata["acceptFileTypes"] = ".+$"; $edata["maxNumberOfFiles"] = 1; $edata["HTML5InuptType"] = "email"; $edata["EditParams"] = ""; $edata["EditParams"].= " maxlength=255"; $edata["controlWidth"] = 200; // Begin validation $edata["validateAs"] = array(); $edata["validateAs"]["basicValidate"] = array(); $edata["validateAs"]["customMessages"] = array(); // End validation $fdata["EditFormats"]["edit"] = $edata; // End Edit Formats $fdata["isSeparate"] = false; // the field's search options settings $fdata["defaultSearchOption"] = "Contains"; // the default search options list $fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY); // the end of search options settings $tdataaccount_info["email"] = $fdata; // fullname // Custom field settings $fdata = array(); $fdata["Index"] = 3; $fdata["strName"] = "fullname"; $fdata["GoodName"] = "fullname"; $fdata["ownerTable"] = "rs_users"; $fdata["Label"] = GetFieldLabel("account_info","fullname"); $fdata["FieldType"] = 200; $fdata["bListPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["strField"] = "fullname"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "fullname"; $fdata["FieldPermissions"] = true; $fdata["UploadFolder"] = "files"; // Begin View Formats $fdata["ViewFormats"] = array(); $vdata = array("ViewFormat" => ""); $vdata["NeedEncode"] = true; $fdata["ViewFormats"]["view"] = $vdata; // End View Formats // Begin Edit Formats $fdata["EditFormats"] = array(); $edata = array("EditFormat" => "Text field"); $edata["acceptFileTypes"] = ".+$"; $edata["maxNumberOfFiles"] = 1; $edata["HTML5InuptType"] = "text"; $edata["EditParams"] = ""; $edata["EditParams"].= " maxlength=255"; $edata["controlWidth"] = 200; // Begin validation $edata["validateAs"] = array(); $edata["validateAs"]["basicValidate"] = array(); $edata["validateAs"]["customMessages"] = array(); // End validation $fdata["EditFormats"]["edit"] = $edata; // End Edit Formats $fdata["isSeparate"] = false; // the field's search options settings $fdata["defaultSearchOption"] = "Contains"; // the default search options list $fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY); // the end of search options settings $tdataaccount_info["fullname"] = $fdata; // start_date // Custom field settings $fdata = array(); $fdata["Index"] = 4; $fdata["strName"] = "start_date"; $fdata["GoodName"] = "start_date"; $fdata["ownerTable"] = "rs_users"; $fdata["Label"] = GetFieldLabel("account_info","start_date"); $fdata["FieldType"] = 7; $fdata["bListPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["strField"] = "start_date"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "start_date"; $fdata["FieldPermissions"] = true; $fdata["UploadFolder"] = "files"; // Begin View Formats $fdata["ViewFormats"] = array(); $vdata = array("ViewFormat" => "Short Date"); $vdata["NeedEncode"] = true; $fdata["ViewFormats"]["view"] = $vdata; // End View Formats // Begin Edit Formats $fdata["EditFormats"] = array(); $edata = array("EditFormat" => "Date"); $edata["acceptFileTypes"] = ".+$"; $edata["maxNumberOfFiles"] = 1; $edata["DateEditType"] = 13; $edata["InitialYearFactor"] = 100; $edata["LastYearFactor"] = 10; $edata["controlWidth"] = 200; // Begin validation $edata["validateAs"] = array(); $edata["validateAs"]["basicValidate"] = array(); $edata["validateAs"]["customMessages"] = array(); // End validation $fdata["EditFormats"]["edit"] = $edata; // End Edit Formats $fdata["isSeparate"] = false; // the field's search options settings $fdata["defaultSearchOption"] = "Equals"; // the default search options list $fdata["searchOptionsList"] = array("Equals", "More than", "Less than", "Between", EMPTY_SEARCH, NOT_EMPTY ); // the end of search options settings $tdataaccount_info["start_date"] = $fdata; // end_date // Custom field settings $fdata = array(); $fdata["Index"] = 5; $fdata["strName"] = "end_date"; $fdata["GoodName"] = "end_date"; $fdata["ownerTable"] = "rs_users"; $fdata["Label"] = GetFieldLabel("account_info","end_date"); $fdata["FieldType"] = 7; $fdata["bListPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["strField"] = "end_date"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "end_date"; $fdata["FieldPermissions"] = true; $fdata["UploadFolder"] = "files"; // Begin View Formats $fdata["ViewFormats"] = array(); $vdata = array("ViewFormat" => "Short Date"); $vdata["NeedEncode"] = true; $fdata["ViewFormats"]["view"] = $vdata; // End View Formats // Begin Edit Formats $fdata["EditFormats"] = array(); $edata = array("EditFormat" => "Date"); $edata["acceptFileTypes"] = ".+$"; $edata["maxNumberOfFiles"] = 1; $edata["DateEditType"] = 13; $edata["InitialYearFactor"] = 100; $edata["LastYearFactor"] = 10; $edata["controlWidth"] = 200; // Begin validation $edata["validateAs"] = array(); $edata["validateAs"]["basicValidate"] = array(); $edata["validateAs"]["customMessages"] = array(); // End validation $fdata["EditFormats"]["edit"] = $edata; // End Edit Formats $fdata["isSeparate"] = false; // the field's search options settings $fdata["defaultSearchOption"] = "Equals"; // the default search options list $fdata["searchOptionsList"] = array("Equals", "More than", "Less than", "Between", EMPTY_SEARCH, NOT_EMPTY ); // the end of search options settings $tdataaccount_info["end_date"] = $fdata; // remark // Custom field settings $fdata = array(); $fdata["Index"] = 6; $fdata["strName"] = "remark"; $fdata["GoodName"] = "remark"; $fdata["ownerTable"] = "rs_users"; $fdata["Label"] = GetFieldLabel("account_info","remark"); $fdata["FieldType"] = 201; $fdata["bListPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["strField"] = "remark"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "remark"; $fdata["FieldPermissions"] = true; $fdata["UploadFolder"] = "files"; // Begin View Formats $fdata["ViewFormats"] = array(); $vdata = array("ViewFormat" => ""); $vdata["NeedEncode"] = true; $fdata["ViewFormats"]["view"] = $vdata; // End View Formats // Begin Edit Formats $fdata["EditFormats"] = array(); $edata = array("EditFormat" => "Text area"); $edata["acceptFileTypes"] = ".+$"; $edata["maxNumberOfFiles"] = 1; $edata["nRows"] = 100; $edata["nCols"] = 200; $edata["controlWidth"] = 200; // Begin validation $edata["validateAs"] = array(); $edata["validateAs"]["basicValidate"] = array(); $edata["validateAs"]["customMessages"] = array(); // End validation $fdata["EditFormats"]["edit"] = $edata; // End Edit Formats $fdata["isSeparate"] = false; // the field's search options settings $fdata["defaultSearchOption"] = "Contains"; // the default search options list $fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY); // the end of search options settings $tdataaccount_info["remark"] = $fdata; // c_fullname // Custom field settings $fdata = array(); $fdata["Index"] = 7; $fdata["strName"] = "c_fullname"; $fdata["GoodName"] = "c_fullname"; $fdata["ownerTable"] = "rs_users"; $fdata["Label"] = GetFieldLabel("account_info","c_fullname"); $fdata["FieldType"] = 200; $fdata["bListPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["strField"] = "c_fullname"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "c_fullname"; $fdata["FieldPermissions"] = true; $fdata["UploadFolder"] = "files"; // Begin View Formats $fdata["ViewFormats"] = array(); $vdata = array("ViewFormat" => ""); $vdata["NeedEncode"] = true; $fdata["ViewFormats"]["view"] = $vdata; // End View Formats // Begin Edit Formats $fdata["EditFormats"] = array(); $edata = array("EditFormat" => "Text field"); $edata["acceptFileTypes"] = ".+$"; $edata["maxNumberOfFiles"] = 1; $edata["HTML5InuptType"] = "text"; $edata["EditParams"] = ""; $edata["EditParams"].= " maxlength=255"; $edata["controlWidth"] = 200; // Begin validation $edata["validateAs"] = array(); $edata["validateAs"]["basicValidate"] = array(); $edata["validateAs"]["customMessages"] = array(); // End validation $fdata["EditFormats"]["edit"] = $edata; // End Edit Formats $fdata["isSeparate"] = false; // the field's search options settings $fdata["defaultSearchOption"] = "Contains"; // the default search options list $fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY); // the end of search options settings $tdataaccount_info["c_fullname"] = $fdata; // mobile // Custom field settings $fdata = array(); $fdata["Index"] = 8; $fdata["strName"] = "mobile"; $fdata["GoodName"] = "mobile"; $fdata["ownerTable"] = "rs_users"; $fdata["Label"] = GetFieldLabel("account_info","mobile"); $fdata["FieldType"] = 200; $fdata["bListPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["strField"] = "mobile"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "mobile"; $fdata["FieldPermissions"] = true; $fdata["UploadFolder"] = "files"; // Begin View Formats $fdata["ViewFormats"] = array(); $vdata = array("ViewFormat" => ""); $vdata["NeedEncode"] = true; $fdata["ViewFormats"]["view"] = $vdata; // End View Formats // Begin Edit Formats $fdata["EditFormats"] = array(); $edata = array("EditFormat" => "Text field"); $edata["acceptFileTypes"] = ".+$"; $edata["maxNumberOfFiles"] = 1; $edata["HTML5InuptType"] = "text"; $edata["EditParams"] = ""; $edata["EditParams"].= " maxlength=15"; $edata["controlWidth"] = 200; // Begin validation $edata["validateAs"] = array(); $edata["validateAs"]["basicValidate"] = array(); $edata["validateAs"]["customMessages"] = array(); // End validation $fdata["EditFormats"]["edit"] = $edata; // End Edit Formats $fdata["isSeparate"] = false; // the field's search options settings $fdata["defaultSearchOption"] = "Contains"; // the default search options list $fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY); // the end of search options settings $tdataaccount_info["mobile"] = $fdata; $tables_data["account_info"]=&$tdataaccount_info; $field_labels["account_info"] = &$fieldLabelsaccount_info; $fieldToolTips["account_info"] = &$fieldToolTipsaccount_info; $page_titles["account_info"] = &$pageTitlesaccount_info; // -----------------start prepare master-details data arrays ------------------------------// // tables which are detail tables for current table (master) $detailsTablesData["account_info"] = array(); // tables which are master tables for current table (detail) $masterTablesData["account_info"] = array(); // -----------------end prepare master-details data arrays ------------------------------// require_once(getabspath("classes/sql.php")); function createSqlQuery_account_info() { $proto0=array(); $proto0["m_strHead"] = "SELECT"; $proto0["m_strFieldList"] = "username, email, fullname, start_date, end_date, remark, c_fullname, mobile"; $proto0["m_strFrom"] = "FROM rs_users"; $proto0["m_strWhere"] = ""; $proto0["m_strOrderBy"] = ""; $proto0["m_strTail"] = ""; ; $proto0["cipherer"] = null; $proto2=array(); $proto2["m_sql"] = ""; $proto2["m_uniontype"] = "SQLL_UNKNOWN"; $obj = new SQLNonParsed(array( "m_sql" => "" )); $proto2["m_column"]=$obj; $proto2["m_contained"] = array(); $proto2["m_strCase"] = ""; $proto2["m_havingmode"] = false; $proto2["m_inBrackets"] = false; $proto2["m_useAlias"] = false; $obj = new SQLLogicalExpr($proto2); $proto0["m_where"] = $obj; $proto4=array(); $proto4["m_sql"] = ""; $proto4["m_uniontype"] = "SQLL_UNKNOWN"; $obj = new SQLNonParsed(array( "m_sql" => "" )); $proto4["m_column"]=$obj; $proto4["m_contained"] = array(); $proto4["m_strCase"] = ""; $proto4["m_havingmode"] = false; $proto4["m_inBrackets"] = false; $proto4["m_useAlias"] = false; $obj = new SQLLogicalExpr($proto4); $proto0["m_having"] = $obj; $proto0["m_fieldlist"] = array(); $proto6=array(); $obj = new SQLField(array( "m_strName" => "username", "m_strTable" => "rs_users", "m_srcTableName" => "account_info" )); $proto6["m_sql"] = "username"; $proto6["m_srcTableName"] = "account_info"; $proto6["m_expr"]=$obj; $proto6["m_alias"] = ""; $obj = new SQLFieldListItem($proto6); $proto0["m_fieldlist"][]=$obj; $proto8=array(); $obj = new SQLField(array( "m_strName" => "email", "m_strTable" => "rs_users", "m_srcTableName" => "account_info" )); $proto8["m_sql"] = "email"; $proto8["m_srcTableName"] = "account_info"; $proto8["m_expr"]=$obj; $proto8["m_alias"] = ""; $obj = new SQLFieldListItem($proto8); $proto0["m_fieldlist"][]=$obj; $proto10=array(); $obj = new SQLField(array( "m_strName" => "fullname", "m_strTable" => "rs_users", "m_srcTableName" => "account_info" )); $proto10["m_sql"] = "fullname"; $proto10["m_srcTableName"] = "account_info"; $proto10["m_expr"]=$obj; $proto10["m_alias"] = ""; $obj = new SQLFieldListItem($proto10); $proto0["m_fieldlist"][]=$obj; $proto12=array(); $obj = new SQLField(array( "m_strName" => "start_date", "m_strTable" => "rs_users", "m_srcTableName" => "account_info" )); $proto12["m_sql"] = "start_date"; $proto12["m_srcTableName"] = "account_info"; $proto12["m_expr"]=$obj; $proto12["m_alias"] = ""; $obj = new SQLFieldListItem($proto12); $proto0["m_fieldlist"][]=$obj; $proto14=array(); $obj = new SQLField(array( "m_strName" => "end_date", "m_strTable" => "rs_users", "m_srcTableName" => "account_info" )); $proto14["m_sql"] = "end_date"; $proto14["m_srcTableName"] = "account_info"; $proto14["m_expr"]=$obj; $proto14["m_alias"] = ""; $obj = new SQLFieldListItem($proto14); $proto0["m_fieldlist"][]=$obj; $proto16=array(); $obj = new SQLField(array( "m_strName" => "remark", "m_strTable" => "rs_users", "m_srcTableName" => "account_info" )); $proto16["m_sql"] = "remark"; $proto16["m_srcTableName"] = "account_info"; $proto16["m_expr"]=$obj; $proto16["m_alias"] = ""; $obj = new SQLFieldListItem($proto16); $proto0["m_fieldlist"][]=$obj; $proto18=array(); $obj = new SQLField(array( "m_strName" => "c_fullname", "m_strTable" => "rs_users", "m_srcTableName" => "account_info" )); $proto18["m_sql"] = "c_fullname"; $proto18["m_srcTableName"] = "account_info"; $proto18["m_expr"]=$obj; $proto18["m_alias"] = ""; $obj = new SQLFieldListItem($proto18); $proto0["m_fieldlist"][]=$obj; $proto20=array(); $obj = new SQLField(array( "m_strName" => "mobile", "m_strTable" => "rs_users", "m_srcTableName" => "account_info" )); $proto20["m_sql"] = "mobile"; $proto20["m_srcTableName"] = "account_info"; $proto20["m_expr"]=$obj; $proto20["m_alias"] = ""; $obj = new SQLFieldListItem($proto20); $proto0["m_fieldlist"][]=$obj; $proto0["m_fromlist"] = array(); $proto22=array(); $proto22["m_link"] = "SQLL_MAIN"; $proto23=array(); $proto23["m_strName"] = "rs_users"; $proto23["m_srcTableName"] = "account_info"; $proto23["m_columns"] = array(); $proto23["m_columns"][] = "ID"; $proto23["m_columns"][] = "username"; $proto23["m_columns"][] = "password"; $proto23["m_columns"][] = "email"; $proto23["m_columns"][] = "fullname"; $proto23["m_columns"][] = "groupid"; $proto23["m_columns"][] = "active"; $proto23["m_columns"][] = "start_date"; $proto23["m_columns"][] = "end_date"; $proto23["m_columns"][] = "remark"; $proto23["m_columns"][] = "c_fullname"; $proto23["m_columns"][] = "mobile"; $proto23["m_columns"][] = "charge"; $proto23["m_columns"][] = "form"; $obj = new SQLTable($proto23); $proto22["m_table"] = $obj; $proto22["m_sql"] = "rs_users"; $proto22["m_alias"] = ""; $proto22["m_srcTableName"] = "account_info"; $proto24=array(); $proto24["m_sql"] = ""; $proto24["m_uniontype"] = "SQLL_UNKNOWN"; $obj = new SQLNonParsed(array( "m_sql" => "" )); $proto24["m_column"]=$obj; $proto24["m_contained"] = array(); $proto24["m_strCase"] = ""; $proto24["m_havingmode"] = false; $proto24["m_inBrackets"] = false; $proto24["m_useAlias"] = false; $obj = new SQLLogicalExpr($proto24); $proto22["m_joinon"] = $obj; $obj = new SQLFromListItem($proto22); $proto0["m_fromlist"][]=$obj; $proto0["m_groupby"] = array(); $proto0["m_orderby"] = array(); $proto0["m_srcTableName"]="account_info"; $obj = new SQLQuery($proto0); return $obj; } $queryData_account_info = createSqlQuery_account_info(); ; $tdataaccount_info[".sqlquery"] = $queryData_account_info; $tableEvents["account_info"] = new eventsBase; $tdataaccount_info[".hasEvents"] = false; ?>