Skip to content

Instantly share code, notes, and snippets.

@Fi1osof Fi1osof/gist:c3aafeb797c20f370b73 Secret
Last active Dec 15, 2015

Embed
What would you like to do?
(ERROR @ /index.php)
SELECT `modResource`.`id`, `modResource`.`type`, `modResource`.`contentType`, `modResource`.`pagetitle`,
`modResource`.`longtitle`, `modResource`.`description`, `modResource`.`alias`, `modResource`.`link_attributes`,
`modResource`.`published`, `modResource`.`pub_date`, `modResource`.`unpub_date`, `modResource`.`parent`,
`modResource`.`isfolder`, `modResource`.`introtext`, `modResource`.`richtext`, `modResource`.`template`,
`modResource`.`menuindex`, `modResource`.`searchable`, `modResource`.`cacheable`, `modResource`.`createdby`,
`modResource`.`createdon`, `modResource`.`editedby`, `modResource`.`editedon`, `modResource`.`deleted`,
`modResource`.`deletedon`, `modResource`.`deletedby`, `modResource`.`publishedon`, `modResource`.`publishedby`,
`modResource`.`menutitle`, `modResource`.`donthit`, `modResource`.`privateweb`, `modResource`.`privatemgr`,
`modResource`.`content_dispo`, `modResource`.`hidemenu`, `modResource`.`class_key`, `modResource`.`context_key`,
`modResource`.`content_type`, `modResource`.`uri`, `modResource`.`uri_override`, `modResource`.`hide_children_in_tree`,
`modResource`.`show_in_tree`, `modResource`.`properties` FROM `modx_site_content` AS `modResource`
LEFT JOIN `modx_ms_modGoods` `ModGoods` ON ( ModGoods.gid = modResource.id AND ModGoods.wid = 1 )
WHERE (
( modResource.parent IN (0,1,2,3,4,5,6,7,8,9,10,11,12,17,79,80,5389,13,14,15,16,3911,83,84,86,87,88,89,92,93,94,95,96,97,98
,100,104,107,112,113,114,115,116,119,120,121,124,128,134,138,142,155,160,166,1165,1209,1210,1213,1237,1266,1292,1308,1324,
1334,1347,1349,1357,1362,1375,1388,1398,1416,1435,4988,4989,4992,4994,5005,5415,5804,5805,255,256,1074,1143,1144,1145,1146,
1147,4651,4652,4653,4654,4655,4656,4657,4658,4659,4660,4661,4662,4663,4769,295,303,405,411,458,502,508,552,553,579,580,581,
691,900,1041,1042,1073,1089,1090,1112,1744,1992,2111,2950,4677,5477,5588,5756,180,182,904,905,5276,1108,2112,4970,4974,5315,
423,424,425,426,427,428,1002,2198,3898,667,260,507,887,888,4804,5722,510,511,513,516,517,518,519,520,521,1055,1056,504,505,
762,763,764,896,901,902,1131,664,895,779,1097,1098,1099,1100,1136,3910,688,689,690,1075,1080,1082,1084,5070,5142,5637,5679,
246,322,323,328,329,330,331,332,333,335,336,338,339,5175,5176,5177,5179,5180,5181,5182,5183,5185,5186,5187,5266,5328,5329,
5335,5424,5427,5429,5430,5432,5433,5434,5435,5436,5437,5438,5439,5441,5443,5541,5542,5553,258,340,366,368,800,801,809,813,
814,894,898,899,1129,3133,3134,5195,5196,5628,5723,1158,1159,1590,3908,370,371,372,2697,2698,672,673,674,675,676,677,678,
679,681,682,683,684,685,4202,5069,5119,5791,5792,5793,5794,5795,309,311,314,317,319,451,452,453,930,931,932,933,934,943,
2364,5133,5134,5135,1215,4995,3833,3906,5698,181,376,380,383,385,386,387,388,389,903,906,916,917,919,920,4748,5414,390,
414,415,417,5638,5642,5644,5646,5647,5683,122,123,712,786,789,790,791,794,855,856,880,883,1040,1068,1092,1093,4747,5606,929,
125,126,127,229,230,232,233,234,235,236,237,239,240,241,242,244,5160,5161,5162,5163,5165,5807,291,738,739,741,852,853,935,
936,349,350,355,356,357,358,362,365,4094,4814,4816,4817,5190,5192,5193,5194,129,132,133,728,772,773,774,775,781,804,822,823,
850,5130,821,429,461,462,500,524,695,696,697,699,701,705,706,708,717,745,765,766,769,770,802,803,4730,135,136,137,421,422,
456,2771,1160,1162,1163,139,140,297,686,5202,143,144,145,146,147,148,149,150,151,4993,5157,1026,1027,211,212,213,217,218,
219,220,227,409,556,557,558,559,561,562,564,566,574,609,610,611,613,615,616,617,621,622,623,624,627,629,630,631,632,635,
638,639,640,641,642,643,1024,1030,1065,1448,1459,3431,4925,4930,4931,5355,5362,1045,1046,1047,1049,1052,1088,5289,269,271,
273,275,276,1070,5298,407,408,942,5343,528,560,279,583,584,668,1101,1102,1103,4906,4908,4912,4915,4916,4918,4922,5569,5570,
5571,5572,5573,5574,5575,5576,5577,5578,5242,5244,5245,5246,5248,156,157,159,188,197,198,203,204,734,736,849,857,968,969,
970,983,984,985,988,989,990,993,995,996,4753,4799,250,251,252,253,254,523,526,653,654,655,656,657,659,805,882,889,186,187,
189,190,191,192,200,201,206,277,527,955,957,959,960,961,962,963,964,965,966,967,971,972,973,974,975,986,994,1059,1061,4751,
4752,4754,130,161,162,163,164,165,796,797,798,884,1498,2019,2020,2021,897,4739,393,818,819,4742,296,394,1005,885,1036,1037,
289,290,727,742,743,866,867,4746,5123,106,131,167,168,169,170,171,401,261,454,644,662,718,835,839,892,1017,1018,1019,1020,
1091,1119,1122,1123,1124,1125,1126,1127,1128,1134,1150,1151,1152,1153,1154,2552,306,503,646,720,724,725,731,732,768,837,
844,2562,746,748,749,752,753,754,755,756,757,758,759,760,827,828,829,830,831,832,869,872,876,877,848,928,5132,399,1167,
1168,1169,1170,1171,1172,1174,3686,1201,1202,1185,1186,1178,1188,1199,3919,1197,1204,1206,1891,3249,3263,3264,3265,3310,
1187,1189,1193,1194,1195,1196,5778,3863,3865,3867,3868,1211,2193,2195,2196,847,945,947,951,952,953,3244,3336,3885,3888,
3889,4667,4749,4867,5000,5509,5559,5660,1238,1239,1240,1242,1441,1442,1443,1704,1705,1782,2204,2205,3039,3040,3041,3042,
3044,3051,3052,3060,3061,3062,3063,3064,3065,3071,3072,3073,3074,3078,3079,3080,3081,3095,3097,3098,3100,3101,3105,3107,
3108,3109,3115,3131,3132,3142,3143,3144,3172,3507,3508,3509,3511,3512,3513,3514,3515,3516,3517,3518,3520,3522,3523,3524,
3758,3759,4224,4673,4727,4731,4732,4733,4734,4735,4737,4762,4763,2437,2440,2441,2443,2447,2448,2449,2450,2451,3875,4692,
4693,4694,4695,4696,4697,4758,1773,1774,1775,1776,2389,2390,2401,2402,2403,2404,2405,2406,2407,2408,2409,2410,2412,2413,
2414,2685,3148,3318,3760,3812,3813,3814,3815,3816,3817,1600,1601,1602,1603,1634,1635,1662,1717,1719,1720,1722,1777,1819,
1858,2777,2964,2965,2966,3136,3313,3426,3427,3439,3440,3451,3525,3526,3527,3528,3662,3663,3730,3731,3732,3733,3734,3735,
3736,3737,3738,3739,3740,3741,3742,3808,3819,3834,3842,3843,3912,3913,3914,3915,3916,3918,4086,4775,243,1267,1269,1270,
1271,1272,1273,1274,1275,1276,1284,5772,2346,2348,3504,2260,2261,2263,5207,1843,1923,1954,1955,1958,1960,1961,1962,1963,
1964,1965,1966,1967,1968,1969,1970,1972,1973,2391,2392,2393,2394,2395,2396,2397,2398,2399,2400,2689,3836,3896,2349,2351,
2353,2354,2355,2356,2357,2039,2040,2041,2042,2043,2044,2050,2051,2052,2053,2054,2056,2058,2059,2060,2061,2062,2063,2064,
2065,2066,2070,2071,2072,2073,2076,2077,2078,2080,2081,2082,2085,2086,2087,2088,2089,2090,2091,2092,2093,2094,2120,5776,
439,440,441,442,2226,3127,3128,3191,4670,5775,2015,1277,1278,1279,1280,1282,1283,2218,2200,2247,2251,2345,4686,2342,2343,
178,446,447,1281,2223,2230,2234,2236,2238,2240,2242,2243,2244,2245,2267,2268,2270,2271,2273,2276,2277,2279,2280,2281,2283,
2284,2285,2286,2287,2288,2289,2290,2291,2293,2294,2295,2296,2299,2300,2301,2302,2308,2311,2313,2314,2315,2316,2321,2322,
2323,2326,2327,2328,2329,2330,2332,2333,2334,2335,2336,2337,3917,4136,4684,4685,4687,4688,5609,2208,2338,433,434,435,436,
437,2781,5376,2213,2256,2257,2258,2259,1285,1288,1289,1290,1291,2375,2381,2378,2379,2382,2376,2380,3359,293,1293,1296,1297,
1298,1299,1300,1301,1302,1303,1304,1305,1306,1307,1544,1546,1547,1549,1550,1551,1552,1553,1554,1555,1556,1557,2873,2893,
2894,3120,3751,4650,4755,2678,3137,3157,3158,5224,5225,3715,1468,1484,1485,1575,1702,1707,1710,1737,1738,1740,1812,1863,
1864,1865,1866,1867,1868,1869,1870,1872,1873,1919,2024,2248,2249,2387,2388,2695,2718,2816,2871,2872,2899,2910,3151,3152,
3153,3154,3155,3156,3193,3317,3352,3353,3355,3429,3430,3671,3672,3775,3776,3777,3809,4680,4691,4767,4774,4788,4789,4790,
4791,4810,4812,4813,4854,4968,4973,4980,4996,5170,5306,5767,5771,5786,3139,4883,4884,4886,4887,4888,4889,4891,4892,4893,
4894,2898,3106,3184,3186,3340,3341,3344,3346,3347,3348,3349,3350,3371,3378,3379,3384,3386,3390,3394,3682,5781,3364,3365,
3366,3367,3368,3373,3374,3375,3376,3380,3382,3383,3385,3387,3388,3389,1566,1567,1570,1571,1572,1573,1739,1830,1953,2220,
2227,2946,3066,3110,3135,4807,4885,4975,5096,5098,5099,5100,5101,5102,5103,5104,5105,5106,5107,5118,5121,5124,5125,5126,
5127,5128,5129,5139,5140,5141,5143,5204,5205,5206,5271,...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.