JS written in Russia

zhaozj2021-02-16  46

Russian square </ Title></p> <p><style></p> <p><! -</p> <p>Body</p> <p>{</p> <p>}</p> <p>MB</p> <p>{</p> <p>Background-color: firebrick;</p> <p>Cursor: Default;</p> <p>HEIGHT: 22PX;</p> <p>Width: 22px</p> <p>}</p> <p>.Sb</p> <p>{</p> <p>Background-color: slategray;</p> <p>Cursor: Default;</p> <p>HEIGHT: 22PX;</p> <p>Width: 22px</p> <p>}</p> <p>.Bk</p> <p>{</p> <p>Background-color: white;</p> <p>Cursor: Default;</p> <p>HEIGHT: 22PX;</p> <p>Width: 22px</p> <p>}</p> <p>.Gt</p> <p>{</p> <p>Border-bottom: DeepskyBlue Thin Solid;</p> <p>Border-left: DeepskyBlue Thin Solid;</p> <p>Border-Right: DeepskyBlue Thin Solid;</p> <p>Border-top: DeepskyBlue Thin Solid;</p> <p>Cursor: Default</p> <p>}</p> <p>-></p> <p></ style></p> <p><script></p> <p><! -</p> <p>Var bx = new array (4);</p> <p>Var by = new array (4);</p> <p>VAR PX = New Array (4);</p> <p>Var py = new array (4);</p> <p>Var Mtimer</p> <p>Var firstview</p> <p>Function begingame ()</p> <p>{</p> <p>Gamestate = 0;</p> <p>SPEED = 1;</p> <p>Outtime = 1100-speted * 100;</p> <p>SCIE = 0;</p> <p>IF (GameState! = 0) return;</p> <p>FigStview = true;</p> <p>For (j = 0; j <16; j )</p> <p>For (i = 0; i <10; i )</p> <p>SetClass (i, j, "bk");</p> <p>Randbar ();</p> <p>Gamestate = 1;</p> <p>Play.disabled = true;</p> <p>WINDOW.CLARINTERVAL (Mtimer);</p> <p>Mtimer = Window.setInterval ("MoveBar ()", Outtime;</p> <p>}</p> <p>Function KeyControl ()</p> <p>{</p> <p>IF (GameState! = 1) Return;</p> <p>Switch (Event.Keycode) {</p> <p>Case 37: {// Left</p> <p>For (i = 0; i <4; i ) IF (BX [i] == 0) Return;</p> <p>For (i = 0; i <4; i ) IF (getClass (BX [i] -1, by [i]) == "sb") Return;</p> <p>For (i = 0; i <4; i ) setClass (BX [i], by [i], "bk");</p> <p>For (i = 0; i <4; i ) bx [i] = bx [i] -1;</p> <p>For (i = 0; i <4; i ) setClass (BX [i], by [i], "mb");</p> <p>Break;</p> <p>Case 38: {// UP</p> <p>Var prembarx = new array (4);</p> <p>Var prembary = new array (4);</p> <p>VAR CX = Math.Round ((BX [0] BX [1] BX [2] BX [3]) / 4);</p> <p>Var cy = math.Round ((by [0] by [1] by [2] by [3]) / 4); for (i = 0; i <4; i ) {</p> <p>Prembarx [i] = Math.Round (CX-CY by [i]);</p> <p>Prembary [i] = math.Round (CX CY-BX [I]);</p> <p>IF (PrembarX [i] <0 || prembarx [i]> 9 || prembary [i] <0 || prembary [i]> 15) Return;</p> <p>IF (PREMBARX [I], Prembary [I]) == "SB") Return;</p> <p>}</p> <p>For (i = 0; i <4; i ) setClass (BX [i], by [i], "bk");</p> <p>For (i = 0; i <4; i ) {</p> <p>BX [i] = prembarx [i];</p> <p>BY [I] = prembary [i];</p> <p>}</p> <p>For (i = 0; i <4; i ) setClass (BX [i], by [i], "mb");</p> <p>Break;</p> <p>Case 39: {// Right</p> <p>For (i = 0; i <4; i ) IF (bx [i] == 9) return;</p> <p>For (i = 0; i <4; i ) IF (GetClass (BX [I] 1, by [i]) == "SB") Return;</p> <p>For (i = 0; i <4; i ) setClass (BX [i], by [i], "bk");</p> <p>For (i = 0; i <4; i ) bx [i] = bx [i] 1;</p> <p>For (i = 0; i <4; i ) setClass (BX [i], by [i], "mb");</p> <p>Break;</p> <p>Case 40: {// Down</p> <p>Movebar ();</p> <p>Break;</p> <p>}</p> <p>}</p> <p>Function Delline ()</p> <p>{</p> <p>For (i = 0; i <4; i ) setClass (BX [I], BY [I], "SB");</p> <p>For (j = 0; j <16; j ) {</p> <p>DLINE = TRUE;</p> <p>For (i = 0; i <9; i ) {</p> <p>IF (GetClass (i, j)! = "sb") {</p> <p>DLINE = FALSE;</p> <p>Break;</p> <p>}</p> <p>}</p> <p>IF (DLINE) {</p> <p>Score = score 100;</p> <p>For (k = j; k> 0; k -)</p> <p>For (l = 0; l <10; l )</p> <p>SetClass (L, K, GetClass (L, K-1));</p> <p>For (l = 0; l <10; l ) setClass (L, 0, "BK");</p> <p>}</p> <p>}</p> <p>Randbar ();</p> <p>Speed ​​= Math.floor (score / 3000) 1;</p> <p>Outtime = 1100-speted * 100;</p> <p>Scorebar.innerhtml = "score:" score;</p> <p>SpeedBar.innerHtml = "Speed:" Speed;</p> <p>WINDOW.CLARINTERVAL (Mtimer);</p> <p>Mtimer = Window.setInterval ("MoveBar ()", Outtime;</p> <p>}</p> <p>Function getClass (x, y) {return gamebar.children [y] .children [x] .classname;} Function setClass (x, y, cname) {gamebar.children [y] .children [x] .classname = cname; }</p> <p>Function movebar ()</p> <p>{</p> <p>IF (GameState! = 1) Return;</p> <p>Dropline = True;</p> <p>For (i = 0; i <4; i ) IF (by [i] == 15) Dropline = FALSE;</p> <p>IF (Dropline) for (i = 0; i <4; i ) IF (getClass (BX [i], by [i] 1) == "SB") Dropline = false;</p> <p>IF (! dropline) {</p> <p>WINDOW.CLARINTERVAL (Mtimer);</p> <p>Delline ();</p> <p>Return;</p> <p>}</p> <p>For (i = 0; i <4; i ) setClass (BX [i], by [i], "bk");</p> <p>For (i = 0; i <4; i ) by [i] = by [i] 1;</p> <p>For (i = 0; i <4; i ) setClass (BX [i], by [i], "mb");</p> <p>}</p> <p>Function pausegame ()</p> <p>{</p> <p>IF (GameState == 0) Return;</p> <p>IF (event.srcelement.value == "pause") {</p> <p>Gamestate = 2;</p> <p>Event.srcelement.value = "continue";</p> <p>WINDOW.CLARINTERVAL (Mtimer);</p> <p>}</p> <p>Else {</p> <p>Gamestate = 1;</p> <p>Event.srcelement.value = "pause";</p> <p>Mtimer = Window.setInterval ("MoveBar ()", Outtime;</p> <p>}</p> <p>}</p> <p>Function FMNU () {RETURN FALSE;}</p> <p>Document.οncοntextMenu = FMNU;</p> <p>Function preview ()</p> <p>{</p> <p>IF (previewBar.Style.Display! = "none")</p> <p>PreviewBar.Style.display = "none";</p> <p>Else</p> <p>PreviewBar.Style.display = "block";</p> <p>}</p> <p>Function replayGame ()</p> <p>{</p> <p>IF (GameState! = 1) Return;</p> <p>IF (! "" "))).</p> <p>Gamestate = 0;</p> <p>WINDOW.CLARINTERVAL (Mtimer);</p> <p>Beguingame ();</p> <p>}</p> <p>Function randbar ()</p> <p>{</p> <p>RandNum = Math.floor (Math.random () * 20) 1;</p> <p>IF (! firstview)</p> <p>For (i = 0; i <4; i ) {</p> <p>BX [i] = px [i];</p> <p>By [i] = py [i];</p> <p>}</p> <p>Switch (randnum) {</p> <p>Case 1: {</p> <p>PX [0] = 4;</p> <p>PY [0] = 0;</p> <p>PX [1] = 4;</p> <p>Py [1] = 1;</p> <p>PX [2] = 5;</p> <p>Py [2] = 1;</p> <p>PX [3] = 6;</p> <p>Py [3] = 1;</p> <p>Break;} case 2: {</p> <p>PX [0] = 4;</p> <p>PY [0] = 0;</p> <p>PX [1] = 5;</p> <p>PY [1] = 0;</p> <p>PX [2] = 4;</p> <p>Py [2] = 1;</p> <p>PX [3] = 4;</p> <p>Py [3] = 2;</p> <p>Break;</p> <p>Case 3: {</p> <p>PX [0] = 4;</p> <p>PY [0] = 0;</p> <p>PX [1] = 5;</p> <p>PY [1] = 0;</p> <p>PX [2] = 6;</p> <p>PY [2] = 0;</p> <p>PX [3] = 6;</p> <p>Py [3] = 1;</p> <p>Break;</p> <p>Case 4: {</p> <p>PX [0] = 5;</p> <p>PY [0] = 0;</p> <p>PX [1] = 5;</p> <p>Py [1] = 1;</p> <p>PX [2] = 5;</p> <p>Py [2] = 2;</p> <p>PX [3] = 4;</p> <p>Py [3] = 2;</p> <p>Break;</p> <p>Case 5: {</p> <p>PX [0] = 6;</p> <p>PY [0] = 0;</p> <p>PX [1] = 6;</p> <p>Py [1] = 1;</p> <p>PX [2] = 4;</p> <p>Py [2] = 1;</p> <p>PX [3] = 5;</p> <p>Py [3] = 1;</p> <p>Break;</p> <p>Case 6: {</p> <p>PX [0] = 4;</p> <p>PY [0] = 0;</p> <p>PX [1] = 4;</p> <p>Py [1] = 1;</p> <p>PX [2] = 4;</p> <p>Py [2] = 2;</p> <p>PX [3] = 5;</p> <p>Py [3] = 2;</p> <p>Break;</p> <p>Case 7: {</p> <p>PX [0] = 4;</p> <p>PY [0] = 0;</p> <p>PX [1] = 4;</p> <p>Py [1] = 1;</p> <p>PX [2] = 5;</p> <p>PY [2] = 0;</p> <p>PX [3] = 6;</p> <p>Py [3] = 0;</p> <p>Break;</p> <p>Case 8: {</p> <p>PX [0] = 4;</p> <p>PY [0] = 0;</p> <p>PX [1] = 5;</p> <p>Py [1] = 0;</p> <p>PX [2] = 5;</p> <p>Py [2] = 1;</p> <p>PX [3] = 5;</p> <p>Py [3] = 2;</p> <p>Break;</p> <p>Case 9: {</p> <p>PX [0] = 4;</p> <p>PY [0] = 0;</p> <p>PX [1] = 5;</p> <p>Py [1] = 0;</p> <p>PX [2] = 5;</p> <p>Py [2] = 1;</p> <p>PX [3] = 6;</p> <p>Py [3] = 1;</p> <p>Break;</p> <p>Case 10: {</p> <p>PX [0] = 5;</p> <p>PY [0] = 0;</p> <p>PX [1] = 5;</p> <p>Py [1] = 1;</p> <p>PX [2] = 4;</p> <p>Py [2] = 1;</p> <p>PX [3] = 4;</p> <p>Py [3] = 2;</p> <p>Break;</p> <p>Case 11: {</p> <p>PX [0] = 4;</p> <p>PY [0] = 1;</p> <p>PX [1] = 5;</p> <p>Py [1] = 1;</p> <p>PX [2] = 5;</p> <p>PY [2] = 0;</p> <p>PX [3] = 6;</p> <p>Py [3] = 0;</p> <p>Break;</p> <p>Case 12: {</p> <p>PX [0] = 4;</p> <p>PY [0] = 0;</p> <p>PX [1] = 4;</p> <p>Py [1] = 1;</p> <p>PX [2] = 5;</p> <p>Py [2] = 1;</p> <p>PX [3] = 5;</p> <p>Py [3] = 2;</p> <p>Break;</p> <p>Case 13: {</p> <p>PX [0] = 4;</p> <p>PY [0] = 0;</p> <p>PX [1] = 5;</p> <p>Py [1] = 0;</p> <p>PX [2] = 6;</p> <p>PY [2] = 0;</p> <p>PX [3] = 5;</p> <p>Py [3] = 1;</p> <p>Break;</p> <p>Case 14: {</p> <p>PX [0] = 4;</p> <p>PY [0] = 0;</p> <p>PX [1] = 4;</p> <p>Py [1] = 1;</p> <p>PX [2] = 4;</p> <p>Py [2] = 2;</p> <p>PX [3] = 5;</p> <p>Py [3] = 1;</p> <p>Break;</p> <p>Case 15: {</p> <p>PX [0] = 5;</p> <p>Py [0] = 0; PX ​​[1] = 5;</p> <p>Py [1] = 1;</p> <p>PX [2] = 4;</p> <p>Py [2] = 1;</p> <p>PX [3] = 6;</p> <p>Py [3] = 1;</p> <p>Break;</p> <p>Case 16: {</p> <p>PX [0] = 5;</p> <p>PY [0] = 0;</p> <p>PX [1] = 5;</p> <p>Py [1] = 1;</p> <p>PX [2] = 5;</p> <p>Py [2] = 2;</p> <p>PX [3] = 4;</p> <p>Py [3] = 1;</p> <p>Break;</p> <p>Case 17: {</p> <p>PX [0] = 4;</p> <p>PY [0] = 0;</p> <p>PX [1] = 5;</p> <p>Py [1] = 0;</p> <p>PX [2] = 4;</p> <p>Py [2] = 1;</p> <p>PX [3] = 5;</p> <p>Py [3] = 1;</p> <p>Break;</p> <p>Case 18: {</p> <p>PX [0] = 4;</p> <p>PY [0] = 0;</p> <p>PX [1] = 5;</p> <p>Py [1] = 0;</p> <p>PX [2] = 4;</p> <p>Py [2] = 1;</p> <p>PX [3] = 5;</p> <p>Py [3] = 1;</p> <p>Break;</p> <p>Case 19: {</p> <p>PX [0] = 3;</p> <p>PY [0] = 0;</p> <p>PX [1] = 4;</p> <p>Py [1] = 0;</p> <p>PX [2] = 5;</p> <p>PY [2] = 0;</p> <p>PX [3] = 6;</p> <p>Py [3] = 0;</p> <p>Break;</p> <p>Case 20: {</p> <p>PX [0] = 5;</p> <p>PY [0] = 0;</p> <p>PX [1] = 5;</p> <p>Py [1] = 1;</p> <p>PX [2] = 5;</p> <p>Py [2] = 2;</p> <p>PX [3] = 5;</p> <p>Py [3] = 3;</p> <p>Break;</p> <p>}</p> <p>IF (firstview) {</p> <p>FigStview = false;</p> <p>Randbar ();</p> <p>Return;</p> <p>}</p> <p>For (i = 0; i <4; i ) {</p> <p>For (j = 0; j <4; j ) {</p> <p>PreviewBar.children [J] .Children [i] .classname = "bk";</p> <p>}</p> <p>}</p> <p>For (i = 0; i <4; i ) previewbar.children [py [i]]. Children [PX [i] -3] .className = "MB";</p> <p>For (i = 0; i <4; i ) {</p> <p>IF (GetClass (BX [I], by [i])! = "bk") {</p> <p>Alert ("Game Over!");</p> <p>WINDOW.CLARINTERVAL (Mtimer);</p> <p>Play.disabled = false;</p> <p>Gamestate = 0;</p> <p>Return;</p> <p>}</p> <p>}</p> <p>For (i = 0; i <4; i ) setClass (BX [i], by [i], "mb");</p> <p>}</p> <p>// -></p> <p></ script></p> <p></ HEAD></p> <p><Body bgcolor = black οnkeydοwn = "Return KeyControl ();">></p> <p><center></p> <p><P> <b> <font color = red> Russian square </ font> </ b> </ p></p> <p><Table cellspacing = 0 cellpadding = 0 class = gt border = 1 bordercolor = "Lightyellow" style = "Position: absolute; left: 220px; Top: 53px;"></p> <p><TBODY ID = GameBar></p> <p><Tr> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> < / TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> <TD> <TD Class = BK> </ TD> <TD Class = BK> < / TD> </ tr> <tr> <TD class = BK> </ td> <td class = BK> </ td> <td class = BK> </ td> <td class = bk> </ td> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> </ TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD CLASS = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> </ TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ td> <td class = bk> </ td> <td class = bk> </ td> <td class = bk> </ td> <td class = bk> </ td> <td class = bk> </ td> <TD Class = BK> </ TD> <TD Class = BK> <TD> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD > <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD > <</p> <p>TD class = BK> </ td> <td class = bk> </ td> <td class = BK> </ td> </ tr> <tr> <td class = bk> </ td> <td class = BK> </ td> <td class = bk> </ td> <td class = bk> </ td> <td class = bk> </ td> <td class = bk> </ td> <td class = BK> </ td> <td class = bk> </ td> <td class = bk> </ td> <td class = bk> </ td> </ tr> <tr> <td class = bk> < / TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> <TD> <TD Class = BK> </ TD> <TD Class = BK> < / TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> </ TR> <TR> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> </ tr> <tr> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ td> </ tr> <tr> <td class = bk> </ td> <td class = bk> </ td> <td class = bk> </ td> <td class = bk> </ td> <</p> <p>TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> < TD class = BK> </ td> </ tr> <tr> <td class = bk> </ td> <td class = bk> </ td> <td class = bk> </ td> <td class = BK> </ td> <td class = bk> </ td> <td class = bk> </ td> <td class = bk> </ td> <td class = bk> </ td> <td class = BK> </ td> <td class = bk> </ td> </ tr> <tr> <td class = bk> </ td> <td class = bk> </ td> <td class = bk> < / TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> <TD> <TD Class = BK> </ TD> <TD Class = BK> < / TD> <TD Class = BK> </ TD> <TD Class = BK> <TD> </ TD> <TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> <TD> </ TR> <TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> </ TR> <TR> <TD Class = BK> </ td> <</p> <p>TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> < TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> <TD> </ TR> <Tr> <TD Class = BK> </ td> <td class = bk> </ td> <td class = bk> </ td> <td class = bk> </ td> <td class = bk> </ td> <td class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> </ TR> </ tbody></p> <p></ TABLE></p> <p></ center></p> <p><table style = "Position: absolute; top = 100px; left: 50px"></p> <p><TR> <TD ID = Scorebar Style = "Color: White"> score: 0 </ td> </ tr></p> <p><TR> <TD ID = SpeedBar Style = "Color: White> Speed: 1 </ TD> </ TR></p> <p></ TABLE></p> <p><table cellspacing = 0 cellpadding = 0 class = gt border = 1 bordercolor = "Lightyellow" style = "Position: absolute; left: 570px; Top: 53px;">>>>>>>>>>></p> <p><Tbody id = previewbar></p> <p><Tr> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> </ TR> <TR> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> <TD> </ TR> <TR> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> </ TR> <TR> <TD Class = BK> </ td> <TD Class = BK> </ TD> <TD Class = BK> </ TD> <TD Class = BK> </ TD> </ TR> </ tbody></p> <p></ TABLE></p> <p><table style = "Position: absolute; left: 570px; top: 180px;"></p> <p><TR> <TD> <input type = button id = "play" style = "width: 100px" value = "play" οnclick = "Return Begingame ();"> </ td> </ tr></p> <p><Tr> <TD> <input type = button id = "pause" style = "width: 100px" value = "pause" οnclick = "οnclick = Return Pausegame ();"> </ td> </ tr></p> <p><TR> <TD> <input type = button id = "preview" style = "width: 100px" value = "οnclick =" preview (); "> </ td> </ tr></p> <p><TR> <TD> <input type = button id = "replay" style = "Width: 100px" value = "replay" οnclick = "replayGame ();"> </ td> </ tr></p> <p><Tr> <TD> <input type = button id = "quit" style = "width: 100px" value = "quit" οnclick = "window.close ();> </ td> </ tr></p> <p></ TABLE></p> <p><div style = "Position: absolute; left: 590px; Top: 390px; color: white; font-size: 9pt"> If there is a problem, please contact me <a href="mailto: Sor@263.net"> <font Color = White> Contact </ font> </a> </ div> </ body></p> <p></ Html></p> <p><script></p> <p>Function unsel ()</p> <p>{</p> <p>Document.execCommand ("unselect");</p> <p>WINDOW.SETTIMEOUT ("Unsel ()", 10);</p> <p>}</p> <p>Unsel ();</p> <p>Window.οnunlοad = REL;</p> <p>Function Rel ()</p> <p>{</p> <p>Location.Reload ();</p> <p>Return False;</p> <p>}</p> <p></ script></p></div><div class="text-center mt-3 text-grey"> 转载请注明原文地址:https://www.9cbs.com/read-25024.html</div><div class="plugin d-flex justify-content-center mt-3"></div><hr><div class="row"><div class="col-lg-12 text-muted mt-2"><i class="icon-tags mr-2"></i><span class="badge border border-secondary mr-2"><h2 class="h6 mb-0 small"><a class="text-secondary" href="tag-2.html">9cbs</a></h2></span></div></div></div></div><div class="card card-postlist border-white shadow"><div class="card-body"><div class="card-title"><div class="d-flex justify-content-between"><div><b>New Post</b>(<span class="posts">0</span>) </div><div></div></div></div><ul class="postlist list-unstyled"> </ul></div></div><div class="d-none threadlist"><input type="checkbox" name="modtid" value="25024" checked /></div></div></div></div></div><footer class="text-muted small bg-dark py-4 mt-3" id="footer"><div class="container"><div class="row"><div class="col">CopyRight © 2020 All Rights Reserved </div><div class="col text-right">Processed: <b>0.037</b>, SQL: <b>9</b></div></div></div></footer><script src="./lang/en-us/lang.js?2.2.0"></script><script src="view/js/jquery.min.js?2.2.0"></script><script src="view/js/popper.min.js?2.2.0"></script><script src="view/js/bootstrap.min.js?2.2.0"></script><script src="view/js/xiuno.js?2.2.0"></script><script src="view/js/bootstrap-plugin.js?2.2.0"></script><script src="view/js/async.min.js?2.2.0"></script><script src="view/js/form.js?2.2.0"></script><script> var debug = DEBUG = 0; var url_rewrite_on = 1; var url_path = './'; var forumarr = {"1":"Tech"}; var fid = 1; var uid = 0; var gid = 0; xn.options.water_image_url = 'view/img/water-small.png'; </script><script src="view/js/wellcms.js?2.2.0"></script><a class="scroll-to-top rounded" href="javascript:void(0);"><i class="icon-angle-up"></i></a><a class="scroll-to-bottom rounded" href="javascript:void(0);" style="display: inline;"><i class="icon-angle-down"></i></a></body></html><script> var forum_url = 'list-1.html'; var safe_token = 'gDXdPKS45ryhQ84_2B4k7hbeDnS9yEKHIhYb_2FivBD3rlzBUVhDQ6_2BV_2BC8uEaMgngaRkTMdR4Xo_2BYJL2R69GKzNgg_3D_3D'; var body = $('body'); body.on('submit', '#form', function() { var jthis = $(this); var jsubmit = jthis.find('#submit'); jthis.reset(); jsubmit.button('loading'); var postdata = jthis.serializeObject(); $.xpost(jthis.attr('action'), postdata, function(code, message) { if(code == 0) { location.reload(); } else { $.alert(message); jsubmit.button('reset'); } }); return false; }); function resize_image() { var jmessagelist = $('div.message'); var first_width = jmessagelist.width(); jmessagelist.each(function() { var jdiv = $(this); var maxwidth = jdiv.attr('isfirst') ? first_width : jdiv.width(); var jmessage_width = Math.min(jdiv.width(), maxwidth); jdiv.find('img, embed, iframe, video').each(function() { var jimg = $(this); var img_width = this.org_width; var img_height = this.org_height; if(!img_width) { var img_width = jimg.attr('width'); var img_height = jimg.attr('height'); this.org_width = img_width; this.org_height = img_height; } if(img_width > jmessage_width) { if(this.tagName == 'IMG') { jimg.width(jmessage_width); jimg.css('height', 'auto'); jimg.css('cursor', 'pointer'); jimg.on('click', function() { }); } else { jimg.width(jmessage_width); var height = (img_height / img_width) * jimg.width(); jimg.height(height); } } }); }); } function resize_table() { $('div.message').each(function() { var jdiv = $(this); jdiv.find('table').addClass('table').wrap('<div class="table-responsive"></div>'); }); } $(function() { resize_image(); resize_table(); $(window).on('resize', resize_image); }); var jmessage = $('#message'); jmessage.on('focus', function() {if(jmessage.t) { clearTimeout(jmessage.t); jmessage.t = null; } jmessage.css('height', '6rem'); }); jmessage.on('blur', function() {jmessage.t = setTimeout(function() { jmessage.css('height', '2.5rem');}, 1000); }); $('#nav li[data-active="fid-1"]').addClass('active'); </script>