Yêu cầuTôi Đã Tạo Ra Quả Code Siêu TO KHỔNG LỒ Khiến Mọi Người Phải Trầm Cảm

12.07.2021 / 21:11
hoangchan
Bài đăng: 109
Member
Samsung j2

HÌNH ẢNH

[IMAGE]

CODE

PHP
  1. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
  2. <!--nhập vào-->
  3. <span style="color: red"><b>Nhập dữ liệu</b>: </span><input type="text" id="MainContent_txtDan" style="text-align:center">
  4.  
  5. <!--hiển thị-->
  6.  
  7. <table id="MainContent_Table" style="width:100%;">
  8. <td style="width:20%;"><input type="submit" value="Kết quả" id="MainContent_btnCreate1"></td>
  9.  
  10. </table>
  11. <td style="width:100%;"><textarea rows="2" cols="20" id="MainContent_txtDan1" style="font-size:Large;height:95px;width:99%;"></textarea></td>
  12. <script>
  13. $('#MainContent_btnCreate1').on('click',() => {
  14. var text = Number($('#MainContent_txtDan').val());
  15. if(text == '01') { text = '02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  16. else if (text == '10') {text = '02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  17. else if (text == '29') {text = '02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  18. else if (text == '92') {text = '02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  19. else if (text == '38') {text = '02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  20. else if (text == '83') {text = '02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  21. else if (text == '47') {text = '02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  22. else if (text == '74') {text = '02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  23. else if (text == '56') {text = '02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  24. else if (text == '65') {text = '02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  25. else if (text == '07') {text = '02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  26. else if (text == '70') {text = '02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  27. else if (text == '16') {text = '02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  28. else if (text == '61') {text = '02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  29. else if (text == '25') {text = '02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  30. else if (text == '52') {text = '02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  31. else if (text == '34') {text = '02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  32. else if (text == '43') {text = '02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  33. else if (text == '98') {text = '02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  34. else if (text == '89') {text = '02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  35. else if (text == '02') {text = '04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90,01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97';}
  36. else if (text == '20') {text = '04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90,01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97';}
  37. else if (text == '11') {text = '04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90,01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97';}
  38. else if (text == '66') {text = '04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90,01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97';}
  39. else if (text == '39') {text = '04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90,01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97';}
  40. else if (text == '93') {text = '04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90,01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97';}
  41. else if (text == '48') {text = '04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90,01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97';}
  42. else if (text == '84') {text = '04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90,01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97';}
  43. else if (text == '57') {text = '04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90,01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97';}
  44. else if (text == '75') {text = '04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90,01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97';}
  45. else if (text == '05') {text = '04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90,01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97';}
  46. else if (text == '50') {text = '04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90,01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97';}
  47. else if (text == '14') {text = '04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90,01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97';}
  48. else if (text == '41') {text = '04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90,01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97';}
  49. else if (text == '23') {text = '04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90,01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97';}
  50. else if (text == '32') {text = '04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90,01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97';}
  51. else if (text == '69') {text = '04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90,01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97';}
  52. else if (text == '96') {text = '04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90,01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97';}
  53. else if (text == '78') {text = '04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90,01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97';}
  54. else if (text == '87') {text = '04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90,01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97';}
  55. else if (text == '03') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  56. else if (text == '30') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  57. else if (text == '12') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  58. else if (text == '21') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  59. else if (text == '49') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  60. else if (text == '94') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  61. else if (text == '58') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  62. else if (text == '85') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  63. else if (text == '76') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  64. else if (text == '67') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  65. else if (text == '08') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  66. else if (text == '80') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  67. else if (text == '17') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  68. else if (text == '71') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  69. else if (text == '26') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  70. else if (text == '62') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  71. else if (text == '53') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  72. else if (text == '35') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  73. else if (text == '44') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  74. else if (text == '99') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  75. else if (text == '40') {text = '01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97,03,12,21,30,49,58,67,76,85,94,08,17,26,35,44,53,62,71,80,99';}
  76. else if (text == '04') {text = '01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97,03,12,21,30,49,58,67,76,85,94,08,17,26,35,44,53,62,71,80,99';}
  77. else if (text == '13') {text = '01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97,03,12,21,30,49,58,67,76,85,94,08,17,26,35,44,53,62,71,80,99';}
  78. else if (text == '31') {text = '01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97,03,12,21,30,49,58,67,76,85,94,08,17,26,35,44,53,62,71,80,99';}
  79. else if (text == '22') {text = '01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97,03,12,21,30,49,58,67,76,85,94,08,17,26,35,44,53,62,71,80,99';}
  80. else if (text == '77') {text = '01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97,03,12,21,30,49,58,67,76,85,94,08,17,26,35,44,53,62,71,80,99';}
  81. else if (text == '59') {text = '01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97,03,12,21,30,49,58,67,76,85,94,08,17,26,35,44,53,62,71,80,99';}
  82. else if (text == '95') {text = '01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97,03,12,21,30,49,58,67,76,85,94,08,17,26,35,44,53,62,71,80,99';}
  83. else if (text == '86') {text = '01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97,03,12,21,30,49,58,67,76,85,94,08,17,26,35,44,53,62,71,80,99';}
  84. else if (text == '68') {text = '01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97,03,12,21,30,49,58,67,76,85,94,08,17,26,35,44,53,62,71,80,99';}
  85. else if (text == '06') {text = '03,12,21,30,49,58,67,76,85,94,08,17,26,35,44,53,62,71,80,99,00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96';}
  86. else if (text == '60') {text = '03,12,21,30,49,58,67,76,85,94,08,17,26,35,44,53,62,71,80,99,00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96';}
  87. else if (text == '15') {text = '03,12,21,30,49,58,67,76,85,94,08,17,26,35,44,53,62,71,80,99,00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96';}
  88. else if (text == '51') {text = '03,12,21,30,49,58,67,76,85,94,08,17,26,35,44,53,62,71,80,99,00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96';}
  89. else if (text == '33') {text = '03,12,21,30,49,58,67,76,85,94,08,17,26,35,44,53,62,71,80,99,00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96';}
  90. else if (text == '88') {text = '03,12,21,30,49,58,67,76,85,94,08,17,26,35,44,53,62,71,80,99,00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96';}
  91. else if (text == '24') {text = '03,12,21,30,49,58,67,76,85,94,08,17,26,35,44,53,62,71,80,99,00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96';}
  92. else if (text == '42') {text = '03,12,21,30,49,58,67,76,85,94,08,17,26,35,44,53,62,71,80,99,00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96';}
  93. else if (text == '79') {text = '03,12,21,30,49,58,67,76,85,94,08,17,26,35,44,53,62,71,80,99,00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96';}
  94. else if (text == '97') {text = '03,12,21,30,49,58,67,76,85,94,08,17,26,35,44,53,62,71,80,99,00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96';}
  95. else if (text == '09') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  96. else if (text == '90') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  97. else if (text == '18') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  98. else if (text == '81') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  99. else if (text == '27') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  100. else if (text == '72') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  101. else if (text == '36') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  102. else if (text == '63') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  103. else if (text == '45') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  104. else if (text == '54') {text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';}
  105. else if (text == '00') {text = '01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  106. else if (text == '55') {text = '01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  107. else if (text == '19') {text = '01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  108. else if (text == '91') {text = '01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  109. else if (text == '28') {text = '01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  110. else if (text == '82') {text = '01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  111. else if (text == '37') {text = '01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  112. else if (text == '73') {text = '01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  113. else if (text == '46') {text = '01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  114. else if (text == '64') {text = '01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';}
  115.  
  116. $('#MainContent_txtDan1').val(text);
  117. })
  118. </script>

BẢN JS

Chưa có
13.07.2021 / 03:12
hoangchan
Bài đăng: 109
Member
Samsung j2

@Treasure là đoạn này

PHP
  1. var value = ['01','10','29','38','47','56','65','74','83','92','07','16','25','34','43','52','61','70','89','98'];
  2. for(i = 0;i <= value.length;i++){
  3. if(text = value[i]){
  4. text = '02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';
  5. }
  6. }
  7.  
  8. var value = ['00','19','28','37','46','55','64','73','82','91'];
  9. for(i = 0;i <= value.length;i++){
  10. if(text == value[i]){
  11. text = '01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';
  12. }
  13. }
  14.  
  15. var value = ['02','11','20','39','48','57','66','75','84','93','05','14','23','32','41','50','69','78','87','96'];
  16. for(i = 0;i <= value.length;i++){
  17. if(text == value[i]){
  18. text = '04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90,01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97';
  19. }
  20. }
  21.  
  22. var value = ['03','12','21','30','49','58','67','76','85','94','08','17','26','35','44','53','62','71','80','99'];
  23. for(i = 0;i <= value.length;i++){
  24. if(text == value[i]){
  25. text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';
  26. }
  27. }
  28.  
  29. var value = ['04','13','22','31','40','59','68','77','86','95'];
  30. for(i = 0;i <= value.length;i++){
  31. if(text == value[i]){
  32. text = '01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97,03,12,21,30,49,58,67,76,85,94,08,17,26,35,44,53,62,71,80,99';
  33. }
  34. }
  35.  
  36. var value = ['06','15','24','33','42','51','60','79','88','97'];
  37. for(i = 0;i <= value.length;i++){
  38. if(text == value[i]){
  39. text = '03,12,21,30,49,58,67,76,85,94,08,17,26,35,44,53,62,71,80,99,00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96';
  40. }
  41. }
  42.  
  43. var value = ['09','18','27','36','45','54','63','72','81','90'];
  44. for(i = 0;i <= value.length;i++){
  45. if(text == value[i]){
  46. text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';
  47. }
  48. }
Đã chỉnh sửa. hoangchan (13.07.2021 / 03:14)
13.07.2021 / 09:07
Poker
Bài đăng: 48
Member

nhìn code của ông nản đéo tả đc

13.07.2021 / 10:15
Treasure
Bài đăng: 68
Member
Tứ Phương Thất Bại
hoangchan đã viết

@Treasure là đoạn này

PHP
  1. var value = ['01','10','29','38','47','56','65','74','83','92','07','16','25','34','43','52','61','70','89','98'];
  2. for(i = 0;i <= value.length;i++){
  3. if(text = value[i]){
  4. text = '02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';
  5. }
  6. }
  7.  
  8. var value = ['00','19','28','37','46','55','64','73','82','91'];
  9. for(i = 0;i <= value.length;i++){
  10. if(text == value[i]){
  11. text = '01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';
  12. }
  13. }
  14.  
  15. var value = ['02','11','20','39','48','57','66','75','84','93','05','14','23','32','41','50','69','78','87','96'];
  16. for(i = 0;i <= value.length;i++){
  17. if(text == value[i]){
  18. text = '04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90,01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97';
  19. }
  20. }
  21.  
  22. var value = ['03','12','21','30','49','58','67','76','85','94','08','17','26','35','44','53','62','71','80','99'];
  23. for(i = 0;i <= value.length;i++){
  24. if(text == value[i]){
  25. text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';
  26. }
  27. }
  28.  
  29. var value = ['04','13','22','31','40','59','68','77','86','95'];
  30. for(i = 0;i <= value.length;i++){
  31. if(text == value[i]){
  32. text = '01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97,03,12,21,30,49,58,67,76,85,94,08,17,26,35,44,53,62,71,80,99';
  33. }
  34. }
  35.  
  36. var value = ['06','15','24','33','42','51','60','79','88','97'];
  37. for(i = 0;i <= value.length;i++){
  38. if(text == value[i]){
  39. text = '03,12,21,30,49,58,67,76,85,94,08,17,26,35,44,53,62,71,80,99,00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96';
  40. }
  41. }
  42.  
  43. var value = ['09','18','27','36','45','54','63','72','81','90'];
  44. for(i = 0;i <= value.length;i++){
  45. if(text == value[i]){
  46. text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';
  47. }
  48. }
PHP
  1. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
  2. <!--nhập vào-->
  3. <span style="color: red"><b>Nhập dữ liệu</b>: </span><input type="text" id="MainContent_txtDan" style="text-align:center">
  4.  
  5. <!--hiển thị-->
  6.  
  7. <table id="MainContent_Table" style="width:100%;">
  8. <td style="width:20%;"><input type="submit" value="Kết quả" id="MainContent_btnCreate1"></td>
  9.  
  10. </table>
  11. <td style="width:100%;"><textarea rows="2" cols="20" id="MainContent_txtDan1" style="font-size:Large;height:95px;width:99%;"></textarea></td>
  12. <script>
  13. $('#MainContent_btnCreate1').on('click',() => {
  14. var text = Number($('#MainContent_txtDan').val());
  15. var value = ['01','10','29','38','47','56','65','74','83','92','07','16','25','34','43','52','61','70','89','98'];
  16. for(i = 0;i <= value.length;i++){
  17. if(text == value[i]){
  18. text = '02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';
  19. }
  20. }
  21.  
  22. value = ['00','19','28','37','46','55','64','73','82','91'];
  23. for(i = 0;i <= value.length;i++){
  24. if(text == value[i]){
  25. text = '01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';
  26. }
  27. }
  28.  
  29. value = ['02','11','20','39','48','57','66','75','84','93','05','14','23','32','41','50','69','78','87','96'];
  30. for(i = 0;i <= value.length;i++){
  31. if(text == value[i]){
  32. text = '04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90,01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97';
  33. }
  34. }
  35.  
  36. value = ['03','12','21','30','49','58','67','76','85','94','08','17','26','35','44','53','62','71','80','99'];
  37. for(i = 0;i <= value.length;i++){
  38. if(text == value[i]){
  39. text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,02,11,20,39,48,57,66,75,84,93,07,16,25,34,43,52,61,70,89,98';
  40. }
  41. }
  42.  
  43. value = ['04','13','22','31','40','59','68','77','86','95'];
  44. for(i = 0;i <= value.length;i++){
  45. if(text == value[i]){
  46. text = '01,10,29,38,47,56,65,74,83,92,06,15,24,33,42,51,60,79,88,97,03,12,21,30,49,58,67,76,85,94,08,17,26,35,44,53,62,71,80,99';
  47. }
  48. }
  49.  
  50. value = ['06','15','24','33','42','51','60','79','88','97'];
  51. for(i = 0;i <= value.length;i++){
  52. if(text == value[i]){
  53. text = '03,12,21,30,49,58,67,76,85,94,08,17,26,35,44,53,62,71,80,99,00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96';
  54. }
  55. }
  56.  
  57. value = ['09','18','27','36','45','54','63','72','81','90'];
  58. for(i = 0;i <= value.length;i++){
  59. if(text == value[i]){
  60. text = '00,19,28,37,46,55,64,73,82,91,05,14,23,32,41,50,69,78,87,96,04,13,22,31,40,59,68,77,86,95,09,18,27,36,45,54,63,72,81,90';
  61. }
  62. }
  63. $('#MainContent_txtDan1').val(text);
  64. })
  65. </script>
13.07.2021 / 15:29
Treasure
Bài đăng: 68
Member
Tứ Phương Thất Bại
Poker đã viết

nhìn code của ông nản đéo tả đc

còn ko hiểu cái này mục đích để làm gì luôn @@

13.07.2021 / 22:31
hoangchan
Bài đăng: 109
Member
Samsung j2

GT: hiện tại mình đang làm 1 diễn đàn chuyên về xổ số, hằng ngày mình phải tự cập nhập dàn số lên diễn đàn (cách thủ công đăng bài) việc này mất rất nhiều thời gian. Vì vậy mình đã nghĩ ra cách này. lấy code trên trang kết quả xổ số chỉnh sửa lại, cho lên tập tin input.html. Từ giờ khi thành viên muốn lấy dàn số thì chỉ cần nhập 2 số cuối giải đặc biệt hôm qua thì sẽ nhận được dàn số hoặc cặp số để đánh cho hôm nay.

- Code web xổ số

- Chức năng: lấy dàn nhanh

- Mục đích: hỗ trợ thành viên trên web lấy dàn nhanh

13.07.2021 / 23:06
Poker
Bài đăng: 48
Member
hoangchan đã viết

GT: hiện tại mình đang làm 1 diễn đàn chuyên về xổ số, hằng ngày mình phải tự cập nhập dàn số lên diễn đàn (cách thủ công đăng bài) việc này mất rất nhiều thời gian. Vì vậy mình đã nghĩ ra cách này. lấy code trên trang kết quả xổ số chỉnh sửa lại, cho lên tập tin input.html. Từ giờ khi thành viên muốn lấy dàn số thì chỉ cần nhập 2 số cuối giải đặc biệt hôm qua thì sẽ nhận được dàn số hoặc cặp số để đánh cho hôm nay.

- Code web xổ số

- Chức năng: lấy dàn nhanh

- Mục đích: hỗ trợ thành viên trên web lấy dàn nhanh

xổ số thì ông random là đc chứ sao . làm dài dòng như trên để làm gì ??

13.07.2021 / 23:39
hoangchan
Bài đăng: 109
Member
Samsung j2
Poker đã viết

xổ số thì ông random là đc chứ sao . làm dài dòng như trên để làm gì ??

Dùng random là sai bài!. Vì dàn số nhận được sẽ theo kết quả giải đặc biệt hôm qua ( vậy nên mới có cái code else if 100 lần).

- Code : Tất cả thành viên khi nhập đúng kết quả đặc biệt hôm qua đều sẽ nhận được 1 dàn giống nhau

- Random: mỗi người nhận được 1 kết quả khác nhau

13.07.2021 / 23:51
hoangchan
Bài đăng: 109
Member
Samsung j2

Còn về mục code theo Pascal thì ở đây nhé

[IMAGE]
14.07.2021 / 00:08
MnpNgok
Bài đăng: 51
Member
http://keyit.my.id

Wow trầm cảm tự kỷ lun r :v