1. Список говнокодов пользователя vasya1

    Всего: 2

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

    +150

    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
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Scouting table</title>
    </head>
    <?php
    $t=floor((time()-1286582400)/86400);
    $a=17+floor($t/112);
    $b=(($t/112)-(floor($t/112)))*112;
    $c=17+floor(($t+1)/112);
    $d=((($t+1)/112)-(floor(($t+1)/112)))*112;
    $e=$a+1;
    $f=$e+1;
    {echo
    ("<table align=\"center\" border=\"1\">
      <tr align=\"center\">
        <td>Scouting table</td><td colspan=\"3\"> Scout by age</td>
      </tr>
       <tr align=\"center\">
        <td>Position</td><td>WC17 - 17 years 0 days - $a years $b days</td><td>WC16 - $c years $d days - $e years $b days</td><td>WC15 - $f years $d days - 20 years 111 days</td>
      </tr>
      <tr align=\"center\">
        <td>Goalkeepers</td><td>***** <a href=\"http://www.hattrick.org/Club/?TeamID=*****\">(*****)</a></td><td>*****<a href=\"http://www.hattrick.org/Club/?TeamID=*****\">(*****)</a></td><td>*****<a href=\"http://www.hattrick.org/Club/?TeamID=*****\">(*****)</a></td>
      </tr>
      <tr align=\"center\">
        <td>Defenders</td><td>***** <a href=\"http://www.hattrick.org/Club/?TeamID=*****\">(*****)</a></td><td>*****<a href=\"http://www.hattrick.org/Club/?TeamID=*****\">(*****)</a></td><td>*****<a href=\"http://www.hattrick.org/Club/?TeamID=*****\">(*****)</a></td>
      </tr>
      <tr align=\"center\">
        <td>Playmakers</td><td>*****<a href=\"http://www.hattrick.org/Club/?TeamID=*****\">(*****)</a></td><td>*****<a href=\"http://www.hattrick.org/Club/?TeamID=*****\">(*****)</a></td><td>*****<a href=\"http://www.hattrick.org/Club/?TeamID=*****\">(*****)</a></td>
      </tr>
      <tr align=\"center\">
        <td>Wingers</td><td>*****<a href=\"http://www.hattrick.org/Club/?TeamID=*****\">(*****)</a></td><td>*****<a href=\"http://www.hattrick.org/Club/?TeamID=*****\">(*****)</a></td><td>***** <a href=\"http://www.hattrick.org/Club/?TeamID=*****\">(*****)</a></td>
      </tr>
      <tr align=\"center\">
        <td>Forwards</td><td>*****<a href=\"http://www.hattrick.org/Club/?TeamID=*****\">(*****)</a></td><td>*****<a href=\"http://www.hattrick.org/Club/?TeamID=*****\">(*****)</a></td><td>*****<a href=\"http://www.hattrick.org/Club/?TeamID=*****\">(*****)</a></td>
      </tr>
    </table>
    <table align=\"center\">
      <tr align=\"center\">
        <td>Chief Scout: *****<a href=\"http://www.hattrick.org/Club/?TeamID=*****\">(*****)</a></td>
        </tr>
    </table>");}
    ?>
    
    <body>
    </body>
    </html>

    Вместо звездочек строки html) Замазал)

    vasya1, 16 Декабря 2010

    Комментарии (15)
  3. JavaScript / Говнокод #4928

    +168

    1. 1
    var this_id = this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.id.split('_')[1];

    Нашел такой код, минуты 2-е пытался понять что это такое, новые фичи прототайпа или я что-то пропустил в это жизни?

    vasya1, 15 Декабря 2010

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