""); $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"] = ""; // 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 //Filters settings $fdata["filterTotals"] = 1; $fdata["filterMultiSelect"] = 0; $fdata["filterFormat"] = "Values list"; $fdata["showCollapsed"] = false; $fdata["sortValueType"] = 0; $fdata["numberOfVisibleItems"] = 10; //end of Filters settings $tdatacarscars["category"] = $fdata; // color // Custom field settings $fdata = array(); $fdata["Index"] = 2; $fdata["strName"] = "color"; $fdata["GoodName"] = "color"; $fdata["ownerTable"] = "carscars"; $fdata["Label"] = GetFieldLabel("carscars","color"); $fdata["FieldType"] = 200; $fdata["bListPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "color"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "color"; $fdata["FieldPermissions"] = true; // 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=20"; // 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 $tdatacarscars["color"] = $fdata; // Date Listed // Custom field settings $fdata = array(); $fdata["Index"] = 3; $fdata["strName"] = "Date Listed"; $fdata["GoodName"] = "Date_Listed"; $fdata["ownerTable"] = "carscars"; $fdata["Label"] = GetFieldLabel("carscars","Date_Listed"); $fdata["FieldType"] = 7; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "Date Listed"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "`Date Listed`"; $fdata["FieldPermissions"] = true; // 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; // 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; $tdatacarscars["Date Listed"] = $fdata; // descr // Custom field settings $fdata = array(); $fdata["Index"] = 4; $fdata["strName"] = "descr"; $fdata["GoodName"] = "descr"; $fdata["ownerTable"] = "carscars"; $fdata["Label"] = GetFieldLabel("carscars","descr"); $fdata["FieldType"] = 201; $fdata["bListPage"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "descr"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "descr"; $fdata["FieldPermissions"] = true; // 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["UseRTE"] = true; $edata["acceptFileTypes"] = ".+$"; $edata["maxNumberOfFiles"] = 1; $edata["nRows"] = 60; $edata["nCols"] = 240; // 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; $tdatacarscars["descr"] = $fdata; // EPACity // Custom field settings $fdata = array(); $fdata["Index"] = 5; $fdata["strName"] = "EPACity"; $fdata["GoodName"] = "EPACity"; $fdata["ownerTable"] = "carscars"; $fdata["Label"] = GetFieldLabel("carscars","EPACity"); $fdata["FieldType"] = 200; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "EPACity"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "EPACity"; $fdata["FieldPermissions"] = true; // 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"] = ""; // 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; $tdatacarscars["EPACity"] = $fdata; // EPAHighway // Custom field settings $fdata = array(); $fdata["Index"] = 6; $fdata["strName"] = "EPAHighway"; $fdata["GoodName"] = "EPAHighway"; $fdata["ownerTable"] = "carscars"; $fdata["Label"] = GetFieldLabel("carscars","EPAHighway"); $fdata["FieldType"] = 200; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "EPAHighway"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "EPAHighway"; $fdata["FieldPermissions"] = true; // 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"] = ""; // 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; $tdatacarscars["EPAHighway"] = $fdata; // features // Custom field settings $fdata = array(); $fdata["Index"] = 7; $fdata["strName"] = "features"; $fdata["GoodName"] = "features"; $fdata["ownerTable"] = "carscars"; $fdata["Label"] = GetFieldLabel("carscars","features"); $fdata["FieldType"] = 201; $fdata["strField"] = "features"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "features"; // 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"] = 60; $edata["nCols"] = 240; // 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; $tdatacarscars["features"] = $fdata; // Horsepower // Custom field settings $fdata = array(); $fdata["Index"] = 8; $fdata["strName"] = "Horsepower"; $fdata["GoodName"] = "Horsepower"; $fdata["ownerTable"] = "carscars"; $fdata["Label"] = GetFieldLabel("carscars","Horsepower"); $fdata["FieldType"] = 3; $fdata["bListPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "Horsepower"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "Horsepower"; $fdata["FieldPermissions"] = true; // 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["IsRequired"] = true; $edata["acceptFileTypes"] = ".+$"; $edata["maxNumberOfFiles"] = 1; $edata["HTML5InuptType"] = "text"; $edata["EditParams"] = ""; // Begin validation $edata["validateAs"] = array(); $edata["validateAs"]["basicValidate"] = array(); $edata["validateAs"]["customMessages"] = array(); $edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number"); $edata["validateAs"]["basicValidate"][] = "IsRequired"; // 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 $tdatacarscars["Horsepower"] = $fdata; // id // Custom field settings $fdata = array(); $fdata["Index"] = 9; $fdata["strName"] = "id"; $fdata["GoodName"] = "id"; $fdata["ownerTable"] = "carscars"; $fdata["Label"] = GetFieldLabel("carscars","id"); $fdata["FieldType"] = 3; $fdata["AutoInc"] = true; $fdata["strField"] = "id"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "id"; // 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["IsRequired"] = true; $edata["acceptFileTypes"] = ".+$"; $edata["maxNumberOfFiles"] = 1; $edata["HTML5InuptType"] = "text"; $edata["EditParams"] = ""; // Begin validation $edata["validateAs"] = array(); $edata["validateAs"]["basicValidate"] = array(); $edata["validateAs"]["customMessages"] = array(); $edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number"); $edata["validateAs"]["basicValidate"][] = "IsRequired"; // End validation $fdata["EditFormats"]["edit"] = $edata; // End Edit Formats $fdata["isSeparate"] = false; $tdatacarscars["id"] = $fdata; // Make // Custom field settings $fdata = array(); $fdata["Index"] = 10; $fdata["strName"] = "Make"; $fdata["GoodName"] = "Make"; $fdata["ownerTable"] = "carscars"; $fdata["Label"] = GetFieldLabel("carscars","Make"); $fdata["FieldType"] = 200; $fdata["bListPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "Make"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "Make"; $fdata["FieldPermissions"] = true; // 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=50"; // 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 //Filters settings $fdata["filterTotals"] = 1; $fdata["filterMultiSelect"] = 0; $fdata["filterFormat"] = "Values list"; $fdata["showCollapsed"] = false; $fdata["sortValueType"] = 0; $fdata["numberOfVisibleItems"] = 10; //end of Filters settings $tdatacarscars["Make"] = $fdata; // Model // Custom field settings $fdata = array(); $fdata["Index"] = 11; $fdata["strName"] = "Model"; $fdata["GoodName"] = "Model"; $fdata["ownerTable"] = "carscars"; $fdata["Label"] = GetFieldLabel("carscars","Model"); $fdata["FieldType"] = 200; $fdata["bListPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "Model"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "Model"; $fdata["FieldPermissions"] = true; // 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=50"; // 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 $tdatacarscars["Model"] = $fdata; // Phone # // Custom field settings $fdata = array(); $fdata["Index"] = 12; $fdata["strName"] = "Phone #"; $fdata["GoodName"] = "Phone__"; $fdata["ownerTable"] = "carscars"; $fdata["Label"] = GetFieldLabel("carscars","Phone__"); $fdata["FieldType"] = 200; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "Phone #"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "`Phone #`"; $fdata["FieldPermissions"] = true; // Begin View Formats $fdata["ViewFormats"] = array(); $vdata = array("ViewFormat" => "Phone Number"); $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=50"; // 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; $tdatacarscars["Phone #"] = $fdata; // Picture // Custom field settings $fdata = array(); $fdata["Index"] = 13; $fdata["strName"] = "Picture"; $fdata["GoodName"] = "Picture"; $fdata["ownerTable"] = "carscars"; $fdata["Label"] = GetFieldLabel("carscars","Picture"); $fdata["FieldType"] = 128; $fdata["bListPage"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "Picture"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "Picture"; $fdata["FieldPermissions"] = true; // Begin View Formats $fdata["ViewFormats"] = array(); $vdata = array("ViewFormat" => "Database Image"); $vdata["ImageWidth"] = 270; $vdata["ImageHeight"] = 0; $vdata["NeedEncode"] = true; $fdata["ViewFormats"]["view"] = $vdata; // End View Formats // Begin Edit Formats $fdata["EditFormats"] = array(); $edata = array("EditFormat" => "Database image"); $edata["acceptFileTypes"] = ".+$"; $edata["maxNumberOfFiles"] = 1; // 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; $tdatacarscars["Picture"] = $fdata; // Price // Custom field settings $fdata = array(); $fdata["Index"] = 14; $fdata["strName"] = "Price"; $fdata["GoodName"] = "Price"; $fdata["ownerTable"] = "carscars"; $fdata["Label"] = GetFieldLabel("carscars","Price"); $fdata["FieldType"] = 3; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "Price"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "Price"; $fdata["FieldPermissions"] = true; // Begin View Formats $fdata["ViewFormats"] = array(); $vdata = array("ViewFormat" => "Currency"); $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"] = ""; // Begin validation $edata["validateAs"] = array(); $edata["validateAs"]["basicValidate"] = array(); $edata["validateAs"]["customMessages"] = array(); $edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number"); // 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 $tdatacarscars["Price"] = $fdata; // UserID // Custom field settings $fdata = array(); $fdata["Index"] = 15; $fdata["strName"] = "UserID"; $fdata["GoodName"] = "UserID"; $fdata["ownerTable"] = "carscars"; $fdata["Label"] = GetFieldLabel("carscars","UserID"); $fdata["FieldType"] = 200; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "UserID"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "UserID"; $fdata["FieldPermissions"] = true; // 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"] = ""; // 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; $tdatacarscars["UserID"] = $fdata; // YearOfMake // Custom field settings $fdata = array(); $fdata["Index"] = 16; $fdata["strName"] = "YearOfMake"; $fdata["GoodName"] = "YearOfMake"; $fdata["ownerTable"] = "carscars"; $fdata["Label"] = GetFieldLabel("carscars","YearOfMake"); $fdata["FieldType"] = 3; $fdata["bListPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "YearOfMake"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "YearOfMake"; $fdata["FieldPermissions"] = true; // 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"] = ""; // Begin validation $edata["validateAs"] = array(); $edata["validateAs"]["basicValidate"] = array(); $edata["validateAs"]["customMessages"] = array(); $edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number"); // 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 $tdatacarscars["YearOfMake"] = $fdata; // zipcode // Custom field settings $fdata = array(); $fdata["Index"] = 17; $fdata["strName"] = "zipcode"; $fdata["GoodName"] = "zipcode"; $fdata["ownerTable"] = "carscars"; $fdata["Label"] = GetFieldLabel("carscars","zipcode"); $fdata["FieldType"] = 3; $fdata["strField"] = "zipcode"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "zipcode"; // 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"] = ""; // Begin validation $edata["validateAs"] = array(); $edata["validateAs"]["basicValidate"] = array(); $edata["validateAs"]["customMessages"] = array(); $edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number"); // End validation $fdata["EditFormats"]["edit"] = $edata; // End Edit Formats $fdata["isSeparate"] = false; $tdatacarscars["zipcode"] = $fdata; $tables_data["carscars"]=&$tdatacarscars; $field_labels["carscars"] = &$fieldLabelscarscars; $fieldToolTips["carscars"] = &$fieldToolTipscarscars; $page_titles["carscars"] = &$pageTitlescarscars; // -----------------start prepare master-details data arrays ------------------------------// // tables which are detail tables for current table (master) $detailsTablesData["carscars"] = array(); // tables which are master tables for current table (detail) $masterTablesData["carscars"] = array(); // -----------------end prepare master-details data arrays ------------------------------// require_once(getabspath("classes/sql.php")); function createSqlQuery_carscars() { $proto0=array(); $proto0["m_strHead"] = "select"; $proto0["m_strFieldList"] = "category, color, `Date Listed`, descr, EPACity, EPAHighway, features, Horsepower, id, Make, Model, `Phone #`, Picture, Price, UserID, YearOfMake, zipcode"; $proto0["m_strFrom"] = "FROM carscars"; $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" => "category", "m_strTable" => "carscars", "m_srcTableName" => "carscars" )); $proto6["m_sql"] = "category"; $proto6["m_srcTableName"] = "carscars"; $proto6["m_expr"]=$obj; $proto6["m_alias"] = ""; $obj = new SQLFieldListItem($proto6); $proto0["m_fieldlist"][]=$obj; $proto8=array(); $obj = new SQLField(array( "m_strName" => "color", "m_strTable" => "carscars", "m_srcTableName" => "carscars" )); $proto8["m_sql"] = "color"; $proto8["m_srcTableName"] = "carscars"; $proto8["m_expr"]=$obj; $proto8["m_alias"] = ""; $obj = new SQLFieldListItem($proto8); $proto0["m_fieldlist"][]=$obj; $proto10=array(); $obj = new SQLField(array( "m_strName" => "Date Listed", "m_strTable" => "carscars", "m_srcTableName" => "carscars" )); $proto10["m_sql"] = "`Date Listed`"; $proto10["m_srcTableName"] = "carscars"; $proto10["m_expr"]=$obj; $proto10["m_alias"] = ""; $obj = new SQLFieldListItem($proto10); $proto0["m_fieldlist"][]=$obj; $proto12=array(); $obj = new SQLField(array( "m_strName" => "descr", "m_strTable" => "carscars", "m_srcTableName" => "carscars" )); $proto12["m_sql"] = "descr"; $proto12["m_srcTableName"] = "carscars"; $proto12["m_expr"]=$obj; $proto12["m_alias"] = ""; $obj = new SQLFieldListItem($proto12); $proto0["m_fieldlist"][]=$obj; $proto14=array(); $obj = new SQLField(array( "m_strName" => "EPACity", "m_strTable" => "carscars", "m_srcTableName" => "carscars" )); $proto14["m_sql"] = "EPACity"; $proto14["m_srcTableName"] = "carscars"; $proto14["m_expr"]=$obj; $proto14["m_alias"] = ""; $obj = new SQLFieldListItem($proto14); $proto0["m_fieldlist"][]=$obj; $proto16=array(); $obj = new SQLField(array( "m_strName" => "EPAHighway", "m_strTable" => "carscars", "m_srcTableName" => "carscars" )); $proto16["m_sql"] = "EPAHighway"; $proto16["m_srcTableName"] = "carscars"; $proto16["m_expr"]=$obj; $proto16["m_alias"] = ""; $obj = new SQLFieldListItem($proto16); $proto0["m_fieldlist"][]=$obj; $proto18=array(); $obj = new SQLField(array( "m_strName" => "features", "m_strTable" => "carscars", "m_srcTableName" => "carscars" )); $proto18["m_sql"] = "features"; $proto18["m_srcTableName"] = "carscars"; $proto18["m_expr"]=$obj; $proto18["m_alias"] = ""; $obj = new SQLFieldListItem($proto18); $proto0["m_fieldlist"][]=$obj; $proto20=array(); $obj = new SQLField(array( "m_strName" => "Horsepower", "m_strTable" => "carscars", "m_srcTableName" => "carscars" )); $proto20["m_sql"] = "Horsepower"; $proto20["m_srcTableName"] = "carscars"; $proto20["m_expr"]=$obj; $proto20["m_alias"] = ""; $obj = new SQLFieldListItem($proto20); $proto0["m_fieldlist"][]=$obj; $proto22=array(); $obj = new SQLField(array( "m_strName" => "id", "m_strTable" => "carscars", "m_srcTableName" => "carscars" )); $proto22["m_sql"] = "id"; $proto22["m_srcTableName"] = "carscars"; $proto22["m_expr"]=$obj; $proto22["m_alias"] = ""; $obj = new SQLFieldListItem($proto22); $proto0["m_fieldlist"][]=$obj; $proto24=array(); $obj = new SQLField(array( "m_strName" => "Make", "m_strTable" => "carscars", "m_srcTableName" => "carscars" )); $proto24["m_sql"] = "Make"; $proto24["m_srcTableName"] = "carscars"; $proto24["m_expr"]=$obj; $proto24["m_alias"] = ""; $obj = new SQLFieldListItem($proto24); $proto0["m_fieldlist"][]=$obj; $proto26=array(); $obj = new SQLField(array( "m_strName" => "Model", "m_strTable" => "carscars", "m_srcTableName" => "carscars" )); $proto26["m_sql"] = "Model"; $proto26["m_srcTableName"] = "carscars"; $proto26["m_expr"]=$obj; $proto26["m_alias"] = ""; $obj = new SQLFieldListItem($proto26); $proto0["m_fieldlist"][]=$obj; $proto28=array(); $obj = new SQLField(array( "m_strName" => "Phone #", "m_strTable" => "carscars", "m_srcTableName" => "carscars" )); $proto28["m_sql"] = "`Phone #`"; $proto28["m_srcTableName"] = "carscars"; $proto28["m_expr"]=$obj; $proto28["m_alias"] = ""; $obj = new SQLFieldListItem($proto28); $proto0["m_fieldlist"][]=$obj; $proto30=array(); $obj = new SQLField(array( "m_strName" => "Picture", "m_strTable" => "carscars", "m_srcTableName" => "carscars" )); $proto30["m_sql"] = "Picture"; $proto30["m_srcTableName"] = "carscars"; $proto30["m_expr"]=$obj; $proto30["m_alias"] = ""; $obj = new SQLFieldListItem($proto30); $proto0["m_fieldlist"][]=$obj; $proto32=array(); $obj = new SQLField(array( "m_strName" => "Price", "m_strTable" => "carscars", "m_srcTableName" => "carscars" )); $proto32["m_sql"] = "Price"; $proto32["m_srcTableName"] = "carscars"; $proto32["m_expr"]=$obj; $proto32["m_alias"] = ""; $obj = new SQLFieldListItem($proto32); $proto0["m_fieldlist"][]=$obj; $proto34=array(); $obj = new SQLField(array( "m_strName" => "UserID", "m_strTable" => "carscars", "m_srcTableName" => "carscars" )); $proto34["m_sql"] = "UserID"; $proto34["m_srcTableName"] = "carscars"; $proto34["m_expr"]=$obj; $proto34["m_alias"] = ""; $obj = new SQLFieldListItem($proto34); $proto0["m_fieldlist"][]=$obj; $proto36=array(); $obj = new SQLField(array( "m_strName" => "YearOfMake", "m_strTable" => "carscars", "m_srcTableName" => "carscars" )); $proto36["m_sql"] = "YearOfMake"; $proto36["m_srcTableName"] = "carscars"; $proto36["m_expr"]=$obj; $proto36["m_alias"] = ""; $obj = new SQLFieldListItem($proto36); $proto0["m_fieldlist"][]=$obj; $proto38=array(); $obj = new SQLField(array( "m_strName" => "zipcode", "m_strTable" => "carscars", "m_srcTableName" => "carscars" )); $proto38["m_sql"] = "zipcode"; $proto38["m_srcTableName"] = "carscars"; $proto38["m_expr"]=$obj; $proto38["m_alias"] = ""; $obj = new SQLFieldListItem($proto38); $proto0["m_fieldlist"][]=$obj; $proto0["m_fromlist"] = array(); $proto40=array(); $proto40["m_link"] = "SQLL_MAIN"; $proto41=array(); $proto41["m_strName"] = "carscars"; $proto41["m_srcTableName"] = "carscars"; $proto41["m_columns"] = array(); $proto41["m_columns"][] = "category"; $proto41["m_columns"][] = "color"; $proto41["m_columns"][] = "Date Listed"; $proto41["m_columns"][] = "descr"; $proto41["m_columns"][] = "EPACity"; $proto41["m_columns"][] = "EPAHighway"; $proto41["m_columns"][] = "features"; $proto41["m_columns"][] = "Horsepower"; $proto41["m_columns"][] = "id"; $proto41["m_columns"][] = "Make"; $proto41["m_columns"][] = "Model"; $proto41["m_columns"][] = "Phone #"; $proto41["m_columns"][] = "Picture"; $proto41["m_columns"][] = "Price"; $proto41["m_columns"][] = "UserID"; $proto41["m_columns"][] = "YearOfMake"; $proto41["m_columns"][] = "zipcode"; $obj = new SQLTable($proto41); $proto40["m_table"] = $obj; $proto40["m_sql"] = "carscars"; $proto40["m_alias"] = ""; $proto40["m_srcTableName"] = "carscars"; $proto42=array(); $proto42["m_sql"] = ""; $proto42["m_uniontype"] = "SQLL_UNKNOWN"; $obj = new SQLNonParsed(array( "m_sql" => "" )); $proto42["m_column"]=$obj; $proto42["m_contained"] = array(); $proto42["m_strCase"] = ""; $proto42["m_havingmode"] = false; $proto42["m_inBrackets"] = false; $proto42["m_useAlias"] = false; $obj = new SQLLogicalExpr($proto42); $proto40["m_joinon"] = $obj; $obj = new SQLFromListItem($proto40); $proto0["m_fromlist"][]=$obj; $proto0["m_groupby"] = array(); $proto0["m_orderby"] = array(); $proto0["m_srcTableName"]="carscars"; $obj = new SQLQuery($proto0); return $obj; } $queryData_carscars = createSqlQuery_carscars(); ; $tdatacarscars[".sqlquery"] = $queryData_carscars; include_once(getabspath("include/carscars_events.php")); $tableEvents["carscars"] = new eventclass_carscars; $tdatacarscars[".hasEvents"] = true; ?>