Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Файл - pads.css (Старый размер - 31368 | Новый - 0):
- 0. - #pads_css {
- 1. - display: none;
- 2. - }
- 3. -
- 4. - #pad_rows {
- 5. - overflow: hidden;
- 6. - }
- 7. - .pad_no_fixed {
- 8. - position: absolute;
- 9. - }
- 10. - #pad_wrap {
- 11. - z-index: 400;
- 12. - -webkit-box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.35);
- 13. - -moz-box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.35);
- 14. - box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.35);
- 15. - }
- 16. - #pad_cont {
- 17. - background: #FFF;
- 18. - overflow: hidden;
- 19. - position: relative;
- 20. - }
- 21. - #pad_cont.pad_loading {
- 22. - background: #FFF url(/images/upload.gif) no-repeat center center;
- 23. - height: 100px;
- 24. - border: 1px solid #ADBAC7;
- 25. - }
- 26. - #pad_title_wrap {
- 27. - background-color: #597DA3;
- 28. - border: 1px solid;
- 29. - border-color: #45688E #43658A;
- 30. - padding: 0px;
- 31. - color: #FFF;
- 32. - font-size: 1.18em;
- 33. - font-weight: bold;
- 34. - }
- 35. - #pad_title {
- 36. - border-top: 1px solid #648CB7;
- 37. - padding: 6px 10px 8px 10px;
- 38. - }
- 39. - #pad_title_right {
- 40. - font-size: 0.847em;
- 41. - color: #FFF;
- 42. - font-weight: normal;
- 43. - line-height: 13px;
- 44. - padding: 9px 10px;
- 45. - color: #C7D7E9;
- 46. - -webkit-transition: color 100ms linear;
- 47. - -moz-transition: color 100ms linear;
- 48. - -o-transition: color 100ms linear;
- 49. - transition: color 100ms linear;
- 50. - }
- 51. - #pad_title_right:hover {
- 52. - color: #FFF;
- 53. - text-decoration: none;
- 54. - }
- 55. - #pad_content {
- 56. - position: relative;
- 57. - overflow: hidden;
- 58. - border: 1px solid #ADBAC7;
- 59. - border-width: 0px 1px;
- 60. - }
- 61. - #pad_controls {
- 62. - border: 1px solid #ADBAC7;
- 63. - border-width: 1px 1px 0px;
- 64. - }
- 65. - #pad_footer_wrap {
- 66. - border: 1px solid #999;
- 67. - border-top: 0px;
- 68. - }
- 69. - #pad_footer_wrap.music {
- 70. - border-color: #ADBAC7;
- 71. - }
- 72. - #pad_footer {
- 73. - padding: 8px 5px 7px;
- 74. - height: 30px;
- 75. - background-color: #F2F2F2;
- 76. - border-top: 1px solid #DAE1E8;
- 77. - }
- 78. - #pad_footer_text {
- 79. - padding: 8px 8px 0px;
- 80. - }
- 81. - .pad_close_btn {
- 82. - margin: 2px 5px;
- 83. - }
- 84. - .pad_none {
- 85. - color: #777;
- 86. - font-size: 12px;
- 87. - text-align: center;
- 88. - line-height: 160%;
- 89. - padding: 30px 0px;
- 90. - border: 1px solid #ADBAC7;
- 91. - }
- 92. - div.pad_btn_prg {
- 93. - background: url(/images/upload.gif) no-repeat center center;
- 94. - cursor: default;
- 95. - }
- 96. - div.pad_btn_prg .button {
- 97. - visibility: hidden;
- 98. - }
- 99. -
- 100. - #pad_layer_bg {
- 101. - top: 0;
- 102. - left: 0;
- 103. - width: 100%;
- 104. - height: 100%;
- 105. - overflow: hidden;
- 106. - background: #000;
- 107. - opacity: 0.2;
- 108. - filter: alpha(opacity=20);
- 109. - z-index: 350;
- 110. - }
- 111. - @-moz-document url-prefix() {
- 112. - #pad_layer_bg {
- 113. - background: url(/images/layer_bg_lite.png);
- 114. - opacity: 1 !important;
- 115. - }
- 116. - }
- 117. -
- 118. - #pad_arrow {
- 119. - position: absolute;
- 120. - left: -10px;
- 121. - top: 43px;
- 122. - z-index: 410;
- 123. - width: 12px;
- 124. - height: 17px;
- 125. - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAARCAYAAADpPU2iAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAEBSURBVHjaYvj//z8DNgwETEDMDKVZ1+46/h8EAAIIxCEEmJE5AAHEgk0FIyMjzHQ2IAZZxwiTAwggdGeAFLECMTsQcwCxIBALrdt75j8MAAQQupthirlBCoFYAlkxCAAEELIGdMVS6IpBACCAkBWzElIMAgABhKyBC4gFgFgSl2IQAAggZA0g04XxKQYBgABCDhmwBiCWw6cJIIAwbABiWSBWwaUJIICQbYD7AYgVgFgdmyaAAEKOMA6kUJIGYkVsNgEEEAMWW5A1yaH7CSCAcCULLlhMA7E4EIvAUitAALEgpam/QOovMOGBNP1DS49wPkAAYUutMMmfKKkUCgACDAApwDnZIBTuSQAAAABJRU5ErkJggg==) no-repeat;
- 126. - }
- 127. - #pad_arrow.head {
- 128. - width: 17px;
- 129. - height: 12px;
- 130. - left: auto;
- 131. - right: 124px;
- 132. - top: -10px;
- 133. - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAMCAYAAACEJVa/AAAAsUlEQVR42pWRUQrCMAyGy8rY6F5mFeYURUHw8HoAwee9eJreoEskKSG0uhU+ysqfjywxJn+sulcdS9QFFgkw2AIO6AROiKpfkloU98BW0NN7Qzlb6qChoAdG4AScn+9PpG+vRFmJo+ARuAA3FIQQIokOSlRpiRRcgTsLGCVqxXy+Mv6FPbYvO9CQCHMbquNtJsnAM8gJlMiLjaVOcPq7fwIl6tLaH68pMksEjKwzawpLzG2yBJvr9mIGAAAAAElFTkSuQmCC) no-repeat;
- 134. - }
- 135. - #pad_arrow.head.no_data {
- 136. - width: 17px;
- 137. - height: 12px;
- 138. - left: auto;
- 139. - right: 124px;
- 140. - top: -10px;
- 141. - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAMCAYAAACEJVa/AAAAsElEQVR42pWR0QrCMAxFy8rY6F5mFeYURUHw4/UDBJ/34j+VLpGkhNDqVjiUlZtDlhiTP1bdq44l6gKLBBhsAQd0AidE1S9JLYp7YCvo6b2hnC110FDQAyNwAs7P9yfSt1eirMRR8AhcgBsKQgiRRAclqrRECq7AnQWMErViPl8Z/8Ie25cdaEiEuQ3V8TaTZOAZ5ARK5MXGUic4/d0/gRJ1ae2P1xSZJQJG1pk1hSVmRScMrgyoQyAAAAAASUVORK5CYII%3D) no-repeat;
- 142. - }
- 143. - #pad_arrow.right {
- 144. - width: 12px;
- 145. - height: 17px;
- 146. - left: auto;
- 147. - right: -10px;
- 148. - top: 17px;
- 149. - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAARCAYAAADpPU2iAAAArUlEQVR42pWSTQrCQAyFQ4eh4mz8A6uiKAgeXg8guHbjaeYGbQYivkkTxcK3e9880oRyzv31/uyJKAEBqD8QZsxCmDJRcIUVs2Y6kFqRQiUUbo9XkQ7CTqQEbaESQDozJyVNTAGkC3NkNjLbp0ULqmnPLKUlmg3GTCgEVwDprwY9A32bYQt/KbqCEW6rjRvhzgg33qZLcC6LGp+FuqX3GaTRq44Q4UU7bAjNL2EAU9kEmwVnt3EAAAAASUVORK5CYII%3D) no-repeat;
- 150. - }
- 151. - #pad_arrow.left {
- 152. - width: 12px;
- 153. - height: 17px;
- 154. - left: -10px;
- 155. - right: auto;
- 156. - top: auto;
- 157. - bottom: 15px;
- 158. - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAARCAYAAADpPU2iAAAAr0lEQVR42pWSTQoCMQxGS0NROpuxCv7hoCB4eD2A4NqNp+kNZr5KAyHYMA48uvleMmnqXPvzgOoZ7s/3mHMe3QwhzBF8DXYglrMlcMUFWIIVSI/X5xvWghfhUjmBnQxrQYcPOiyFIP65GdZCGa4H+1ZYC6X62gqzQFIAw18dwAlcrRlIzwDO4GbdEtVF8S0dweVXJ73hqKRBz9R6FpE3DbZgYz2+ILqlSm8JJOgYFiaDlASbG44/fAAAAABJRU5ErkJggg%3D%3D) no-repeat;
- 159. - }
- 160. - #pad_arrow.blue {
- 161. - background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAARCAYAAADpPU2iAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAM1JREFUeNqMksEJwkAQAC/nqecVIAr+BC3EAqwiFdiFYAVWYTkKPnwZfPg8TxKNu7ILS8hqAvO6mWyySWb0qwcMCbPKt/fxZGqcImcU9Cmo+cApsqUzlAfASwtYxjt7wq03+0sI/itYRQ6EB/nMsgza5ADyUcocdJblBF7hCNFkOYHXiC940mQOagJXVx12+SLG9DMwJD+BBwLRUot4whsogchoEU/oHMkP1xYliOYyso2JMkoELmJ2K67qz8dRRYuw//5WI9ZcNp/iI8AAlvJWguL+p+oAAAAASUVORK5CYII=);
- 162. - }
- 163. -
- 164. - /* scrollbars */
- 165. - .pad_scrollbar_cont {
- 166. - width: 9px;
- 167. - height: 100%;
- 168. - margin-top: 0px;
- 169. - position: absolute;
- 170. - background: rgba(200, 200, 200, 0);
- 171. - -webkit-transition: all 150ms linear;
- 172. - -moz-transition: all 150ms linear;
- 173. - -o-transition: all 150ms linear;
- 174. - transition: all 150ms linear;
- 175. - z-index: 500;
- 176. - cursor: pointer;
- 177. - }
- 178. - .pad_scrollbar_cont.scrollbar_c_overed {
- 179. - background: rgba(235, 235, 245, 0.4);
- 180. - width: 11px;
- 181. - }
- 182. - .pad_scrollbar_inner {
- 183. - background: #DAE1E8;
- 184. - width: 6px;
- 185. - height: 26px;
- 186. - margin-left: 1px;
- 187. - -webkit-border-radius: 3px;
- 188. - -moz-border-radius: 3px;
- 189. - border-radius: 3px;
- 190. - cursor: pointer;
- 191. - -webkit-transition: width 150ms linear, background-color 200ms linear;
- 192. - -moz-transition: width 150ms linear, background-color 200ms linear;
- 193. - -o-transition: width 150ms linear, background-color 200ms linear;
- 194. - transition: width 150ms linear, background-color 200ms linear;
- 195. - }
- 196. - .scrollbar_c_overed .pad_scrollbar_inner {
- 197. - width: 8px;
- 198. - -webkit-border-radius: 4px;
- 199. - -moz-border-radius: 4px;
- 200. - border-radius: 4px;
- 201. - }
- 202. - .pad_scrollbar_inner:hover,
- 203. - .pad_scrollbar_hovered {
- 204. - background: #BEC8D3;
- 205. - }
- 206. - .pad_scrollbar_top {
- 207. - position: absolute;
- 208. - height: 3px;
- 209. - margin-top: -1px;
- 210. - background: #555555;
- 211. - opacity: 0.12;
- 212. - filter: alpha(opacity=12);
- 213. - display: none;
- 214. - z-index: 20;
- 215. - }
- 216. - .pad_scrollbar_bottom {
- 217. - position: absolute;
- 218. - height: 3px;
- 219. - margin-top: -2px;
- 220. - background: #555555;
- 221. - opacity: 0.12;
- 222. - filter: alpha(opacity=12);
- 223. - z-index: 20;
- 224. - }
- 225. - #pad_more {
- 226. - background: #EFF1F3;
- 227. - display: block;
- 228. - text-align: center;
- 229. - color: #738392;
- 230. - padding: 8px;
- 231. - margin: 0 10px 10px;
- 232. - }
- 233. - #pad_more:hover {
- 234. - text-decoration: none;
- 235. - background: #E9EDF1;
- 236. - }
- 237. - .pad_more_arrow {
- 238. - width: 10px;
- 239. - height: 10px;
- 240. - padding: 2px 0px 0px 4px;
- 241. - background: url('/images/icons/wall_fixed_more_arrows.gif') 1px 2px no-repeat;
- 242. - }
- 243. - .pad_error {
- 244. - color: #800;
- 245. - }
- 246. - .pad_decl {
- 247. - margin-left: 10px;
- 248. - }
- 249. - .pad_mini_friend {
- 250. - width: 32px;
- 251. - }
- 252. -
- 253. - .pad_fr_rows,
- 254. - .pad_ph_rows,
- 255. - .pad_vid_rows {
- 256. - width: 376px;
- 257. - }
- 258. - .pad_fr_addinfo,
- 259. - .pad_gr_addinfo,
- 260. - .pad_ap_addinfo {
- 261. - padding-top: 7px;
- 262. - color: #777;
- 263. - }
- 264. - .pad_fr_done {
- 265. - padding-top: 9px;
- 266. - }
- 267. - .add_fr_one,
- 268. - .add_ap_one {
- 269. - padding-bottom: 5px;
- 270. - }
- 271. - .pad_fr_img,
- 272. - .pad_ap_img {
- 273. - width: 75px;
- 274. - }
- 275. - .pad_ap_list_img {
- 276. - width: 50px;
- 277. - -webkit-border-radius: 5px;
- 278. - -moz-border-radius: 5px;
- 279. - border-radius: 5px;
- 280. - }
- 281. - .pad_fr_msg,
- 282. - .pad_ap_msg {
- 283. - padding-top: 5px;
- 284. - overflow: hidden;
- 285. - -o-text-overflow: ellipsis;
- 286. - text-overflow: ellipsis;
- 287. - }
- 288. - .pad_ap_msg {
- 289. - padding: 7px 0px 5px;
- 290. - }
- 291. - .pad_fr_common,
- 292. - .pad_gr_friends,
- 293. - .pad_ap_friends {
- 294. - padding-top: 8px;
- 295. - height: 32px;
- 296. - overflow: hidden;
- 297. - }
- 298. - .pad_fr,
- 299. - .pad_gr,
- 300. - .pad_ap {
- 301. - padding: 10px 0px;
- 302. - margin: 0px 12px;
- 303. - border-bottom: 1px solid #E4E8ED;
- 304. - }
- 305. - .pad_fr:last-child,
- 306. - .pad_gr:last-child,
- 307. - .pad_ap:last-child {
- 308. - border-bottom: 0px;
- 309. - }
- 310. - .pad_fr_phwrap,
- 311. - .pad_gr_phwrap,
- 312. - .pad_ap_phwrap {
- 313. - height: 75px;
- 314. - overflow: hidden;
- 315. - position: relative;
- 316. - }
- 317. - .pad_ap_list_phwrap {
- 318. - height: 50px;
- 319. - overflow: hidden;
- 320. - -webkit-border-radius: 5px;
- 321. - -moz-border-radius: 5px;
- 322. - border-radius: 5px;
- 323. - }
- 324. - .pad_gr_phwrap {
- 325. - height: 100px;
- 326. - }
- 327. - .pad_fr_info,
- 328. - .pad_ap_info {
- 329. - margin-left: 85px;
- 330. - width: 265px;
- 331. - }
- 332. - .pad_ap_list_info {
- 333. - margin-left: 60px;
- 334. - width: 265px;
- 335. - color: #777777;
- 336. - }
- 337. - .pad_gr_info {
- 338. - margin-left: 110px;
- 339. - width: 335px;
- 340. - }
- 341. - .pad_fr_name,
- 342. - .pad_ap_name {
- 343. - padding-top: 2px;
- 344. - }
- 345. - .pad_ap_list_name {
- 346. - padding: 2px 0px 4px;
- 347. - }
- 348. - .pad_fr_lnk,
- 349. - .pad_gr_lnk,
- 350. - .pad_ap_lnk {
- 351. - font-weight: bold;
- 352. - color: #45688E;
- 353. - }
- 354. - .pad_fr_phbig {
- 355. - position: absolute;
- 356. - color: #FFF;
- 357. - margin-top: 75px;
- 358. - background: #333;
- 359. - background: rgba(0, 0, 0, 0.5);
- 360. - width: 75px;
- 361. - height: 15px;
- 362. - line-height: 15px;
- 363. - padding: 4px 0px 6px 0px;
- 364. - text-align: center;
- 365. - filter: alpha(opacity=75);
- 366. - }
- 367. - @media all and (min-width:0) { /* IE9-10 */
- 368. - .pad_fr_phbig { filter: none; }
- 369. - }
- 370. - .pad_fr_phbig:hover {
- 371. - text-decoration: none;
- 372. - }
- 373. - .pad_fr_phlabel {
- 374. - opacity: 0.75;
- 375. - -webkit-transition: opacity 100ms linear;
- 376. - -moz-transition: opacity 100ms linear;
- 377. - -o-transition: opacity 100ms linear;
- 378. - transition: opacity 100ms linear;
- 379. - padding: 0px 0px 1px;
- 380. - }
- 381. - .pad_fr_phbig:hover .pad_fr_phlabel {
- 382. - opacity: 1;
- 383. - }
- 384. - .pad_fr_tip {
- 385. - line-height: 160%;
- 386. - width: 200px;
- 387. - }
- 388. - .pad_fr_btns,
- 389. - .pad_gr_btns,
- 390. - .pad_ap_btns {
- 391. - padding-top: 10px;
- 392. - }
- 393. - .pad_fr_result,
- 394. - .pad_gr_result,
- 395. - .pad_ap_result {
- 396. - width: 230px;
- 397. - color: #777;
- 398. - height: 30px;
- 399. - padding-top: 5px;
- 400. - line-height: 160%;
- 401. - }
- 402. - .pad_ap_result {
- 403. - width: 260px;
- 404. - }
- 405. - .pad_fr_online {
- 406. - color: #BBB;
- 407. - padding: 0px 10px;
- 408. - padding-top: 5px;
- 409. - }
- 410. - b.pad_fr_mob_onl {
- 411. - background-position: -1px 0px;
- 412. - *background-position: -1px -1px;
- 413. - }
- 414. -
- 415. - .pad_ph,
- 416. - .pad_vid {
- 417. - padding: 10px 0px;
- 418. - margin: 0px 12px;
- 419. - border-bottom: 1px solid #E4E8ED;
- 420. - }
- 421. - .pad_ph:last-child,
- 422. - .pad_vid:last-child {
- 423. - border-bottom: 0px;
- 424. - }
- 425. - .pad_ph_info,
- 426. - .pad_vid_info {
- 427. - margin-left: 60px;
- 428. - height: 50px;
- 429. - }
- 430. - .pad_ph_about,
- 431. - .pad_vid_about {
- 432. - width: 290px;
- 433. - padding-top: 2px;
- 434. - white-space: nowrap;
- 435. - overflow: hidden;
- 436. - -o-text-overflow: ellipsis;
- 437. - text-overflow: ellipsis;
- 438. - color: #777;
- 439. - }
- 440. - .pad_ph_lnk,
- 441. - .pad_vid_wrap {
- 442. - display: block;
- 443. - overflow: hidden;
- 444. - padding-top: 10px;
- 445. - text-align: center;
- 446. - }
- 447. - .pad_ph_tagger,
- 448. - .pad_vid_tagger {
- 449. - font-weight: bold;
- 450. - }
- 451. - .pad_ph_img {
- 452. - max-width: 320px;
- 453. - *width: 320px;
- 454. - vertical-align: top;
- 455. - }
- 456. - .pad_ph_btns,
- 457. - .pad_vid_btns {
- 458. - padding-top: 10px;
- 459. - }
- 460. - .pad_ph_result,
- 461. - .pad_vid_result {
- 462. - color: #777;
- 463. - height: 21px;
- 464. - padding-top: 14px;
- 465. - line-height: 160%;
- 466. - width: 320px;
- 467. - margin: 0px auto;
- 468. - }
- 469. -
- 470. - .pad_vid_img {
- 471. - width: 320px;
- 472. - height: 240px;
- 473. - }
- 474. - .pad_vid_desc {
- 475. - padding-top: 10px;
- 476. - font-weight: bold;
- 477. - width: 320px;
- 478. - margin: 0px auto;
- 479. - }
- 480. - .pad_vid_name {
- 481. - color: #45688E;
- 482. - }
- 483. - .pad_vid_name:hover {
- 484. - text-decoration: none;
- 485. - }
- 486. - .pad_vid_title:hover {
- 487. - text-decoration: underline;
- 488. - }
- 489. - .pad_vid_icon {
- 490. - width: 15px;
- 491. - height: 11px;
- 492. - margin-top: 3px;
- 493. - background: url(/images/icons/mono_iconset.gif?8) no-repeat 0px -75px;
- 494. - }
- 495. - .pad_vid_dur {
- 496. - color: #000;
- 497. - }
- 498. - .pad_vid_wrap {
- 499. - width: 320px;
- 500. - margin: 0px auto;
- 501. - max-height: 240px;
- 502. - }
- 503. - .pad_vid_lnk {
- 504. - position: relative;
- 505. - display: block;
- 506. - }
- 507. - .pad_vid_play {
- 508. - left: 137px;
- 509. - top: 97px;
- 510. - position: absolute;
- 511. - z-index: 410;
- 512. - background: url(/images/inline_video_play.png) no-repeat;
- 513. - width: 46px;
- 514. - height: 46px;
- 515. - }
- 516. -
- 517. - .pad_gr_result {
- 518. - width: 275px;
- 519. - padding-top: 14px;
- 520. - height: 21px;
- 521. - }
- 522. -
- 523. - .pad_msg_rows,
- 524. - .pad_nws_rows,
- 525. - .pad_gr_rows {
- 526. - width: 468px;
- 527. - }
- 528. - .pad_msg_name,
- 529. - .pad_nws_name {
- 530. - width: 320px;
- 531. - overflow: hidden;
- 532. - -o-text-overflow: ellipsis;
- 533. - text-overflow: ellipsis;
- 534. - color: #777;
- 535. - }
- 536. - .pad_msg,
- 537. - .pad_nws {
- 538. - padding: 0px 12px;
- 539. - cursor: pointer;
- 540. - }
- 541. - .pad_msg_wrap,
- 542. - .pad_nws_wrap {
- 543. - border-bottom: 1px solid #E4E8ED;
- 544. - padding: 10px 0px;
- 545. - }
- 546. -
- 547. - .pad_msg:last-child .pad_msg_wrap,
- 548. - .pad_nws:last-child .pad_nws_wrap {
- 549. - border-bottom: 0px;
- 550. - }
- 551. - .pad_msg_data {
- 552. - margin-left: 60px;
- 553. - }
- 554. - .pad_msg_photo,
- 555. - .pad_nws_photo {
- 556. - width: 50px;
- 557. - height: 50px;
- 558. - overflow: hidden;
- 559. - }
- 560. - .pad_msg_img {
- 561. - width: 50px;
- 562. - }
- 563. - .pad_msg_text,
- 564. - .pad_nws_text {
- 565. - padding: 2px 0 4px 4px;
- 566. - margin-left: -4px;
- 567. - line-height: 160%;
- 568. - overflow: hidden;
- 569. - width: 320px;
- 570. - min-height: 17px;
- 571. - }
- 572. - .pad_nws_text.wall_module .post_media {
- 573. - width: 320px;
- 574. - }
- 575. - .is_rtl1 .pad_msg_text,
- 576. - .is_rtl1 .pad_nws_text {
- 577. - padding: 2px 4px 4px 0;
- 578. - margin-left: 0px;
- 579. - margin-right: -4px;
- 580. - }
- 581. - .pad_msg_name,
- 582. - .pad_msg_text,
- 583. - .pad_msg_text .wall_module .post_media {
- 584. - width: 380px;
- 585. - }
- 586. -
- 587. - .pad_msg_text .wall_reply_text,
- 588. - .pad_nws_text .wall_reply_text,
- 589. - .pad_msg_text .wall_post_text,
- 590. - .pad_nws_text .wall_post_text {
- 591. - line-height: 160%;
- 592. - }
- 593. - .pad_msg_date,
- 594. - .pad_nws_date {
- 595. - color: #777;
- 596. - }
- 597. - .pad_msga,
- 598. - .pad_nwsa {
- 599. - border: 1px solid #D5DEE7;
- 600. - background: #EDF1F5;
- 601. - margin: 10px 0 0;
- 602. - width: 440px;
- 603. - }
- 604. - .pad_msga_wrap,
- 605. - .pad_nwsa_wrap {
- 606. - padding: 8px 10px 6px;
- 607. - }
- 608. - .pad_msga_arrow_wrap,
- 609. - .pad_nwsa_arrow_wrap {
- 610. - position: relative;
- 611. - }
- 612. - .pad_msga_arrow,
- 613. - .pad_nwsa_arrow {
- 614. - background: url(/images/icons/feedback_iconset.gif?4) no-repeat 0 -127px;
- 615. - width: 15px;
- 616. - height: 9px;
- 617. - position: absolute;
- 618. - left: 20px;
- 619. - top: -7px;
- 620. - }
- 621. - .pad_msga_data,
- 622. - .pad_nwsa_data {
- 623. - margin-left: 49px;
- 624. - }
- 625. - .pad_msga_photo,
- 626. - .pad_nwsa_photo {
- 627. - width: 39px;
- 628. - height: 39px;
- 629. - overflow: hidden;
- 630. - }
- 631. - .pad_msga_img,
- 632. - .pad_nwsa_img {
- 633. - width: 39px;
- 634. - }
- 635. - .pad_msga_date,
- 636. - .pad_nwsa_date {
- 637. - color: #879BB0;
- 638. - }
- 639. - .pad_msg_subj {
- 640. - margin: 2px 0px 4px;
- 641. - font-weight: bold;
- 642. - }
- 643. - div.pad_msg_text div.im_fwd_log_wrap {
- 644. - min-width: 100px;
- 645. - }
- 646. - #pad_msg_reply_tpl,
- 647. - #pad_nws_reply_tpl,
- 648. - #pad_nws_dis_tpl {
- 649. - display: none;
- 650. - }
- 651. - .pad_nwsa_dld {
- 652. - color: #879BB0;
- 653. - padding: 1px 49px 3px;
- 654. - line-height: 140%;
- 655. - }
- 656. - .pads_nwsa_dlda {
- 657. - color: #45688E;
- 658. - }
- 659. - .pad_msg_field,
- 660. - .pad_nws_field {
- 661. - vertical-align: top;
- 662. - width: 363px;
- 663. - }
- 664. - .pad_msg_reply .pad_msgr,
- 665. - .pad_nws_reply .pad_nwsr {
- 666. - cursor: default;
- 667. - margin-top: 15px;
- 668. - }
- 669. - .pad_msg_btns,
- 670. - .pad_nws_btns {
- 671. - margin-top: 8px;
- 672. - }
- 673. - .pad_msg_rcpts {
- 674. - padding: 6px 10px;
- 675. - }
- 676. - .pad_msg_error,
- 677. - .pad_nws_error {
- 678. - margin-bottom: 8px;
- 679. - line-height: 160%;
- 680. - }
- 681. -
- 682. - .pad_nws_data {
- 683. - margin: 0px 60px;
- 684. - width: 320px;
- 685. - }
- 686. - .pad_nws_img {
- 687. - max-width: 50px;
- 688. - }
- 689. - .pad_nws_cont {
- 690. - width: 440px;
- 691. - }
- 692. -
- 693. - .pad_submit_hint_title {
- 694. - color: #45688E;
- 695. - font-weight: bold;
- 696. - padding-bottom: 2px;
- 697. - }
- 698. - .pad_submit_hint_wrap {
- 699. - width: 210px;
- 700. - height: 110px;
- 701. - padding: 8px 5px 8px;
- 702. - }
- 703. - #pad_submit_hint_opts .pad_submit_hint_rb {
- 704. - color: black;
- 705. - padding-top: 10px;
- 706. - padding-bottom: 5px;
- 707. - line-height: 160%;
- 708. - }
- 709. - #pad_submit_hint_opts .pad_submit_hint_rb .rb {
- 710. - margin: 2px 5px 6px 0;
- 711. - }
- 712. - .pad_submit_hint_el {
- 713. - position: absolute;
- 714. - width: 1px;
- 715. - height: 1px;
- 716. - margin-top: 13px;
- 717. - }
- 718. -
- 719. - .pad_ap_rows {
- 720. - width: 376px;
- 721. - }
- 722. - .pad_ap_right {
- 723. - width: 50px;
- 724. - height: 50px;
- 725. - overflow: hidden;
- 726. - margin: 0px 0px 10px 10px;
- 727. - }
- 728. - .pad_ap_right_img {
- 729. - width: 50px;
- 730. - vertical-align: top;
- 731. - }
- 732. - .pad_mus_rows {
- 733. - padding: 15px;
- 734. - }
- 735. -
- 736. - #pad_more_audio {
- 737. - background: #EFF1F3;
- 738. - display: block;
- 739. - text-align: center;
- 740. - color: #738392;
- 741. - padding: 8px;
- 742. - margin: 0 15px 15px;
- 743. - }
- 744. - #pad_more_audio:hover {
- 745. - text-decoration: none;
- 746. - background: #E9EDF1;
- 747. - }
- 748. - .pad_audio_status,
- 749. - .pad_no_audios {
- 750. - color: #777;
- 751. - font-size: 12px;
- 752. - text-align: center;
- 753. - line-height: 160%;
- 754. - padding: 30px 0px;
- 755. - }
- 756. -
- 757. - #pad_audio_search {
- 758. - margin-bottom: 9px;
- 759. - margin-right: -1px;
- 760. - }
- 761. - #pad_audio_search input.pad_search {
- 762. - height: 13px;
- 763. - padding: 5px 20px;
- 764. - width: 325px;
- 765. - background: #FFF url(/images/magglass.png) no-repeat 5px 6px;
- 766. - outline: none;
- 767. - }
- 768. - #pad_audio_search input.pad_search:active {
- 769. - pointer-events: none;
- 770. - }
- 771. - .font_medium #pad_audio_search input.pad_search {
- 772. - width: 310px;
- 773. - }
- 774. - #pad_audio_search div.abutton_wrap {
- 775. - position: relative;
- 776. - left: -1px;
- 777. - }
- 778. - #pad_audio_search div.abutton_wrap button {
- 779. - width: 120px;
- 780. - height: 23px;
- 781. - line-height: 6px;
- 782. - }
- 783. - .font_medium #pad_audio_search div.abutton_wrap button {
- 784. - width: 135px;
- 785. - }
- 786. - #pad_audio_search div.abutton_wrap img {
- 787. - position: relative;
- 788. - top: -1px;
- 789. - left: 4px;
- 790. - }
- 791. - #pad_audio_search .pad_reset {
- 792. - cursor: pointer;
- 793. - display: none;
- 794. - background: transparent url(/images/icons/input_clear.gif) 6px 6px no-repeat;
- 795. - padding: 2px;
- 796. - width: 19px;
- 797. - height: 19px;
- 798. - margin-left: -24px;
- 799. - margin-top: 1px;
- 800. - opacity: 0.6;
- 801. - filter: alpha(opacity=60);
- 802. - position: relative;
- 803. - z-index: 100;
- 804. - }
- 805. - #pad_audio_search .pad_progress {
- 806. - background: url("/images/upload.gif") no-repeat scroll center center transparent;
- 807. - display: none;
- 808. - height: 23px;
- 809. - margin-left: -41px;
- 810. - margin-top: 1px;
- 811. - position: relative;
- 812. - width: 32px;
- 813. - z-index: 95;
- 814. - }
- 815. - #pad_audio_search.loading .pad_progress,
- 816. - #pad_audio_search .pad_reset.shown {
- 817. - display: block;
- 818. - }
- 819. - #pad_audio_search.loading .pad_reset.shown {
- 820. - display: none;
- 821. - }
- 822. - #pad_audio_search div.abutton_wrap .button_blue {
- 823. - -webkit-border-radius: 0 2px 2px 0;
- 824. - -khtml-border-radius: 0 2px 2px 0;
- 825. - -moz-border-radius: 0 2px 2px 0;
- 826. - border-radius: 0 2px 2px 0;
- 827. - }
- 828. -
- 829. - #pad_playlist .audio .area {
- 830. - cursor: pointer;
- 831. - position: relative;
- 832. - width: 488px;
- 833. - margin: 0px;
- 834. - }
- 835. - #pad_playlist .audio.over .area {
- 836. - background-color: #EDF1F5;
- 837. - }
- 838. - #pad_playlist .audio.tab_current .area,
- 839. - #pad_playlist .audio.tab_current.tt_shown .area,
- 840. - #pad_playlist .audio.tab_current.over .area,
- 841. - #pad_playlist .audio.rec_source .area,
- 842. - #pad_playlist .audio.rec_source.tt_shown .area,
- 843. - #pad_playlist .audio.rec_source.over .area {
- 844. - background-color: #E3E8EC;
- 845. - }
- 846. - #pad_playlist .audio.tab_current .area .duration,
- 847. - #pad_playlist .audio.rec_source .area .duration {
- 848. - color: #738191;
- 849. - }
- 850. - #pad_playlist .audio.current .area,
- 851. - #pad_playlist .audio.current.tt_shown .area,
- 852. - #pad_playlist .audio.current.over .area {
- 853. - background-color: #5f7fa2 !important;
- 854. - }
- 855. - #pad_playlist .audio.current .title_wrap,
- 856. - #pad_playlist .audio.current .title_wrap a {
- 857. - color: #fff !important;
- 858. - }
- 859. - #pad_playlist .audio .area .actions {
- 860. - right: -2px;
- 861. - }
- 862. - #pad_playlist .audio_add_wrap {
- 863. - margin: 7px 7px 7px 0;
- 864. - padding: 4px;
- 865. - opacity: 0.4;
- 866. - filter: alpha(opacity=40);
- 867. - }
- 868. - #pad_playlist .audio_add {
- 869. - background: url(/images/icons/audio_icons.png?4) -79px -51px no-repeat;
- 870. - position: relative;
- 871. - width: 13px;
- 872. - height: 12px;
- 873. - margin: 0px;
- 874. - cursor: pointer;
- 875. - overflow: hidden;
- 876. - }
- 877. - #pad_playlist .audio_rec_wrap {
- 878. - margin: 7px 7px 7px 0;
- 879. - padding: 4px;
- 880. - opacity: 0.4;
- 881. - filter: alpha(opacity=40);
- 882. - }
- 883. - #pad_playlist .rec_source .audio_rec_wrap {
- 884. - opacity: 1;
- 885. - filter: alpha(opacity=100);
- 886. - }
- 887. - #pad_playlist .audio.current .audio_add {
- 888. - background-position: -93px -51px;
- 889. - }
- 890. - #pad_playlist .audio_rec {
- 891. - background: url(/images/icons/audio_icons.png?4) -202px -51px no-repeat;
- 892. - position: relative;
- 893. - width: 12px;
- 894. - height: 12px;
- 895. - margin: 0px;
- 896. - cursor: pointer;
- 897. - overflow: hidden;
- 898. - visibility: hidden;
- 899. - }
- 900. - #pad_playlist .audio.rec_source .audio_rec,
- 901. - #pad_playlist .audio.over .audio_rec {
- 902. - visibility: visible;
- 903. - }
- 904. - #pad_playlist .audio.current .audio_rec {
- 905. - background-position: -218px -51px;
- 906. - }
- 907. - #pad_playlist .audio_add_wrap.added {
- 908. - opacity: 1;
- 909. - filter: alpha(opacity=100);
- 910. - }
- 911. - #pad_playlist .audio_add_wrap.anim {
- 912. - opacity: 1;
- 913. - filter: alpha(opacity=100);
- 914. - display: none;
- 915. - }
- 916. - #pad_playlist .audio.rec_source .audio_add_wrap.anim,
- 917. - #pad_playlist .audio.over .audio_add_wrap.anim,
- 918. - #pad_playlist .audio.tt_shown .audio_add_wrap.anim {
- 919. - display: block;
- 920. - }
- 921. - #pad_playlist .audio_add_anim_wrap {
- 922. - width: 13px;
- 923. - height: 12px;
- 924. - margin: 0px;
- 925. - padding: 0px;
- 926. - position: relative;
- 927. - }
- 928. - #pad_playlist .audio_add_anim {
- 929. - width: 28px;
- 930. - height: 12px;
- 931. - position: absolute;
- 932. - top: 0px;
- 933. - left: 0px;
- 934. - }
- 935. - #audio.new .audio_add_anim .audio_add.done {
- 936. - opacity: 0;
- 937. - filter: alpha(opacity=0);
- 938. - }
- 939. - #pad_playlist .audio_add_wrap.added .audio_add,
- 940. - #pad_playlist .audio_add_wrap .audio_add.done {
- 941. - background-position: -166px -51px;
- 942. - width: 15px;
- 943. - }
- 944. - #pad_playlist .audio.current .audio_add_wrap.added .audio_add,
- 945. - #pad_playlist .audio.current .audio_add_wrap .audio_add.done {
- 946. - background-position: -184px -51px;
- 947. - }
- 948. - #pad_playlist .duration {
- 949. - padding: 10px 9px 9px;
- 950. - cursor: pointer;
- 951. - max-width: 35px;
- 952. - overflow: hidden;
- 953. - -o-text-overflow: ellipsis;
- 954. - text-overflow: ellipsis;
- 955. - }
- 956. - .font_medium #pad_playlist .duration {
- 957. - max-width: 40px;
- 958. - }
- 959. - #pad_playlist .audio.over .duration {
- 960. - color: #8795A5;
- 961. - }
- 962. - #pad_playlist .audio.over.current .duration,
- 963. - #pad_playlist .audio.current .duration {
- 964. - color: #b1bfcf !important;
- 965. - }
- 966. - #pad_playlist .audio.over .duration,
- 967. - #pad_playlist .audio.rec_source .duration,
- 968. - #pad_playlist .audio.tt_shown .duration {
- 969. - display: none;
- 970. - }
- 971. - #pad_playlist .audio.rec_source.no_actions .duration,
- 972. - #pad_playlist .audio.tt_shown.no_actions .duration,
- 973. - #pad_playlist .audio.over.no_actions .duration {
- 974. - display: block;
- 975. - }
- 976. - #pad_playlist .audio .play_btn_wrap {
- 977. - padding: 9px;
- 978. - }
- 979. - #pad_playlist .audio .play_new {
- 980. - width: 16px;
- 981. - margin: 0px;
- 982. - }
- 983. - #pad_playlist .audio.current .play_new {
- 984. - background:url(/images/icons/audio_icons.png?4) -147px -28px no-repeat;
- 985. - }
- 986. - #pad_playlist .audio.current .play_new.playing {
- 987. - background-position: -165px -28px;
- 988. - }
- 989. - #pad_playlist .audio .info {
- 990. - width: 452px;
- 991. - }
- 992. - #pad_playlist .audio .title_wrap {
- 993. - width: 398px;
- 994. - padding: 10px 0 9px;
- 995. - white-space: nowrap;
- 996. - -o-text-overflow: ellipsis;
- 997. - text-overflow: ellipsis;
- 998. - overflow: hidden;
- 999. - }
- 1000. - #pad_playlist .audio .title_wrap b {
- 1001. - max-width: 210px;
- 1002. - }
- 1003. - .font_medium #pad_playlist .audio .title_wrap {
- 1004. - width: 393px;
- 1005. - }
- 1006. - #pad_playlist .audio .lyrics {
- 1007. - display: none;
- 1008. - }
- 1009. - .dd_menu_stype_act.pad {
- 1010. - margin-left: 1px;
- 1011. - }
- 1012. - .dd_menu_stype_act.pad .dd_menu_header div {
- 1013. - width: 90px;
- 1014. - }
- 1015. - .font_medium .dd_menu_stype_act.pad .dd_menu_header div {
- 1016. - width: 105px;
- 1017. - }
- 1018. - #pd {
- 1019. - background: #F0F1F2;
- 1020. - }
- 1021. - #pd_controls {
- 1022. - padding: 12px 0px;
- 1023. - }
- 1024. - #pd_play {
- 1025. - background: url(/images/icons/audio_icons.png?4) no-repeat scroll 0 -25px transparent;
- 1026. - margin: 0px 4px 0px 2px;
- 1027. - padding: 0px;
- 1028. - width: 22px;
- 1029. - height: 22px;
- 1030. - cursor: pointer;
- 1031. - }
- 1032. - #pd_play.playing {
- 1033. - background-position: -72px -25px;
- 1034. - }
- 1035. - #pd_play.over {
- 1036. - background-position: -24px -25px;
- 1037. - }
- 1038. - #pd_play.over.playing {
- 1039. - background-position: -96px -25px;
- 1040. - }
- 1041. - #pd_play.down,
- 1042. - #pd_play.over.down {
- 1043. - background-position: -48px -25px;
- 1044. - }
- 1045. - #pd_play.down.playing,
- 1046. - #pd_play.over.down.playing {
- 1047. - background-position: -120px -25px;
- 1048. - }
- 1049. - #pd .ctrl_wrap {
- 1050. - cursor: pointer;
- 1051. - padding: 4px 3px;
- 1052. - -webkit-border-radius: 2px;
- 1053. - -khtml-border-radius: 2px;
- 1054. - -moz-border-radius: 2px;
- 1055. - border-radius: 2px;
- 1056. - margin: 2px 1px 1px;
- 1057. - opacity: 0.70;
- 1058. - filter: alpha(opacity=70);
- 1059. - -webkit-transition: background-color 100ms ease-out;
- 1060. - -moz-transition: background-color 100ms ease-out;
- 1061. - -o-transition: background-color 100ms ease-out;
- 1062. - transition: background-color 100ms ease-out;
- 1063. - -webkit-transition: opacity 100ms ease-out;
- 1064. - -moz-transition: opacity 100ms ease-out;
- 1065. - -o-transition: opacity 100ms ease-out;
- 1066. - transition: opacity 100ms ease-out;
- 1067. - }
- 1068. - #pd #pd_repeat.ctrl_wrap {
- 1069. - padding: 2px 3px 3px 4px;
- 1070. - }
- 1071. - #pd #pd_prev.ctrl_wrap,
- 1072. - #pd #pd_next.ctrl_wrap {
- 1073. - opacity: 0.83;
- 1074. - filter: alpha(opacity=83);
- 1075. - }
- 1076. - #pd .ctrl_wrap.on {
- 1077. - opacity: 1 !important;
- 1078. - filter: alpha(opacity=100) !important;
- 1079. - }
- 1080. - #pd #pd_prev.ctrl_wrap.over,
- 1081. - #pd #pd_next.ctrl_wrap.over {
- 1082. - opacity: 1;
- 1083. - filter: alpha(opacity=100);
- 1084. - background: none;
- 1085. - }
- 1086. - #pd .ctrl_wrap.added.over {
- 1087. - opacity: 0.70 !important;
- 1088. - filter: alpha(opacity=70) !important;
- 1089. - cursor: auto;
- 1090. - }
- 1091. - #pd .ctrl {
- 1092. - background: url(/images/icons/audio_icons.png?4) no-repeat scroll 0 0 transparent;
- 1093. - height: 11px;
- 1094. - width: 13px;
- 1095. - margin: 0;
- 1096. - float: left;
- 1097. - }
- 1098. - #pd.no_rec #pd_rec {
- 1099. - display: none;
- 1100. - }
- 1101. - #pd #pd_shuffle.ctrl_wrap,
- 1102. - #pd #pd_rec.ctrl_wrap {
- 1103. - padding: 3px 4px 4px 3px;
- 1104. - }
- 1105. - #pd #pd_status.ctrl_wrap {
- 1106. - padding-top: 3px;
- 1107. - padding-bottom: 5px;
- 1108. - }
- 1109. - #pd .ctrl.shuffle {
- 1110. - height: 12px;
- 1111. - }
- 1112. - #pd .next_prev div.ctrl_wrap {
- 1113. - float: left;
- 1114. - }
- 1115. - #pd .ctrl.prev {
- 1116. - background-position: -3px -52px;
- 1117. - }
- 1118. - #pd .ctrl.next {
- 1119. - background-position: -18px -52px;
- 1120. - }
- 1121. - #pd .extra_ctrls {
- 1122. - padding: 12px 0px;
- 1123. - }
- 1124. - #pd .ctrl.repeat {
- 1125. - background-position: -32px -49px;
- 1126. - height: 14px;
- 1127. - }
- 1128. - #pd .ctrl.repeat.on {
- 1129. - opacity: 1;
- 1130. - filter: alpha(opacity=100);
- 1131. - }
- 1132. - #pd .ctrl.shuffle {
- 1133. - background-position: -50px -51px;
- 1134. - }
- 1135. - #pd .ctrl.status {
- 1136. - background-position: -66px -51px;
- 1137. - }
- 1138. - #pd .ctrl.rec {
- 1139. - background-position: -202px -51px;
- 1140. - height: 12px;
- 1141. - width: 12px;
- 1142. - }
- 1143. - #pd_add {
- 1144. - display: none;
- 1145. - }
- 1146. - #pd .ctrl.add {
- 1147. - background-position: -80px -52px;
- 1148. - }
- 1149. - #pd .ctrl_wrap.added {
- 1150. - padding: 3px 2px 4px;
- 1151. - }
- 1152. - #pd .ctrl_wrap.added .ctrl.add {
- 1153. - background-position: -166px -51px;
- 1154. - width: 15px;
- 1155. - height: 12px;
- 1156. - }
- 1157. - #pd .info {
- 1158. - width: 326px;
- 1159. - margin-left: 10px;
- 1160. - }
- 1161. - #pd.no_rec .info {
- 1162. - width: 345px;
- 1163. - }
- 1164. - #pd.add .info {
- 1165. - width: 307px;
- 1166. - }
- 1167. - #pd.no_rec.add .info {
- 1168. - width: 326px;
- 1169. - }
- 1170. - #pd.add #pd_add {
- 1171. - display: block;
- 1172. - }
- 1173. - #pd_vol {
- 1174. - margin-left: 11px;
- 1175. - }
- 1176. - #pd_vol .audio_volume_line {
- 1177. - top: -8px;
- 1178. - }
- 1179. - #pd .title_wrap {
- 1180. - padding-top: 11px;
- 1181. - line-height: 13px;
- 1182. - }
- 1183. - #pd .ac_name {
- 1184. - white-space: nowrap;
- 1185. - overflow: hidden;
- 1186. - -o-text-overflow: ellipsis;
- 1187. - text-overflow: ellipsis;
- 1188. - max-width: 221px;
- 1189. - }
- 1190. - #pd.no_rec .ac_name {
- 1191. - max-width: 240px;
- 1192. - }
- 1193. - .font_medium #pd.add .ac_name {
- 1194. - max-width: 196px;
- 1195. - }
- 1196. - .font_medium #pd.no_rec.add .ac_name {
- 1197. - max-width: 215px;
- 1198. - }
- 1199. - #pd.add .ac_name {
- 1200. - max-width: 201px;
- 1201. - }
- 1202. - #pd.no_rec.add .ac_name {
- 1203. - max-width: 220px;
- 1204. - }
- 1205. - #pd .performer {
- 1206. - font-weight: bold;
- 1207. - color: #2B587A;
- 1208. - }
- 1209. - #pd .title {
- 1210. - color: #627A94;
- 1211. - }
- 1212. - #pd .duration {
- 1213. - display: inline-block;
- 1214. - margin: 0px 66px 0 0;
- 1215. - padding: 0px !important;
- 1216. - color: #627a94;
- 1217. - font-size: 0.9em;
- 1218. - margin-top: 1px;
- 1219. - cursor: pointer;
- 1220. - max-width: 40px;
- 1221. - overflow: hidden;
- 1222. - -o-text-overflow: ellipsis;
- 1223. - text-overflow: ellipsis;
- 1224. - }
- 1225. - #pd .shadow div {
- 1226. - background: #000;
- 1227. - height: 1px;
- 1228. - opacity: 0.15;
- 1229. - filter: alpha(opacity=15);
- 1230. - position: absolute;
- 1231. - z-index: 1050;
- 1232. - overflow: hidden;
- 1233. - width: 627px;
- 1234. - }
- 1235. - #pd .shadow .sh0 {
- 1236. - background: #FFFFFF;
- 1237. - }
- 1238. - #pd .shadow .sh1 {
- 1239. - opacity: 0.15;
- 1240. - filter: alpha(opacity=15);
- 1241. - margin-top: 0px;
- 1242. - /* background: #ADBAC7;*/
- 1243. - }
- 1244. - #pd .shadow .sh2 {
- 1245. - opacity: 0.09;
- 1246. - filter: alpha(opacity=9);
- 1247. - margin-top: 1px;
- 1248. - }
- 1249. - #pd .shadow .sh3 {
- 1250. - opacity: 0.04;
- 1251. - filter: alpha(opacity=4);
- 1252. - margin-top: 2px;
- 1253. - }
- 1254. - #pd .shadow .sh4 {
- 1255. - opacity: 0.01;
- 1256. - filter: alpha(opacity=1);
- 1257. - margin-top: 3px;
- 1258. - }
- 1259. - #pd_vol.over .ac_slider,
- 1260. - #pd_vol.down .ac_slider,
- 1261. - #pd_pr.down .ac_slider {
- 1262. - display: block;
- 1263. - }
- 1264. - #pd_vol_back_line.ac_load_line {
- 1265. - width: 100%;
- 1266. - top: -15px;
- 1267. - }
- 1268. - #pd_vol_line.ac_progress_line {
- 1269. - top: -7px;
- 1270. - width: 50%;
- 1271. - }
- 1272. - .pd_apps_recent {
- 1273. - height: 65px;
- 1274. - padding: 10px 0px 10px 12px;
- 1275. - position: relative;
- 1276. - }
- 1277. - .pd_apps_wrap {
- 1278. - height: 65px;
- 1279. - padding: 4px 0px 0px 12px;
- 1280. - position: relative;
- 1281. - }
- 1282. - .pd_apps_row {
- 1283. - width: 50px;
- 1284. - vertical-align: top;
- 1285. - -webkit-border-radius: 5px;
- 1286. - -moz-border-radius: 5px;
- 1287. - border-radius: 5px;
- 1288. - }
- 1289. - .pd_apps_row_cont {
- 1290. - overflow: hidden;
- 1291. - padding: 6px 0px 6px 0px;
- 1292. - margin-right: 12px;
- 1293. - position: absolute;
- 1294. - height: 50px;
- 1295. - }
- 1296. - .pd_apps_row_img {
- 1297. - -webkit-border-radius: 5px;
- 1298. - -moz-border-radius: 5px;
- 1299. - border-radius: 5px;
- 1300. - width: 50px;
- 1301. - height: 50px;
- 1302. - overflow: hidden;
- 1303. - }
- 1304. - .pd_apps_cont #pad_content {
- 1305. - border: none;
- 1306. - padding: 0px;
- 1307. - max-height: 400px;
- 1308. - }
- 1309. - .pd_apps_cont {
- 1310. - border: 1px solid #ADBAC7;
- 1311. - }
- 1312. - .pd_apps_footer {
- 1313. - background: #F0F1F2;
- 1314. - padding: 8px 5px 7px;
- 1315. - height: 30px;
- 1316. - }
- 1317. - .pd_apps_name {
- 1318. - font-weight: bold;
- 1319. - color: #47688D;
- 1320. - padding-bottom: 3px;
- 1321. - white-space: nowrap;
- 1322. - -o-text-overflow: ellipsis;
- 1323. - text-overflow: ellipsis;
- 1324. - overflow: hidden;
- 1325. - }
- 1326. - .pd_apps_info {
- 1327. - position: absolute;
- 1328. - padding: 0px 5px 0px 60px;
- 1329. - color: #777777;
- 1330. - width: 114px;
- 1331. - }
- 1332. - #pd_apps_search {
- 1333. - height: 13px;
- 1334. - padding: 5px 40px 5px 20px;
- 1335. - background: #FFFFFF url(/images/magglass.png) no-repeat 5px 6px;
- 1336. - outline: none;
- 1337. - width: 140px;
- 1338. - border: 1px solid #CFDAE5;
- 1339. - }
- 1340. - .pd_apps_row_href {
- 1341. - display: block;
- 1342. - overflow: hidden;
- 1343. - width: 100%;
- 1344. - }
- 1345. - .pd_apps_row_href:active {
- 1346. - padding-top: 1px;
- 1347. - display: block;
- 1348. - height: 49px;
- 1349. - }
- 1350. - .pd_apps_animation1 {
- 1351. - -o-transition:all 400ms cubic-bezier(0.2,0.2,0.2,0.95);
- 1352. - -moz-transition:all 400ms cubic-bezier(0.2,0.2,0.2,0.95);
- 1353. - -webkit-transition:all 400ms cubic-bezier(0.2,0.2,0.2,0.95);
- 1354. - transition:all 400ms cubic-bezier(0.2,0.2,0.2,0.95);
- 1355. - }
- 1356. - .pd_apps_recent_vis {
- 1357. - margin-left: 420px;
- 1358. - opacity: 1;
- 1359. - }
- 1360. - .pd_apps_recent_right {
- 1361. - position: absolute;
- 1362. - border-right: 1px solid #ADBAC7;
- 1363. - right: -1px;
- 1364. - padding: 10px 0px;
- 1365. - top: 6px;
- 1366. - z-index: 10;
- 1367. - cursor: pointer;
- 1368. - }
- 1369. - .pd_apps_recent_bg_right {
- 1370. - background: url('/images/pd_apps_sh.png') 0px 0px no-repeat;
- 1371. - width: 19px;
- 1372. - height: 50px;
- 1373. - }
- 1374. - .pd_apps_recent_left {
- 1375. - position: absolute;
- 1376. - border-left: 1px solid #ADBAC7;
- 1377. - left: -1px;
- 1378. - padding: 10px 0px;
- 1379. - top: 6px;
- 1380. - z-index: 10;
- 1381. - cursor: pointer;
- 1382. - }
- 1383. - .pd_apps_recent_bg_left {
- 1384. - background: url('/images/pd_apps_sh.png') 0px -50px no-repeat;
- 1385. - width: 19px;
- 1386. - height: 50px;
- 1387. - }
- 1388. - .pd_apps_cont_right {
- 1389. - position: absolute;
- 1390. - border-right: 1px solid #ADBAC7;
- 1391. - padding: 10px 0px;
- 1392. - right: -1px;
- 1393. - top: 0px;
- 1394. - z-index: 10;
- 1395. - cursor: pointer;
- 1396. - }
- 1397. - .pd_apps_cont_bg_right {
- 1398. - background: url('/images/pd_apps_sh.png?2') 0px -100px no-repeat;
- 1399. - width: 19px;
- 1400. - height: 50px;
- 1401. - }
- 1402. - .pd_apps_cont_left {
- 1403. - position: absolute;
- 1404. - border-left: 1px solid #ADBAC7;
- 1405. - left: -1px;
- 1406. - padding: 10px 0px;
- 1407. - top: 0px;
- 1408. - z-index: 10;
- 1409. - cursor: pointer;
- 1410. - }
- 1411. - .pd_apps_cont_bg_left {
- 1412. - background: url('/images/pd_apps_sh.png?2') 0px -150px no-repeat;
- 1413. - width: 19px;
- 1414. - height: 50px;
- 1415. - }
- 1416. - .pd_apps_ca_more {
- 1417. - position: absolute;
- 1418. - margin-left: 450px;
- 1419. - width: 500px;
- 1420. - }
- 1421. - .pd_apps_ca_slice {
- 1422. - position: absolute;
- 1423. - width: 500px;
- 1424. - }
- 1425. - .pd_apps_ca_prev {
- 1426. - position: absolute;
- 1427. - width: 500px;
- 1428. - }
- 1429. - .pd_apps_summary {
- 1430. - display: block;
- 1431. - background: #F0F1F2;
- 1432. - color: #505050;
- 1433. - font-weight: bold;
- 1434. - padding: 8px 0px 8px 10px;
- 1435. - margin-top: 1px;
- 1436. - }
- 1437. - .pd_apps_summary:hover {
- 1438. - text-decoration: none;
- 1439. - }
- 1440. - .pd_apps_header {
- 1441. - background: #F0F1F2;
- 1442. - color: #505050;
- 1443. - padding: 4px 0px 6px 0px;
- 1444. - height: 29px;
- 1445. - }
- 1446. - .pd_apps_search_wrap {
- 1447. - margin: 3px 7px 0px 0px;
- 1448. - }
- 1449. - #pd_apps_search_cont {
- 1450. - display: none;
- 1451. - padding: 10px 0px;
- 1452. - }
- 1453. - .pd_game_search_img {
- 1454. - width: 40px;
- 1455. - height: 40px;
- 1456. - -webkit-border-radius: 3px;
- 1457. - -moz-border-radius: 3px;
- 1458. - border-radius: 3px;
- 1459. - }
- 1460. - .pd_game_search_photo {
- 1461. - position: absolute;
- 1462. - }
- 1463. - .pd_game_search_row {
- 1464. - display: block;
- 1465. - padding: 5px 10px;
- 1466. - }
- 1467. - .pd_game_search_row:hover {
- 1468. - text-decoration: none;
- 1469. - background: #EDF1F5;
- 1470. - }
- 1471. - .pd_game_search_row:active {
- 1472. - padding: 6px 10px 4px;
- 1473. - }
- 1474. - .pd_game_search_info {
- 1475. - padding-left: 50px;
- 1476. - height: 38px;
- 1477. - padding-top: 2px;
- 1478. - }
- 1479. - .pd_game_search_info_str {
- 1480. - color: #777;
- 1481. - padding: 5px 0px 0px 0px;
- 1482. - }
- 1483. - #pd_apps_search_progress {
- 1484. - background: url("/images/upload.gif") no-repeat;
- 1485. - display: none;
- 1486. - height: 23px;
- 1487. - margin-left: 411px;
- 1488. - margin-top: 12px;
- 1489. - position: absolute;
- 1490. - width: 32px;
- 1491. - z-index: 95;
- 1492. - }
- 1493. - #pd_apps_search_close {
- 1494. - cursor: pointer;
- 1495. - display: none;
- 1496. - background: transparent url(/images/icons/input_clear.gif) 6px 6px no-repeat;
- 1497. - padding: 2px;
- 1498. - width: 19px;
- 1499. - height: 19px;
- 1500. - margin-left: 424px;
- 1501. - margin-top: 4px;
- 1502. - opacity: 0.6;
- 1503. - filter: alpha(opacity=60);
- 1504. - position: absolute;
- 1505. - z-index: 100;
- 1506. - }
- 1507. - .pd_apps_empty {
- 1508. - color: #777;
- 1509. - font-size: 1.09em;
- 1510. - line-height: 200%;
- 1511. - margin: 20px 20px 15px;
- 1512. - padding: 50px 0;
- 1513. - text-align: center;
- 1514. - word-wrap: break-word;
- 1515. - }
- 1516. - .pd_game_search_name {
- 1517. - color: #2B587A;
- 1518. - }
- 1519. - #pd_apps_top_summary {
- 1520. - position: absolute;
- 1521. - width: 180px;
- 1522. - background: none;
- 1523. - }
- 1524. - #pd_apps_search_summary {
- 1525. - position: absolute;
- 1526. - width: 180px;
- 1527. - opacity: 0;
- 1528. - filter: alpha(opacity=60);
- 1529. - margin-top: -15px;
- 1530. - background: none;
- 1531. - }
- 1532. - .pads_apps_recent_empty {
- 1533. - text-align: center;
- 1534. - color: #777;
- 1535. - font-size: 1.09em;
- 1536. - line-height: 200%;
- 1537. - padding: 22px 0px;
- 1538. - }
- ------
- Файл - wkview.js (Старый размер - 55167 | Новый - 0):
- 0. - var WkView = {
- 1. -
- 2. - init: function() {
- 3. - if (window.wkLayer) {
- 4. - return;
- 5. - }
- 6. - window.wkLayer = ce('div', {
- 7. - id: 'wk_layer'
- 8. - });
- 9. -
- 10. - window.wkLayerWrap = ce('div', {
- 11. - id: 'wk_layer_wrap',
- 12. - className: 'scroll_fix_wrap fixed'
- 13. - });
- 14. -
- 15. -
- 16. - wkLayerWrap.appendChild(window.wkLayer);
- 17. -
- 18. - bodyNode.appendChild(wkLayerWrap);
- 19. -
- 20. - window.wkLayer.style.width = (lastWindowWidth - sbWidth() - 2) + 'px';
- 21. - },
- 22. -
- 23. - showLayer: function() {
- 24. - // if (!wkcur.previousLayer) {
- 25. - // wkcur.previousLayer = isVisible(layerWrap) || (isVisible(ge('mv_layer_wrap')) && !mvcur.minimized);
- 26. - // }
- 27. - // layers.fullhide && layers.fullhide(true);
- 28. -
- 29. - debugLog('layerqueue.hide from wkview');
- 30. - layerQueue.hide();
- 31. -
- 32. - layers.wrapshow(wkLayerWrap, 0.7);
- 33. - layers.fullhide = WkView.hide;
- 34. - wkcur.showT = setTimeout(function() {
- 35. - layers.wrapshow(wkLayerWrap, 0.7);
- 36. - layers.fullhide = WkView.hide;
- 37. - }, 0);
- 38. - onBodyResize();
- 39. - },
- 40. - restoreLayer: function(opts) {
- 41. - WkView.showLayer();
- 42. - if (wkcur.root) {
- 43. - if (opts.myLoc) nav.setLoc(opts.myLoc);
- 44. - } else {
- 45. - WkView.setLocation();
- 46. - }
- 47. - if (opts.prevLoc) wkcur.prevLoc = opts.prevLoc;
- 48. - WkView.updateSize();
- 49. - },
- 50. -
- 51. - wikiClick: function(obj, ev) {
- 52. - if (checkEvent(ev)) {
- 53. - return true
- 54. - }
- 55. - var el = ev.target;
- 56. - while(el && el.tagName != 'A') {
- 57. - el = el.parentNode;
- 58. - }
- 59. - if (el && el.tagName == 'A') {
- 60. - var href = el.href;
- 61. - var m = href.match(/^\/(page[^?]*)(\?.*)?$/);
- 62. - if (m) {
- 63. - var path = m[1];
- 64. - var query = (m[4]) ? q2ajx(m[4].substr(1)) : {};
- 65. - } else {
- 66. - var m = href.match(/https?:\/\/([a-zA-Z0-9\-_\.]+\.)?(vk\.com|vkontakte\.ru)\/([^?]*)(\?.*)?$/i);
- 67. - if (!m || !m[3]) {
- 68. - return true;
- 69. - }
- 70. -
- 71. - var path = m[3].split('/');
- 72. - var query = (m[4]) ? q2ajx(m[4].substr(1)) : {};
- 73. - }
- 74. -
- 75. - var params = {};
- 76. - switch(path[0]) {
- 77. - case 'pages':
- 78. - params['oid'] = query.oid || query.o;
- 79. - params['id'] = query['id'];
- 80. - params['p'] = query['p'];
- 81. - break;
- 82. - case 'ru':
- 83. - case 'en':
- 84. - params['p'] = path[1];
- 85. - params['global'] = path[0];
- 86. - break;
- 87. - default:
- 88. - switch(path[0].substr(0, 4)) {
- 89. - case 'page':
- 90. - var query = path[0].substr(4).split('_');
- 91. - params['oid'] = query[0];
- 92. - params['id'] = query[1];
- 93. - break;
- 94. - case 'note':
- 95. - var query = path[0].substr(4).split('_');
- 96. - params['w'] = path[0];
- 97. - break;
- 98. - }
- 99. - break;
- 100. - }
- 101. - if (params.w || (params.oid && (params.id || params.p))) {
- 102. - showWiki(params);
- 103. - return cancelEvent(ev);
- 104. - }
- 105. - }
- 106. - },
- 107. -
- 108. - edit: function() {
- 109. - if (!wkcur.canEdit) {
- 110. - return true;
- 111. - }
- 112. - var link = ge('wk_edit_link');
- 113. - if (!wkcur.editLang) {
- 114. - wkcur.editLang = val(link);
- 115. - }
- 116. -
- 117. - val(link, '<img src="images/upload.gif" />');
- 118. -
- 119. - if (wkcur.type == 'wall') {
- 120. - if (wkcur.edit) {
- 121. - Wall.cancelEdit();
- 122. - } else {
- 123. - Wall.editPost(wkcur.post, {from: 'wkview'}, function () {
- 124. - val(link, wkcur.editLang);
- 125. - });
- 126. - }
- 127. - return true;
- 128. - }
- 129. -
- 130. - if (wkcur.edit) {
- 131. - if (wkcur.note) {
- 132. - showWiki({
- 133. - w: 'note' + wkcur.oid + '_' + wkcur.nid
- 134. - });
- 135. - } else {
- 136. - showWiki({
- 137. - oid: wkcur.oid,
- 138. - id: wkcur.pid,
- 139. - p: wkcur.p
- 140. - });
- 141. - }
- 142. - return true;
- 143. - }
- 144. - wkcur.edit = true;
- 145. - var params = {
- 146. - act: 'edit',
- 147. - oid: wkcur.oid,
- 148. - load: 1,
- 149. - section: 'edit'
- 150. - };
- 151. - if (wkcur.note) {
- 152. - params['nid'] = wkcur.nid;
- 153. - params['note'] = 1;
- 154. - } else {
- 155. - params['id'] = wkcur.pid;
- 156. - }
- 157. - ajax.post('wkview.php', params, {
- 158. - stat: ['pages.js','wysiwyg.js', 'wysiwyg.css'],
- 159. - onDone: function(content, js, info, options) {
- 160. - wkcur.wkContent.innerHTML = content;
- 161. - eval(js);
- 162. - addEvent(wkLayerWrap, 'scroll', WkView.onScroll);
- 163. - addEvent(window, 'resize', WkView.onResize);
- 164. - val(link, options.lang['pages_view']);
- 165. - WkView.onScroll();
- 166. - WkView.updateSize();
- 167. - },
- 168. - onFail: function() {
- 169. - val(link, wkcur.editLang);
- 170. - }
- 171. - });
- 172. - },
- 173. -
- 174. - onScroll: function(ev, resize) {
- 175. - switch (wkcur.type) {
- 176. - case 'wall':
- 177. - return WkView.wallUpdateRepliesOnScroll(resize);
- 178. -
- 179. - case 'likes':
- 180. - return WkView.likesOnScroll(resize);
- 181. -
- 182. - case 'history':
- 183. - return WkView.historyOnScroll(resize);
- 184. - }
- 185. -
- 186. - var y = wkLayerWrap.scrollTop;
- 187. - var panel = ge('wk_buttons_panel');
- 188. - if (!panel) return;
- 189. - var py = getXY(ge('wk_buttons_cont'), true)[1];
- 190. - if (!wkcur.bottomSize) {
- 191. - wkcur.bottomSize = getSize(panel);
- 192. - }
- 193. -
- 194. - var ph = wkcur.bottomSize[1];
- 195. -
- 196. - var wndHeight = window.innerHeight || document.documentElement.clientHeight;
- 197. -
- 198. - if (resize && !wkcur.fixedBottom && wndHeight - ph < py + 20) {
- 199. - wkLayerWrap.scrollTop += py + 20 - (wndHeight - ph);
- 200. - } else if (wndHeight - ph < py) {
- 201. - if (!wkcur.fixedBottom || resize) {
- 202. - wkcur.fixedBottom = true;
- 203. - setStyle(panel, {
- 204. - position: 'fixed',
- 205. - top: (wndHeight - ph) + 'px'
- 206. - });
- 207. - addClass(panel, 'wk_panel_fixed');
- 208. - }
- 209. - } else {
- 210. - if (wkcur.fixedBottom || resize) {
- 211. - wkcur.fixedBottom = false;
- 212. - setStyle(panel, {
- 213. - position: 'static',
- 214. - top: '0px'
- 215. - });
- 216. - removeClass(panel, 'wk_panel_fixed');
- 217. - }
- 218. - }
- 219. -
- 220. - if (resize && wkcur.fixedBottom) {
- 221. - setStyle(panel, {left: getXY(wkcur.wkContent)[0]+'px'})
- 222. - }
- 223. -
- 224. - if (!wkcur.editorLayer) {
- 225. - wkCont = wkcur.wkContent;//ge('wk_content');
- 226. - wkcur.editorLayer = ge('wke_buttons_cont') || geByClass('editor_layer', wkCont)[0];
- 227. - } else {
- 228. - var pos = getXY(wkcur.editorLayer, true);
- 229. - if (pos[1] < 0) {
- 230. - if (!wkcur.fixedTop) {
- 231. - wkcur.fixedTop = true;
- 232. - addClass(wkcur.wkContent, 'wk_top_fixed');
- 233. - WkView.updateShadow();
- 234. - wkcur.editor.floatPanel = true;
- 235. - }
- 236. - } else {
- 237. - if (wkcur.fixedTop) {
- 238. - wkcur.fixedTop = false;
- 239. - removeClass(wkcur.wkContent, 'wk_top_fixed');
- 240. - wkcur.editorLayer.style.paddingTop = '0px';
- 241. - wkcur.editor.floatPanel = false;
- 242. - }
- 243. - }
- 244. - }
- 245. - },
- 246. -
- 247. - updateShadow: function() {
- 248. - if (!wkcur.editorLayer) {
- 249. - wkCont = wkcur.wkContent;//ge('wk_content');
- 250. - wkcur.editorLayer = geByClass('editor_layer', wkCont)[0];
- 251. - }
- 252. - var toolbox = ge('wke_buttons') || geByClass('editor_toolbar', wkCont)[0];
- 253. - if (toolbox) {
- 254. - if (wkcur.fixedTop) {
- 255. - var size = getSize(toolbox);
- 256. - wkcur.editorLayer.style.paddingTop = size[1]+'px';
- 257. - ge('wk_top_toolbox_shadow').style.top = (size[1] - 1)+'px';
- 258. - }
- 259. - }
- 260. - },
- 261. -
- 262. - saveInfo: function(autosave) {
- 263. - var params = {
- 264. - page: wkcur.p,
- 265. - hash: wkcur.hash
- 266. - }
- 267. - if (wkcur.newEditor) {
- 268. - params['Body'] = wkcur.editor.val();
- 269. - if (params['Body'] === false) {
- 270. - return false;
- 271. - }
- 272. - } else {
- 273. - params['Body'] = wkcur.editor.convertToWiki(true);
- 274. - }
- 275. - if (wkcur.note) {
- 276. - params = extend(params, {
- 277. - act: 'save',
- 278. - oid: wkcur.oid,
- 279. - nid: wkcur.nid,
- 280. - wysiwyg: 1,
- 281. - note: wkcur.note
- 282. - });
- 283. - } else {
- 284. - params = extend(params, {
- 285. - act: 'save',
- 286. - oid: wkcur.oid,
- 287. - id: wkcur.pid
- 288. - });
- 289. - }
- 290. - if (wkcur.pageTitle) {
- 291. - params['title'] = val(wkcur.pageTitle);
- 292. - /*if (!params['title']) {
- 293. - notaBene(wkcur.pageTitle);
- 294. - return false;
- 295. - }*/
- 296. - }
- 297. - if (autosave && wkcur.lockAutoSave) {
- 298. - return false;
- 299. - }
- 300. - wkcur.lockAutoSave = true;
- 301. - ajax.post(wkcur.note ? 'wkview.php' : 'al_pages.php', params, {
- 302. - onDone: function(text, data) {
- 303. - wkcur.lockAutoSave = false;
- 304. - wkcur.editor.changed = false;
- 305. - if (!autosave) {
- 306. - var saveEl = ge('pages_save_info_wysiwyg');
- 307. - saveEl.innerHTML = text;
- 308. - show(saveEl);
- 309. - }
- 310. - if (data.nid) {
- 311. - wkcur.nid = data.nid;
- 312. - }
- 313. - if (data.raw) {
- 314. - wkcur.wkRaw = data.raw;
- 315. - }
- 316. - if (data) {
- 317. - if (data.created && cur.chooseMedia) {
- 318. - nav.setLoc(extend(nav.objLoc, {w:'note'+data.raw}));
- 319. - if (!autosave) {
- 320. - WkView.hide(false, true);
- 321. - }
- 322. - cur.chooseMedia('note', data.raw, data);
- 323. - return true;
- 324. - } else {
- 325. - var title = ge('share_note_title'+data['raw']);
- 326. - if (title && !autosave) {
- 327. - title.innerHTML = data['title'];
- 328. - }
- 329. - if (data['title']) {
- 330. - val('wk_layer_title', data['title']);
- 331. - }
- 332. - if (wkcur.note && wkcur.toStatus && !autosave) {
- 333. - WkView.hide(false, true);
- 334. - if (wkcur.reloadOnSave) {
- 335. - boxRefreshCoords(boxLoader);
- 336. - show(boxLoader);
- 337. - show(boxLayerWrap);
- 338. - nav.reload({
- 339. - onDone: function() {
- 340. - hide(boxLoader);
- 341. - hide(boxLayerWrap);
- 342. - }
- 343. - });
- 344. - }
- 345. - return true;
- 346. - }
- 347. - }
- 348. - }
- 349. - if (autosave) return true;
- 350. - setTimeout(function() {
- 351. - fadeOut(saveEl, 200);
- 352. - }, 1500);
- 353. - },
- 354. - showProgress: function() {
- 355. - !autosave && lockButton(ge('wk_layer_save'));
- 356. - },
- 357. - hideProgress: function() {
- 358. - !autosave && unlockButton(ge('wk_layer_save'));
- 359. - },
- 360. - onFail: WkView.showError
- 361. - })
- 362. - },
- 363. -
- 364. - show: function(title, html, options, script, ev) {
- 365. - // var previous = false;
- 366. - var arrowOver = window.wkcur && wkcur.arrowOver;
- 367. - if (!window.wkcur) {
- 368. - this.init();
- 369. - } else {
- 370. - if (wkcur.shown && !isVisible(wkLayerWrap)) {
- 371. - debugLog('hiding old wkview');
- 372. - WkView.hide(true, true);
- 373. - }
- 374. - each (wkcur._hide || [], function (k, hideCallback) {
- 375. - if (isFunction(hideCallback)) hideCallback();
- 376. - });
- 377. - // previous = {
- 378. - // scrollTop: wkLayer.scrollTop,
- 379. - // cont: wkcur.wkCont,
- 380. - // cur: wkcur
- 381. - // };
- 382. - }
- 383. - var hlen = (window.wkcur && wkcur.historyLen) ? wkcur.historyLen : 0;
- 384. - if (!window.wkcur || !wkcur.doBack && !options.fromlist) {
- 385. - hlen += 1;
- 386. - }
- 387. -
- 388. - var toQueue = options.queue;
- 389. - if (toQueue) {
- 390. - layerQueue.push();
- 391. - options.queue = false;
- 392. - }
- 393. - if ((window.wkcur || {}).shown && wkcur.root) {
- 394. - nav.setLoc(wkcur.prevLoc);
- 395. - }
- 396. -
- 397. - window.wkcur = {
- 398. - historyLen: hlen,
- 399. - _hide: [],
- 400. - _show: []
- 401. - };
- 402. -
- 403. - if (browser.iphone || browser.ipad) {
- 404. - cur.wkStartScroll = scrollGetY();
- 405. - }
- 406. -
- 407. - if (options.edit) {
- 408. - cur._editMode = function() {
- 409. - return true;
- 410. - }
- 411. - if (!window.WkEditor) {
- 412. - stManager.add(['wk_editor.js', 'wk_editor.css'], WkView.show.pbind(title, html, options, script, ev));
- 413. - return false;
- 414. - }
- 415. - }
- 416. -
- 417. - cur.cancelTooltip = true;
- 418. - if (window.tooltips) {
- 419. - tooltips.hideAll();
- 420. - }
- 421. -
- 422. - if (!isVisible(wkLayerWrap)) {
- 423. - otherList = true;
- 424. - addEvent(window, 'resize', WkView.onResize);
- 425. - addEvent(wkLayerWrap, 'click', WkView.onClick);
- 426. - boxQueue.hideAll();
- 427. - WkView.showLayer();
- 428. - }
- 429. -
- 430. - wkcur.noLocChange = 0; // do return location
- 431. - wkcur.noHistory = options.noLocChange;
- 432. -
- 433. - wkcur.shown = true;
- 434. -
- 435. - if (wkcur.edit) {
- 436. - wkcur.edit = false;
- 437. - ge('wk_edit_link').innerHTML = wkcur.editLang;
- 438. - }
- 439. - extend(wkcur, options);
- 440. -
- 441. - if (wkcur.root) {
- 442. - cur.nav.push(function(ch, old, nw, opts) {
- 443. - nw = nav.toStr(nw);
- 444. - if (nw == wkcur.prevLoc) {
- 445. - WkView.hide(true);
- 446. - return false;
- 447. - }
- 448. - });
- 449. - if (!options.noLocChange && options.myLoc) nav.setLoc(options.myLoc);
- 450. - } else {
- 451. - WkView.setLocation(options.noLocChange, toQueue);
- 452. - if (options.prevLoc) wkcur.prevLoc = options.prevLoc;
- 453. - }
- 454. -
- 455. - if (ev && ev.pageX && ev.pageY) {
- 456. - extend(wkcur, {oldX: ev.pageX, oldY: ev.pageY, oldT: vkNow()});
- 457. - }
- 458. -
- 459. - var colorClass = wkcur.layerLight ? 'wk_light' : 'wk_dark';
- 460. -
- 461. - addClass(wkLayerWrap, colorClass);
- 462. - addClass(layerBG, colorClass);
- 463. -
- 464. - var content = html,
- 465. - editLink = getLang('global_edit'),
- 466. - hideLeft = wkcur.historyLen > 1 ? '' : 'display: none;';
- 467. - if (options.type == 'wall') {
- 468. - addEvent(wkLayerWrap, 'scroll', WkView.onScroll);
- 469. - addEvent(window, 'resize', WkView.onResize);
- 470. - WkView.wallBeforeInitPost(options);
- 471. - } else if (options.edit) {
- 472. - addEvent(wkLayerWrap, 'scroll', WkView.onScroll);
- 473. - addEvent(window, 'resize', WkView.onResize);
- 474. - editLink = options.lang['pages_view'];
- 475. - wkcur.editLang = getLang('global_edit');
- 476. - } else {
- 477. - if (options) {
- 478. - content = '<div class="wk_text wk_wiki_content' + (options.className ? ' '+options.className : '') + '" onclick="return WkView.wikiClick(this, event);">' + content + '</div>';
- 479. - }
- 480. - }
- 481. -
- 482. - if (wkcur.wkCont) {
- 483. - wkcur.wkContent.innerHTML = content;
- 484. - ge('wk_layer_title').innerHTML = title;
- 485. - } else {
- 486. - wkLayer.innerHTML = '<div class="wk_cont">\
- 487. - <table cellspacing="0" cellpadding="0" class="wk_cont_t wk_cont_top_t">\
- 488. - <tr><td class="sidesh s1"><div class="sidesh_filler"></div></td><td>\
- 489. - <table cellspacing="0" cellpadding="0" class="wk_cont_t">\
- 490. - <tr><td>\
- 491. - <table cellspacing="0" cellpadding="0" class="wk_cont_t">\
- 492. - <tr><td colspan="3" class="bottomsh s3"><div></div></td></tr>\
- 493. - <tr><td class="sidesh s3"><div class="sidesh_filler"></div></td><td>\
- 494. - \
- 495. - <div id="wk_box" onclick="wkcur.wkClicked = true;">\
- 496. - <div id="wk_loader"></div>\
- 497. - <a id="wk_close_link" href="javascript: return false;" class="fl_r wk_close_link" onclick="return WkView.hide(false, true, event);">\
- 498. - '+getLang('global_close')+'\
- 499. - </a>\
- 500. - <div class="fl_r divide wk_edit_divide">|</div>\
- 501. - <a class="fl_r wk_edit_link" id="wk_edit_link" onclick="return WkView.edit();">\
- 502. - '+editLink+'\
- 503. - </a>\
- 504. - <div id="wk_summary" class="fl_l"><span class="summary" id="wk_layer_title">'+title+'</span></div>\
- 505. - <div id="wk_content">'+content+'</div>\
- 506. - <div class="clear"></div>\
- 507. - </div>\
- 508. - \
- 509. - </td><td class="sidesh s3"><div class="sidesh_filler"></div></td></tr>\
- 510. - <tr><td colspan="3" class="bottomsh s3"><div></div></td></tr></table>\
- 511. - </td></tr>\
- 512. - <tr><td colspan="3" class="bottomsh s2"><div></div></td></tr></table>\
- 513. - </td><td class="sidesh s1"><div class="sidesh_filler"></div></td></tr>\
- 514. - <tr><td colspan="3" class="bottomsh s1"><div></div></td></tr></table>\
- 515. - </div>\
- 516. - <div id="wk_left" style="'+hideLeft+'" class="wk_left no_select"></div>\
- 517. - <div id="wk_right" class="wk_close no_select"></div>\
- 518. - <div id="wk_left_arrow" class="no_select"></div>\
- 519. - <div id="wk_right_arrow" class="no_select"></div>\
- 520. - <div class="no_select" id="wk_left_nav" style="'+hideLeft+'" '+'onmouseover="WkView.activate(wkcur.wkLeft)" onmouseout="WkView.deactivate(wkcur.wkLeft)" onmousedown="wkcur.wkClicked = true; WkView.back();" onselectstart="return cancelEvent(event);"></div>\
- 521. - <div class="no_select" id="wk_right_nav" '+'onmouseover="WkView.activate(wkcur.wkRight)" onmouseout="WkView.deactivate(wkcur.wkRight)" onmousedown="wkcur.wkClicked = true; WkView.hide();"></div>\
- 522. - <div id="wk_left_arrow_bg" class="no_select" onclick="return WkView.navigate(this, event, -1);" onmouseover="WkView.activateArrow(false, event)" onmouseout="WkView.deactivateArrow(false, event)"><div class="wk_arrow_bg_inner"></div></div>\
- 523. - <div id="wk_right_arrow_bg" class="no_select" onclick="return WkView.navigate(this, event, 1);" onmouseover="WkView.activateArrow(true, event)" onmouseout="WkView.deactivateArrow(true, event)"><div class="wk_arrow_bg_inner"></div></div>';
- 524. -
- 525. - extend(wkcur, {
- 526. - wkCont: wkLayer.firstChild,
- 527. - wkBox: ge('wk_box'),
- 528. -
- 529. - mvLoader: ge('wk_loader'),
- 530. - wkContent: ge('wk_content'),
- 531. -
- 532. - wkLeftNav: ge('wk_left_nav'),
- 533. - wkRightNav: ge('wk_right_nav'),
- 534. - wkLeft: ge('wk_left'),
- 535. - wkRight: ge('wk_right'),
- 536. - wkLeftArrow: ge('wk_left_arrow'),
- 537. - wkRightArrow: ge('wk_right_arrow'),
- 538. - wkLeftArrowBg: ge('wk_left_arrow_bg'),
- 539. - wkRightArrowBg: ge('wk_right_arrow_bg')
- 540. - });
- 541. - }
- 542. - toggle('wk_summary', title);
- 543. -
- 544. - if (wkcur.commonClass) {
- 545. - addClass(wkcur.wkBox, wkcur.commonClass);
- 546. - } else {
- 547. - wkcur.wkBox.className = '';
- 548. - }
- 549. -
- 550. - if (wkcur.canEdit && !wkcur.toStatus && wkcur.type != 'wall') {
- 551. - addClass(wkcur.wkBox, 'wk_view_edit_link');
- 552. - } else {
- 553. - removeClass(wkcur.wkBox, 'wk_view_edit_link');
- 554. - }
- 555. -
- 556. - if (browser.mobile) {
- 557. - wkcur.wkYOffset = intval(window.pageYOffset);
- 558. - wkcur.wkCont.style.paddingTop = (wkcur.wkYOffset + 10) + 'px';
- 559. - wkcur.wkRightNav.style.top = (wkcur.wkYOffset + 10) + 'px';
- 560. - }
- 561. -
- 562. - if (script) {
- 563. - eval(script);
- 564. - }
- 565. - WkView.updateSize();
- 566. -
- 567. - removeEvent(document, 'keydown', WkView.onKeyDown);
- 568. - addEvent(document, 'keydown', WkView.onKeyDown);
- 569. -
- 570. - options.onLoaded && options.onLoaded();
- 571. -
- 572. - var closeLink = ge('wk_close_link');
- 573. - if (closeLink) {
- 574. - closeLink.focus();
- 575. - }
- 576. -
- 577. - WkView.updateArrows();
- 578. -
- 579. - if (options.type == 'wall') {
- 580. - WkView.wallAfterInitPost();
- 581. - } else if (options.toScroll) {
- 582. - wkLayerWrap.scrollTop = options.toScroll;
- 583. - wkcur.toScroll = 0;
- 584. - }
- 585. -
- 586. - if (arrowOver !== undefined) {
- 587. - WkView.activateArrow(arrowOver);
- 588. - }
- 589. - if (options.fromlist) {
- 590. - WkView.preloadArrow(options.fromlist == 1);
- 591. - }
- 592. - var _a = window.audioPlayer, aid = currentAudioId();
- 593. - if (_a && aid && _a.showCurrentTrack) _a.showCurrentTrack();
- 594. -
- 595. - return false;
- 596. - },
- 597. -
- 598. - hide: function(noLoc, force, ev) {
- 599. - if (!window.wkcur || !force && !wkcur.shown) return;
- 600. - var doUpdAds = !wkcur.wkRaw.match(/^recom_apps\d+$/) && !wkcur.wkRaw.match(/^app\d+$/);
- 601. -
- 602. - clearTimeout(wkcur.autosaveTimeout);
- 603. - clearTimeout(wkcur.showT);
- 604. -
- 605. - /*if (!wkcur.noHistory && !noLoc) {
- 606. - wkcur.noHistory = 1;
- 607. - wkcur.forceHistoryHide = force;
- 608. - __adsUpdate('lazy');
- 609. - return history.go(-1);
- 610. - }
- 611. - if (wkcur.forceHistoryHide) {
- 612. - force = wkcur.forceHistoryHide;
- 613. - wkcur.forceHistoryHide = false;
- 614. - }*/
- 615. -
- 616. - if (!force && wkcur.edit && wkcur.editor) {
- 617. - if (wkcur.editor.changed) {
- 618. - if (wkcur.note && wkcur.toStatus) {
- 619. - WkView.saveInfo();
- 620. - return;
- 621. - } else {
- 622. - var box = showFastBox(wkcur.lang['pages_close_title'], wkcur.lang['pages_close_text'], getLang('box_yes'), function() {
- 623. - box.hide();
- 624. - WkView.hide(noLoc, true);
- 625. - }, getLang('box_no'))
- 626. - return;
- 627. - }
- 628. - }
- 629. - }
- 630. -
- 631. - each (wkcur._hide || [], function (k, hideCallback) {
- 632. - if (isFunction(hideCallback)) hideCallback();
- 633. - });
- 634. -
- 635. - var donthide = false;
- 636. - if (isVisible(wkLayerWrap)) {
- 637. - setTimeout(layerQueue.pop, 0);
- 638. - donthide = layerQueue.count() && layerQueue._layers[layerQueue._layers.length - 1][0] == 'wiki' && !layerQueue._bl;
- 639. - if (!donthide) {
- 640. - layers.wraphide(wkLayerWrap);
- 641. - layers.fullhide = false;
- 642. - }
- 643. - }
- 644. -
- 645. - if (window.tooltips) {
- 646. - tooltips.destroy(this);
- 647. - }
- 648. -
- 649. - removeEvent(document, 'keydown', WkView.onKeyDown);
- 650. -
- 651. - wkcur.editorLayer = false;
- 652. - removeClass(wkcur.wkContent, 'wk_top_fixed');
- 653. - wkcur.fixedTop = wkcur.fixedBottom = false;
- 654. -
- 655. - if (!donthide) {
- 656. - var colorClass = wkcur.layerLight ? 'wk_light' : 'wk_dark';
- 657. - removeClass(wkLayerWrap, colorClass);
- 658. - removeClass(layerBG, colorClass);
- 659. -
- 660. - wkcur.shown = false;
- 661. - removeEvent(wkLayerWrap, 'click', WkView.onClick);
- 662. - removeEvent(wkLayerWrap, 'scroll', WkView.onScroll);
- 663. - wkcur.wkContent.innerHTML = '';
- 664. - }
- 665. - wkcur.wkClicked = false;
- 666. -
- 667. - wkcur.changeCanvasSize = false;
- 668. -
- 669. - if (wkcur.onHide && isFunction(wkcur.onHide)) {
- 670. - wkcur.onHide();
- 671. - }
- 672. -
- 673. - cur._editMode = false;
- 674. -
- 675. - if (wkcur.root && noLoc !== true) {
- 676. - WkView.backLocation();
- 677. - } else if (!wkcur.noLocChange && noLoc !== true) {
- 678. - if (noLoc === 2) {
- 679. - nav.setLoc(hab.getLoc());
- 680. - } else {
- 681. - WkView.backLocation();
- 682. - }
- 683. - if (doUpdAds) {
- 684. - __adsUpdate('lazy');
- 685. - }
- 686. - } else if (doUpdAds) {
- 687. - __adsUpdate();
- 688. - }
- 689. -
- 690. - if (browser.iphone || browser.ipad) {
- 691. - var scroll = scrollGetY();
- 692. - if (Math.abs(scroll - cur.wkStartScroll) > 500) {
- 693. - scrollToY(cur.wkStartScroll, 0);
- 694. - }
- 695. - }
- 696. - delete wkcur.historyLen;
- 697. - var _a = window.audioPlayer, aid = currentAudioId();
- 698. - if (_a && aid && _a.showCurrentTrack) _a.showCurrentTrack();
- 699. - return false;
- 700. - },
- 701. -
- 702. - cmp: function(id1, id2) {
- 703. - var l1 = id1.length, l2 = id2.length;
- 704. - if (l1 < l2) {
- 705. - return -1;
- 706. - } else if (l1 > l2) {
- 707. - return 1;
- 708. - } else if (id1 < id2) {
- 709. - return -1;
- 710. - } else if (id1 > id2) {
- 711. - return 1;
- 712. - }
- 713. - return 0;
- 714. - },
- 715. -
- 716. -
- 717. - onClick: function(e) {
- 718. - if (wkcur.wkClicked) {
- 719. - wkcur.wkClicked = false;
- 720. - return;
- 721. - }
- 722. - var dx = Math.abs(e.pageX - intval(wkcur.oldX));
- 723. - var dy = Math.abs(e.pageY - intval(wkcur.oldY));
- 724. - if (dx > 3 || dy > 3) {
- 725. - if (vkNow() - intval(wkcur.oldT) > 300) {
- 726. - WkView.hide();
- 727. - }
- 728. - }
- 729. - },
- 730. -
- 731. - onKeyDown: function(e) {
- 732. - e = e || window.event;
- 733. - // debugLog(e.type, e.returnValue, e.keyCode, e, WkView.edit);
- 734. - if (e.returnValue === false) return false;
- 735. - if (!cur.pvShown && e.keyCode == KEY.ESC) {
- 736. - WkView.hide();
- 737. - return cancelEvent(e);
- 738. - }
- 739. - if (!cur.pvShown && (!wkcur.edit && (e.keyCode == KEY.LEFT || e.keyCode == KEY.RIGHT))) {
- 740. - var target = e && e.target || e.srcElement;
- 741. - if (target && target.tagName == 'TEXTAREA' || target.tagName == 'INPUT') {
- 742. - return true;
- 743. - }
- 744. - WkView.navigate(null, e, e.keyCode == KEY.RIGHT ? 1 : -1);
- 745. - return cancelEvent(e);
- 746. - }
- 747. - if (WkView.edit) {
- 748. - if (e.keyCode == 10 || e.keyCode == 13 && (e.ctrlKey || e.metaKey && browser.mac)) {
- 749. - WkView.saveInfo();
- 750. - }
- 751. - if (cur.updTimeout) return;
- 752. - cur.updTimeout = setTimeout(function() {
- 753. - WkView.onResize()
- 754. - cur.updTimeout = false;
- 755. - }, 200);
- 756. - }
- 757. - },
- 758. -
- 759. - onResize: function() {
- 760. - var dwidth = lastWindowWidth, dheight = lastWindowHeight, sbw = sbWidth();
- 761. -
- 762. - var w = dwidth - sbw - 2 - 120 - 34 - 50, h = dheight - 31 - 28 - 72;
- 763. - if (w > 1280) { // less than full hd - not size > 2
- 764. - w = 1280;
- 765. - } else if (w > 807 && w < 907) { // 1024x768 - not size > 1
- 766. - w = 807;
- 767. - } else if (w < 604) {
- 768. - w = 604;
- 769. - }
- 770. - if (h < 453) {
- 771. - h = 453;
- 772. - }
- 773. - wkcur.mvWidth = w;
- 774. - wkcur.mvHeight = h;
- 775. -
- 776. - var sizeChanged = false, oldverybig = wkcur.mvVeryBig;
- 777. - wkcur.mvVeryBig = (w > 1280) ? 2 : (w > 807 ? 1 : false);
- 778. - sizeChanged = (oldverybig != wkcur.mvVeryBig);
- 779. - WkView.onScroll(false, true);
- 780. -
- 781. - WkView.updateHeight();
- 782. - WkView.updateArrows();
- 783. - },
- 784. -
- 785. -
- 786. - updateArrows: function() {
- 787. - var sbw = sbWidth() + 2;
- 788. - if (wkcur.wkLeft) {
- 789. - wkcur.wkLeft.style.left = '20px';
- 790. - }
- 791. - var size = getSize(wkcur.wkBox),
- 792. - width = size[0],
- 793. - height = size[1];
- 794. - wkcur.wkLeftNav.style.width = Math.floor((lastWindowWidth - sbw - width - 2) / 2) + 'px';
- 795. - wkcur.wkRightNav.style.left = Math.floor((lastWindowWidth - sbw + width + 2) / 2) + 'px';
- 796. - wkcur.wkRightNav.style.width = Math.floor((lastWindowWidth - sbw - width - 2) / 2) + 'px';
- 797. - if (wkcur.wkClose) {
- 798. - wkcur.wkClose.style.left = (lastWindowWidth - sbw - 2 - 37) + 'px';
- 799. - }
- 800. -
- 801. - var arrowActions = WkView.getNextWkRaws();
- 802. - if (arrowActions[0] || arrowActions[1]) {
- 803. - var arrowTop = (wkcur.wkCont.offsetHeight < lastWindowHeight ? wkcur.wkCont.offsetTop + 10 + (height / 2) : lastWindowHeight / 2) - 8;
- 804. - if (arrowActions[0]) {
- 805. - show(wkcur.wkLeftArrow);
- 806. - show(wkcur.wkLeftArrowBg);
- 807. -
- 808. - setStyle(wkcur.wkLeftArrowBg, {left: (lastWindowWidth - sbw - width) / 2 - 90});
- 809. - setStyle(wkcur.wkLeftArrow, {left: (lastWindowWidth - sbw - width) / 2 - 52, top: arrowTop});
- 810. - } else {
- 811. - hide(wkcur.wkLeftArrow, wkcur.wkLeftArrowBg);
- 812. - }
- 813. -
- 814. - if (arrowActions[1]) {
- 815. - show(wkcur.wkRightArrow);
- 816. - show(wkcur.wkRightArrowBg);
- 817. - setStyle(wkcur.wkRightArrowBg, {left: (lastWindowWidth - sbw - width) / 2 + width});
- 818. - setStyle(wkcur.wkRightArrow, {left: (lastWindowWidth - sbw - width) / 2 + width + 36, top: arrowTop});
- 819. - } else {
- 820. - hide(wkcur.wkRightArrow, wkcur.wkRightArrowBg);
- 821. - }
- 822. - } else {
- 823. - hide(wkcur.wkLeftArrow, wkcur.wkLeftArrowBg, wkcur.wkRightArrow, wkcur.wkRightArrowBg);
- 824. - }
- 825. - },
- 826. - getNextWkRaws: function () {
- 827. - var wkRawPrevious = wkRawNext = false;
- 828. - if (isArray(wkcur.wkRawList) && wkcur.historyLen <= 1 && !wkcur.wkRawLoading) {
- 829. - var len = wkcur.wkRawList.length,
- 830. - pos = indexOf(wkcur.wkRawList, wkcur.wkRaw);
- 831. - if (pos > 0) {
- 832. - wkRawPrevious = wkcur.wkRawList[pos - 1];
- 833. - }
- 834. - if (pos >= 0 && pos < len - 1) {
- 835. - wkRawNext = wkcur.wkRawList[pos + 1];
- 836. - }
- 837. - }
- 838. - return [wkRawPrevious, wkRawNext];
- 839. - },
- 840. - navigate: function (el, event, delta) {
- 841. - if (event && event.type == 'click') {
- 842. - wkcur.arrowOver = (delta == 1);
- 843. - wkcur.arrowClicked = vkNow();
- 844. - }
- 845. - var actions = WkView.getNextWkRaws();
- 846. - if (delta > 0 && actions[1]) {
- 847. - wkcur.wkRawLoading = true;
- 848. - addClass(wkcur.wkRightArrow, 'wk_arrow_progress');
- 849. - // debugLog(wkcur.wkRightArrow, wkcur.wkRightArrow.className);
- 850. - showWiki({w: actions[1]}, false, false, {fromlist: 1, noloader: true, preload: {cache: 1}});
- 851. - cancelEvent(event);
- 852. - }
- 853. - if (delta < 0 && actions[0]) {
- 854. - wkcur.wkRawLoading = true;
- 855. - addClass(wkcur.wkLeftArrow, 'wk_arrow_progress');
- 856. - showWiki({w: actions[0]}, false, false, {fromlist: -1, noloader: true, preload: {cache: 1}});
- 857. - cancelEvent(event);
- 858. - }
- 859. - },
- 860. -
- 861. - updateHeight: function() {
- 862. - window.updateWndVScroll && updateWndVScroll();
- 863. -
- 864. - var h = Math.max(wkcur.wkCont.offsetHeight, lastWindowHeight);
- 865. - wkcur.wkLeftNav.style.height = wkcur.wkRightNav.style.height = h + 'px';
- 866. -
- 867. - var boxH = wkcur.wkBox.offsetHeight + 2;
- 868. - setStyle(wkcur.wkLeftArrowBg.firstChild, {height: boxH});
- 869. - setStyle(wkcur.wkRightArrowBg.firstChild, {height: boxH});
- 870. - },
- 871. -
- 872. - updateSize: function() {
- 873. - var size = getSize(wkcur.wkCont);
- 874. -
- 875. - var docEl = document.documentElement,
- 876. - ch = window.innerHeight || docEl.clientHeight || bodyNode.clientHeight,
- 877. - top = Math.max(positive((ch - size[1] - 5) / 2), 14),
- 878. - paddingTop = top + 10,
- 879. - paddingBottom = wkLayer.offsetHeight - size[1] + top + 90;
- 880. -
- 881. - wkcur.wkCont.style.top = top + 'px';
- 882. - wkcur.wkLeftArrowBg.style.paddingTop = wkcur.wkRightArrowBg.style.paddingTop = paddingTop + 'px';
- 883. - wkcur.wkLeftArrowBg.style.paddingBottom = wkcur.wkRightArrowBg.style.paddingBottom = paddingBottom + 'px';
- 884. -
- 885. - onBodyResize();
- 886. - WkView.onResize();
- 887. - },
- 888. -
- 889. -
- 890. - setLocation: function(noLocChange, toQueue) {
- 891. - wkcur.prevLoc = {};
- 892. - for (var i in nav.objLoc) {
- 893. - if (i != 'w' || nav.objLoc[i] != wkcur.wkRaw && toQueue) {
- 894. - wkcur.prevLoc[i] = nav.objLoc[i];
- 895. - }
- 896. - }
- 897. - if (noLocChange) {
- 898. - return;
- 899. - }
- 900. -
- 901. - var nl = extend(nav.objLoc, {'w': wkcur.wkRaw});
- 902. - delete(nl.z);
- 903. - if (nav.strLoc != nav.toStr(nl)) {
- 904. - nav.setLoc(nl);
- 905. - }
- 906. -
- 907. - //wkcur.noHistory = 0;
- 908. - },
- 909. -
- 910. - backLocation: function() {
- 911. - var loc = hab.getLoc();
- 912. - if (wkcur.prevLoc && wkcur.prevLoc != loc) {
- 913. - // if (wkcur.previousLayer) {
- 914. - // nav.go(wkcur.prevLoc);
- 915. - // } else {
- 916. - nav.setLoc(wkcur.prevLoc);
- 917. - // }
- 918. - // if (wkcur.previousLayer && wkcur.prevLoc.z) {
- 919. - // zNav({z: wkcur.prevLoc.z});
- 920. - // }
- 921. - } else {
- 922. - var locParts = loc.split('/');
- 923. - if (locParts.length > 1) {
- 924. - nav.setLoc(locParts[0]);
- 925. - }
- 926. - }
- 927. - layerQueue.noHistory();
- 928. - },
- 929. -
- 930. - showError: function(txt) {
- 931. - if (window.wkcur) {
- 932. - delete wkcur.wkRawLoading;
- 933. - addClass(wkcur.wkRightArrow, 'wk_arrow_progress');
- 934. - addClass(wkcur.wkLeftArrow, 'wk_arrow_progress');
- 935. - }
- 936. - var box = showFastBox({title: getLang('global_error')}, txt, getLang('global_close'));
- 937. - setTimeout(box.hide, 2000);
- 938. - return true;
- 939. - },
- 940. -
- 941. - wysiwygInit: function() {
- 942. - if (browser.ipod || browser.ipad || browser.iphone) return;
- 943. - var simpleToolBar = 'bold,italic,gray,underline,strike,left,center,right,marker_list,numeric_list,h1,h2,h3,image,video,audio,link,unlink';
- 944. - var extendedToolBar = 'bold,italic,gray,underline,strike,left,center,right,marker_list,numeric_list,h1,h2,h3,image,video,audio,doc,link,unlink,break,';
- 945. - extendedToolBar += 'table,table_delete,insert_row_before,insert_row_after,insert_col_before,insert_col_after,delete_row,delete_col,col_width,sub,sup,citate,outdent,indent,pre,character,hider';
- 946. - window.editorName = 'pageWysiwyg';
- 947. - var editorParams = {
- 948. - editorName: editorName,
- 949. - replaceElemID: 'pages_html',
- 950. - contentCSS: '/css/al/wysiwyg.css',
- 951. - html: ge('pages_html').value,
- 952. - wiki: ge('pages_body') ? ge('pages_body').value : '',
- 953. - height: 326,
- 954. - simpleToolBar: simpleToolBar,
- 955. - extendedToolBar: extendedToolBar,
- 956. - defaultMode: 'simple',
- 957. - skinFile: 'pages',
- 958. - photoMinSize: { w: 50, h: 50 },
- 959. - photoMaxSize: { w: 607, h: 500 },
- 960. - userID: 0,
- 961. - userName: '',
- 962. - groupID: 0,
- 963. - oid: wkcur.oid,
- 964. - debug: false,
- 965. - layer: 1,
- 966. - toolWidth: 654,
- 967. - width: 608,
- 968. - note: wkcur.note ? wkcur.wkRaw : 0,
- 969. - onHeightChange: function() {
- 970. - WkView.onScroll();
- 971. - },
- 972. - onChange: WkView.onChange
- 973. - };
- 974. - window[editorName] = wkcur.editor = new Wysiwyg(editorParams);
- 975. - },
- 976. -
- 977. - onChange: function() {
- 978. - if (!wkcur.shown) return false;
- 979. - clearTimeout(wkcur.autosaveTimeout);
- 980. - wkcur.autosaveTimeout = setTimeout(function() {
- 981. - if (wkcur.note && wkcur.toStatus) {
- 982. - WkView.saveInfo(true);
- 983. - }
- 984. - }, 4000);
- 985. - },
- 986. -
- 987. - likeOver: function() {
- 988. - var icon = ge('wk_like_icon');
- 989. - if (!wkcur.liked) {
- 990. - setTimeout(animate.pbind(icon, {opacity: 1}, 200, false), 1);
- 991. - } else {
- 992. - setStyle(icon, {opacity: 1});
- 993. - }
- 994. - var linkSize = getSize(ge('wk_like_link'));
- 995. - var linkW = linkSize ? linkSize[0] : 20;
- 996. -
- 997. - showTooltip(icon.parentNode, {
- 998. - url: 'like.php',
- 999. - params: {act: 'a_get_stats', object: wkcur.like_obj || wkcur.wkRaw, from: 'wkview'},
- 1000. - slide: 15,
- 1001. - shift: [0, 8, 9],
- 1002. - ajaxdt: 100,
- 1003. - showdt: 400,
- 1004. - hidedt: 200,
- 1005. - className: 'rich like_tt',
- 1006. - init: function (tt) {
- 1007. - if (!tt.container) return;
- 1008. - var bp = geByClass1('bottom_pointer', tt.container, 'div');
- 1009. - var tp = geByClass1('top_pointer', tt.container, 'div');
- 1010. - setStyle(bp, {marginLeft: linkW + 2});
- 1011. - setStyle(tp, {marginLeft: linkW + 2});
- 1012. - }
- 1013. - });
- 1014. - },
- 1015. -
- 1016. - likeOut: function() {
- 1017. - if (!wkcur.liked) {
- 1018. - setTimeout(animate.pbind(ge('wk_like_icon'), {opacity: 0.4}, 200, false), 1);
- 1019. - }
- 1020. - },
- 1021. -
- 1022. - like: function() {
- 1023. - if (!vk.id) return;
- 1024. - var my = !wkcur.liked;
- 1025. -
- 1026. - ajax.post('like.php', {act: 'a_do_' + (my ? '' : 'un') + 'like', object: wkcur.like_obj || wkcur.wkRaw, hash: wkcur.likehash, from: 'wkview'}, {
- 1027. - onDone: function(count, title) {
- 1028. - return WkView.likeUpdate(my, count, title);
- 1029. - wkcur.likes = count;
- 1030. - wkcur.liked = my;
- 1031. - }
- 1032. - });
- 1033. - WkView.likeUpdate(my, wkcur.likes + (my ? 1 : -1));
- 1034. - },
- 1035. - likeShare: function(hash) {
- 1036. - var like_obj = wkcur.like_obj || wkcur.wkRaw,
- 1037. - el = ge('like_share_' + like_obj),
- 1038. - was = isChecked(el);
- 1039. - checkbox(el);
- 1040. - ajax.post('like.php', {act: 'a_do_' + (was ? 'un' : '') + 'publish', object: like_obj, hash: hash}, {
- 1041. - onDone: WkView.likeUpdate.pbind(true)
- 1042. - });
- 1043. - var countInput = ge('like_real_count_' + like_obj),
- 1044. - count = countInput ? countInput.value : val('like_count' + like_obj),
- 1045. - my = hasClass(ge('like_icon' + like_obj), 'my_like');
- 1046. -
- 1047. - WkView.likeUpdate(true, intval(count) + (my ? 0 : 1));
- 1048. - },
- 1049. - likeShareCustom: function () {
- 1050. - if (vk.id) {
- 1051. - showBox('like.php', {act: 'publish_box', object: wkcur.like_obj || wkcur.wkRaw, list: '', from: 'wkview'});
- 1052. - }
- 1053. - },
- 1054. -
- 1055. - likeUpdate: function(my, count, title) {
- 1056. - count = intval(count);
- 1057. -
- 1058. - var rows = ge('like_table_' + (wkcur.like_obj || wkcur.wkRaw));
- 1059. - var titleNode = ge('like_title_' + (wkcur.like_obj || wkcur.wkRaw)),
- 1060. - countNode = ge('wk_like_count');
- 1061. - var icon = ge('wk_like_icon');
- 1062. - var tt = icon.parentNode.tt || {}, opts = clone(tt.opts || {}), newleft = (my ? 0 : -36);
- 1063. -
- 1064. - if (title && titleNode) {
- 1065. - val(titleNode, title);
- 1066. - }
- 1067. - wkcur.likes = count;
- 1068. - animateCount(countNode, count);
- 1069. -
- 1070. - wkcur.liked = my;
- 1071. - toggleClass(icon, 'my_like', my);
- 1072. - if (my) {
- 1073. - setStyle(icon, {opacity: 1});
- 1074. - }
- 1075. - if (count) {
- 1076. - var styleName = wkcur.rtl ? 'right' : 'left';
- 1077. - if (tt.el && !isVisible(tt.container) && !title) {
- 1078. - rows.style[styleName] = newleft + 'px';
- 1079. - tooltips.show(tt.el, extend(opts, {showdt: 0}));
- 1080. - } else if (rows) {
- 1081. - var params = {};
- 1082. - params[styleName] = newleft;
- 1083. - animate(rows, params, 200);
- 1084. - }
- 1085. - removeClass(icon, 'no_likes');
- 1086. - } else {
- 1087. - if (tt.el) tt.hide();
- 1088. - addClass(icon, 'no_likes');
- 1089. - }
- 1090. - },
- 1091. -
- 1092. - showLikesPage: function(like_obj, published, offset) {
- 1093. - cur.likesBox.loadTabContent('like.php', {act: 'a_get_members', object: like_obj, published: published, offset: offset, wall: 1}, published);
- 1094. - },
- 1095. -
- 1096. - extPageSubscribe: function(btn, oid, hash, msg) {
- 1097. - var reqOptions = {
- 1098. - showProgress: lockButton.pbind(btn),
- 1099. - hideProgress: unlockButton.pbind(btn),
- 1100. - onDone: function () {
- 1101. - showDoneBox(msg, {w: 500, out: 5000});
- 1102. - removeClass(btn.parentNode.parentNode.parentNode.parentNode, 'wk_extpage_head_unsubscribed');
- 1103. - }
- 1104. - };
- 1105. - if (oid > 0) {
- 1106. - ajax.post('al_friends.php', {act: 'add', mid: oid, hash: hash, from: 'wkview_extpage'}, reqOptions);
- 1107. - } else {
- 1108. - ajax.post('al_groups.php', {act: 'a_enter', gid: -oid, hash: hash, from: 'wkview_extpage'}, reqOptions);
- 1109. - }
- 1110. - },
- 1111. -
- 1112. - wallBeforeInitPost: function (opts) {
- 1113. - if (window.tooltips) tooltips.destroyAll();
- 1114. -
- 1115. - if (wkcur.postInited) {
- 1116. - return false;
- 1117. - }
- 1118. - wkcur.pageReplaced = [];
- 1119. - var post = wkcur.post,
- 1120. - postEl, size, postPlaceholder;
- 1121. - while (true) {
- 1122. - postEl = ge('post' + post);
- 1123. - if (!postEl && cur.onepost && post == (cur.oid + '_' + cur.pid)) {
- 1124. - postEl = ge('fw_post');
- 1125. - }
- 1126. - postEl = postEl || ge('reply_fakebox' + post) || ge('reply_box' + post) || ge('replies' + post) || ge('feedback_row_wall' + post) || (wkcur.hl_reply && (ge('post' + wkcur.hl_reply) || ge('feedback_row_wall_reply' + wkcur.hl_reply))) || ge('feed_rows');
- 1127. - if (!postEl) {
- 1128. - break;
- 1129. - }
- 1130. - size = getSize(postEl);
- 1131. - postPlaceholder = ce('div', {className: 'wk_wall_post_placeholder', id: 'wk_wall_post_placeholder_' + postEl.id}, {width: size[0], height: size[1]});
- 1132. - postEl.parentNode.replaceChild(postPlaceholder, postEl);
- 1133. - wkcur.pageReplaced.push([postEl, postPlaceholder]);
- 1134. - }
- 1135. -
- 1136. - cur.wallLayer = post;
- 1137. -
- 1138. - if (opts.options.wall_tpl) {
- 1139. - extend(window.lang, opts.lang, opts.options.wall_tpl.lang);
- 1140. - extend(wkcur, {
- 1141. - wallType: opts.options.wall_type,
- 1142. - wallTpl: opts.options.wall_tpl,
- 1143. - wallMyDeleted: {},
- 1144. - tsDiff: opts.options.wall_tpl && opts.options.wall_tpl.abs_timestamp ? Math.round((vkNow() / 1000 - opts.options.wall_tpl.abs_timestamp) / 900.0) * 900 : 0,
- 1145. - wallMyOpened: {},
- 1146. - wallMyReplied: {},
- 1147. - wallMyRepliesCnt: 0
- 1148. - });
- 1149. - WkView.wallInitUpdates();
- 1150. - wkcur.timeUpdateInt = setInterval(function () {Wall.updateTimes(wkcur.wkContent);}, 10000);
- 1151. - }
- 1152. -
- 1153. - wkcur._hide.push(WkView.wallDeinitPost);
- 1154. -
- 1155. - wkcur.postInited = true;
- 1156. - },
- 1157. - wallAfterInitPost: function () {
- 1158. - // debugLog('wall init', clone(wkcur));
- 1159. - var post = wkcur.post,
- 1160. - rf = ge('reply_field' + post);
- 1161. -
- 1162. - if (rf) {
- 1163. - placeholderSetup(rf, {pad: {margin: 0, padding: 0}})
- 1164. - }
- 1165. - WkView.wallUpdateReplies();
- 1166. - if (wkcur.hl_reply) {
- 1167. - setTimeout(Wall.highlightReply.pbind('post' + wkcur.hl_reply), 0);
- 1168. - } else {
- 1169. - setTimeout(function () {
- 1170. - wkLayerWrap.scrollTop = wkcur.toScroll || 0;
- 1171. - wkcur.toScroll = 0;
- 1172. - }, 0);
- 1173. - }
- 1174. - },
- 1175. - wallDeinitPost: function () {
- 1176. - // debugLog('wall deinit', clone(wkcur));
- 1177. - if (!wkcur.postInited) {
- 1178. - return false;
- 1179. - }
- 1180. - cur.wallLayer = false;
- 1181. - if (wkcur.edit) {
- 1182. - Wall.cancelEdit();
- 1183. - }
- 1184. - each (wkcur.pageReplaced, function () {
- 1185. - var postEl = this[0],
- 1186. - postPlaceholder = this[1];
- 1187. - if (postEl && postPlaceholder) {
- 1188. - postPlaceholder.parentNode.replaceChild(postEl, postPlaceholder);
- 1189. - }
- 1190. - })
- 1191. -
- 1192. - clearInterval(wkcur.updatesCheckInt);
- 1193. - clearInterval(wkcur.timeUpdateInt);
- 1194. -
- 1195. - if (window.tooltips) tooltips.destroyAll();
- 1196. -
- 1197. - delete cur.editing;
- 1198. - delete wkcur.postInited;
- 1199. - },
- 1200. - wallOnEdit: function (post, options) {
- 1201. - wkcur.edit = true;
- 1202. - val('wk_edit_link', options.lang.pages_view);
- 1203. - wkcur.editor = {changed: true};
- 1204. - },
- 1205. - wallOnEdited: function (post) {
- 1206. - wkcur.edit = false;
- 1207. - val('wk_edit_link', wkcur.editLang);
- 1208. - },
- 1209. - wallFixPost: function (link, hash, value) {
- 1210. - var post = wkcur.post;
- 1211. - ajax.post('al_wall.php', {act: 'a_fix_post', post: post, hash: hash, value: value}, {
- 1212. - progress: ge('wpe_prg' + post),
- 1213. - onDone: function () {
- 1214. - val(link, wkcur.lang[value ? 'wall_unfix_post' : 'wall_fix_post']);
- 1215. - link.onclick = function () {
- 1216. - return WkView.wallFixPost(link, hash, value ? 0 : 1);
- 1217. - }
- 1218. - }
- 1219. - });
- 1220. - return false;
- 1221. - },
- 1222. - wallPostDelete: function(act, hash) {
- 1223. - var post = wkcur.post;
- 1224. - if (cur.wallMyDeleted) {
- 1225. - cur.wallMyDeleted[post] = 1;
- 1226. - }
- 1227. - ajax.post('al_wall.php', {act: act, post: post, hash: hash, from: 'wkview'}, {onDone: function(msg, deleted) {
- 1228. - var p = ge('wl_post_body');
- 1229. - if (!p) return;
- 1230. - cur.pgPaused = true;
- 1231. - hide('wl_replies_wrap', 'wl_post_actions_wrap', 'wl_reply_form_wrap');
- 1232. - var del = p.nextSibling;
- 1233. - if (del && hasClass(del, 'wl_post_deleted')) {
- 1234. - val(del, msg);
- 1235. - } else {
- 1236. - p.parentNode.insertBefore(ce('div', {id: 'post_del' + post, innerHTML: msg, className: 'wl_post_deleted'}), p.nextSibling);
- 1237. - hide(p);
- 1238. - }
- 1239. - wkLayerWrap.scrollTop = 0;
- 1240. - }, progress: ge('wpe_prg' + post)});
- 1241. - },
- 1242. - wallPostRestore: function(hash) {
- 1243. - var post = wkcur.post;
- 1244. - if (cur.wallMyDeleted) {
- 1245. - cur.wallMyDeleted[post] = 0;
- 1246. - }
- 1247. - ajax.post('al_wall.php', {act: 'restore', post: post, hash: hash, from: 'wkview'}, {onDone: function() {
- 1248. - var p = ge('wl_post_body');
- 1249. - if (!p || isVisible(p)) return;
- 1250. - cur.pgPaused = false;
- 1251. - show('wl_replies_wrap', 'wl_post_actions_wrap', 'wl_reply_form_wrap');
- 1252. - var del = p.nextSibling;
- 1253. - show(p);
- 1254. - if (del && hasClass(del, 'wl_post_deleted')) {
- 1255. - re(del);
- 1256. - }
- 1257. - }});
- 1258. - },
- 1259. - wallUpdateRepliesOnScroll: function (resize) {
- 1260. - if (!wkcur.postInited) return;
- 1261. - var wndHeight = window.innerHeight || document.documentElement.clientHeight;
- 1262. -
- 1263. - var moreLink = ge('wl_replies_more_link');
- 1264. - if (moreLink && isVisible(moreLink)) {
- 1265. - var moreLinkY = getXY(moreLink, true)[1];
- 1266. - if (wndHeight + 500 > moreLinkY) {
- 1267. - moreLink.onclick();
- 1268. - }
- 1269. - }
- 1270. -
- 1271. - var replyForm = ge('wl_reply_form');
- 1272. - if (!replyForm || hasClass(replyForm, 'wl_post_reply_form_forbidden')) {
- 1273. - return;
- 1274. - }
- 1275. - var formWrap = ge('wl_reply_form_wrap'),
- 1276. - formY = getXY(formWrap, true)[1],
- 1277. - formSize = getSize(replyForm);
- 1278. - formH = formSize[1];
- 1279. -
- 1280. - if (resize && wkcur.fixedBottom === false && wndHeight - formH < formY + 20) {
- 1281. - wkLayerWrap.scrollTop += formY + 20 - (wndHeight - formH);
- 1282. - } else if (isVisible(formWrap) && wndHeight - formH < formY) {
- 1283. - if (!wkcur.fixedBottom || resize) {
- 1284. - wkcur.fixedBottom = true;
- 1285. - addClass(replyForm, 'wl_reply_form_fixed');
- 1286. - }
- 1287. - setStyle('wl_reply_form_wrap', {width: formSize[0], height: formSize[1], bottom: bottom});
- 1288. - var bottom = Math.min(0, wndHeight - getXY('wl_replies_wrap', true)[1] - formH);
- 1289. - setStyle(replyForm, {bottom: bottom});
- 1290. - } else {
- 1291. - if (wkcur.fixedBottom || resize) {
- 1292. - wkcur.fixedBottom = false;
- 1293. - removeClass(replyForm, 'wl_reply_form_fixed');
- 1294. - setStyle('wl_reply_form_wrap', {width: '', height: ''});
- 1295. - }
- 1296. - }
- 1297. - if (resize && wkcur.fixedBottom) {
- 1298. - setStyle(replyForm, {left: getXY(wkcur.wkContent)[0] + 'px'})
- 1299. - }
- 1300. - },
- 1301. - wallShowMoreReplies: function () {
- 1302. - if (wkcur.loadingReplies) {
- 1303. - return false;
- 1304. - }
- 1305. - var newOffset = wkcur.offset + wkcur.loaded,
- 1306. - limit = wkcur.limit,
- 1307. - repliesWrap = ge('replies' + wkcur.post);
- 1308. -
- 1309. - if (wkcur.count <= newOffset || !repliesWrap) {
- 1310. - return false;
- 1311. - }
- 1312. - wkcur.loadingReplies = true;
- 1313. - Wall.moreReplies(wkcur.post, (wkcur.reverse ? -1 : 1) * newOffset, limit, {
- 1314. - from: 'wkview',
- 1315. - append: true,
- 1316. - rev: wkcur.reverse ? 1 : 0,
- 1317. - onDone: function (replies, names, data) {
- 1318. - // debugLog((wkcur.reverse ? -1 : 1) * newOffset, limit, data);
- 1319. - extend(wkcur, {
- 1320. - count: data.count,
- 1321. - loaded: wkcur.loaded + data.num
- 1322. - });
- 1323. - WkView.wallUpdateReplies();
- 1324. - wkcur.loadingReplies = false;
- 1325. - },
- 1326. - onFail: function () {
- 1327. - wkcur.loadingReplies = false;
- 1328. - },
- 1329. - showProgress: function () {
- 1330. - hide('wl_replies_more_link');
- 1331. - show('wl_replies_more_progress');
- 1332. - },
- 1333. - hideProgress: function () {
- 1334. - show('wl_replies_more_link');
- 1335. - hide('wl_replies_more_progress');
- 1336. - }
- 1337. - });
- 1338. - return false;
- 1339. - },
- 1340. - wallShowPreviousReplies: function (hlReply) {
- 1341. - if (wkcur.loadingReplies || wkcur.reverse) {
- 1342. - return false;
- 1343. - }
- 1344. - var maxLimit = 100,
- 1345. - newOffset = Math.max(0, wkcur.offset - maxLimit),
- 1346. - limit = Math.min(maxLimit, wkcur.offset - newOffset),
- 1347. - repliesWrap = ge('replies' + wkcur.post);
- 1348. -
- 1349. - if (limit <= 0 || !repliesWrap) {
- 1350. - return false;
- 1351. - }
- 1352. - wkcur.loadingReplies = true;
- 1353. - var prevH = repliesWrap.offsetHeight;
- 1354. - Wall.moreReplies(wkcur.post, newOffset, limit, {
- 1355. - from: 'wkview',
- 1356. - onDone: function (replies, names, data) {
- 1357. - extend(wkcur, {
- 1358. - count: data.count,
- 1359. - offset: data.offset,
- 1360. - loaded: wkcur.loaded + data.num
- 1361. - });
- 1362. - if (hlReply) {
- 1363. - wkLayerWrap.scrollTop += repliesWrap.offsetHeight - prevH;
- 1364. - setTimeout(Wall.highlightReply.pbind('post' + hlReply), 0);
- 1365. - }
- 1366. - WkView.wallUpdateReplies();
- 1367. - wkcur.loadingReplies = false;
- 1368. - },
- 1369. - onFail: function () {
- 1370. - wkcur.loadingReplies = false;
- 1371. - },
- 1372. - showProgress: function () {
- 1373. - hide('wl_replies_header', 'wl_replies_header_toggler');
- 1374. - show('wl_replies_previous_progress');
- 1375. - },
- 1376. - hideProgress: function () {
- 1377. - show('wl_replies_header', 'wl_replies_header_toggler');
- 1378. - hide('wl_replies_previous_progress');
- 1379. - }
- 1380. - });
- 1381. - },
- 1382. - wallUpdateReplies: function () {
- 1383. - toggle('wl_replies_more_link', wkcur.offset + wkcur.loaded < wkcur.count);
- 1384. -
- 1385. - var header = ge('wl_replies_header'),
- 1386. - label = langNumeric(wkcur.count, wkcur.lang.wall_N_replies),
- 1387. - hasPrevious = false;
- 1388. -
- 1389. - if (!wkcur.reverse && wkcur.offset > 0) {
- 1390. - if (wkcur.offset > 100) {
- 1391. - label = langNumeric(100, wkcur.lang.wall_show_n_of_m_last).replace('{count}', wkcur.count);
- 1392. - } else {
- 1393. - label = langNumeric(wkcur.count, wkcur.lang.wall_show_all_n_replies);
- 1394. - }
- 1395. - hasPrevious = true;
- 1396. - }
- 1397. - val('wl_replies_header_label', label);
- 1398. - toggleClass(header, 'wl_replies_header_clickable', hasPrevious);
- 1399. -
- 1400. - var repliesWrap = ge('wl_replies_wrap'),
- 1401. - form = ge('wl_reply_form');
- 1402. - if (wkcur.count && repliesWrap && !isVisible(repliesWrap.firstChild)) {
- 1403. - show(repliesWrap.firstChild);
- 1404. - }
- 1405. - if (form) {
- 1406. - var formPlace1 = ge('wl_reply_form_reverse_wrap'),
- 1407. - formPlace2 = ge('wl_reply_form_wrap'),
- 1408. - formPlace = wkcur.reverse && repliesWrap && isVisible(repliesWrap.firstChild) && formPlace1 || formPlace2;
- 1409. -
- 1410. - toggle(formPlace1, formPlace == formPlace1);
- 1411. - toggle(formPlace2, formPlace == formPlace2);
- 1412. - toggleClass(form, 'wl_reply_form_reversed', formPlace == formPlace1);
- 1413. - if (form.parentNode != formPlace) {
- 1414. - formPlace.appendChild(form);
- 1415. - }
- 1416. - }
- 1417. -
- 1418. - WkView.wallUpdateRepliesOnScroll();
- 1419. - WkView.updateSize();
- 1420. - },
- 1421. - wallInitUpdates: function () {
- 1422. - var key = wkcur.options.add_queue_key;
- 1423. - if (!key || !window.Notifier) {
- 1424. - return;
- 1425. - }
- 1426. - var wasKey = wkcur.wallAddQueue,
- 1427. - checkCb = function () {
- 1428. - if (wkcur.wallAddQueue) Notifier.addKey(wkcur.wallAddQueue, Wall.updated.pbind(true));
- 1429. - };
- 1430. -
- 1431. - wkcur.wallAddQueue = key;
- 1432. - checkCb();
- 1433. - wkcur.updatesCheckInt = setInterval(checkCb, 10000);
- 1434. - },
- 1435. - wallCancelEditReply: function () {
- 1436. - var post = wkcur.post,
- 1437. - rf = ge('reply_field' + post),
- 1438. - composer = rf && data(rf, 'composer');
- 1439. - if (composer) {
- 1440. - Composer.reset(composer);
- 1441. - } else {
- 1442. - val(rf, '');
- 1443. - }
- 1444. - Wall.hideEditReply(post);
- 1445. - WkView.wallUpdateReplies();
- 1446. - },
- 1447. - wallInverseReplies: function () {
- 1448. - if (wkcur.loadingReplies) {
- 1449. - return false;
- 1450. - }
- 1451. - wkcur.loadingReplies = true;
- 1452. - wkcur.reverse = !wkcur.reverse;
- 1453. - wkcur.offset = 0;
- 1454. -
- 1455. - Wall.moreReplies(wkcur.post, wkcur.offset, wkcur.limit, {
- 1456. - from: 'wkview',
- 1457. - clear: true,
- 1458. - rev: wkcur.reverse ? 1 : 0,
- 1459. - onDone: function (replies, names, data) {
- 1460. - toggleClass('wl_replies_header_toggler', 'wl_replies_header_toggler_inversed', wkcur.reverse);
- 1461. - extend(wkcur, {
- 1462. - count: data.count,
- 1463. - loaded: data.num
- 1464. - });
- 1465. - WkView.wallUpdateReplies();
- 1466. - wkcur.loadingReplies = false;
- 1467. - },
- 1468. - onFail: function () {
- 1469. - wkcur.reverse = !wkcur.reverse;
- 1470. - wkcur.loadingReplies = false;
- 1471. - },
- 1472. - showProgress: function () {
- 1473. - hide('wl_replies_header', 'wl_replies_header_toggler');
- 1474. - show('wl_replies_previous_progress');
- 1475. - },
- 1476. - hideProgress: function () {
- 1477. - show('wl_replies_header', 'wl_replies_header_toggler');
- 1478. - hide('wl_replies_previous_progress');
- 1479. - }
- 1480. - });
- 1481. - },
- 1482. -
- 1483. - likesInit: function () {
- 1484. - re(cur.lSTL);
- 1485. - extend(wkcur, {
- 1486. - phCache: {},
- 1487. - phShown: {},
- 1488. - historyLen: 0,
- 1489. -
- 1490. - lSTL: wkLayerWrap.appendChild(ce('div', {id: 'layer_stl', innerHTML: '<div id="layer_stl_bg" class="fixed"></div><div id="layer_stl_cl"></div><nobr id="layer_stl_text" class="fixed">' + getLang('global_to_top') + '</nobr>', el: ge('wk_box'), onclick: cancelEvent, onmousedown: WkView.likesSTLDown, sc: WkView.likesOnScroll})),
- 1491. - lSTLShown: 0,
- 1492. - lSTLWas: 0,
- 1493. - lSTLWasSet: 0
- 1494. - });
- 1495. - cur.lSTL = wkcur.lSTL;
- 1496. -
- 1497. - WkView.likesTabInit();
- 1498. -
- 1499. - addEvent(wkLayerWrap, 'scroll', WkView.onScroll);
- 1500. - addEvent(window, 'resize', WkView.onResize);
- 1501. - onBodyResize();
- 1502. -
- 1503. - if (!cur.wallInited) {
- 1504. - Wall.initWallOptions(wkcur.wall_opts);
- 1505. - } else {
- 1506. - wkcur._oldReplyForm = cur.wallTpl.reply_form;
- 1507. - cur.wallTpl.reply_form = wkcur.wall_opts.wall_tpl.reply_form;
- 1508. - }
- 1509. -
- 1510. - if (cur.options === undefined) {
- 1511. - cur.options = {reply_names: {}};
- 1512. - } else if (cur.options.reply_names === undefined) {
- 1513. - cur.options.reply_names = {};
- 1514. - }
- 1515. - extend(cur.options.reply_names, wkcur.reply_names);
- 1516. -
- 1517. - wkcur._hide.push(function () {
- 1518. - removeEvent(wkLayerWrap, 'scroll', WkView.onScroll);
- 1519. - removeEvent(window, 'resize', WkView.onResize);
- 1520. - re(wkcur.lSTL, cur.lSTL);
- 1521. - if (wkcur._oldReplyForm) {
- 1522. - cur.wallTpl.reply_form = wkcur._oldReplyForm;
- 1523. - wkcur._oldReplyForm = false;
- 1524. - }
- 1525. - });
- 1526. - },
- 1527. - likesTabInit: function () {
- 1528. - if (wkcur.preload) {
- 1529. - ajax.preload('wkview.php', {
- 1530. - act: 'show',
- 1531. - w: wkcur.wkRaw,
- 1532. - offset: wkcur.offset
- 1533. - }, wkcur.preload);
- 1534. - }
- 1535. - },
- 1536. - likesTab: function (tab) {
- 1537. - ajax.post('wkview.php', {act: 'show', w: tab + '/' + wkcur.like_obj, part: 1}, {
- 1538. - cache: 1,
- 1539. - showProgress: setStyle.pbind('wk_likes_tabs_prg', {visibility: 'visible'}),
- 1540. - hideProgress: setStyle.pbind('wk_likes_tabs_prg', {visibility: 'hidden'}),
- 1541. - onDone: function (title, content, options) {
- 1542. - val('wk_likes_title', title);
- 1543. - val('wk_likes_content', content);
- 1544. - extend(wkcur, options);
- 1545. - WkView.likesTabInit();
- 1546. -
- 1547. - var oldTab = geByClass1('summary_tab_sel', ge('wk_likes_tabs')),
- 1548. - newTab = ge('wk_likes_tab' + tab);
- 1549. - replaceClass(oldTab, 'summary_tab_sel', 'summary_tab');
- 1550. - replaceClass(newTab.parentNode, 'summary_tab', 'summary_tab_sel');
- 1551. -
- 1552. - WkView.setLocation();
- 1553. - WkView.updateHeight();
- 1554. - WkView.likesOnScroll();
- 1555. - }
- 1556. - });
- 1557. - },
- 1558. - likesPreload: function () {
- 1559. - ajax.post('wkview.php', {act: 'show', w: wkcur.wkRaw, offset: wkcur.offset}, {cache: 1});
- 1560. - },
- 1561. - likesMore: function() {
- 1562. - if (isVisible('wk_likes_more_prg')) return;
- 1563. - ajax.post('wkview.php', {act: 'show', w: wkcur.wkRaw, offset: wkcur.offset}, {
- 1564. - onDone: function(rows, newOffset, needMore, names) {
- 1565. - var cnt = ge('wk_likes_rows');
- 1566. - if (!cnt) return;
- 1567. -
- 1568. - cnt.appendChild(cf(rows));
- 1569. - wkcur.offset = newOffset;
- 1570. - if (needMore) {
- 1571. - WkView.likesPreload();
- 1572. - } else {
- 1573. - hide('wk_likes_more_link');
- 1574. - }
- 1575. - WkView.updateHeight();
- 1576. - if (names) {
- 1577. - extend(cur.options.reply_names, names);
- 1578. - }
- 1579. - }, showProgress: function() {
- 1580. - hide('wk_likes_more_link');
- 1581. - show('wk_likes_more_prg');
- 1582. - }, hideProgress: function() {
- 1583. - show('wk_likes_more_link');
- 1584. - hide('wk_likes_more_prg');
- 1585. - }, cache: 1
- 1586. - });
- 1587. - },
- 1588. - likesBigphOver: function(obj, uid) {
- 1589. - if (!wkcur.lang || !wkcur.lang.global_photo_full_size || browser.mobile) return;
- 1590. - var o = obj.firstChild,
- 1591. - ch = wkcur.phCache[uid];
- 1592. - if (o.tagName != 'A' || o.className != 'wk_likes_likerph') {
- 1593. - o = obj.insertBefore(ce('a', {className: 'wk_likes_likerph', href: ch && ch._id ? ('/photo' + ch._id + '?all=1') : ('/albums' + uid), innerHTML: '<span class="wk_likes_likerph_label">' + wkcur.lang.global_photo_full_size + '</span>'}), obj.firstChild);
- 1594. - o.onclick = WkView.likesBigphClick.pbind(uid);
- 1595. - o._uid = uid;
- 1596. - }
- 1597. -
- 1598. - clearTimeout(o.hideTO);
- 1599. - animate(o, {marginTop: 75}, {duration: 200, transition: Fx.Transitions.easeOutCirc});
- 1600. - wkcur.phShown[uid] = o;
- 1601. -
- 1602. - if (!obj.onmouseout) obj.onmouseout = WkView.likesBigphOut.pbind(obj);
- 1603. - },
- 1604. - likesBigphOut: function(obj) {
- 1605. - var o = obj.firstChild;
- 1606. - if (!o || o.tagName != 'A' || o.className != 'wk_likes_likerph') return;
- 1607. -
- 1608. - clearTimeout(o.hideTO);
- 1609. - o.hideTO = setTimeout(function() {
- 1610. - animate(o, {marginTop: 100}, 200);
- 1611. - delete(wkcur.phShown[o._uid]);
- 1612. - }, 150);
- 1613. - },
- 1614. - likesBigphClick: function(uid, ev) {
- 1615. - if (checkEvent(ev) !== false) return;
- 1616. -
- 1617. - var ch = wkcur.phCache[uid]
- 1618. - o = wkcur.phShown[uid],
- 1619. - obj = domPN(o);
- 1620. -
- 1621. - if (!o || !obj) return;
- 1622. - if (ch === undefined) {
- 1623. - ch = wkcur.phCache[uid] = 'show';
- 1624. - ajax.post('al_photos.php', {act: 'fast_get_photo', oid: uid}, {onDone: function(res) {
- 1625. - if (!res) {
- 1626. - obj.onmouseover = function() {};
- 1627. - re(o);
- 1628. - return;
- 1629. - }
- 1630. - var sh = (wkcur.phCache[uid] == 'show');
- 1631. - wkcur.phCache[uid] = res;
- 1632. - o.href = '/photo' + res._id + '?all=1';
- 1633. - if (sh) WkView.likesBigphClick(uid);
- 1634. - }, onFail: function() {
- 1635. - obj.onmouseover = function() {};
- 1636. - re(o);
- 1637. - return true;
- 1638. - }});
- 1639. - }
- 1640. - if (ch == 'show') {
- 1641. - return cancelEvent(ev);
- 1642. - }
- 1643. - if (!ch) return;
- 1644. - extend(ch, {
- 1645. - jumpTo: {z: 'albums' + uid},
- 1646. - queue: 1
- 1647. - });
- 1648. - return showPhoto(ch._id, 'album' + uid + '_0/rev', ch, ev);
- 1649. - },
- 1650. - likesSTLDown: function(e) {
- 1651. - e = e || window.event;
- 1652. - if (checkEvent(e)) return;
- 1653. -
- 1654. - if (!__afterFocus) {
- 1655. - if (wkcur.lSTLWasSet && wkcur.lSTLWas) {
- 1656. - var to = wkcur.lSTLWas;
- 1657. - wkcur.lSTLWas = 0;
- 1658. - wkLayerWrap.scrollTop = to;
- 1659. - } else {
- 1660. - wkcur.lSTLWas = wkLayerWrap.scrollTop;
- 1661. - wkLayerWrap.scrollTop = 0;
- 1662. - }
- 1663. - }
- 1664. - return cancelEvent(e);
- 1665. - },
- 1666. - likesOnScroll: function (resize) {
- 1667. -
- 1668. - var st = wkLayerWrap.scrollTop,
- 1669. - mx = 200,
- 1670. - vis = wkcur.lSTLWas || (st > mx),
- 1671. - o = 0;
- 1672. -
- 1673. - wkcur.lSTL.style.marginTop = st + 'px';
- 1674. - if (!vis) {
- 1675. - if (wkcur.lSTLShown !== 0) {
- 1676. - hide(wkcur.lSTL);
- 1677. - wkcur.lSTLShown = 0;
- 1678. - }
- 1679. - } else {
- 1680. - if (wkcur.lSTLShown !== 1) {
- 1681. - show(wkcur.lSTL);
- 1682. - wkcur.lSTLShown = 1;
- 1683. - }
- 1684. - if (wkcur.lSTLWas && st > 500) {
- 1685. - wkcur.lSTLWas = 0;
- 1686. - }
- 1687. - if (st > mx) {
- 1688. - o = (st - mx) / mx;
- 1689. - if (wkcur.lSTLWasSet) {
- 1690. - wkcur.lSTLWasSet = 0;
- 1691. - val(domLC(wkcur.lSTL), getLang('global_to_top'));
- 1692. - removeClass(domLC(wkcur.lSTL), 'down');
- 1693. - }
- 1694. - } else {
- 1695. - o = (mx - st) / mx;
- 1696. - if (wkcur.lSTLWas) {
- 1697. - if (!wkcur.lSTLWasSet) {
- 1698. - wkcur.lSTLWasSet = 1;
- 1699. - val(domLC(wkcur.lSTL), '');
- 1700. - addClass(domLC(wkcur.lSTL), 'down');
- 1701. - }
- 1702. - }
- 1703. - }
- 1704. - }
- 1705. - setStyle(wkcur.lSTL, {opacity: Math.min(Math.max(o, 0), 1)});
- 1706. -
- 1707. - var bt = lastWindowHeight,
- 1708. - objMore = ge('wk_likes_more_link');
- 1709. - if (isVisible(objMore) && (bt > getXY(objMore, true)[1])) {
- 1710. - objMore.click();
- 1711. - }
- 1712. - },
- 1713. - likesBlacklistTip: function (el) {
- 1714. - showTooltip(el, {
- 1715. - text: wkcur.lang.like_block_liker,
- 1716. - shift: [13, 1, 1],
- 1717. - black: 1
- 1718. - });
- 1719. - },
- 1720. - likesBlacklist: function (el, oid, event) {
- 1721. - if (el.tt && el.tt.destroy) el.tt.destroy();
- 1722. - showBox('like.php', {act: 'spam', mid: oid, object: wkcur.like_obj});
- 1723. - return cancelEvent(event);
- 1724. - },
- 1725. - likesRecache: function(d) {
- 1726. - wkcur.offset += d;
- 1727. - for (var i in ajaxCache) {
- 1728. - if (i.match(new RegExp('^\\/wkview\.php\\#act=show', ''))) {
- 1729. - delete(ajaxCache[i]);
- 1730. - }
- 1731. - }
- 1732. - },
- 1733. - likesRemove: function(oid) {
- 1734. - re('wk_likes_liker_row' + oid);
- 1735. - WkView.likesRecache(-1);
- 1736. - WkView.onScroll();
- 1737. - if (!domFC(ge('wk_likes_rows'))) {
- 1738. - location.reload();
- 1739. - }
- 1740. - },
- 1741. -
- 1742. - historyInit: function () {
- 1743. - addEvent(wkLayerWrap, 'scroll', WkView.onScroll);
- 1744. - addEvent(window, 'resize', WkView.onResize);
- 1745. - onBodyResize();
- 1746. -
- 1747. - wkcur._hide.push(function () {
- 1748. - removeEvent(wkLayerWrap, 'scroll', WkView.onScroll);
- 1749. - removeEvent(window, 'resize', WkView.onResize);
- 1750. - });
- 1751. - },
- 1752. - historyOnScroll: function () {
- 1753. - if (wkcur.loadingHistory) {
- 1754. - return false;
- 1755. - }
- 1756. - var wndHeight = window.innerHeight || document.documentElement.clientHeight;
- 1757. -
- 1758. - var moreLink = ge('wk_history_more_link');
- 1759. - if (moreLink && isVisible(moreLink)) {
- 1760. - var moreLinkY = getXY(moreLink, true)[1];
- 1761. - if (wndHeight + 500 > moreLinkY) {
- 1762. - moreLink.onclick();
- 1763. - }
- 1764. - }
- 1765. - },
- 1766. - historyShowMore: function () {
- 1767. - if (wkcur.loadingHistory) {
- 1768. - return false;
- 1769. - }
- 1770. - var newOffset = wkcur.offset;
- 1771. - wkcur.loadingHistory = true;
- 1772. - ajax.post('wkview.php', {act: 'show', w: wkcur.wkRaw, offset: newOffset, part: 1}, {
- 1773. - onDone: function (options, rows) {
- 1774. - extend(wkcur, options);
- 1775. - ge('wk_history_rows').appendChild(cf(rows));
- 1776. - setTimeout(WkView.historyOnScroll, 500);
- 1777. -
- 1778. - toggle('wk_history_more_link', wkcur.offset < wkcur.count);
- 1779. - toggle('wk_history_empty', wkcur.offset >= wkcur.count && !domFC(ge('wk_history_rows')));
- 1780. - toggleClass('wk_history_more', 'wk_history_more_loading', wkcur.offset < wkcur.count && !domFC(ge('wk_history_rows')));
- 1781. - wkcur.loadingHistory = false;
- 1782. - },
- 1783. - onFail: function () {
- 1784. - wkcur.loadingHistory = false;
- 1785. - },
- 1786. - showProgress: function () {
- 1787. - hide('wk_history_more_link');
- 1788. - show('wk_history_more_progress');
- 1789. - },
- 1790. - hideProgress: function () {
- 1791. - show('wk_history_more_link');
- 1792. - hide('wk_history_more_progress');
- 1793. - }
- 1794. - });
- 1795. -
- 1796. - return false;
- 1797. - },
- 1798. -
- 1799. - activate: function(arrow) {
- 1800. - if (arrow && arrow.timeout) {
- 1801. - clearTimeout(arrow.timeout);
- 1802. - removeAttr(arrow, 'timeout');
- 1803. - } else if (isVisible(arrow)) {
- 1804. - fadeTo(arrow, 200, vk.pvdark ? 1 : 0.7);
- 1805. - }
- 1806. - },
- 1807. -
- 1808. - deactivate: function(arrow) {
- 1809. - if (!arrow || !isVisible(arrow) || arrow.timeout) {
- 1810. - return;
- 1811. - }
- 1812. - arrow.timeout = setTimeout(function() {
- 1813. - removeAttr(arrow, 'timeout');
- 1814. - fadeTo(arrow, 200, 0.4);
- 1815. - }, 1);
- 1816. - },
- 1817. -
- 1818. - activateArrow: function (next, event) {
- 1819. - var arrow = wkcur[next ? 'wkRightArrow' : 'wkLeftArrow'],
- 1820. - bg = wkcur[next ? 'wkRightArrowBg' : 'wkLeftArrowBg'].firstChild;
- 1821. -
- 1822. - if (arrow && arrow.timeout) {
- 1823. - clearTimeout(arrow.timeout);
- 1824. - removeAttr(arrow, 'timeout');
- 1825. - } else if (isVisible(arrow)) {
- 1826. - wkcur.arrowOver = next;
- 1827. - fadeTo(arrow, 200, vk.pvdark ? 1 : 0.7);
- 1828. - fadeTo(bg, 200, 0.15);
- 1829. - }
- 1830. - WkView.preloadArrow(next);
- 1831. - cancelEvent(event);
- 1832. - },
- 1833. - preloadArrow: function (next) {
- 1834. - var arrow = wkcur[next ? 'wkRightArrow' : 'wkLeftArrow'];
- 1835. -
- 1836. - if (!arrow.cached) {
- 1837. - arrow.cached = true;
- 1838. - var actions = WkView.getNextWkRaws(),
- 1839. - preloadWkRaw = actions[next ? 1 : 0];
- 1840. -
- 1841. - if (preloadWkRaw) {
- 1842. - ajax.post('wkview.php', extend({act: 'show', loc: nav.objLoc[0]}, {w: preloadWkRaw}), {cache: 1});
- 1843. - }
- 1844. - }
- 1845. - },
- 1846. - deactivateArrow: function (next, event) {
- 1847. - var arrow = wkcur[next ? 'wkRightArrow' : 'wkLeftArrow'],
- 1848. - bg = wkcur[next ? 'wkRightArrowBg' : 'wkLeftArrowBg'].firstChild;
- 1849. -
- 1850. - if (!arrow || !isVisible(arrow) || arrow.timeout || (wkcur.arrowClicked && (vkNow() - wkcur.arrowClicked < 100))) {
- 1851. - return;
- 1852. - }
- 1853. -
- 1854. - delete wkcur.arrowOver;
- 1855. - arrow.timeout = setTimeout(function() {
- 1856. - removeAttr(arrow, 'timeout');
- 1857. - fadeTo(arrow, 200, 0.4);
- 1858. - fadeTo(bg, 200, 0);
- 1859. - }, 1);
- 1860. - cancelEvent(event);
- 1861. - },
- 1862. -
- 1863. - back: function() {
- 1864. - if (wkcur.historyLen > 1) {
- 1865. - wkcur.doBack = 1;
- 1866. - wkcur.historyLen -= 1;
- 1867. - history.go(-1);
- 1868. - return true;
- 1869. - } else {
- 1870. - WkView.hide();
- 1871. - }
- 1872. - },
- 1873. -
- 1874. -
- 1875. - _eof: 1};try{stManager.done('wkview.js');}catch(e){}
- ------
Add Comment
Please, Sign In to add comment