""); $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; $tdatacarsform["id"] = $fdata; // lastname // Custom field settings $fdata = array(); $fdata["Index"] = 2; $fdata["strName"] = "lastname"; $fdata["GoodName"] = "lastname"; $fdata["ownerTable"] = "carsform"; $fdata["Label"] = GetFieldLabel("carsform","lastname"); $fdata["FieldType"] = 200; $fdata["bListPage"] = true; $fdata["bAddPage"] = true; $fdata["bEditPage"] = true; $fdata["bUpdateSelected"] = true; $fdata["bViewPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "lastname"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "lastname"; $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"] = ""; $edata["EditParams"].= " maxlength=30"; // Begin validation $edata["validateAs"] = array(); $edata["validateAs"]["basicValidate"] = array(); $edata["validateAs"]["customMessages"] = array(); $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 $tdatacarsform["lastname"] = $fdata; // firstname // Custom field settings $fdata = array(); $fdata["Index"] = 3; $fdata["strName"] = "firstname"; $fdata["GoodName"] = "firstname"; $fdata["ownerTable"] = "carsform"; $fdata["Label"] = GetFieldLabel("carsform","firstname"); $fdata["FieldType"] = 200; $fdata["bListPage"] = true; $fdata["bAddPage"] = true; $fdata["bEditPage"] = true; $fdata["bUpdateSelected"] = true; $fdata["bViewPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "firstname"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "firstname"; $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"] = ""; $edata["EditParams"].= " maxlength=30"; // Begin validation $edata["validateAs"] = array(); $edata["validateAs"]["basicValidate"] = array(); $edata["validateAs"]["customMessages"] = array(); $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 $tdatacarsform["firstname"] = $fdata; // city // Custom field settings $fdata = array(); $fdata["Index"] = 4; $fdata["strName"] = "city"; $fdata["GoodName"] = "city"; $fdata["ownerTable"] = "carsform"; $fdata["Label"] = GetFieldLabel("carsform","city"); $fdata["FieldType"] = 200; $fdata["bListPage"] = true; $fdata["bAddPage"] = true; $fdata["bEditPage"] = true; $fdata["bUpdateSelected"] = true; $fdata["bViewPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "city"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "city"; $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 $tdatacarsform["city"] = $fdata; // state // Custom field settings $fdata = array(); $fdata["Index"] = 5; $fdata["strName"] = "state"; $fdata["GoodName"] = "state"; $fdata["ownerTable"] = "carsform"; $fdata["Label"] = GetFieldLabel("carsform","state"); $fdata["FieldType"] = 200; $fdata["bListPage"] = true; $fdata["bAddPage"] = true; $fdata["bEditPage"] = true; $fdata["bUpdateSelected"] = true; $fdata["bViewPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "state"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "`state`"; $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 $tdatacarsform["state"] = $fdata; // zip // Custom field settings $fdata = array(); $fdata["Index"] = 6; $fdata["strName"] = "zip"; $fdata["GoodName"] = "zip"; $fdata["ownerTable"] = "carsform"; $fdata["Label"] = GetFieldLabel("carsform","zip"); $fdata["FieldType"] = 200; $fdata["bListPage"] = true; $fdata["bAddPage"] = true; $fdata["bEditPage"] = true; $fdata["bUpdateSelected"] = true; $fdata["bViewPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "zip"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "zip"; $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"] = ""; $edata["EditParams"].= " maxlength=5"; $edata["controlWidth"] = 63; // Begin validation $edata["validateAs"] = array(); $edata["validateAs"]["basicValidate"] = array(); $edata["validateAs"]["customMessages"] = array(); $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 $tdatacarsform["zip"] = $fdata; // comments // Custom field settings $fdata = array(); $fdata["Index"] = 7; $fdata["strName"] = "comments"; $fdata["GoodName"] = "comments"; $fdata["ownerTable"] = "carsform"; $fdata["Label"] = GetFieldLabel("carsform","comments"); $fdata["FieldType"] = 201; $fdata["bListPage"] = true; $fdata["bAddPage"] = true; $fdata["bEditPage"] = true; $fdata["bUpdateSelected"] = true; $fdata["bViewPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "comments"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "comments"; $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["acceptFileTypes"] = ".+$"; $edata["maxNumberOfFiles"] = 1; $edata["nRows"] = 100; $edata["nCols"] = 500; // 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 $tdatacarsform["comments"] = $fdata; // phone // Custom field settings $fdata = array(); $fdata["Index"] = 8; $fdata["strName"] = "phone"; $fdata["GoodName"] = "phone"; $fdata["ownerTable"] = "carsform"; $fdata["Label"] = GetFieldLabel("carsform","phone"); $fdata["FieldType"] = 200; $fdata["bListPage"] = true; $fdata["bAddPage"] = true; $fdata["bEditPage"] = 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; // 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"] = ""; $edata["EditParams"].= " maxlength=10"; $edata["controlWidth"] = 83; // Begin validation $edata["validateAs"] = array(); $edata["validateAs"]["basicValidate"] = array(); $edata["validateAs"]["customMessages"] = array(); $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 $tdatacarsform["phone"] = $fdata; // extension // Custom field settings $fdata = array(); $fdata["Index"] = 9; $fdata["strName"] = "extension"; $fdata["GoodName"] = "extension"; $fdata["ownerTable"] = "carsform"; $fdata["Label"] = GetFieldLabel("carsform","extension"); $fdata["FieldType"] = 200; $fdata["bListPage"] = true; $fdata["bAddPage"] = true; $fdata["bEditPage"] = true; $fdata["bUpdateSelected"] = true; $fdata["bViewPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "extension"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "extension"; $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"] = ""; $edata["EditParams"].= " maxlength=4"; $edata["controlWidth"] = 58; // Begin validation $edata["validateAs"] = array(); $edata["validateAs"]["basicValidate"] = array(); $edata["validateAs"]["customMessages"] = array(); $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 $tdatacarsform["extension"] = $fdata; // tradein // Custom field settings $fdata = array(); $fdata["Index"] = 10; $fdata["strName"] = "tradein"; $fdata["GoodName"] = "tradein"; $fdata["ownerTable"] = "carsform"; $fdata["Label"] = GetFieldLabel("carsform","tradein"); $fdata["FieldType"] = 200; $fdata["bListPage"] = true; $fdata["bAddPage"] = true; $fdata["bEditPage"] = true; $fdata["bUpdateSelected"] = true; $fdata["bViewPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "tradein"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "tradein"; $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" => "Lookup wizard"); // Begin Lookup settings $edata["LookupType"] = 0; $edata["autoCompleteFieldsOnEdit"] = 0; $edata["autoCompleteFields"] = array(); $edata["LCType"] = 4; $edata["LookupValues"] = array(); // End Lookup Settings $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; // 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 $tdatacarsform["tradein"] = $fdata; // email // Custom field settings $fdata = array(); $fdata["Index"] = 11; $fdata["strName"] = "email"; $fdata["GoodName"] = "email"; $fdata["ownerTable"] = "carsform"; $fdata["Label"] = GetFieldLabel("carsform","email"); $fdata["FieldType"] = 200; $fdata["bListPage"] = true; $fdata["bAddPage"] = true; $fdata["bEditPage"] = true; $fdata["bUpdateSelected"] = true; $fdata["bViewPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "email"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "email"; $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"] = ""; $edata["EditParams"].= " maxlength=25"; // Begin validation $edata["validateAs"] = array(); $edata["validateAs"]["basicValidate"] = array(); $edata["validateAs"]["customMessages"] = array(); $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 $tdatacarsform["email"] = $fdata; // car // Custom field settings $fdata = array(); $fdata["Index"] = 12; $fdata["strName"] = "car"; $fdata["GoodName"] = "car"; $fdata["ownerTable"] = "carsform"; $fdata["Label"] = GetFieldLabel("carsform","car"); $fdata["FieldType"] = 200; $fdata["strField"] = "car"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "car"; // 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; $tdatacarsform["car"] = $fdata; $tables_data["carsform"]=&$tdatacarsform; $field_labels["carsform"] = &$fieldLabelscarsform; $fieldToolTips["carsform"] = &$fieldToolTipscarsform; $page_titles["carsform"] = &$pageTitlescarsform; // -----------------start prepare master-details data arrays ------------------------------// // tables which are detail tables for current table (master) $detailsTablesData["carsform"] = array(); // tables which are master tables for current table (detail) $masterTablesData["carsform"] = array(); // -----------------end prepare master-details data arrays ------------------------------// require_once(getabspath("classes/sql.php")); function createSqlQuery_carsform() { $proto0=array(); $proto0["m_strHead"] = "select"; $proto0["m_strFieldList"] = "id, lastname, firstname, city, `state`, zip, comments, phone, extension, tradein, email, car"; $proto0["m_strFrom"] = "FROM carsform"; $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" => "id", "m_strTable" => "carsform", "m_srcTableName" => "carsform" )); $proto6["m_sql"] = "id"; $proto6["m_srcTableName"] = "carsform"; $proto6["m_expr"]=$obj; $proto6["m_alias"] = ""; $obj = new SQLFieldListItem($proto6); $proto0["m_fieldlist"][]=$obj; $proto8=array(); $obj = new SQLField(array( "m_strName" => "lastname", "m_strTable" => "carsform", "m_srcTableName" => "carsform" )); $proto8["m_sql"] = "lastname"; $proto8["m_srcTableName"] = "carsform"; $proto8["m_expr"]=$obj; $proto8["m_alias"] = ""; $obj = new SQLFieldListItem($proto8); $proto0["m_fieldlist"][]=$obj; $proto10=array(); $obj = new SQLField(array( "m_strName" => "firstname", "m_strTable" => "carsform", "m_srcTableName" => "carsform" )); $proto10["m_sql"] = "firstname"; $proto10["m_srcTableName"] = "carsform"; $proto10["m_expr"]=$obj; $proto10["m_alias"] = ""; $obj = new SQLFieldListItem($proto10); $proto0["m_fieldlist"][]=$obj; $proto12=array(); $obj = new SQLField(array( "m_strName" => "city", "m_strTable" => "carsform", "m_srcTableName" => "carsform" )); $proto12["m_sql"] = "city"; $proto12["m_srcTableName"] = "carsform"; $proto12["m_expr"]=$obj; $proto12["m_alias"] = ""; $obj = new SQLFieldListItem($proto12); $proto0["m_fieldlist"][]=$obj; $proto14=array(); $obj = new SQLField(array( "m_strName" => "state", "m_strTable" => "carsform", "m_srcTableName" => "carsform" )); $proto14["m_sql"] = "`state`"; $proto14["m_srcTableName"] = "carsform"; $proto14["m_expr"]=$obj; $proto14["m_alias"] = ""; $obj = new SQLFieldListItem($proto14); $proto0["m_fieldlist"][]=$obj; $proto16=array(); $obj = new SQLField(array( "m_strName" => "zip", "m_strTable" => "carsform", "m_srcTableName" => "carsform" )); $proto16["m_sql"] = "zip"; $proto16["m_srcTableName"] = "carsform"; $proto16["m_expr"]=$obj; $proto16["m_alias"] = ""; $obj = new SQLFieldListItem($proto16); $proto0["m_fieldlist"][]=$obj; $proto18=array(); $obj = new SQLField(array( "m_strName" => "comments", "m_strTable" => "carsform", "m_srcTableName" => "carsform" )); $proto18["m_sql"] = "comments"; $proto18["m_srcTableName"] = "carsform"; $proto18["m_expr"]=$obj; $proto18["m_alias"] = ""; $obj = new SQLFieldListItem($proto18); $proto0["m_fieldlist"][]=$obj; $proto20=array(); $obj = new SQLField(array( "m_strName" => "phone", "m_strTable" => "carsform", "m_srcTableName" => "carsform" )); $proto20["m_sql"] = "phone"; $proto20["m_srcTableName"] = "carsform"; $proto20["m_expr"]=$obj; $proto20["m_alias"] = ""; $obj = new SQLFieldListItem($proto20); $proto0["m_fieldlist"][]=$obj; $proto22=array(); $obj = new SQLField(array( "m_strName" => "extension", "m_strTable" => "carsform", "m_srcTableName" => "carsform" )); $proto22["m_sql"] = "extension"; $proto22["m_srcTableName"] = "carsform"; $proto22["m_expr"]=$obj; $proto22["m_alias"] = ""; $obj = new SQLFieldListItem($proto22); $proto0["m_fieldlist"][]=$obj; $proto24=array(); $obj = new SQLField(array( "m_strName" => "tradein", "m_strTable" => "carsform", "m_srcTableName" => "carsform" )); $proto24["m_sql"] = "tradein"; $proto24["m_srcTableName"] = "carsform"; $proto24["m_expr"]=$obj; $proto24["m_alias"] = ""; $obj = new SQLFieldListItem($proto24); $proto0["m_fieldlist"][]=$obj; $proto26=array(); $obj = new SQLField(array( "m_strName" => "email", "m_strTable" => "carsform", "m_srcTableName" => "carsform" )); $proto26["m_sql"] = "email"; $proto26["m_srcTableName"] = "carsform"; $proto26["m_expr"]=$obj; $proto26["m_alias"] = ""; $obj = new SQLFieldListItem($proto26); $proto0["m_fieldlist"][]=$obj; $proto28=array(); $obj = new SQLField(array( "m_strName" => "car", "m_strTable" => "carsform", "m_srcTableName" => "carsform" )); $proto28["m_sql"] = "car"; $proto28["m_srcTableName"] = "carsform"; $proto28["m_expr"]=$obj; $proto28["m_alias"] = ""; $obj = new SQLFieldListItem($proto28); $proto0["m_fieldlist"][]=$obj; $proto0["m_fromlist"] = array(); $proto30=array(); $proto30["m_link"] = "SQLL_MAIN"; $proto31=array(); $proto31["m_strName"] = "carsform"; $proto31["m_srcTableName"] = "carsform"; $proto31["m_columns"] = array(); $proto31["m_columns"][] = "car"; $proto31["m_columns"][] = "city"; $proto31["m_columns"][] = "comments"; $proto31["m_columns"][] = "email"; $proto31["m_columns"][] = "extension"; $proto31["m_columns"][] = "firstname"; $proto31["m_columns"][] = "id"; $proto31["m_columns"][] = "lastname"; $proto31["m_columns"][] = "phone"; $proto31["m_columns"][] = "state"; $proto31["m_columns"][] = "tradein"; $proto31["m_columns"][] = "zip"; $obj = new SQLTable($proto31); $proto30["m_table"] = $obj; $proto30["m_sql"] = "carsform"; $proto30["m_alias"] = ""; $proto30["m_srcTableName"] = "carsform"; $proto32=array(); $proto32["m_sql"] = ""; $proto32["m_uniontype"] = "SQLL_UNKNOWN"; $obj = new SQLNonParsed(array( "m_sql" => "" )); $proto32["m_column"]=$obj; $proto32["m_contained"] = array(); $proto32["m_strCase"] = ""; $proto32["m_havingmode"] = false; $proto32["m_inBrackets"] = false; $proto32["m_useAlias"] = false; $obj = new SQLLogicalExpr($proto32); $proto30["m_joinon"] = $obj; $obj = new SQLFromListItem($proto30); $proto0["m_fromlist"][]=$obj; $proto0["m_groupby"] = array(); $proto0["m_orderby"] = array(); $proto0["m_srcTableName"]="carsform"; $obj = new SQLQuery($proto0); return $obj; } $queryData_carsform = createSqlQuery_carsform(); ; $tdatacarsform[".sqlquery"] = $queryData_carsform; include_once(getabspath("include/carsform_events.php")); $tableEvents["carsform"] = new eventclass_carsform; $tdatacarsform[".hasEvents"] = true; ?>