1. Поиск говнокода

    Этот поиск практически ничего не может найти! Но вы всё-таки попытайтесь, вдруг повезет.

    Найдено: 72

  2. PHP / Говнокод #438

    +24

    1. 001
    2. 002
    3. 003
    4. 004
    5. 005
    6. 006
    7. 007
    8. 008
    9. 009
    10. 010
    11. 011
    12. 012
    13. 013
    14. 014
    15. 015
    16. 016
    17. 017
    18. 018
    19. 019
    20. 020
    21. 021
    22. 022
    23. 023
    24. 024
    25. 025
    26. 026
    27. 027
    28. 028
    29. 029
    30. 030
    31. 031
    32. 032
    33. 033
    34. 034
    35. 035
    36. 036
    37. 037
    38. 038
    39. 039
    40. 040
    41. 041
    42. 042
    43. 043
    44. 044
    45. 045
    46. 046
    47. 047
    48. 048
    49. 049
    50. 050
    51. 051
    52. 052
    53. 053
    54. 054
    55. 055
    56. 056
    57. 057
    58. 058
    59. 059
    60. 060
    61. 061
    62. 062
    63. 063
    64. 064
    65. 065
    66. 066
    67. 067
    68. 068
    69. 069
    70. 070
    71. 071
    72. 072
    73. 073
    74. 074
    75. 075
    76. 076
    77. 077
    78. 078
    79. 079
    80. 080
    81. 081
    82. 082
    83. 083
    84. 084
    85. 085
    86. 086
    87. 087
    88. 088
    89. 089
    90. 090
    91. 091
    92. 092
    93. 093
    94. 094
    95. 095
    96. 096
    97. 097
    98. 098
    99. 099
    100. 100
    <?
    $arrSaveColor[0] = "CCCCCC";
    $arrSaveColor[1] = "999999";
    $arrSaveColor[2] = "FF0000";
    $arrSaveColor[3] = "FF3333";
    $arrSaveColor[4] = "CC0000";
    $arrSaveColor[5] = "FF6666";
    $arrSaveColor[6] = "CC3333";
    $arrSaveColor[7] = "990000";
    $arrSaveColor[8] = "FF9999";
    $arrSaveColor[9] = "CC6666";
    $arrSaveColor[10] = "993333";
    $arrSaveColor[11] = "FFCCCC";
    $arrSaveColor[12] = "CC9999";
    $arrSaveColor[13] = "996666";
    $arrSaveColor[14] = "FF3300";
    $arrSaveColor[15] = "FF6633";
    $arrSaveColor[16] = "CC3300";
    $arrSaveColor[17] = "FF9966";
    $arrSaveColor[18] = "CC6633";
    $arrSaveColor[19] = "993300";
    $arrSaveColor[20] = "FF6600";
    $arrSaveColor[21] = "FF9933";
    $arrSaveColor[22] = "CC6600";
    $arrSaveColor[23] = "FFCC99";
    $arrSaveColor[24] = "CC9966";
    $arrSaveColor[25] = "996633";
    $arrSaveColor[26] = "FF9900";
    $arrSaveColor[27] = "FFCC66";
    $arrSaveColor[28] = "CC9933";
    $arrSaveColor[29] = "996600";
    $arrSaveColor[30] = "CC9900";
    $arrSaveColor[31] = "FFCC33";
    $arrSaveColor[32] = "FFCC00";
    $arrSaveColor[33] = "FFFF00";
    $arrSaveColor[34] = "FFFF33";
    $arrSaveColor[35] = "CCCC00";
    $arrSaveColor[36] = "FFFF66";
    $arrSaveColor[37] = "CCCC33";
    $arrSaveColor[38] = "999900";
    $arrSaveColor[39] = "FFFF99";
    $arrSaveColor[40] = "CCCC66";
    $arrSaveColor[41] = "999933";
    $arrSaveColor[42] = "FFFFCC";
    $arrSaveColor[43] = "CCCC99";
    $arrSaveColor[44] = "999966";
    $arrSaveColor[45] = "A2CA00";
    $arrSaveColor[46] = "CCFF33";
    $arrSaveColor[47] = "99CC00";
    $arrSaveColor[48] = "CCFF66";
    $arrSaveColor[49] = "99CC33";
    $arrSaveColor[50] = "669900";
    $arrSaveColor[51] = "99FF00";
    $arrSaveColor[52] = "99FF33";
    $arrSaveColor[53] = "66CC00";
    $arrSaveColor[54] = "73E600";
    $arrSaveColor[55] = "99CC66";
    $arrSaveColor[56] = "669933";
    $arrSaveColor[57] = "66FF00";
    $arrSaveColor[58] = "99FF66";
    $arrSaveColor[59] = "66CC33";
    $arrSaveColor[60] = "339900";
    $arrSaveColor[61] = "66FF33";
    $arrSaveColor[62] = "33CC00";
    $arrSaveColor[63] = "33FF00";
    $arrSaveColor[64] = "00FF00";
    $arrSaveColor[65] = "33FF33";
    $arrSaveColor[66] = "00CC00";
    $arrSaveColor[67] = "66FF66";
    $arrSaveColor[68] = "33CC33";
    $arrSaveColor[69] = "009900";
    $arrSaveColor[70] = "99FF99";
    $arrSaveColor[71] = "66CC66";
    $arrSaveColor[72] = "339933";
    $arrSaveColor[73] = "00AA00";
    $arrSaveColor[74] = "99CC99";
    $arrSaveColor[75] = "669966";
    $arrSaveColor[76] = "00FF33";
    $arrSaveColor[77] = "33FF66";
    $arrSaveColor[78] = "00CC33";
    $arrSaveColor[79] = "66FF99";
    $arrSaveColor[80] = "33CC66";
    $arrSaveColor[81] = "009933";
    $arrSaveColor[82] = "00FF66";
    $arrSaveColor[83] = "33FF99";
    $arrSaveColor[84] = "00CC66";
    $arrSaveColor[85] = "99FFCC";
    $arrSaveColor[86] = "66CC99";
    $arrSaveColor[87] = "339966";
    $arrSaveColor[88] = "00FF99";
    $arrSaveColor[89] = "66FFCC";
    $arrSaveColor[90] = "33CC99";
    $arrSaveColor[91] = "009966";
    $arrSaveColor[92] = "33FFCC";
    $arrSaveColor[93] = "00CC99";
    $arrSaveColor[94] = "00FFCC";
    $arrSaveColor[95] = "00FFFF";
    $arrSaveColor[96] = "33FFFF";
    $arrSaveColor[97] = "00CCCC";
    $arrSaveColor[98] = "66FFFF";

    govnoBitrix again

    guest, 22 Января 2009

    Комментарии (8)
  3. SQL / Говнокод #221

    −352.3

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    18. 18
    19. 19
    20. 20
    21. 21
    22. 22
    23. 23
    24. 24
    25. 25
    26. 26
    27. 27
    28. 28
    29. 29
    30. 30
    31. 31
    32. 32
    33. 33
    34. 34
    35. 35
    36. 36
    37. 37
    38. 38
    39. 39
    40. 40
    41. 41
    42. 42
    43. 43
    44. 44
    45. 45
    46. 46
    47. 47
    48. 48
    49. 49
    50. 50
    51. 51
    52. 52
    53. 53
    54. 54
    55. 55
    56. 56
    57. 57
    58. 58
    59. 59
    60. 60
    61. 61
    62. 62
    63. 63
    64. 64
    65. 65
    66. 66
    67. 67
    68. 68
    69. 69
    70. 70
    71. 71
    72. 72
    73. 73
    74. 74
    75. 75
    76. 76
    77. 77
    78. 78
    79. 79
    80. 80
    81. 81
    82. 82
    83. 83
    84. 84
    85. 85
    86. 86
    87. 87
    88. 88
    SELECT DISTINCT BE.ID as ID,BE.NAME as NAME,BE.CODE as CODE,BE.IBLOCK_ID as
    IBLOCK_ID,BE.IBLOCK_SECTION_ID as IBLOCK_SECTION_ID,B.DETAIL_PAGE_URL as
    DETAIL_PAGE_URL,BE.DETAIL_TEXT as DETAIL_TEXT,BE.DETAIL_TEXT_TYPE as
    DETAIL_TEXT_TYPE,BE.DETAIL_PICTURE as DETAIL_PICTURE,BE.PREVIEW_TEXT as
    PREVIEW_TEXT,BE.PREVIEW_TEXT_TYPE as PREVIEW_TEXT_TYPE,BE.PREVIEW_PICTURE as
    PREVIEW_PICTURE,L.DIR as LANG_DIR,BE.XML_ID as EXTERNAL_ID,B.IBLOCK_TYPE_ID as
    IBLOCK_TYPE_ID,B.CODE as IBLOCK_CODE,B.XML_ID as IBLOCK_EXTERNAL_ID FROM
    b_iblock B INNER JOIN b_lang L ON B.LID=L.LID INNER JOIN b_iblock_element BE
    ON BE.IBLOCK_ID = B.ID INNER JOIN b_iblock_section_element BSE ON
    BSE.IBLOCK_ELEMENT_ID = BE.ID INNER JOIN b_iblock_section BSubS ON
    BSE.IBLOCK_SECTION_ID = BSubS.ID INNER JOIN b_iblock_section BS ON
    (BSubS.IBLOCK_ID=BS.IBLOCK_ID AND BSubS.LEFT_MARGIN>=BS.LEFT_MARGIN AND
    BSubS.RIGHT_MARGIN<=BS.RIGHT_MARGIN) INNER JOIN b_iblock_property FP1 ON
    FP1.IBLOCK_ID=B.ID AND FP1.CODE='code2' INNER JOIN b_iblock_element_property
    FPV1 ON FP1.ID=FPV1.IBLOCK_PROPERTY_ID AND FPV1.IBLOCK_ELEMENT_ID=BE.ID INNER
    JOIN b_iblock_property FP2 ON FP2.IBLOCK_ID=B.ID AND FP2.CODE='code3' INNER
    JOIN b_iblock_element_property FPV2 ON FP2.ID=FPV2.IBLOCK_PROPERTY_ID AND
    FPV2.IBLOCK_ELEMENT_ID=BE.ID INNER JOIN b_iblock_property FP3 ON
    FP3.IBLOCK_ID=B.ID AND FP3.CODE='code4' INNER JOIN b_iblock_element_property
    FPV3 ON FP3.ID=FPV3.IBLOCK_PROPERTY_ID AND FPV3.IBLOCK_ELEMENT_ID=BE.ID INNER
    JOIN b_iblock_property FP4 ON FP4.IBLOCK_ID=B.ID AND FP4.CODE='code5' INNER
    JOIN b_iblock_element_property FPV4 ON FP4.ID=FPV4.IBLOCK_PROPERTY_ID AND
    FPV4.IBLOCK_ELEMENT_ID=BE.ID INNER JOIN b_iblock_property FP5 ON
    FP5.IBLOCK_ID=B.ID AND FP5.CODE='code7' INNER JOIN b_iblock_element_property
    FPV5 ON FP5.ID=FPV5.IBLOCK_PROPERTY_ID AND FPV5.IBLOCK_ELEMENT_ID=BE.ID INNER
    JOIN b_iblock_property FP6 ON FP6.IBLOCK_ID=B.ID AND FP6.CODE='code9' INNER
    JOIN b_iblock_element_property FPV6 ON FP6.ID=FPV6.IBLOCK_PROPERTY_ID AND
    FPV6.IBLOCK_ELEMENT_ID=BE.ID INNER JOIN b_iblock_property FP7 ON
    FP7.IBLOCK_ID=B.ID AND FP7.CODE='code12' INNER JOIN b_iblock_element_property
    FPV7 ON FP7.ID=FPV7.IBLOCK_PROPERTY_ID AND FPV7.IBLOCK_ELEMENT_ID=BE.ID INNER
    JOIN b_iblock_property FP8 ON FP8.IBLOCK_ID=B.ID AND FP8.CODE='code15' INNER
    JOIN b_iblock_element_property FPV8 ON FP8.ID=FPV8.IBLOCK_PROPERTY_ID AND
    FPV8.IBLOCK_ELEMENT_ID=BE.ID INNER JOIN b_iblock_property FP9 ON
    FP9.IBLOCK_ID=B.ID AND FP9.CODE='code16' INNER JOIN b_iblock_element_property
    FPV9 ON FP9.ID=FPV9.IBLOCK_PROPERTY_ID AND FPV9.IBLOCK_ELEMENT_ID=BE.ID INNER
    JOIN b_iblock_property FP10 ON FP10.IBLOCK_ID=B.ID AND FP10.CODE='code18'
    INNER JOIN b_iblock_element_property FPV10 ON FP10.ID=FPV10.IBLOCK_PROPERTY_ID
    AND FPV10.IBLOCK_ELEMENT_ID=BE.ID INNER JOIN b_iblock_property FP11 ON
    FP11.IBLOCK_ID=B.ID AND FP11.CODE='code23' INNER JOIN
    b_iblock_element_property FPV11 ON FP11.ID=FPV11.IBLOCK_PROPERTY_ID AND
    FPV11.IBLOCK_ELEMENT_ID=BE.ID INNER JOIN b_iblock_property FP12 ON
    FP12.IBLOCK_ID=B.ID AND FP12.CODE='code26' INNER JOIN
    b_iblock_element_property FPV12 ON FP12.ID=FPV12.IBLOCK_PROPERTY_ID AND
    FPV12.IBLOCK_ELEMENT_ID=BE.ID INNER JOIN b_iblock_property FP13 ON
    FP13.IBLOCK_ID=B.ID AND FP13.CODE='code27' INNER JOIN
    b_iblock_element_property FPV13 ON FP13.ID=FPV13.IBLOCK_PROPERTY_ID AND
    FPV13.IBLOCK_ELEMENT_ID=BE.ID INNER JOIN b_iblock_property FP14 ON
    FP14.IBLOCK_ID=B.ID AND FP14.CODE='code32' INNER JOIN
    b_iblock_element_property FPV14 ON FP14.ID=FPV14.IBLOCK_PROPERTY_ID AND
    FPV14.IBLOCK_ELEMENT_ID=BE.ID INNER JOIN b_iblock_property FP15 ON
    FP15.IBLOCK_ID=B.ID AND FP15.CODE='code34' INNER JOIN
    b_iblock_element_property FPV15 ON FP15.ID=FPV15.IBLOCK_PROPERTY_ID AND
    FPV15.IBLOCK_ELEMENT_ID=BE.ID WHERE 1=1 AND B.ID IN (0,42) AND (
    (BE.WF_STATUS_ID=1 AND BE.WF_PARENT_ELEMENT_ID IS NULL) ) AND ((((
    (upper(BE.NAME) like upper('%acer7730G%') and BE.NAME is not null) )))) AND
    (((( (upper(FPV1.VALUE) like upper('%Intel%') and FPV1.VALUE is not null) AND
    (upper(FPV1.VALUE) like upper('%Core2Duo%') and FPV1.VALUE is not null) AND
    (upper(FPV1.VALUE) like upper('%T5850%') and FPV1.VALUE is not null) AND
    (upper(FPV1.VALUE) like upper('%2.16GHz%') and FPV1.VALUE is not null) ))))
    AND (((( (upper(FPV2.VALUE) like upper('%4096Mb%') and FPV2.VALUE is not null)
    AND ( (upper(FPV2.VALUE) like upper('%4Gb%') and FPV2.VALUE is not null) ) AND
    (upper(FPV2.VALUE) like upper('%DDRII%') and FPV2.VALUE is not null) )))) AND
    (((( (upper(FPV3.VALUE) like upper('%2x320Gb%') and FPV3.VALUE is not null)
    AND (upper(FPV3.VALUE) like upper('%5400rpm%') and FPV3.VALUE is not null) AND
    (upper(FPV3.VALUE) like upper('%SATA%') and FPV3.VALUE is not null) )))) AND
    (((( (upper(FPV4.VALUE) like upper('%17%') and FPV4.VALUE is not null) ))))
    AND (((( (upper(FPV5.VALUE) like upper('%??%') and FPV5.VALUE is not null)
    )))) AND (((( (upper(FPV6.VALUE) like upper('%64Mb%') and FPV6.VALUE is not
    null) AND ( (upper(FPV6.VALUE) like upper('%??%') and FPV6.VALUE is not null)
    AND (upper(FPV6.VALUE) like upper('%958Mb%') and FPV6.VALUE is not null) )))))
    AND (((( (upper(FPV7.VALUE) like upper('%??%') and FPV7.VALUE is not null)
    )))) AND (((( (upper(FPV8.VALUE) like upper('%Bluetooth%') and FPV8.VALUE is
    not null) AND (upper(FPV8.VALUE) like upper('%V2.0%') and FPV8.VALUE is not
    null) AND (upper(FPV8.VALUE) like upper('%EDR%') and FPV8.VALUE is not null)
    )))) AND (((( (upper(FPV9.VALUE) like upper('%4%') and FPV9.VALUE is not null)
    )))) AND (((( (upper(FPV10.VALUE) like upper('%??%') and FPV10.VALUE is not
    null) )))) AND (((( (upper(FPV11.VALUE) like upper('%??%') and FPV11.VALUE is
    not null) )))) AND (((( (upper(FPV12.VALUE) like upper('%??%') and FPV12.VALUE
    is not null) )))) AND (((( (upper(FPV13.VALUE) like upper('%WebCam%') and
    FPV13.VALUE is not null) AND (upper(FPV13.VALUE) like upper('%1,3Mpx%') and
    FPV13.VALUE is not null) )))) AND (((( (upper(FPV14.VALUE) like
    upper('%?????%') and FPV14.VALUE is not null) )))) AND ((((
    (upper(FPV15.VALUE) like upper('%12%') and FPV15.VALUE is not null) AND
    (upper(FPV15.VALUE) like upper('%???????%') and FPV15.VALUE is not null) ))))
    AND ((((BE.IBLOCK_ID = '42')))) AND (((BE.ACTIVE_TO >= now() OR BE.ACTIVE_TO
    IS NULL) AND (BE.ACTIVE_FROM <= now() OR BE.ACTIVE_FROM IS NULL))) AND
    ((((BE.ACTIVE='Y')))) AND ((BS.ID = 224)) ORDER BY BE.SORT asc , BE.ID desc
    LIMIT 0, 30

    Битрикс (http://dev.1c-bitrix.ru/community/forums/forum6/topic14898/)

    guest, 19 Декабря 2008

    Комментарии (34)