""); $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"; $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 $tdatars1["category"] = $fdata; // color // Custom field settings $fdata = array(); $fdata["Index"] = 2; $fdata["strName"] = "color"; $fdata["GoodName"] = "color"; $fdata["ownerTable"] = "rs1"; $fdata["Label"] = GetFieldLabel("rs1","color"); $fdata["FieldType"] = 200; $fdata["bListPage"] = true; $fdata["bAddPage"] = true; $fdata["bInlineAdd"] = true; $fdata["bEditPage"] = true; $fdata["bInlineEdit"] = true; $fdata["bUpdateSelected"] = true; $fdata["bViewPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "color"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "color"; $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=50"; $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 $tdatars1["color"] = $fdata; // Date Listed // Custom field settings $fdata = array(); $fdata["Index"] = 3; $fdata["strName"] = "Date Listed"; $fdata["GoodName"] = "Date_Listed"; $fdata["ownerTable"] = "rs1"; $fdata["Label"] = GetFieldLabel("rs1","Date_Listed"); $fdata["FieldType"] = 7; $fdata["bListPage"] = true; $fdata["bAddPage"] = true; $fdata["bInlineAdd"] = true; $fdata["bEditPage"] = true; $fdata["bInlineEdit"] = true; $fdata["bUpdateSelected"] = true; $fdata["bViewPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "Date Listed"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "`Date Listed`"; $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 $tdatars1["Date Listed"] = $fdata; // descr // Custom field settings $fdata = array(); $fdata["Index"] = 4; $fdata["strName"] = "descr"; $fdata["GoodName"] = "descr"; $fdata["ownerTable"] = "rs1"; $fdata["Label"] = GetFieldLabel("rs1","descr"); $fdata["FieldType"] = 201; $fdata["bListPage"] = true; $fdata["bAddPage"] = true; $fdata["bInlineAdd"] = true; $fdata["bEditPage"] = true; $fdata["bInlineEdit"] = true; $fdata["bUpdateSelected"] = true; $fdata["bViewPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "descr"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "descr"; $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 $tdatars1["descr"] = $fdata; // EPACity // Custom field settings $fdata = array(); $fdata["Index"] = 5; $fdata["strName"] = "EPACity"; $fdata["GoodName"] = "EPACity"; $fdata["ownerTable"] = "rs1"; $fdata["Label"] = GetFieldLabel("rs1","EPACity"); $fdata["FieldType"] = 200; $fdata["bListPage"] = true; $fdata["bAddPage"] = true; $fdata["bInlineAdd"] = true; $fdata["bEditPage"] = true; $fdata["bInlineEdit"] = true; $fdata["bUpdateSelected"] = true; $fdata["bViewPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "EPACity"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "EPACity"; $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=50"; $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 $tdatars1["EPACity"] = $fdata; // EPAHighway // Custom field settings $fdata = array(); $fdata["Index"] = 6; $fdata["strName"] = "EPAHighway"; $fdata["GoodName"] = "EPAHighway"; $fdata["ownerTable"] = "rs1"; $fdata["Label"] = GetFieldLabel("rs1","EPAHighway"); $fdata["FieldType"] = 200; $fdata["bListPage"] = true; $fdata["bAddPage"] = true; $fdata["bInlineAdd"] = true; $fdata["bEditPage"] = true; $fdata["bInlineEdit"] = true; $fdata["bUpdateSelected"] = true; $fdata["bViewPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "EPAHighway"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "EPAHighway"; $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=50"; $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 $tdatars1["EPAHighway"] = $fdata; // features // Custom field settings $fdata = array(); $fdata["Index"] = 7; $fdata["strName"] = "features"; $fdata["GoodName"] = "features"; $fdata["ownerTable"] = "rs1"; $fdata["Label"] = GetFieldLabel("rs1","features"); $fdata["FieldType"] = 201; $fdata["bListPage"] = true; $fdata["bAddPage"] = true; $fdata["bInlineAdd"] = true; $fdata["bEditPage"] = true; $fdata["bInlineEdit"] = true; $fdata["bUpdateSelected"] = true; $fdata["bViewPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "features"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "features"; $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 $tdatars1["features"] = $fdata; // Horsepower // Custom field settings $fdata = array(); $fdata["Index"] = 8; $fdata["strName"] = "Horsepower"; $fdata["GoodName"] = "Horsepower"; $fdata["ownerTable"] = "rs1"; $fdata["Label"] = GetFieldLabel("rs1","Horsepower"); $fdata["FieldType"] = 3; $fdata["bListPage"] = true; $fdata["bAddPage"] = true; $fdata["bInlineAdd"] = true; $fdata["bEditPage"] = true; $fdata["bInlineEdit"] = true; $fdata["bUpdateSelected"] = true; $fdata["bViewPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "Horsepower"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "Horsepower"; $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"] = "number"; $edata["EditParams"] = ""; $edata["controlWidth"] = 200; // 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 $tdatars1["Horsepower"] = $fdata; // id // Custom field settings $fdata = array(); $fdata["Index"] = 9; $fdata["strName"] = "id"; $fdata["GoodName"] = "id"; $fdata["ownerTable"] = "rs1"; $fdata["Label"] = GetFieldLabel("rs1","id"); $fdata["FieldType"] = 3; $fdata["AutoInc"] = true; $fdata["bListPage"] = true; $fdata["bViewPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "id"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "id"; $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["IsRequired"] = true; $edata["acceptFileTypes"] = ".+$"; $edata["maxNumberOfFiles"] = 1; $edata["HTML5InuptType"] = "number"; $edata["EditParams"] = ""; $edata["controlWidth"] = 200; // 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 $tdatars1["id"] = $fdata; // Make // Custom field settings $fdata = array(); $fdata["Index"] = 10; $fdata["strName"] = "Make"; $fdata["GoodName"] = "Make"; $fdata["ownerTable"] = "rs1"; $fdata["Label"] = GetFieldLabel("rs1","Make"); $fdata["FieldType"] = 200; $fdata["bListPage"] = true; $fdata["bAddPage"] = true; $fdata["bInlineAdd"] = true; $fdata["bEditPage"] = true; $fdata["bInlineEdit"] = true; $fdata["bUpdateSelected"] = true; $fdata["bViewPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "Make"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "Make"; $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=50"; $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 $tdatars1["Make"] = $fdata; // Model // Custom field settings $fdata = array(); $fdata["Index"] = 11; $fdata["strName"] = "Model"; $fdata["GoodName"] = "Model"; $fdata["ownerTable"] = "rs1"; $fdata["Label"] = GetFieldLabel("rs1","Model"); $fdata["FieldType"] = 200; $fdata["bListPage"] = true; $fdata["bAddPage"] = true; $fdata["bInlineAdd"] = true; $fdata["bEditPage"] = true; $fdata["bInlineEdit"] = true; $fdata["bUpdateSelected"] = true; $fdata["bViewPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "Model"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "Model"; $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=50"; $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 $tdatars1["Model"] = $fdata; // Phone # // Custom field settings $fdata = array(); $fdata["Index"] = 12; $fdata["strName"] = "Phone #"; $fdata["GoodName"] = "Phone__"; $fdata["ownerTable"] = "rs1"; $fdata["Label"] = GetFieldLabel("rs1","Phone__"); $fdata["FieldType"] = 200; $fdata["bListPage"] = true; $fdata["bAddPage"] = true; $fdata["bInlineAdd"] = true; $fdata["bEditPage"] = true; $fdata["bInlineEdit"] = true; $fdata["bUpdateSelected"] = true; $fdata["bViewPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "Phone #"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "`Phone #`"; $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=50"; $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 $tdatars1["Phone #"] = $fdata; // Picture // Custom field settings $fdata = array(); $fdata["Index"] = 13; $fdata["strName"] = "Picture"; $fdata["GoodName"] = "Picture"; $fdata["ownerTable"] = "rs1"; $fdata["Label"] = GetFieldLabel("rs1","Picture"); $fdata["FieldType"] = 128; $fdata["bListPage"] = true; $fdata["bAddPage"] = true; $fdata["bInlineAdd"] = true; $fdata["bEditPage"] = true; $fdata["bInlineEdit"] = true; $fdata["bUpdateSelected"] = true; $fdata["bViewPage"] = true; $fdata["bPrinterPage"] = true; $fdata["strField"] = "Picture"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "Picture"; $fdata["FieldPermissions"] = true; $fdata["UploadFolder"] = "files"; // Begin View Formats $fdata["ViewFormats"] = array(); $vdata = array("ViewFormat" => "Database Image"); $vdata["ImageWidth"] = 457; $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; $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; $tdatars1["Picture"] = $fdata; // Price // Custom field settings $fdata = array(); $fdata["Index"] = 14; $fdata["strName"] = "Price"; $fdata["GoodName"] = "Price"; $fdata["ownerTable"] = "rs1"; $fdata["Label"] = GetFieldLabel("rs1","Price"); $fdata["FieldType"] = 3; $fdata["bListPage"] = true; $fdata["bAddPage"] = true; $fdata["bInlineAdd"] = true; $fdata["bEditPage"] = true; $fdata["bInlineEdit"] = true; $fdata["bUpdateSelected"] = true; $fdata["bViewPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "Price"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "Price"; $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"] = "number"; $edata["EditParams"] = ""; $edata["controlWidth"] = 200; // 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 $tdatars1["Price"] = $fdata; // UserID // Custom field settings $fdata = array(); $fdata["Index"] = 15; $fdata["strName"] = "UserID"; $fdata["GoodName"] = "UserID"; $fdata["ownerTable"] = "rs1"; $fdata["Label"] = GetFieldLabel("rs1","UserID"); $fdata["FieldType"] = 200; $fdata["bListPage"] = true; $fdata["bAddPage"] = true; $fdata["bInlineAdd"] = true; $fdata["bEditPage"] = true; $fdata["bInlineEdit"] = true; $fdata["bUpdateSelected"] = true; $fdata["bViewPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "UserID"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "UserID"; $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=50"; $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 $tdatars1["UserID"] = $fdata; // YearOfMake // Custom field settings $fdata = array(); $fdata["Index"] = 16; $fdata["strName"] = "YearOfMake"; $fdata["GoodName"] = "YearOfMake"; $fdata["ownerTable"] = "rs1"; $fdata["Label"] = GetFieldLabel("rs1","YearOfMake"); $fdata["FieldType"] = 3; $fdata["bListPage"] = true; $fdata["bAddPage"] = true; $fdata["bInlineAdd"] = true; $fdata["bEditPage"] = true; $fdata["bInlineEdit"] = true; $fdata["bUpdateSelected"] = true; $fdata["bViewPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "YearOfMake"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "YearOfMake"; $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"] = "number"; $edata["EditParams"] = ""; $edata["controlWidth"] = 200; // 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 $tdatars1["YearOfMake"] = $fdata; // zipcode // Custom field settings $fdata = array(); $fdata["Index"] = 17; $fdata["strName"] = "zipcode"; $fdata["GoodName"] = "zipcode"; $fdata["ownerTable"] = "rs1"; $fdata["Label"] = GetFieldLabel("rs1","zipcode"); $fdata["FieldType"] = 3; $fdata["bListPage"] = true; $fdata["bAddPage"] = true; $fdata["bInlineAdd"] = true; $fdata["bEditPage"] = true; $fdata["bInlineEdit"] = true; $fdata["bUpdateSelected"] = true; $fdata["bViewPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "zipcode"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "zipcode"; $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"] = "number"; $edata["EditParams"] = ""; $edata["controlWidth"] = 200; // 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 $tdatars1["zipcode"] = $fdata; $tables_data["rs1"]=&$tdatars1; $field_labels["rs1"] = &$fieldLabelsrs1; $fieldToolTips["rs1"] = &$fieldToolTipsrs1; $page_titles["rs1"] = &$pageTitlesrs1; // -----------------start prepare master-details data arrays ------------------------------// // tables which are detail tables for current table (master) $detailsTablesData["rs1"] = array(); // tables which are master tables for current table (detail) $masterTablesData["rs1"] = array(); // -----------------end prepare master-details data arrays ------------------------------// require_once(getabspath("classes/sql.php")); function createSqlQuery_rs1() { $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 rs1"; $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" => "rs1", "m_srcTableName" => "rs1" )); $proto6["m_sql"] = "category"; $proto6["m_srcTableName"] = "rs1"; $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" => "rs1", "m_srcTableName" => "rs1" )); $proto8["m_sql"] = "color"; $proto8["m_srcTableName"] = "rs1"; $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" => "rs1", "m_srcTableName" => "rs1" )); $proto10["m_sql"] = "`Date Listed`"; $proto10["m_srcTableName"] = "rs1"; $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" => "rs1", "m_srcTableName" => "rs1" )); $proto12["m_sql"] = "descr"; $proto12["m_srcTableName"] = "rs1"; $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" => "rs1", "m_srcTableName" => "rs1" )); $proto14["m_sql"] = "EPACity"; $proto14["m_srcTableName"] = "rs1"; $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" => "rs1", "m_srcTableName" => "rs1" )); $proto16["m_sql"] = "EPAHighway"; $proto16["m_srcTableName"] = "rs1"; $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" => "rs1", "m_srcTableName" => "rs1" )); $proto18["m_sql"] = "features"; $proto18["m_srcTableName"] = "rs1"; $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" => "rs1", "m_srcTableName" => "rs1" )); $proto20["m_sql"] = "Horsepower"; $proto20["m_srcTableName"] = "rs1"; $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" => "rs1", "m_srcTableName" => "rs1" )); $proto22["m_sql"] = "id"; $proto22["m_srcTableName"] = "rs1"; $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" => "rs1", "m_srcTableName" => "rs1" )); $proto24["m_sql"] = "Make"; $proto24["m_srcTableName"] = "rs1"; $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" => "rs1", "m_srcTableName" => "rs1" )); $proto26["m_sql"] = "Model"; $proto26["m_srcTableName"] = "rs1"; $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" => "rs1", "m_srcTableName" => "rs1" )); $proto28["m_sql"] = "`Phone #`"; $proto28["m_srcTableName"] = "rs1"; $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" => "rs1", "m_srcTableName" => "rs1" )); $proto30["m_sql"] = "Picture"; $proto30["m_srcTableName"] = "rs1"; $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" => "rs1", "m_srcTableName" => "rs1" )); $proto32["m_sql"] = "Price"; $proto32["m_srcTableName"] = "rs1"; $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" => "rs1", "m_srcTableName" => "rs1" )); $proto34["m_sql"] = "UserID"; $proto34["m_srcTableName"] = "rs1"; $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" => "rs1", "m_srcTableName" => "rs1" )); $proto36["m_sql"] = "YearOfMake"; $proto36["m_srcTableName"] = "rs1"; $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" => "rs1", "m_srcTableName" => "rs1" )); $proto38["m_sql"] = "zipcode"; $proto38["m_srcTableName"] = "rs1"; $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"] = "rs1"; $proto41["m_srcTableName"] = "rs1"; $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"] = "rs1"; $proto40["m_alias"] = ""; $proto40["m_srcTableName"] = "rs1"; $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"]="rs1"; $obj = new SQLQuery($proto0); return $obj; } $queryData_rs1 = createSqlQuery_rs1(); ; $tdatars1[".sqlquery"] = $queryData_rs1; $tableEvents["rs1"] = new eventsBase; $tdatars1[".hasEvents"] = false; ?>