Listview

zhaozj2021-02-16  85

List </ Title> <style> <! - body {font-size: 10px} Table {font-size: 12px} -> </ style> <script language = 'javascript'> Function InitList (Thelist , Thet, IEND, IID, Checkit) {var colwidth = (Document.Body.ClientWidth - 200) / IEND</p> <p>With (thelist) {view = 3borderStyle = 0GridLines = trueCheckboxes = CheckitFullRowSelect = TrueLabeledit = 1</p> <p>For (var i = 0; i <iD; i ) {colornheaders.add (i 1, 'col' i, thetable.rows [0] .cells [i] .innertext, colwidth) ///, 100 , myalign)} for (var i = 1; i <Tetable.Rows.Length; i ) {mylist.listitems.add (i, 'key' Thetable.Rows [i] .Cells [IID-1]. InnerText.Replace ("," "), Thetable.Rows [i] .Cells [0] .INNNERTEXT.REPLACE (", "")) for (VAR J = 1; J <Iend; J ) { Listitems (i). Subitems (j) = THTABLE.ROWS [i] .Cells [J] .innertext.Replace ("," ")}} sorted = true}} </ scrue}} </ scrue}} </ Script> <script language} For = 'mylist' event = 'columnclick (color)'>></p> <p>if (ColumnHeader.SubItemIndex == myList.SortKey) {if (myList.SortOrder == 0) myList.SortOrder = 1 else myList.SortOrder = 0} else {myList.SortKey = ColumnHeader.SubItemIndex if (myList.SortOrder == 0 ) myList.SortOrder = 1else myList.SortOrder == 0} </ script> <script language = 'javascript' for = 'myList' event = 'ItemClick (Item)'> var theValue = "" theValue = item.Text Item .Key for (i = 1; i <= item.listsubitems.count; i ) thevalue = thevalue "/ n" item.listSubitems (i) .text myvalue.value = thevalue </ script> <body onload = 'INITLIST (MyList, Mytale, 4, 5, False)' scroll = 'no' bgcolor = 'buttonface' topmargin = '0' leftmargin = '0'> <table border = '0' cellpadding = '0' cellspacing = '0' style = 'border-collapse: collapse' width = '100%' Height = '100%> <TR> <TD NOWRAP> <script language =' javascript '> Document.write ("<object classid =' CLSID: BDD1F04B-858B-11D1-B16A-00c0F0283628 'Style =' Width: " (Document.body.ClientWidth - 150) "; Height: " Document.Body.clientHeight " 'ID =' MYLIST '> </ Object> ") </ script></p> <p><table border = '1' id = 'mytale' style = 'display: none'> <triple = 'tablehead'> <td = 'mytd'> Number </ td> <td = 'mytd'> name </ td> <TD ID = 'mytd'> Price </ td> <TD ID = 'mytd'> Remarks </ TD> <TD ID = 'MyTD'> Number </ TD> </ TD> <TR ID = 'mytr'> <td id = 'mytd'> 101 </ td> <td = 'mytd'> 53 degree </ td> <TD ID = 'mytd'> 186 </ td> <td ID = 'mytd'> 1 * 6 </ td> <td id = 'mytd'> 16 </ td> </ tr> <triple = 'mytr'> <td = 'mytd'> 102 </ td> <TD ID = 'mytd'> 52 趵 趵 泉特酿 </ TD> <TD ID = 'mytd'> 128 </ td> <td = 'mytd'> 1 * 6 </ td> <td id = 'mytd'> 17 </ td> </ tr> <trid = 'mytr'> <td = 'mytd'> 103 </ td> <td = 'mytd'> 39 degrees boutique 趵 趵 特特</ td> <TD ID = 'mytd'> 60 </ td> <td = 'mytd'> 1 * 6 </ td> <td id = 'mytd'> 18 </ td> </ TR> < Tr ID = 'mytr'> <td id = 'mytd'> 104 </ td> <td id = 'mytd'> 34 degree 趵 趵 特特 </ td> <td id = 'mytd'> 45.8 </ TD> <TD ID = 'mytd'> 1 * 6 </ td> <td id = 'mytd'> 19 </ td> </ tr> <triple = 'mytr'> <td = 'mytd'> 105 </ td> <TD ID = 'mytd'> 36 degrees 趵 趵 特特 </ td> <td id = 'mytd'> 25.8 </ td> <td id = '</p> <p>Mytd '> 1 * 6 </ td> <td =' mytd '> 20 </ td> </ tr> <triple =' mytr '> <TD ID =' mytd '> 106 </ td> <TD ID = 'mytd'> 38 degree 趵 趵 特特 </ td> <td = 'mytd'> 15.8 <td> <TD ID = 'mytd'> 1 * 6 </ td> <td = ' Mytd '> 21 </ td> </ tr> <trid =' mytr '> <td =' mytd '> 107 </ td> <td =' mytd '> 39 degree 趵 Spring special </ TD> <TD ID = 'mytd'> 10.58 </ td> <td = 'mytd'> 1 * 6 </ td> <td = 'mytd'> 22 </ td> </ tr> <trid = 'mytr'> <td = 'mytd'> 108 </ td> <TD = 'mytd'> 39 degree five years 趵 趵 陈 陈 陈 </ td> <td = 'mytd'> 19.8 </ td > <TD ID = 'mytd'> 1 * 6 </ td> <td = 'mytd'> 23 </ td> </ tr> <trid = 'mytr'> <td = 'mytd'> 109 </ td> <TD ID = 'mytd'> 39 degrees eight years 趵 趵 陈 陈酿 </ td> <td = 'mytd'> 29.8 </ td> <td = 'mytd'> 1 * 6 </ TD> <TD ID = 'mytd'> 24 </ td> </ tr> <triple = 'mytr'> <td = 'mytd'> 110 </ td> <td id = 'mytd'> 58 degrees Treasures 趵 趵 特特特 </ td> <td = 'mytd'> 288 <td> <td = 'mytd'> 1 * 4 </ td> <td = 'mytd'> 25 </ td > </ tr> <triple = 'mytr'> <td = 'mytd'> 111 </ td> <td = 'mytd'> 52 degree 250ml 趵 趵 泉特酿 </ TD> <TD ID = 'mytd'> 64 </ td> <td id = '</p> <p>Mytd '> 1 * 8 </ TD> <TD ID =' mytd '> 26 </ td> </ tr> <triple =' mytr '> <TD ID =' mytd '> 123 </ td> <TD ID = 'mytd'> 38 degree 趵 趵 泉特 (金) </ td> <td = 'mytd'> 78 </ td> <td = 'mytd'> 1 * 6 </ td> <TD ID = 'mytd'> 27 </ td> </ tr> <trid = 'mytr'> <td = 'mytd'> 124 </ td> <td = 'mytd'> 38 degree 趵 Spring special Brewing (silver) </ td> <TD ID = 'mytd'> 58 </ td> <td = 'mytd'> 1 * 6 </ td> <td = 'mytd'> 28 </ td> < / TR> <trid = 'mytr'> <td = 'mytd'> 114 </ td> <td = 'mytd'> 32 degree 趵 趵 泉特特 </ td> <td id = 'mytd' > 48 </ td> <td = 'mytd'> 1 * 6 </ td> <td = 'mytd'> 29 </ td> </ tr> <trid = 'mytr'> <td id = 'mytd'> 120 </ td> <td = 'mytd'> 39 degree Jinxiuchuan special (china) </ td> <TD ID = 'mytd'> 19.8 </ td> <TD ID = 'mytd' > 1 * 12 </ td> <td = 'mytd'> 30 </ td> </ tr> <triple = 'mytr'> <td = 'mytd'> 121 </ td> <td id = 'mytd'> 36 degrees 趵 趵 特特 (porcelain bottle) </ td> <td = 'mytd'> 48 </ td> <td = 'mytd'> 1 * 6 </ td> <TD ID = 'mytd'> 31 </ td> </ tr> <triple = 'mytr'> <td = 'mytd'> 122 </ td> <td = 'mytd'> 34 degree 趵 趵 特特 ( Porcelain bottle) </ td></p> <p><TD ID = 'mytd'> 88 </ td> <td id = 'mytd'> 1 * 6 </ td> <td = 'mytd'> 32 </ td> </ Tr> <trid = ' MyTr '> <TD ID =' mytd '> 207 </ td> <td =' mytd '> 48 degree 趵 Aum Spring Trum </ TD> <TD ID =' MyTD '> 5 </ TD> <TD ID = 'mytd'> 1 * 6 </ td> <td id = 'mytd'> 33 </ td> </ tr> <trid = 'mytr'> <td = 'mytd'> 210 </ td > <td id = 'mytd'> 44 degree 趵 趵 特 特 曲 </ td> <td = 'mytd'> 3.8 </ td> <td = 'mytd'> 1 * 6 </ td> <TD ID = 'mytd'> 34 </ td> </ tr> <trid = 'mytr'> <td = 'mytd'> 211 </ td> <td = 'mytd'> 44 degree new 趵 趵Speck </ TD> <TD ID = 'mytd'> 4.2 </ td> <td = 'mytd'> 1 * 6 </ td> <td = 'mytd'> 35 </ td> </ tr > <trid = 'mytr'> <td = 'mytd'> 214 </ td> <td id = 'mytd'> 44 degree 趵 趵 Springs White wine </ td> <TD ID = 'mytd'> 1.5 < / TD> <TD ID = 'mytd'> 1 * 10 </ td> <td id = 'mytd'> 36 </ td> </ tr> <triple = 'mytr'> <td = 'mytd' > 216 </ td> <td = 'mytd'> 44 degree 趵 趵 泉 二 </ td> <td = 'mytd'> 1.4 </ td> <td = 'mytd'> 1 * 10 < / TD> <TD ID = 'mytd'> 37 </ td> </ tr> <trid = 'mytr'> <td = 'mytd'> 218 </ td> <td id = 'mytd'> 39 Wan Zhuyuan special </ TD> <TD ID =</p> <p>'mytd'> 5 </ td> <td id = 'mytd'> 1 * 20 </ td> <td id = 'mytd'> 38 </ td> </ tr> <triple = 'mytr'> < TD ID = 'mytd'> 218 </ td> <td id = 'mytd'> 39 万 万 园 特 </ td> <td = 'mytd'> 5 </ td> <TD ID = 'MyTD '> 1 * 12 </ td> <TD ID =' mytd '> 40 </ td> </ tr> <triple =' mytr '> <td =' mytd '> 219 </ td> <td ID = 'mytd'> 46 degree 趵 spring bucket wine </ td> <TD ID = 'mytd'> 15.8 <td> <td = 'mytd'> 1 * 6 </ td> <td id = ' Mytd '> 41 </ td> </ tr> <trid =' mytr '> <td =' mytd '> 220 </ td> <td =' mytd '> 54 degree Jinxiukawa bottled wine </ TD> <TD ID = 'mytd'> 16 </ td> <td = 'mytd'> 1 * 4 </ td> <td = 'mytd'> 42 </ td> </ tr> <trid = 'mytr'> <td id = 'mytd'> 232 </ td> <td = 'mytd'> 50 趵 趵 趵 大 </ td> <td = 'mytd'> 2.5 </ td> <TD ID = 'mytd'> 1 * 6 </ td> <td id = 'mytd'> 43 </ td> </ tr> <trid = 'mytr'> <td = 'mytd'> 235 </ td > <TD ID = 'mytd'> 50 趵 趵 泉老 老 </ td> <td id = 'mytd'> 4 </ td> <td id = 'mytd'> 1 * 6 </ td> <TD ID = 'mytd'> 44 </ td> </ tr> <tr> <td id = 'mytd'> 236 </ td> <td = 'mytd'> 42 degree 趵 Springs / TD> <TD ID = 'mytd'></p> <p>4.5 </ td> <td id = 'mytd'> 1 * 6 </ td> <td = 'mytd'> 45 </ td> </ tr> <trid = 'mytr'> <td id = ' Mytd '> 245 </ td> <td =' mytd '> 42 degree 趵 趵 酒 酒 </ td> <TD ID =' mytd '> 4 </ td> <td id =' mytd '> 1 * 6 </ td> <TD ID = 'mytd'> 46 </ td> </ tr> <triple = 'mytr'> <td = 'mytd'> 333 </ td> <td = 'mytd'> 42 degree 趵 趵 佳 佳酿 </ td> <TD ID = 'mytd'> 5.8 <TD> <TD ID = 'mytd'> 1 * 6 </ td> <td = 'mytd'> 47 </ td > </ tr> <triple = 'mytr'> <td = 'mytd'> 336 </ td> <td = 'mytd'> 38 degree 趵 趵 泉特特 </ TD> <TD ID = ' Mytd '> 8.1 </ td> <TD ID =' mytd '> 1 * 6 </ td> <TD Id =' mytd '> 48 </ td> </ tr> <trid =' mytr '> <TD ID = 'mytd'> 339 </ td> <td = 'mytd'> 38 degrees 趵 趵 特特 </ td> <td id = 'mytd'> 8.3 </ td> <td id = 'mytd' > 1 * 6 </ TD> <TD ID = 'mytd'> 49 </ td> </ tr> <triple = 'mytr'> <td = 'mytd'> 125 </ td> <td id = 'mytd'> 38 degree gift special (2 bottles) </ td> <TD ID = 'mytd'> 158 </ td> <td = 'mytd'> 1 * 2 * 4 </ td> <td ID = 'mytd'> 50 </ td> </ tr> <trid = 'mytr'> <td = 'mytd'> 238 </ td> <td = 'mytd'> 40 degrees 趵 趵 泉 酒 < / TD> <TD ID = 'mytd'></p> <p>3.6 </ td> <TD ID = 'mytd'> 1 * 6 </ td> <td = 'mytd'> 51 </ td> </ tr> <trid = 'mytr'> <TD ID = ' Mytd '> 262 </ td> <td =' mytd '> 46 degree 趵 趵 特特特 </ td> <td id =' mytd '> 9 </ td> <td =' mytd '> 1 * 6 </ td> <td id = 'mytd'> 52 </ td> </ tr> <trid = 'mytr'> <td = 'mytd'> 263 </ td> <td = 'mytd' > 46 degree 趵 趵 特特特 </ td> <td = 'mytd'> 9 </ td> <td = 'mytd'> 1 * 6 </ td> <td = 'mytd'> 53 < / TD> </ tr> <triple = 'mytr'> <td = 'mytd'> 242 </ td> <td = 'mytd'> 44 degree 趵 趵 泉老 老 </ td> <TD ID = 'mytd'> 1.8 </ td> <td id = 'mytd'> 1 * 10 </ td> <td = 'mytd'> 54 </ td> </ tr> <triple = 'mytr'> <TD ID = 'mytd'> 117 </ td> <td id = 'mytd'> 38 degree gift special </ TD> <TD ID = 'mytd'> 88 </ td> <td = 'mytd' > 1 * 4 </ td> <TD ID = 'mytd'> 55 </ td> </ tr> <triple = 'mytr'> <td = 'mytd'> 244 </ td> <td id = 'mytd'> 42 degrees 趵 趵 酒 酒 </ td> <td id = 'mytd'> 4 </ td> <td id = 'mytd'> 1 * 6 </ td> <td = 'mytd'> 56 </ td> </ tr> <triple = 'mytr'> <td = 'mytd'> 247 </ td> <td = 'mytd'> 40 degrees 趵 趵 酒 酒 </ td> <TD ID = 'mytd'> 6 </ td> <</p> <p>TD ID = 'mytd'> 1 * 6 </ td> <td = 'mytd'> 57 </ td> </ tr> <trid = 'mytr'> <td = 'mytd'> 126 </ TD> <td id = 'mytd'> 54 degree gift special (2 bottles) </ td> <TD ID = 'mytd'> 488 </ td> <td = 'mytd'> 1 * 2 * 4 < / TD> <TD ID = 'mytd'> 58 </ td> </ tr> <trid = 'mytr'> <td = 'mytd'> 249 </ td> <td id = 'mytd'> 44趵 趵 趵 特 特 </ td> <td = 'mytd'> 4.53 <td> <td = 'mytd'> 1 * 6 </ td> <td = 'mytd'> 59 </ td > </ tr> <triple = 'mytr'> <td = 'mytd'> 264 </ td> <td = 'mytd'> 54 degree Jinxiu Chuanjia </ TD> <TD ID = 'MyTD' > 3.8 </ td> <td = 'mytd'> 1 * 8 </ td> <td = 'mytd'> 60 </ td> </ tr> <triple = 'mytr'> <TD ID = 'mytd'> 265 </ td> <td = 'mytd'> 44 degree Jinxiu Chuan Bai wine </ TD> <TD ID = 'mytd'> 8 </ td> <td id = 'mytd'> 1 * 4 </ td> <TD ID = 'myTD'> 61 </ td> </ tr> <trid = 'mytr'> <td = 'mytd'> 252 </ td> <td id = 'mytd'> 44 degree 山 山白 白 酒 </ td> <td = 'mytd'> 2.6 </ td> <TD = 'mytd'> 1 * 12 </ td> <td = 'mytd'> 62 </ td > </ tr> <triple = 'mytr'> <td id = 'mytd'> 253 </ td> <td = 'mytd'> 38 degree 趵 趵 泉特 (实 惠) </ td> < TD ID = 'mytd'</p> <p>> 3.6 </ td> <td = 'mytd'> 1 * 8 </ td> <td id = 'mytd'> 63 </ td> </ tr> <trid = 'mytr'> <TD ID = 'mytd'> 253 </ td> <td id = 'mytd'> 38 degree 趵 趵 特特 (实 惠) </ td> <TD ID = 'mytd'> 3.6 </ td> <TD ID = ' Mytd '> 1 * 12 </ td> <td =' mytd '> 64 </ td> </ tr> <triple =' mytr '> <td id =' mytd '> 254 </ td> <td ID = 'mytd'> 38 degree 125ml 趵 趵 特特酿 </ td> <td = 'mytd'> 2 </ td> <td = 'mytd'> 1 * 24 </ td> <td id = 'mytd'> 65 </ td> </ tr> <triple = 'mytr'> <td = 'mytd'> 255 </ td> <td = 'mytd'> 38 degrees 趵 趵 泉 酒 </ TD> <TD ID = 'mytd'> 6.8 </ td> <td = 'mytd'> 1 * 6 </ td> <td id = 'mytd'> 66 </ td> </ tr> <trid = 'mytr'> <td id = 'mytd'> 256 </ td> <td = 'mytd'> 35 degree 趵 趵 泉 特 曲 </ td> <td = 'mytd'> 5.6 </ td> <TD ID = 'mytd'> 1 * 6 </ td> <td = 'mytd'> 67 </ td> </ tr> <tr> <type> <TD ID = 'mytd'> 258 < / TD> <TD ID = 'mytd'> 46 degree 趵 趵 酒 酒 </ td> <td = 'mytd'> 4.8 </ td> <td = 'mytd'> 1 * 6 </ td> < TD ID = 'mytd'> 68 </ td> </ tr> <triple = 'mytr'> <td = 'mytd'> 259 </ td> <td = 'mytd'> 44 degrees TD </ TD> <TD ID = '</p> <p>Mytd '> 3.8 </ td> <td =' mytd '> 1 * 6 </ td> <TD ID =' mytd '> 69 </ td> </ tr> <trid =' mytr '> <TD ID = 'mytd'> 260 </ td> <td id = 'mytd'> 42 degree 趵 趵 特 特 (简)) </ td> <td id = 'mytd'> 3.18 </ td> <td id = 'mytd'> 1 * 6 </ td> <td = 'mytd'> 70 </ td> </ tr> <triple = 'mytr'> <TD ID = 'mytd'> 261 </ td> < TD ID = 'mytd'> 50 degrees 趵 Aum Spring Trum (bundle) </ td> <TD ID = 'mytd'> 2 </ td> <TD ID = 'mytd'> 1 * 10 </ td> < TD ID = 'mytd'> 71 </ td> </ tr> <triple = 'mytr'> <td = 'mytd'> 315 </ td> <td = 'mytd'> 38 degree 趵 spring Special brew (lucky baby) </ td> <TD ID = 'mytd'> 6.5 </ td> <td = 'mytd'> 1 * 6 </ td> <td = 'mytd'> 72 < / TD> </ tr> <TD = 'mytr'> <td = 'mytd'> 318 </ td> <td id = 'mytd'> 42 degrees 趵 趵 香香 </ td> <TD ID = 'mytd'> 3.8 </ td> <td = 'mytd'> 1 * 6 </ td> <td = 'mytd'> 73 </ td> </ tr> <triple = 'mytr'> < TD ID = 'mytd'> 321 </ td> <td id = 'mytd'> 42 degree 趵 Tu Spring Trum </ TD> <TD ID = 'mytd'> 3.8 </ td> <td = 'mytd '> 1 * 6 </ td> <TD ID =' mytd '> 74 </ td> </ tr> <triple =' mytr '> <td =' mytd '> 323 </ td> <td ID = 'mytd'></p> <p>38 degree 趵 趵 特特特 </ td> <td = 'mytd'> 8 </ td> <td = 'mytd'> 1 * 6 </ td> <td = 'mytd'> 75 </ TD> </ tr> <trid = 'mytr'> <td = 'mytd'> 326 </ td> <td = 'mytd'> 39 degree 趵 趵 特特 (1) </ td> <TD ID = 'mytd'> 3.5 </ td> <td id = 'mytd'> 1 * 6 </ td> <td = 'mytd'> 76 </ td> </ Tr> <trid = ' Mytr '> <TD ID =' mytd '> 329 </ td> <td =' mytd '> 44 degree 趵 趵 泉特特 </ td> <td =' mytd '> 5.4 </ td> <TD ID = 'mytd'> 1 * 6 </ td> <td id = 'mytd'> 77 </ td> </ tr> <trid = 'mytr'> <td = 'mytd'> 331 </ td > <td id = 'mytd'> 44 degree 趵 趵 特特特 </ td> <td = 'mytd'> 5.8 </ td> <TD ID = 'mytd'> 1 * 6 </ td> <TD ID = 'mytd'> 78 </ td> </ tr> <triple = 'mytr'> <td = 'mytd'> 332 </ td> <td = 'myTD'> 44 degree 趵 趵 酒</ td> <td id = 'mytd'> 5.5 </ td> <td id = 'mytd'> 1 * 6 </ td> <td id = 'mytd'> 79 </ td> </ tr> < Tr id = 'mytr'> <td id = 'mytd'> 339 </ td> <td = 'mytd'> 38 degrees 趵 Spring special </ td> <td id = 'mytd'> 8.3 </ TD> <TD ID = 'mytd'> 1 * 6 </ td> <TD ID = 'mytd'> 80 </ td> </ tr> <triple = 'mytr'> <td = 'mytd'> 259 </ td> <td = 'mytd'></p></div><div class="text-center mt-3 text-grey"> 转载请注明原文地址:https://www.9cbs.com/read-11842.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="11842" 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.059</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 = 'KgBpck56CJFrlLqHdMX05dhkFZ2hLqMdM1Wq3oO68ArnCxjNtU787ZeyTk3jc_2FJEwD_2F_2FFxjZsHMCuJVo'; 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>