"PHP" / Говнокод #21262 Ссылка на оригинал

0

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  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
$list = array(
1 => "panel1",
2 => "panel3",
3 => "opt",
4 => "listBox1",
);
//-----------------------------
$x = $list[1];
$dev_w = file_get_contents ("dev/".$x."_w.ini");
c($list[1])->w = $dev_w;
$dev_h = file_get_contents ("dev/".$x."_h.ini");
c($list[1])->h = $dev_h;

$x = $list[2];
$dev_w = file_get_contents ("dev/".$x."_w.ini");
c($list[2])->w = $dev_w;
$dev_h = file_get_contents ("dev/".$x."_h.ini");
c($list[2])->h = $dev_h;

$x = $list[3];
$dev_w = file_get_contents ("dev/".$x."_w.ini");
c($list[3])->w = $dev_w;
$dev_h = file_get_contents ("dev/".$x."_h.ini");
c($list[3])->h = $dev_h;

$x = $list[4];
$dev_w = file_get_contents ("dev/".$x."_w.ini");
c($list[4])->w = $dev_w;
$dev_h = file_get_contents ("dev/".$x."_h.ini");
c($list[4])->h = $dev_h;

Запись в текстовые файлы информацию о позиции объектов (X и Y)

Запостил: NodnolStudio NodnolStudio, (Updated )

Комментарии (3) RSS

  • php govno sam po sebe. Etot ge kod eshe i pokazivaet chto u ero avtopa pyki is zopj rastut. Bagor Bagoris!!!!!
    Ответить
    • Не от пхп а от пхпшников. А вообще лабами попахивает.
      Ответить

Добавить комментарий

Где здесь C++, guest?!

    А не использовать ли нам bbcode?


    8