Hormold

VK Change (#1384849810)

Nov 19th, 2013
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 80.18 KB | None | 0 0
  1. Файл - ads.css (Старый размер - 34723 | Новый - 0):
  2. 0.  - #ads_css { display: none; }
  3. 1.  -
  4. 2.  - /* ------- */
  5. 3.  - /* General */
  6. 4.  - /* ------- */
  7. 5.  -
  8. 6.  - ul.ads_listing {
  9. 7.  -   padding: 0 0 0 30px;
  10. 8.  -   margin: 0 0 15px 0;
  11. 9.  - }
  12. 10.  - ul.ads_listing li {
  13. 11.  -   list-style: square;
  14. 12.  -   color: #758EAC;
  15. 13.  -   line-height: 160%;
  16. 14.  - }
  17. 15.  - ul.ads_listing li span {
  18. 16.  -   color: #000000;
  19. 17.  - }
  20. 18.  -
  21. 19.  - a .ads_sub_link:hover {
  22. 20.  -   text-decoration: underline;
  23. 21.  - }
  24. 22.  -
  25. 23.  - .ads_h2_add {
  26. 24.  -   font-weight: normal;
  27. 25.  -   font-size: 11px;
  28. 26.  -   padding-top: 0.185em;
  29. 27.  - }
  30. 28.  - .font_medium .ads_h2_add {
  31. 29.  -   font-size: 12px;
  32. 30.  -   padding-top: 0.14em;
  33. 31.  - }
  34. 32.  -
  35. 33.  - .ads_gradient_progress_wrap {
  36. 34.  -   height: 18px;
  37. 35.  -   margin: 0 auto;
  38. 36.  -   background: #FFFFFF;
  39. 37.  -   border: 1px solid #CCCCCC;
  40. 38.  - }
  41. 39.  -
  42. 40.  - .ads_gradient_progress {
  43. 41.  -   height: 18px;
  44. 42.  -   background: #597DA3 url(/images/progress_grad.gif) repeat;
  45. 43.  -   border: 1px solid #45688E;
  46. 44.  -   margin: -1px;
  47. 45.  - }
  48. 46.  -
  49. 47.  - /* ---- */
  50. 48.  - /* Page */
  51. 49.  - /* ---- */
  52. 50.  -
  53. 51.  - #ads_page_wrap2 {
  54. 52.  -   border: 1px solid #EBF0F4;
  55. 53.  -   border-top: 0;
  56. 54.  -   width: 791px;
  57. 55.  -   float: right;
  58. 56.  - }
  59. 57.  -
  60. 58.  - #ads_page_wrap1 {
  61. 59.  -   border: 1px solid #DAE1E8;
  62. 60.  -   border-top: 0;
  63. 61.  -   width: 789px;
  64. 62.  -   overflow: hidden;
  65. 63.  - }
  66. 64.  -
  67. 65.  - #ads_page {
  68. 66.  -   padding: 20px;
  69. 67.  - }
  70. 68.  - #ads_page.ads_page_no_padding {
  71. 69.  -   padding: 0;
  72. 70.  - }
  73. 71.  -
  74. 72.  - #ads_page_top {
  75. 73.  -   padding-top: 10px;
  76. 74.  - }
  77. 75.  -
  78. 76.  - .ads_page_extra_wide #ads_page_wrap2,
  79. 77.  - .ads_page_extra_wide #ads_page_wrap1 {
  80. 78.  -   width: auto;
  81. 79.  - }
  82. 80.  -
  83. 81.  - .ads_page_extra_wide #ads_page_wrap2 {
  84. 82.  -   float: none;
  85. 83.  - }
  86. 84.  -
  87. 85.  - #ads_page_bottom_info {
  88. 86.  -   border-top: 1px solid #DAE1E8;
  89. 87.  -   background-color: #F7F7F7;
  90. 88.  -   text-align: center;
  91. 89.  -   padding: 6px 20px;
  92. 90.  -   color: #777777;
  93. 91.  - }
  94. 92.  -
  95. 93.  - .ads_page_small {
  96. 94.  -   padding: 0 60px;
  97. 95.  - }
  98. 96.  -
  99. 97.  - /* ----- */
  100. 98.  - /* Title */
  101. 99.  - /* ----- */
  102. 100.  -
  103. 101.  - #ads_page_title {
  104. 102.  -   background-color: #E9EDF1;
  105. 103.  -   padding: 7px 10px;
  106. 104.  -   margin: 0;
  107. 105.  -   font-weight: bold;
  108. 106.  -   color: #607387;
  109. 107.  -   line-height: 140%;
  110. 108.  - }
  111. 109.  -
  112. 110.  - #ads_page_title h1 {
  113. 111.  -   font-size: 1em;
  114. 112.  -   overflow: hidden;
  115. 113.  -   padding: 0;
  116. 114.  -   margin: 0;
  117. 115.  - }
  118. 116.  -
  119. 117.  - #ads_page_title h1 a {
  120. 118.  -   color: #2B587A;
  121. 119.  - }
  122. 120.  -
  123. 121.  - #ads_page_title b {
  124. 122.  -   color: #AAB7C5;
  125. 123.  -   float: right;
  126. 124.  - }
  127. 125.  -
  128. 126.  - /* --------------- */
  129. 127.  - /* Main navigation */
  130. 128.  - /* --------------- */
  131. 129.  -
  132. 130.  - .ads_page_extra_wide #ads_navigation {
  133. 131.  -   display: none;
  134. 132.  - }
  135. 133.  -
  136. 134.  - #ads_navigation {
  137. 135.  -   width: 150px;
  138. 136.  -   padding: 12px 0 12px 0;
  139. 137.  -   word-wrap: break-word;
  140. 138.  - }
  141. 139.  -
  142. 140.  - #ads_navigation .edit_button_wrap {
  143. 141.  -   padding-bottom: 10px;
  144. 142.  - }
  145. 143.  -
  146. 144.  - #ads_navigation.ads_nav .nav {
  147. 145.  -   max-width: 128px;
  148. 146.  - }
  149. 147.  -
  150. 148.  - #ads_navigation a:hover {
  151. 149.  -   text-decoration: none;
  152. 150.  - }
  153. 151.  -
  154. 152.  - /* ------------------------------ */
  155. 153.  - /* Main navigation - offices menu */
  156. 154.  - /* ------------------------------ */
  157. 155.  -
  158. 156.  - #ads_navigation.ads_nav #ads_navigation_offices_menu.nav {
  159. 157.  -   padding-right: 2px;
  160. 158.  -   width: 137px;
  161. 159.  -   max-width: 137px;
  162. 160.  - }
  163. 161.  -
  164. 162.  - #ads_navigation.ads_nav #ads_navigation_offices_menu.nav .dd_link {
  165. 163.  -   display: block;
  166. 164.  - }
  167. 165.  -
  168. 166.  - #ads_navigation.ads_nav #ads_navigation_offices_menu.nav .dd_link #ads_navigation_offices_menu_text_wrap {
  169. 167.  -   display: block;
  170. 168.  -   overflow: hidden;
  171. 169.  -   white-space: nowrap;
  172. 170.  -   font-size: 0; /* Remove extra margin from inline-block */
  173. 171.  - }
  174. 172.  -
  175. 173.  - #ads_navigation.ads_nav #ads_navigation_offices_menu.nav .dd_link #ads_navigation_offices_menu_text {
  176. 174.  -   display: inline-block;
  177. 175.  -   overflow: hidden;
  178. 176.  -   white-space: nowrap;
  179. 177.  -   font-size: 11px; /* Remove extra margin from inline-block */
  180. 178.  - }
  181. 179.  - .font_medium #ads_navigation.ads_nav #ads_navigation_offices_menu.nav .dd_link #ads_navigation_offices_menu_text {
  182. 180.  -   font-size: 12px;
  183. 181.  - }
  184. 182.  -
  185. 183.  - .dd_menu.ads_navigation_dd_menu_header_wrap {
  186. 184.  -   margin: 4px 0 0 7px;
  187. 185.  - }
  188. 186.  -
  189. 187.  - .dd_menu.ads_navigation_dd_menu_header_wrap .dd_menu_header {
  190. 188.  -   width: 148px;
  191. 189.  - }
  192. 190.  -
  193. 191.  - .dd_menu.ads_navigation_dd_menu_header_wrap .dd_menu_header div {
  194. 192.  -   background-position: right -14px;
  195. 193.  -   *background-position: right -13px;
  196. 194.  - }
  197. 195.  -
  198. 196.  - .dd_menu.ads_navigation_dd_menu_header_wrap .dd_menu_header div #ads_navigation_dd_menu_header_text {
  199. 197.  -   padding: 1px 0 1px 4px;
  200. 198.  -   display: block;
  201. 199.  -   overflow: hidden;
  202. 200.  -   white-space: nowrap;
  203. 201.  - }
  204. 202.  -
  205. 203.  - .dd_menu.ads_navigation_dd_menu_header_wrap .dd_menu_body .ads_office_name_wrap {
  206. 204.  -   display: inline-block;
  207. 205.  -   overflow: hidden;
  208. 206.  -   max-width: 300px;
  209. 207.  -   vertical-align: top;
  210. 208.  - }
  211. 209.  -
  212. 210.  - /* ---------------------- */
  213. 211.  - /* Main navigation - news */
  214. 212.  - /* ---------------------- */
  215. 213.  -
  216. 214.  - .ads_naviagation_news {
  217. 215.  -   padding: 20px 0 5px 11px;
  218. 216.  - }
  219. 217.  -
  220. 218.  - .ads_naviagation_news .news_title {
  221. 219.  -   font-weight: bold;
  222. 220.  -   color: #2B587A;
  223. 221.  -   padding-bottom: 10px;
  224. 222.  - }
  225. 223.  -
  226. 224.  - .ads_naviagation_news ul {
  227. 225.  -   padding: 0;
  228. 226.  -   margin: 0;
  229. 227.  -   list-style-type: none;
  230. 228.  -   color: #758EAC;
  231. 229.  - }
  232. 230.  -
  233. 231.  - .ads_naviagation_news li {
  234. 232.  -   padding-bottom: 10px;
  235. 233.  - }
  236. 234.  -
  237. 235.  - .ads_naviagation_news span {
  238. 236.  -   color: #666666;
  239. 237.  -   font-size: 0.91em;
  240. 238.  - }
  241. 239.  -
  242. 240.  - #ads_navigation .ads_naviagation_news a:hover {
  243. 241.  -   text-decoration: underline;
  244. 242.  - }
  245. 243.  -
  246. 244.  - /* ---------- */
  247. 245.  - /* Navigation */
  248. 246.  - /* ---------- */
  249. 247.  -
  250. 248.  - .ads_nav .nav {
  251. 249.  -   padding: 6px 11px 7px 11px;
  252. 250.  -   display: block;
  253. 251.  -   overflow: hidden;
  254. 252.  - }
  255. 253.  -
  256. 254.  - .ads_nav .nav:hover {
  257. 255.  -   background-color: #E1E7ED;
  258. 256.  -   text-decoration: none;
  259. 257.  - }
  260. 258.  -
  261. 259.  - .ads_nav .nav_selected,
  262. 260.  - .ads_nav .nav_selected:hover {
  263. 261.  -   background-color: #6186AD;
  264. 262.  -   color: white;
  265. 263.  - }
  266. 264.  -
  267. 265.  - .ads_nav .nav_separator {
  268. 266.  -   border-bottom: 1px solid #D3DBE1;
  269. 267.  -   height: 1px;
  270. 268.  -   overflow: hidden;
  271. 269.  -   margin: 7px 0px 8px 0;
  272. 270.  - }
  273. 271.  -
  274. 272.  - /* ---- */
  275. 273.  - /* Tabs */
  276. 274.  - /* ---- */
  277. 275.  -
  278. 276.  - .ads_tabs_filters {
  279. 277.  -   background-color: #F7F7F7;
  280. 278.  -   border-bottom: 1px solid #DAE1E8;
  281. 279.  -   padding: 10px 10px 5px 10px;
  282. 280.  - }
  283. 281.  - .ads_tabs_filters.separate {
  284. 282.  -   border-top: 1px solid #DAE1E8;
  285. 283.  - }
  286. 284.  - .ads_round_tab_wrap {
  287. 285.  -   padding: 0 5px 5px 0;
  288. 286.  -   text-align: center;
  289. 287.  - }
  290. 288.  - .ads_round_tab_wrap .round_tab.disabled:hover,
  291. 289.  - .ads_round_tab_wrap .round_tab.label:hover {
  292. 290.  -   background-color: transparent;
  293. 291.  -   cursor: default;
  294. 292.  - }
  295. 293.  - .ads_round_tab_wrap .round_tab.label {
  296. 294.  -   color: #555555;
  297. 295.  - }
  298. 296.  - .ads_round_tabs_period_day .round_tab {
  299. 297.  -   width: 100px;
  300. 298.  - }
  301. 299.  - .ads_round_tabs_period_week .round_tab {
  302. 300.  -   width: 180px;
  303. 301.  - }
  304. 302.  - .ads_round_tabs_period_month .round_tab {
  305. 303.  -   width: 100px;
  306. 304.  - }
  307. 305.  -
  308. 306.  - /* ----- */
  309. 307.  - /* Table */
  310. 308.  - /* ----- */
  311. 309.  -
  312. 310.  - .ads_table {
  313. 311.  -   border-collapse: collapse;
  314. 312.  - }
  315. 313.  - .ads_table.wide {
  316. 314.  -   width: 100%;
  317. 315.  - }
  318. 316.  -
  319. 317.  - .ads_table tr.ads_table_row {
  320. 318.  -   border-left: 1px solid #E9EDF0;
  321. 319.  -   border-right: 1px solid #E9EDF0;
  322. 320.  - }
  323. 321.  - .ads_table tr.ads_table_row.header {
  324. 322.  -   border: 1px solid #E9EDF0;
  325. 323.  -   background-color: #E9EDF0;
  326. 324.  - }
  327. 325.  - .ads_table tr.ads_table_row.last {
  328. 326.  -   border-bottom: 1px solid #E9EDF0;
  329. 327.  - }
  330. 328.  - .ads_table tr.ads_table_row.even {
  331. 329.  -   background-color: #F5F7F7;
  332. 330.  - }
  333. 331.  - .ads_table tr.ads_table_row.result {
  334. 332.  -   background-color: #F0F3F5;
  335. 333.  - }
  336. 334.  -
  337. 335.  - .ads_table th.ads_table_cell {
  338. 336.  -   color: #587183;
  339. 337.  -   font-weight: bold;
  340. 338.  - }
  341. 339.  -
  342. 340.  - .ads_table th.ads_table_cell,
  343. 341.  - .ads_table td.ads_table_cell {
  344. 342.  -   padding: 0 8px;
  345. 343.  -   vertical-align: middle;
  346. 344.  -   height: 32px;
  347. 345.  - }
  348. 346.  - .ads_table.small th.ads_table_cell,
  349. 347.  - .ads_table.small td.ads_table_cell {
  350. 348.  -   height: 16px;
  351. 349.  - }
  352. 350.  -
  353. 351.  - .ads_table th.ads_table_cell.first,
  354. 352.  - .ads_table td.ads_table_cell.first {
  355. 353.  -   padding-left: 10px;
  356. 354.  - }
  357. 355.  - .ads_table th.ads_table_cell.last,
  358. 356.  - .ads_table td.ads_table_cell.last {
  359. 357.  -   padding-right: 10px;
  360. 358.  - }
  361. 359.  - .ads_table.wide th.ads_table_cell.left_wide,
  362. 360.  - .ads_table.wide td.ads_table_cell.left_wide {
  363. 361.  -   padding-left: 2px;
  364. 362.  - }
  365. 363.  - .ads_table.wide th.ads_table_cell.right_wide,
  366. 364.  - .ads_table.wide td.ads_table_cell.right_wide {
  367. 365.  -   padding-right: 2px;
  368. 366.  - }
  369. 367.  -
  370. 368.  - .ads_table th.ads_table_cell.sort:hover {
  371. 369.  -   background-color: #F2F4F5;
  372. 370.  -   cursor: pointer;
  373. 371.  - }
  374. 372.  -
  375. 373.  - .ads_table td.ads_table_cell.shower {
  376. 374.  -   color: #587183;
  377. 375.  -   font-weight: bold;
  378. 376.  -   cursor: pointer;
  379. 377.  -   text-align: center;
  380. 378.  -   border-top: 1px solid #E9EDF0;
  381. 379.  - }
  382. 380.  - .ads_table td.ads_table_cell.shower:hover {
  383. 381.  -   background-color: #E1E7EB;
  384. 382.  - }
  385. 383.  -
  386. 384.  - .ads_table td.ads_table_cell_empty {
  387. 385.  -   line-height: 200%;
  388. 386.  -   text-align: center;
  389. 387.  -   background-color: #F7F7F7;
  390. 388.  -   color: #777777;
  391. 389.  -   padding: 20px 50px;
  392. 390.  - }
  393. 391.  - .ads_table.small td.ads_table_cell_empty {
  394. 392.  -   padding: 5px 10px;
  395. 393.  - }
  396. 394.  -
  397. 395.  - /* ------------ */
  398. 396.  - /* Intro - main */
  399. 397.  - /* ------------ */
  400. 398.  -
  401. 399.  - .ads_intro_page,
  402. 400.  - .ads_intro_section_title {
  403. 401.  -   line-height: 160%;
  404. 402.  - }
  405. 403.  -
  406. 404.  - .ads_intro_title,
  407. 405.  - .ads_intro_section_title {
  408. 406.  -   color: #5c7b9b;
  409. 407.  - }
  410. 408.  -
  411. 409.  - .ads_intro_subsection_title,
  412. 410.  - .ads_intro_news_title {
  413. 411.  -   color: #4d7199;
  414. 412.  - }
  415. 413.  -
  416. 414.  - .ads_intro_title {
  417. 415.  -   font-size: 1.3em;
  418. 416.  -   font-weight: bold;
  419. 417.  -   padding-bottom: 16px;
  420. 418.  - }
  421. 419.  -
  422. 420.  - .ads_intro_section_title {
  423. 421.  -   font-size: 1.2em;
  424. 422.  -   font-weight: bold;
  425. 423.  -   padding: 8px 10px 0 10px;
  426. 424.  - }
  427. 425.  -
  428. 426.  - .ads_intro_subsection_title {
  429. 427.  -   font-size: 1.2em;
  430. 428.  -   font-weight: bold;
  431. 429.  -   padding-bottom: 8px;
  432. 430.  - }
  433. 431.  -
  434. 432.  - .ads_intro_news_title {
  435. 433.  -   font-size: 1.2em;
  436. 434.  -   font-weight: bold;
  437. 435.  -   border-bottom: 1px solid #dae1e8;
  438. 436.  -   display: block;
  439. 437.  - }
  440. 438.  - .ads_intro_news_title:hover {
  441. 439.  -   text-decoration: none;
  442. 440.  - }
  443. 441.  -
  444. 442.  - .ads_intro_subsection_text {
  445. 443.  -   color: #808080;
  446. 444.  - }
  447. 445.  -
  448. 446.  - .ads_intro_header_wrap2 {
  449. 447.  -   height: 380px;
  450. 448.  - }
  451. 449.  - .ads_intro_header_wrap1 {
  452. 450.  -   height: 280px;
  453. 451.  -   background-color: #edf1f5;
  454. 452.  -   padding: 22px 40px 0 40px;
  455. 453.  -   position: relative;
  456. 454.  - }
  457. 455.  -
  458. 456.  - .ads_intro_text {
  459. 457.  -   width: 440px;
  460. 458.  - }
  461. 459.  -
  462. 460.  - .ads_intro_main_image {
  463. 461.  -   background-image: url(/images/ads_intro_main.png);
  464. 462.  -   background-size: 130px 130px;
  465. 463.  -   width: 130px;
  466. 464.  -   height: 130px;
  467. 465.  -   position: absolute;
  468. 466.  -   right: 70px;
  469. 467.  -   top: 30px;
  470. 468.  - }
  471. 469.  - .is_2x .ads_intro_main_image {
  472. 470.  -   background-image: url(/images/ads_intro_main_2x.png);
  473. 471.  - }
  474. 472.  -
  475. 473.  - .ads_intro_sections {
  476. 474.  -   margin-right: -100px;
  477. 475.  -   top: 190px;
  478. 476.  -   position: absolute;
  479. 477.  - }
  480. 478.  -
  481. 479.  - .ads_intro_section_button {
  482. 480.  -   width: 188px;
  483. 481.  -   height: 162px;
  484. 482.  -   background-color: #f4f6f8;
  485. 483.  -   border: 1px solid #e1e6eb;
  486. 484.  -   border-bottom: 2px solid #dce1e6;
  487. 485.  -   display: inline-block;
  488. 486.  -   margin-right: 43px;
  489. 487.  -   -moz-border-radius: 3px;
  490. 488.  -   -webkit-border-radius: 3px;
  491. 489.  -   -khtml-border-radius: 3px;
  492. 490.  -   border-radius: 3px;
  493. 491.  -   text-align: center;
  494. 492.  -   position: relative;
  495. 493.  -   top: 0;
  496. 494.  -
  497. 495.  -   -webkit-transition: all 200ms ease-out;
  498. 496.  -   -moz-transition: all 200ms ease-out;
  499. 497.  -   -o-transition: all 200ms ease-out;
  500. 498.  -   transition: all 200ms ease-out;
  501. 499.  - }
  502. 500.  - .ads_intro_section_button:hover {
  503. 501.  -   text-decoration: none;
  504. 502.  -   top: -8px;
  505. 503.  - }
  506. 504.  -
  507. 505.  - .ads_intro_section_image {
  508. 506.  -   width: 95px;
  509. 507.  -   height: 82px;
  510. 508.  -   background-size: 95px auto;
  511. 509.  -   background-image: url(/images/ads_intro_icons.png);
  512. 510.  -   display: inline-block;
  513. 511.  -   margin-top: 16px;
  514. 512.  - }
  515. 513.  - .is_2x .ads_intro_section_image {
  516. 514.  -   background-image: url(/images/ads_intro_icons_2x.png);
  517. 515.  - }
  518. 516.  - .ads_intro_section_button2 .ads_intro_section_image {
  519. 517.  -   background-position: 0 -82px;
  520. 518.  - }
  521. 519.  - .ads_intro_section_button3 .ads_intro_section_image {
  522. 520.  -   background-position: 0 -164px;
  523. 521.  - }
  524. 522.  -
  525. 523.  - .ads_intro_section_label {
  526. 524.  -   width: 60px;
  527. 525.  -   height: 60px;
  528. 526.  -   background-size: 60px auto;
  529. 527.  -   position: absolute;
  530. 528.  -   left: -2px;
  531. 529.  -   top: -2px;
  532. 530.  - }
  533. 531.  - .ads_intro_section_label.label_ru {
  534. 532.  -   background-image: url(/images/ads_intro_label_new_ru.png);
  535. 533.  - }
  536. 534.  - .is_2x .ads_intro_section_label.label_ru {
  537. 535.  -   background-image: url(/images/ads_intro_label_new_ru_2x.png);
  538. 536.  - }
  539. 537.  - .ads_intro_section_label.label_en {
  540. 538.  -   background-image: url(/images/ads_intro_label_new_en.png);
  541. 539.  - }
  542. 540.  - .is_2x .ads_intro_section_label.label_en {
  543. 541.  -   background-image: url(/images/ads_intro_label_new_en_2x.png);
  544. 542.  - }
  545. 543.  - .ads_intro_section_label.label_ua {
  546. 544.  -   background-image: url(/images/ads_intro_label_new_ua.png);
  547. 545.  - }
  548. 546.  - .is_2x .ads_intro_section_label.label_ua {
  549. 547.  -   background-image: url(/images/ads_intro_label_new_ua_2x.png);
  550. 548.  - }
  551. 549.  -
  552. 550.  - .ads_intro_subsections {
  553. 551.  -   padding: 3px 25px 20px 20px;
  554. 552.  -   display: inline-block;
  555. 553.  -   vertical-align: top;
  556. 554.  - }
  557. 555.  - .ads_intro_subsection {
  558. 556.  -   padding: 15px 20px;
  559. 557.  -   display: block;
  560. 558.  -   width: 423px;
  561. 559.  - }
  562. 560.  - .ads_intro_subsection:hover {
  563. 561.  -   text-decoration: none;
  564. 562.  -   background: #f7f7f7;
  565. 563.  - }
  566. 564.  -
  567. 565.  - .ads_intro_news {
  568. 566.  -   width: 200px;
  569. 567.  -   padding: 18px 0 20px 0;
  570. 568.  -   display: inline-block;
  571. 569.  - }
  572. 570.  - .ads_intro_news_widget_wrap {
  573. 571.  -   margin-left: -10px;
  574. 572.  -   padding-top: 8px;
  575. 573.  -   height: 240px;
  576. 574.  -   overflow: hidden;
  577. 575.  - }
  578. 576.  - .ads_intro_news_all {
  579. 577.  -   display: block;
  580. 578.  -   text-align: center;
  581. 579.  -   padding: 4px 0;
  582. 580.  - }
  583. 581.  - .ads_intro_news_all:hover {
  584. 582.  -   text-decoration: none;
  585. 583.  -   background-color: #f7f7f7;
  586. 584.  - }
  587. 585.  -
  588. 586.  - /* ----------- */
  589. 587.  - /* Intro - box */
  590. 588.  - /* ----------- */
  591. 589.  -
  592. 590.  - .wk_ads_intro .wk_wiki_content {
  593. 591.  -   font-size: 1em;
  594. 592.  -   line-height: 100%;
  595. 593.  - }
  596. 594.  - .wk_ads_intro #wk_content {
  597. 595.  -   width: 564px;
  598. 596.  - }
  599. 597.  - .wk_ads_intro #wk_summary {
  600. 598.  -   width: 400px;
  601. 599.  - }
  602. 600.  -
  603. 601.  - .ads_intro_box.ads_text,
  604. 602.  - .ads_intro_box .ads_text {
  605. 603.  -   line-height: 160%;
  606. 604.  - }
  607. 605.  -
  608. 606.  - .ads_intro_box.ads_text_big {
  609. 607.  -   font-size: 1.09em;
  610. 608.  - }
  611. 609.  -
  612. 610.  - .ads_intro_box h4 {
  613. 611.  -   margin-bottom: 10px;
  614. 612.  - }
  615. 613.  - .ads_intro_box .listing {
  616. 614.  -   margin-bottom: 30px;
  617. 615.  - }
  618. 616.  -
  619. 617.  - .ads_intro_box_center {
  620. 618.  -   text-align: center;
  621. 619.  - }
  622. 620.  -
  623. 621.  - .ads_intro_box_targeting_image,
  624. 622.  - .ads_intro_box_posts_image,
  625. 623.  - .ads_intro_box_offers_image {
  626. 624.  -   background-size: 160px 160px;
  627. 625.  -   width: 160px;
  628. 626.  -   height: 160px;
  629. 627.  -   display: inline-block;
  630. 628.  -   margin: 25px 0;
  631. 629.  - }
  632. 630.  - .ads_intro_box_targeting_image {
  633. 631.  -   margin-top: 0;
  634. 632.  - }
  635. 633.  - .ads_intro_box_targeting_image {
  636. 634.  -   background-image: url(/images/ads_intro_targeting.png);
  637. 635.  - }
  638. 636.  - .is_2x .ads_intro_box_targeting_image {
  639. 637.  -   background-image: url(/images/ads_intro_targeting_2x.png);
  640. 638.  - }
  641. 639.  - .ads_intro_box_posts_image {
  642. 640.  -   background-image: url(/images/join/ads_union.png);
  643. 641.  - }
  644. 642.  - .is_2x .ads_intro_box_posts_image {
  645. 643.  -   background-image: url(/images/join/ads_union_2x.png);
  646. 644.  - }
  647. 645.  - .ads_intro_box_offers_image {
  648. 646.  -   background-image: url(/images/ads_intro_offers.png);
  649. 647.  - }
  650. 648.  - .is_2x .ads_intro_box_offers_image {
  651. 649.  -   background-image: url(/images/ads_intro_offers_2x.png);
  652. 650.  - }
  653. 651.  -
  654. 652.  - .ads_intro_box_targeting_office {
  655. 653.  -   margin-top: 10px;
  656. 654.  -   display: inline-block;
  657. 655.  - }
  658. 656.  -
  659. 657.  - /* ------ */
  660. 658.  - /* Office */
  661. 659.  - /* ------ */
  662. 660.  -
  663. 661.  - .ads_create_button_office {
  664. 662.  -   float: right;
  665. 663.  -   position: relative;
  666. 664.  -   width: 0;
  667. 665.  - }
  668. 666.  - .ads_create_button_office .edit_button_wrap {
  669. 667.  -   position: absolute;
  670. 668.  -   right: 0;
  671. 669.  - }
  672. 670.  -
  673. 671.  - /* Other */
  674. 672.  -
  675. 673.  - /* --- */
  676. 674.  - /* OLD */
  677. 675.  - /* --- */
  678. 676.  -
  679. 677.  - /* From rustyle.css */
  680. 678.  -
  681. 679.  - /* Uses in paginated_table.js */
  682. 680.  - .ads_lite_cb {
  683. 681.  -   background: transparent url(/images/icons/check_lt.gif) 0px 0px no-repeat;
  684. 682.  -   line-height: 0.81em;
  685. 683.  -   vertical-align: baseline;
  686. 684.  -   padding: 0px 0px 1px 20px;
  687. 685.  -   cursor: pointer;
  688. 686.  - }
  689. 687.  - .ads_lite_cb:hover {
  690. 688.  -   background-position: 0px -32px;
  691. 689.  -   text-decoration: none;
  692. 690.  - }
  693. 691.  - .ads_lite_cb.on {
  694. 692.  -   background-position: 0px -16px;
  695. 693.  - }
  696. 694.  - .ads_lite_cb.on:hover {
  697. 695.  -   background-position: 0px -48px;
  698. 696.  - }
  699. 697.  -
  700. 698.  - .ads_mass_act_container {
  701. 699.  -   text-align: right;
  702. 700.  - }
  703. 701.  - .ads_mass_act_container div {
  704. 702.  -   margin-right: 8px;
  705. 703.  -   margin-bottom: 5px;
  706. 704.  - }
  707. 705.  - .ads_mass_act_container button {
  708. 706.  -   height: 21px;
  709. 707.  -   line-height: 0.9em;
  710. 708.  -   padding: 4px 10px 4px;
  711. 709.  - }
  712. 710.  - .ads_search_cell {
  713. 711.  -   width: 140px;
  714. 712.  - }
  715. 713.  - .ads_search_cell div.pt_search_container {
  716. 714.  -   margin: 0px -3px 5px -3px;
  717. 715.  - }
  718. 716.  -
  719. 717.  - div.ads_selecting_subclasses {
  720. 718.  -   margin-bottom: 4px;
  721. 719.  - }
  722. 720.  -
  723. 721.  - .dd_menu_header.ads_dd_wide.ads_dd_header_popup div {
  724. 722.  -   background: url(/images/flydead.gif) no-repeat right 6px #FFFFFF;
  725. 723.  -   padding-right: 17px;
  726. 724.  -   border: 1px solid #FFFFFF;
  727. 725.  -   color: #2B587A;
  728. 726.  -   font-weight: normal;
  729. 727.  -   text-decoration: none;
  730. 728.  - }
  731. 729.  -
  732. 730.  - .dd_menu_header.ads_dd_wide div {
  733. 731.  -   background: #5e82a8 url(/images/flydead.gif) no-repeat right -12px;
  734. 732.  -   width: 106px;
  735. 733.  - }
  736. 734.  -
  737. 735.  - .dd_menu_body.ads_dd_wide .dd_menu_rows a {
  738. 736.  -   height: 20px;
  739. 737.  - }
  740. 738.  - .dd_menu_body.ads_dd_wide .dd_menu_rows a .ads_status_image_span {
  741. 739.  -   margin: 4px 5px -2px -1px;
  742. 740.  - }
  743. 741.  -
  744. 742.  - .dd_menu_header.ads_dd_wide div .ads_status_image_span {
  745. 743.  -   margin: 4px 5px -1px -1px;
  746. 744.  - }
  747. 745.  - .dd_menu_header.ads_dd_wide div {
  748. 746.  -   line-height: 1.45em;
  749. 747.  - }
  750. 748.  -
  751. 749.  - td.paginated_table_cell.column_status_view {
  752. 750.  -   padding-left: 10px;
  753. 751.  - }
  754. 752.  -
  755. 753.  - .ads_status_selector_box {
  756. 754.  -   display: block;
  757. 755.  -   margin: 0px auto;
  758. 756.  -   width: 20px;
  759. 757.  -   height: 20px;
  760. 758.  - }
  761. 759.  -
  762. 760.  - .ads_status_selector_box.pnt {
  763. 761.  -   cursor: pointer;
  764. 762.  - }
  765. 763.  -
  766. 764.  - .ads_status_selector_box.pnt:hover {
  767. 765.  -   background-color: #E1E7ED;
  768. 766.  -   border-radius: 3px;
  769. 767.  -   -moz-border-radius: 3px;
  770. 768.  - }
  771. 769.  -
  772. 770.  - #ads_unions_content .table_label {
  773. 771.  -   min-width: 150px;
  774. 772.  -   max-width: 180px;
  775. 773.  -   color: rgb(102, 102, 102);
  776. 774.  -   padding: 0 10px 7px 0;
  777. 775.  -   vertical-align: top;
  778. 776.  -   word-wrap: break-word;
  779. 777.  - }
  780. 778.  - #ads_unions_content .table_value {
  781. 779.  -   padding: 0 0 7px 0;
  782. 780.  -   vertical-align: top;
  783. 781.  -   word-wrap: break-word;
  784. 782.  - }
  785. 783.  -
  786. 784.  - #ads_unions_content.ad_help {
  787. 785.  -   padding: 0;
  788. 786.  - }
  789. 787.  -
  790. 788.  - #ads_unions_content {
  791. 789.  -   vertical-align: top;
  792. 790.  - }
  793. 791.  -
  794. 792.  - #ads_union_children,
  795. 793.  - #ads_unions_budget,
  796. 794.  - #ads_unions_budget_posts {
  797. 795.  -   padding-top: 20px;
  798. 796.  - }
  799. 797.  -
  800. 798.  - #ads_union_children_graph {
  801. 799.  -   padding: 30px 0 15px 0;
  802. 800.  - }
  803. 801.  -
  804. 802.  - #ads_union_children .row_div.control_label {
  805. 803.  -   padding-left: 0;
  806. 804.  - }
  807. 805.  -
  808. 806.  - .ads_unions_box td.label {
  809. 807.  -   color: #777;
  810. 808.  -   padding: 5px 10px 5px 0px;
  811. 809.  -   text-align: right;
  812. 810.  - }
  813. 811.  - .ads_unions_box td.labeled {
  814. 812.  -   padding: 2px 0;
  815. 813.  - }
  816. 814.  - .ads_unions_box td.labeled_info {
  817. 815.  -   padding: 2px 0 2px 5px;
  818. 816.  - }
  819. 817.  -
  820. 818.  - .ads_unions_box input {
  821. 819.  -   width: 150px;
  822. 820.  - }
  823. 821.  -
  824. 822.  - .ads_unions_list table {
  825. 823.  -   border-collapse: collapse;
  826. 824.  -   border-left: 1px solid;
  827. 825.  -   border-right: 1px solid;
  828. 826.  -   width: 100%;
  829. 827.  - }
  830. 828.  -
  831. 829.  - .ads_unions_list th,
  832. 830.  - .ads_unions_list td {
  833. 831.  -   height: 32px;
  834. 832.  -   vertical-align: middle;
  835. 833.  - }
  836. 834.  -
  837. 835.  - .ads_unions_list .checkbox_container td {
  838. 836.  -   height: 20px;
  839. 837.  - }
  840. 838.  -
  841. 839.  - .ads_unions_list th {
  842. 840.  -   text-align: right;
  843. 841.  -   background-color: rgb(227, 233, 238);
  844. 842.  -   border: 1px solid;
  845. 843.  -   padding: 0;
  846. 844.  - }
  847. 845.  - .ads_table_header th th,
  848. 846.  - .ads_table_header th th * {
  849. 847.  -   background-color: transparent !important;
  850. 848.  - }
  851. 849.  -
  852. 850.  - .ads_unions_list th,
  853. 851.  - .ads_unions_list th * {
  854. 852.  -   color: rgb(81, 103, 122);
  855. 853.  - }
  856. 854.  -
  857. 855.  - .ads_unions_list td {
  858. 856.  -   text-align: right;
  859. 857.  - }
  860. 858.  -
  861. 859.  - .ads_unions_list .column_date_view,
  862. 860.  - .ads_unions_list .column_date_view *,
  863. 861.  - .ads_unions_list .column_action_view,
  864. 862.  - .ads_unions_list .column_action_view *,
  865. 863.  - .ads_unions_list .column_access_view,
  866. 864.  - .ads_unions_list .column_access_view *,
  867. 865.  - .ads_unions_list .column_name_view,
  868. 866.  - .ads_unions_list .column_name_view *,
  869. 867.  - .ads_unions_list .column_name,
  870. 868.  - .ads_unions_list .column_name *,
  871. 869.  - .ads_unions_list .column_status,
  872. 870.  - .ads_unions_list .column_status * {
  873. 871.  -   text-align: left;
  874. 872.  - }
  875. 873.  -
  876. 874.  - .ads_unions_list td.column_name_view {
  877. 875.  -   max-width: 160px;
  878. 876.  - }
  879. 877.  -
  880. 878.  - .ads_unions_list .table_footer td {
  881. 879.  -   background-color: rgb(246, 247, 249);
  882. 880.  -   border-top: 1px solid rgb(211, 219, 225);
  883. 881.  -   border-bottom: 1px solid rgb(211, 219, 225);
  884. 882.  - }
  885. 883.  -
  886. 884.  - .ads_unions_list table,
  887. 885.  - .ads_unions_list th,
  888. 886.  - .ads_unions_list td {
  889. 887.  -   border-color: rgb(211, 219, 225);
  890. 888.  - }
  891. 889.  -
  892. 890.  - .ads_unions_list th * {
  893. 891.  -   border: 0;
  894. 892.  -   padding: 0;
  895. 893.  -   height: auto;
  896. 894.  - }
  897. 895.  -
  898. 896.  - .ads_unions_list th table {
  899. 897.  -   height: 100%;
  900. 898.  -   border: 0;
  901. 899.  - }
  902. 900.  -
  903. 901.  - .ads_unions_list tr.ads_table_header th th {
  904. 902.  -   border-left: 1px solid rgb(239, 242, 245);
  905. 903.  -   white-space: nowrap;
  906. 904.  - }
  907. 905.  -
  908. 906.  - .ads_unions_list tr.ads_table_header th.first_table_header,
  909. 907.  - .ads_unions_list tr.ads_table_header th.first_table_header * {
  910. 908.  -   border-left: 0 none;
  911. 909.  - }
  912. 910.  -
  913. 911.  - .ads_unions_list th th,
  914. 912.  - .ads_unions_list td {
  915. 913.  -   padding: 0 8px;
  916. 914.  - }
  917. 915.  -
  918. 916.  - .ads_unions_list th.first_table_header th,
  919. 917.  - .ads_unions_list td.first_table_column {
  920. 918.  -   padding-left: 10px;
  921. 919.  - }
  922. 920.  -
  923. 921.  - .ads_unions_list th.last_table_header th,
  924. 922.  - .ads_unions_list td.last_table_column {
  925. 923.  -   padding-right: 10px;
  926. 924.  - }
  927. 925.  -
  928. 926.  - .ads_unions_list td.even_row {
  929. 927.  -   background-color: #F0F2F4;
  930. 928.  - }
  931. 929.  -
  932. 930.  - .ads_unions_table {
  933. 931.  -   margin-top: 7px;
  934. 932.  - }
  935. 933.  -
  936. 934.  - .paginated_table .ads_unions_table {
  937. 935.  -   margin-top: 0px;
  938. 936.  - }
  939. 937.  -
  940. 938.  - .ads_unions_list td.column_day_limit_view a,
  941. 939.  - .ads_unions_list td.column_all_limit_view a,
  942. 940.  - .ads_unions_list td.column_cost_per_click_view a {
  943. 941.  -   border-bottom: 1px dashed #2B587A;
  944. 942.  -   text-decoration: none;
  945. 943.  - }
  946. 944.  -
  947. 945.  - tr.ads_union_empty_row td.ads_union_empty_cell {
  948. 946.  -   height: auto;
  949. 947.  - }
  950. 948.  -
  951. 949.  - tr.ads_union_empty_row td.ads_union_empty_cell {
  952. 950.  -   text-align: center !important;
  953. 951.  -   color: #666666;
  954. 952.  -   line-height: 150%;
  955. 953.  -   background-color: #F7F7F7;
  956. 954.  -   padding: 15px 0;
  957. 955.  - }
  958. 956.  -
  959. 957.  - .ads_unions_list_p .paginated_table_cell {
  960. 958.  -   text-align: right;
  961. 959.  - }
  962. 960.  -
  963. 961.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_date_view,
  964. 962.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_date_view *,
  965. 963.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_action_view,
  966. 964.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_action_view *,
  967. 965.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_access_view,
  968. 966.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_access_view *,
  969. 967.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_name_view,
  970. 968.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_name_view *,
  971. 969.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_name,
  972. 970.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_name *,
  973. 971.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_status,
  974. 972.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_status * {
  975. 973.  -   text-align: left;
  976. 974.  - }
  977. 975.  -
  978. 976.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_name_view,
  979. 977.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_name_view *,
  980. 978.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_name,
  981. 979.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_name *,
  982. 980.  - .paginated_table .paginated_table_cell.column_client_name,
  983. 981.  - .paginated_table .paginated_table_cell.column_client_name *,
  984. 982.  - .paginated_table .paginated_table_cell.column_campaign_name,
  985. 983.  - .paginated_table .paginated_table_cell.column_campaign_name * {
  986. 984.  -   white-space: normal !important;
  987. 985.  - }
  988. 986.  -
  989. 987.  - .ads_unions_list_p td.paginated_table_cell.column_name_view,
  990. 988.  - .ads_unions_list_p td.paginated_table_cell.column_name {
  991. 989.  -   max-width: 160px;
  992. 990.  -   overflow: visible;
  993. 991.  - }
  994. 992.  - .ads_unions_list_p td.paginated_table_cell.column_date_view {
  995. 993.  -   min-width: 20%;
  996. 994.  - }
  997. 995.  - .ads_unions_list_p .paginated_table td.paginated_table_cell.column_day_limit_view a,
  998. 996.  - .ads_unions_list_p .paginated_table td.paginated_table_cell.column_all_limit_view a,
  999. 997.  - .ads_unions_list_p .paginated_table td.paginated_table_cell.column_cost_per_click_view a {
  1000. 998.  -   border-bottom: 1px dashed #2B587A;
  1001. 999.  -   text-decoration: none;
  1002. 1000.  - }
  1003. 1001.  -
  1004. 1002.  - .ads_unions_list_p .paginated_table td.column_video_views_count_view {
  1005. 1003.  -   width: 1px;
  1006. 1004.  - }
  1007. 1005.  -
  1008. 1006.  - tr.ads_union_empty_row td.ads_union_empty_cell {
  1009. 1007.  -   height: auto;
  1010. 1008.  - }
  1011. 1009.  -
  1012. 1010.  - tr.ads_union_empty_row td.ads_union_empty_cell {
  1013. 1011.  -   text-align: center !important;
  1014. 1012.  -   color: #666666;
  1015. 1013.  -   line-height: 150%;
  1016. 1014.  -   background-color: #F7F7F7;
  1017. 1015.  -   padding: 15px 0;
  1018. 1016.  - }
  1019. 1017.  -
  1020. 1018.  - /* Some navigation - begin */
  1021. 1019.  -
  1022. 1020.  - #ads_graph_navigation a.nav,
  1023. 1021.  - #ads_demography_navigation a.nav {
  1024. 1022.  -   padding: 6px 6px 7px 11px;
  1025. 1023.  -   display: block;
  1026. 1024.  -   overflow: hidden;
  1027. 1025.  - }
  1028. 1026.  - #ads_graph_navigation a.nav:hover,
  1029. 1027.  - #ads_demography_navigation a.nav:hover {
  1030. 1028.  -   background-color: #DAE1E8;
  1031. 1029.  -   text-decoration: none;
  1032. 1030.  - }
  1033. 1031.  - #ads_graph_navigation a.nav_selected,
  1034. 1032.  - #ads_graph_navigation a.nav_selected:hover,
  1035. 1033.  - #ads_demography_navigation a.nav_selected,
  1036. 1034.  - #ads_demography_navigation a.nav_selected:hover {
  1037. 1035.  -   background-color: #6186AD;
  1038. 1036.  -   color: white;
  1039. 1037.  - }
  1040. 1038.  -
  1041. 1039.  - /* Some navigation - end */
  1042. 1040.  -
  1043. 1041.  - a.ads_status_link,
  1044. 1042.  - a.ads_inline_dropdown {
  1045. 1043.  -   background: none !important;
  1046. 1044.  -   border-bottom: 1px dashed #2B587A;
  1047. 1045.  -   padding-right: 0 !important;
  1048. 1046.  - }
  1049. 1047.  -
  1050. 1048.  - .ads_main_notice {
  1051. 1049.  -   background-color: #F6F7F9;
  1052. 1050.  -   border: 1px solid #D8DFEA;
  1053. 1051.  -   padding: 10px;
  1054. 1052.  -   margin-bottom: 15px;
  1055. 1053.  -   line-height: 160%;
  1056. 1054.  - }
  1057. 1055.  -
  1058. 1056.  - .ads_warning {
  1059. 1057.  -   background-color: #F9F6E7;
  1060. 1058.  -   border: 1px solid #D4BC4C;
  1061. 1059.  -   padding: 8px 11px;
  1062. 1060.  -   line-height: 160%;
  1063. 1061.  - }
  1064. 1062.  -
  1065. 1063.  - .ads_warning_light {
  1066. 1064.  -   background-color: #FFFFFF;
  1067. 1065.  -   border: 1px solid #B9C4DA;
  1068. 1066.  -   padding: 8px 11px;
  1069. 1067.  - }
  1070. 1068.  -
  1071. 1069.  - .ads_small_info {
  1072. 1070.  -   background: none repeat scroll 0 0 #F7F7F7;
  1073. 1071.  -   border: 1px solid #DAE1E8;
  1074. 1072.  -   font-size: 0.91em;
  1075. 1073.  -   margin-top: 10px;
  1076. 1074.  -   padding: 5px 10px;
  1077. 1075.  -   vertical-align: top;
  1078. 1076.  - }
  1079. 1077.  -
  1080. 1078.  - #ads_change_budget_box .ads_warning {
  1081. 1079.  -   margin-top: 10px;
  1082. 1080.  - }
  1083. 1081.  -
  1084. 1082.  - #ads_change_budget_box td {
  1085. 1083.  -   padding: 0px;
  1086. 1084.  - }
  1087. 1085.  -
  1088. 1086.  - .ads_union_status_image {
  1089. 1087.  -   background: url("/images/icons/ad_status.gif?3") no-repeat scroll left top transparent;
  1090. 1088.  -   width: 5px;
  1091. 1089.  -   height: 5px;
  1092. 1090.  -   margin: 0 5px 1px 0;
  1093. 1091.  -   display: block;
  1094. 1092.  -
  1095. 1093.  -   display:   -moz-inline-stack;
  1096. 1094.  -   display:   inline-block;
  1097. 1095.  -   _overflow: hidden;
  1098. 1096.  -   *zoom:     1;
  1099. 1097.  -   *display:  inline;
  1100. 1098.  - }
  1101. 1099.  -
  1102. 1100.  - .ads_union_status_image_on {
  1103. 1101.  -   background-position: left 0;
  1104. 1102.  - }
  1105. 1103.  - .ads_union_status_image_off {
  1106. 1104.  -   background-position: left -5px;
  1107. 1105.  - }
  1108. 1106.  - .ads_union_status_image_part_on {
  1109. 1107.  -   background-position: left -10px;
  1110. 1108.  - }
  1111. 1109.  - .ads_union_status_image_part_off {
  1112. 1110.  -   background-position: left -15px;
  1113. 1111.  - }
  1114. 1112.  - .ads_union_status_image_disapproved {
  1115. 1113.  -   background-position: left -20px;
  1116. 1114.  - }
  1117. 1115.  - .ads_union_status_image_deleted {
  1118. 1116.  -   background-position: left -25px;
  1119. 1117.  - }
  1120. 1118.  -
  1121. 1119.  - .ads_status_image_span {
  1122. 1120.  -   background: url("/images/icons/ad_status_new.gif") no-repeat scroll left top transparent;
  1123. 1121.  -   width: 11px;
  1124. 1122.  -   height: 11px;
  1125. 1123.  -   margin: 5px 0px 3px 2px;
  1126. 1124.  -   display: block;
  1127. 1125.  -
  1128. 1126.  -   display:   -moz-inline-stack;
  1129. 1127.  -   display:   inline-block;
  1130. 1128.  -   _overflow: hidden;
  1131. 1129.  -   *zoom:     1;
  1132. 1130.  -   *display:  inline;
  1133. 1131.  - }
  1134. 1132.  -
  1135. 1133.  - .dd_menu_header.ads_dd_header_popup .ads_status_image_span.status_on,
  1136. 1134.  - .ads_status_image_span.status_on {
  1137. 1135.  -   background-position: left -0px;
  1138. 1136.  - }
  1139. 1137.  - .dd_menu_header.ads_dd_header_popup .ads_status_image_span.status_off,
  1140. 1138.  - .ads_status_image_span.status_off {
  1141. 1139.  -   background-position: left -170px;
  1142. 1140.  - }
  1143. 1141.  - .dd_menu_header.ads_dd_header_popup .ads_status_image_span.status_pending,
  1144. 1142.  - .ads_status_image_span.status_pending {
  1145. 1143.  -   background-position: left -157px;
  1146. 1144.  - }
  1147. 1145.  - .dd_menu_header.ads_dd_header_popup .ads_status_image_span.status_off_red,
  1148. 1146.  - .ads_status_image_span.status_off_red {
  1149. 1147.  -   background-position: left -128px;
  1150. 1148.  - }
  1151. 1149.  - .dd_menu_header.ads_dd_header_popup .ads_status_image_span.status_deleted,
  1152. 1150.  - .ads_status_image_span.status_deleted {
  1153. 1151.  -   background-position: left -183px;
  1154. 1152.  - }
  1155. 1153.  - .dd_menu_header.ads_dd_header_popup .ads_status_image_span.status_cross,
  1156. 1154.  - .ads_status_image_span.status_cross {
  1157. 1155.  -   background-position: left -141px;
  1158. 1156.  - }
  1159. 1157.  -
  1160. 1158.  - .dd_menu_header .ads_status_image_span.status_on {
  1161. 1159.  -   background-position: left -16px;
  1162. 1160.  - }
  1163. 1161.  - .dd_menu_header .ads_status_image_span.status_off {
  1164. 1162.  -   background-position: left -29px;
  1165. 1163.  - }
  1166. 1164.  - .dd_menu_header .ads_status_image_span.status_pending {
  1167. 1165.  -   background-position: left -69px;
  1168. 1166.  - }
  1169. 1167.  - .dd_menu_header .ads_status_image_span.status_off_red {
  1170. 1168.  -   background-position: left -29px;
  1171. 1169.  - }
  1172. 1170.  - .dd_menu_header .ads_status_image_span.status_deleted {
  1173. 1171.  -   background-position: left -41px;
  1174. 1172.  - }
  1175. 1173.  - .dd_menu_header .ads_status_image_span.status_cross {
  1176. 1174.  -   background-position: left -55px;
  1177. 1175.  - }
  1178. 1176.  -
  1179. 1177.  - .dd_menu_body.ads_dd_wide .dd_menu_rows a .ads_status_image_span.status_on {
  1180. 1178.  -   background-position: left -85px;
  1181. 1179.  - }
  1182. 1180.  - .dd_menu_body.ads_dd_wide .dd_menu_rows a .ads_status_image_span.status_off {
  1183. 1181.  -   background-position: left -98px;
  1184. 1182.  - }
  1185. 1183.  - .dd_menu_body.ads_dd_wide .dd_menu_rows a .ads_status_image_span.status_deleted {
  1186. 1184.  -   background-position: left -111px;
  1187. 1185.  - }
  1188. 1186.  -
  1189. 1187.  - .ads_unions_list tr.ads_table_header th.paginated_table td.paginated_table_cell.column_commit_date,
  1190. 1188.  - .ads_unions_list tr.ads_table_header th.paginated_table td.paginated_table_cell.column_commit_date * {
  1191. 1189.  -   border-left: 0 none;
  1192. 1190.  - }
  1193. 1191.  -
  1194. 1192.  - #ads_unions_budget * {
  1195. 1193.  -   text-align: left;
  1196. 1194.  - }
  1197. 1195.  -
  1198. 1196.  - #ads_general_info_status_selector {
  1199. 1197.  -   border-bottom: 1px dashed #2B587A;
  1200. 1198.  - }
  1201. 1199.  -
  1202. 1200.  - table.ads_unions_content_label {
  1203. 1201.  -   border-collapse: collapse;
  1204. 1202.  - }
  1205. 1203.  -
  1206. 1204.  - #ads_unions_content .ads_export_prefs .ads_export_date_row .table_label {
  1207. 1205.  -   padding-top: 4px;
  1208. 1206.  - }
  1209. 1207.  - .ads_export_prefs .table_value {
  1210. 1208.  -   width: 300px;
  1211. 1209.  - }
  1212. 1210.  -
  1213. 1211.  - #ads_unions_content .export_prefs_web .summary td {
  1214. 1212.  -   padding-top: 10px !important;
  1215. 1213.  - }
  1216. 1214.  -
  1217. 1215.  - .ads_export_stats .ads_unions_table th.paginated_table td.paginated_table_cell.column_checked {
  1218. 1216.  -   width: 34px;
  1219. 1217.  - }
  1220. 1218.  -
  1221. 1219.  - .ads_unions_list .checkbox_container table {
  1222. 1220.  -   border: 0px;
  1223. 1221.  - }
  1224. 1222.  -
  1225. 1223.  - .ads_unions_table .hovered_header,
  1226. 1224.  - .ads_unions_table .hovered_header_hover {
  1227. 1225.  -   cursor: pointer;
  1228. 1226.  - }
  1229. 1227.  - .ads_unions_table .hovered_header_hover {
  1230. 1228.  -   background-color: #EFF2F5;
  1231. 1229.  - }
  1232. 1230.  -
  1233. 1231.  - .ads_inline_edit_remove_value {
  1234. 1232.  -   margin-left: 5px;
  1235. 1233.  -   white-space: nowrap;
  1236. 1234.  - }
  1237. 1235.  -
  1238. 1236.  - .ads_inline_edit_table {
  1239. 1237.  -   border-collapse: collapse;
  1240. 1238.  - }
  1241. 1239.  - table.ads_inline_edit_table td {
  1242. 1240.  -   padding: 0;
  1243. 1241.  - }
  1244. 1242.  - .ads_inline_fast_error_row {
  1245. 1243.  -   display: none;
  1246. 1244.  - }
  1247. 1245.  - .ads_inline_fast_error {
  1248. 1246.  -   background-color: #F9F6E7;
  1249. 1247.  -   border: 1px solid #D4BC4C;
  1250. 1248.  -   padding: 8px 11px;
  1251. 1249.  -   margin-top: 5px;
  1252. 1250.  - }
  1253. 1251.  -
  1254. 1252.  - .ads_inline_recommended_cost_text {
  1255. 1253.  -   font-size: 0.91em;
  1256. 1254.  -   color: #777777;
  1257. 1255.  -   display: none;
  1258. 1256.  - }
  1259. 1257.  -
  1260. 1258.  - .ads_moder_comment_rules_wrap ul {
  1261. 1259.  -   list-style: square outside none;
  1262. 1260.  -   color: #758EAC;
  1263. 1261.  -   margin: 11px 0 0 0;
  1264. 1262.  - }
  1265. 1263.  - .ads_moder_comment_rules_wrap span {
  1266. 1264.  -   color: black;
  1267. 1265.  - }
  1268. 1266.  - .ads_moder_comment_rules_separator {
  1269. 1267.  -   height: 11px;
  1270. 1268.  - }
  1271. 1269.  -
  1272. 1270.  - #ads_admin_box_wrapper a:hover {
  1273. 1271.  -   text-decoration: underline;
  1274. 1272.  - }
  1275. 1273.  -
  1276. 1274.  - .ads_admin_table_cell {
  1277. 1275.  -   border-bottom: 1px solid #DAE2E8;
  1278. 1276.  - }
  1279. 1277.  -
  1280. 1278.  - .admin_table_cell_last {
  1281. 1279.  -   border-bottom: none;
  1282. 1280.  - }
  1283. 1281.  -
  1284. 1282.  - .ads_admin_box_label {
  1285. 1283.  -   color: #777777;
  1286. 1284.  -   text-align: right;
  1287. 1285.  -   width: 125px;
  1288. 1286.  -   padding-right: 10px;
  1289. 1287.  - }
  1290. 1288.  - .ads_admin_box_labeled {
  1291. 1289.  -   width: 270px;
  1292. 1290.  - }
  1293. 1291.  -
  1294. 1292.  - .ads_general_info_hidden {
  1295. 1293.  -   display: none;
  1296. 1294.  - }
  1297. 1295.  -
  1298. 1296.  - .ads_general_info .table_large_text {
  1299. 1297.  -   width: 400px;
  1300. 1298.  - }
  1301. 1299.  -
  1302. 1300.  - #ads_unions_content h4 span {
  1303. 1301.  -   font-weight: bold
  1304. 1302.  - }
  1305. 1303.  -
  1306. 1304.  - .ads_users_stats_dark {
  1307. 1305.  -   background-color: #597DA3;
  1308. 1306.  - }
  1309. 1307.  -
  1310. 1308.  - .ads_users_stats_light {
  1311. 1309.  -   background-color: #DAE1E8;
  1312. 1310.  - }
  1313. 1311.  -
  1314. 1312.  - .ads_users_stats_bars_title {
  1315. 1313.  -   padding-bottom: 16px;
  1316. 1314.  -   color: #45688E;
  1317. 1315.  -   font-weight: bold;
  1318. 1316.  - }
  1319. 1317.  -
  1320. 1318.  - .ads_users_stats_bar_label {
  1321. 1319.  -   height: 30px;
  1322. 1320.  -   text-align: right;
  1323. 1321.  -   padding-right: 16px;
  1324. 1322.  -   padding-top: 2px;
  1325. 1323.  -   vertical-align: top;
  1326. 1324.  -   color: #45688E;
  1327. 1325.  -   font-weight: bold;
  1328. 1326.  - }
  1329. 1327.  - .ads_users_stats_bar_wrap table {
  1330. 1328.  -   border: 0px;
  1331. 1329.  -   border-collapse: collapse;
  1332. 1330.  - }
  1333. 1331.  - .ads_users_stats_bar_wrap table td {
  1334. 1332.  -   padding: 0px;
  1335. 1333.  - }
  1336. 1334.  - .ads_users_stats_bar_wrap {
  1337. 1335.  -   height: 30px;
  1338. 1336.  -   vertical-align: top;
  1339. 1337.  - }
  1340. 1338.  - .ads_users_stats_bar_wrap table td.ads_users_stats_bar_value {
  1341. 1339.  -   padding-left: 11px;
  1342. 1340.  - }
  1343. 1341.  - .ads_users_stats_bar {
  1344. 1342.  -   -moz-border-radius: 0 3px 3px 0;
  1345. 1343.  -   -webkit-border-radius: 0 3px 3px 0;
  1346. 1344.  -   -khtml-border-radius: 0 3px 3px 0;
  1347. 1345.  -   border-radius: 0 3px 3px 0;
  1348. 1346.  -   height: 17px;
  1349. 1347.  - }
  1350. 1348.  -
  1351. 1349.  - #ads_demography_wrap .summary_right .summary_tab2 {
  1352. 1350.  -   background-color: transparent;
  1353. 1351.  - }
  1354. 1352.  -
  1355. 1353.  - .ads_dropdown_menu_scrollbar {
  1356. 1354.  -   position: absolute;
  1357. 1355.  -   z-index: 1500;
  1358. 1356.  -   background-color: #000;
  1359. 1357.  -
  1360. 1358.  -   opacity: 0.4;
  1361. 1359.  -   -moz-opacity: 0.4;
  1362. 1360.  -   filter: alpha(opacity=40);
  1363. 1361.  -
  1364. 1362.  -   border-radius: 3px;
  1365. 1363.  -   -webkit-border-radius: 3px;
  1366. 1364.  -   -moz-border-radius: 3px;
  1367. 1365.  -   -khtml-border-radius: 3px;
  1368. 1366.  - }
  1369. 1367.  - .ads_dropdown_menu_scrollbar:hover,
  1370. 1368.  - .ads_dropdown_menu_scrollbar.hovered {
  1371. 1369.  -   opacity: 0.6;
  1372. 1370.  -   -moz-opacity: 0.6;
  1373. 1371.  -   filter: alpha(opacity=60);
  1374. 1372.  - }
  1375. 1373.  -
  1376. 1374.  - #ads_admin_box_wrapper h2 {
  1377. 1375.  -   padding: 0;
  1378. 1376.  -   margin: 0;
  1379. 1377.  -   border: none;
  1380. 1378.  - }
  1381. 1379.  -
  1382. 1380.  - #ads_reqs_edit td.ads_req_label {
  1383. 1381.  -   color: #666666;
  1384. 1382.  -   text-align: right;
  1385. 1383.  -   vertical-align: top;
  1386. 1384.  -   padding-top: 5px;
  1387. 1385.  - }
  1388. 1386.  -
  1389. 1387.  - #ads_reqs_edit td.ads_req_right {
  1390. 1388.  -   width: 100px;
  1391. 1389.  - }
  1392. 1390.  -
  1393. 1391.  - #ads_reqs_edit_form input.ads_req_edit,
  1394. 1392.  - #ads_reqs_edit_form textarea.ads_req_edit {
  1395. 1393.  -   margin: 0px;
  1396. 1394.  -   width: 250px;
  1397. 1395.  - }
  1398. 1396.  -
  1399. 1397.  - #ads_legal_info_box div {
  1400. 1398.  -   padding: 8px 11px;
  1401. 1399.  -   border: 1px solid #C0CAD5;
  1402. 1400.  - }
  1403. 1401.  -
  1404. 1402.  - /*
  1405. 1403.  -  *   About section
  1406. 1404.  -  */
  1407. 1405.  -
  1408. 1406.  - .ads_help_section.section_wrap {
  1409. 1407.  -   padding: 20px 25px 25px 26px;
  1410. 1408.  -   line-height: 140%;
  1411. 1409.  - }
  1412. 1410.  -
  1413. 1411.  - .ads_help_section h4 {
  1414. 1412.  -   margin-bottom: 10px;
  1415. 1413.  - }
  1416. 1414.  -
  1417. 1415.  - .ads_help_section .header {
  1418. 1416.  -   font-size: 1.09em;
  1419. 1417.  -   margin: 0px 0px 20px 1px;
  1420. 1418.  -   border: none;
  1421. 1419.  -   color: #45688E;
  1422. 1420.  -   font-weight: bold;
  1423. 1421.  - }
  1424. 1422.  -
  1425. 1423.  - .ads_help_section .par_divider {
  1426. 1424.  -   margin-bottom: 31px;
  1427. 1425.  - }
  1428. 1426.  -
  1429. 1427.  - .ads_help_section .emph_link {
  1430. 1428.  -   margin-left: 26px;
  1431. 1429.  - }
  1432. 1430.  -
  1433. 1431.  - #unions_navigation {
  1434. 1432.  -   vertical-align: top;
  1435. 1433.  - }
  1436. 1434.  -
  1437. 1435.  - #unions_navigation {
  1438. 1436.  -   width: 150px;
  1439. 1437.  -   padding: 12px 12px 12px 0;
  1440. 1438.  - }
  1441. 1439.  -
  1442. 1440.  - #unions_navigation .edit_button_wrap {
  1443. 1441.  -   padding-bottom: 10px;
  1444. 1442.  - }
  1445. 1443.  -
  1446. 1444.  - #unions_navigation .nav_separator {
  1447. 1445.  -   border-bottom: 1px solid rgb(211, 219, 225);
  1448. 1446.  -   height: 1px;
  1449. 1447.  -   overflow: hidden;
  1450. 1448.  -   margin: 7px 0px 8px 0;
  1451. 1449.  - }
  1452. 1450.  -
  1453. 1451.  - #unions_navigation a.nav {
  1454. 1452.  -   padding: 6px 6px 7px 11px;
  1455. 1453.  -   display: block;
  1456. 1454.  -   overflow: hidden;
  1457. 1455.  -   max-width: 133px;
  1458. 1456.  -   word-wrap: break-word;
  1459. 1457.  - }
  1460. 1458.  - #unions_navigation a.nav:hover {
  1461. 1459.  -   background-color: #E1E7ED;
  1462. 1460.  -   text-decoration: none;
  1463. 1461.  - }
  1464. 1462.  - #unions_navigation a.nav_selected,
  1465. 1463.  - #unions_navigation a.nav_selected:hover {
  1466. 1464.  -   background-color: #6186AD;
  1467. 1465.  -   color: white;
  1468. 1466.  - }
  1469. 1467.  -
  1470. 1468.  -
  1471. 1469.  - #unions_navigation.ads_unions_navigation_about {
  1472. 1470.  -   background-color: #F7F7F7;
  1473. 1471.  -   border-left: 1px solid #DAE1E8;
  1474. 1472.  -   padding: 14px 10px;
  1475. 1473.  - }
  1476. 1474.  -
  1477. 1475.  - #unions_navigation.ads_unions_navigation_about .nav {
  1478. 1476.  -   border-color: #F7F7F7;
  1479. 1477.  - }
  1480. 1478.  -
  1481. 1479.  - #unions_navigation.ads_unions_navigation_about .nav_selected {
  1482. 1480.  -   border-color: #517295;
  1483. 1481.  - }
  1484. 1482.  -
  1485. 1483.  - .ads_unions_navigation_about .ad_box_preview {
  1486. 1484.  -   border: 1px solid #DCE3E9
  1487. 1485.  - }
  1488. 1486.  -
  1489. 1487.  - #ads_contacts_form {
  1490. 1488.  -   margin: 20px 0 0 0;
  1491. 1489.  - }
  1492. 1490.  - #ads_contacts_form .label_slide {
  1493. 1491.  -   vertical-align: top;
  1494. 1492.  - }
  1495. 1493.  - #ads_contacts_form .label {
  1496. 1494.  -   width: 100px;
  1497. 1495.  -   color: #555;
  1498. 1496.  -   padding: 4px 10px 0 0;
  1499. 1497.  -   text-align: right;
  1500. 1498.  -   vertical-align: top;
  1501. 1499.  - }
  1502. 1500.  - #ads_contacts_form .labeled {
  1503. 1501.  -   padding-bottom: 10px;
  1504. 1502.  - }
  1505. 1503.  - #ads_contacts_form .row_checkbox .labeled {
  1506. 1504.  -   padding-bottom: 6px;
  1507. 1505.  - }
  1508. 1506.  - #ads_contacts_form .row_checkbox_prev .labeled {
  1509. 1507.  -   padding-bottom: 8px;
  1510. 1508.  - }
  1511. 1509.  - #ads_contacts_form .row_checkbox_last .labeled {
  1512. 1510.  -   padding-bottom: 8px;
  1513. 1511.  - }
  1514. 1512.  - #ads_contacts_form td.label_slide {
  1515. 1513.  -   overflow: hidden;
  1516. 1514.  - }
  1517. 1515.  - #ads_contacts_form div.label_slide {
  1518. 1516.  -   height: 0;
  1519. 1517.  - }
  1520. 1518.  - #ads_contacts_form .checkbox_wrap {
  1521. 1519.  -   margin: -5px 0;
  1522. 1520.  - }
  1523. 1521.  - #ads_contacts_form input.txt {
  1524. 1522.  -   width: 242px;
  1525. 1523.  - }
  1526. 1524.  - #ads_contacts_form textarea.txt {
  1527. 1525.  -   width: 242px;
  1528. 1526.  -   height: 40px;
  1529. 1527.  - }
  1530. 1528.  - #ads_contacts_form textarea.txt#message {
  1531. 1529.  -   height: 90px;
  1532. 1530.  - }
  1533. 1531.  - #ads_contacts_form .msg {
  1534. 1532.  -   background-color: #f9f6e7;
  1535. 1533.  -   border-color: #c3b988;
  1536. 1534.  -   font-weight: normal;
  1537. 1535.  - }
  1538. 1536.  -
  1539. 1537.  - .ads_contacts_nonresident_message {
  1540. 1538.  -   padding: 7px 0 20px 0;
  1541. 1539.  - }
  1542. 1540.  -
  1543. 1541.  - .wk_ads_intro #ads_contacts_form .label {
  1544. 1542.  -   width: 140px;
  1545. 1543.  -   padding-top: 9px;
  1546. 1544.  - }
  1547. 1545.  -
  1548. 1546.  - .wk_ads_intro #ads_contacts_form input.txt,
  1549. 1547.  - .wk_ads_intro #ads_contacts_form textarea.txt {
  1550. 1548.  -   width: 254px;
  1551. 1549.  -   height: 17px;
  1552. 1550.  -   line-height: 17px;
  1553. 1551.  -   padding: 5px 6px 6px 10px;
  1554. 1552.  - }
  1555. 1553.  - @-moz-document url-prefix() {
  1556. 1554.  - .wk_ads_intro #ads_contacts_form input.txt,
  1557. 1555.  - .wk_ads_intro #ads_contacts_form textarea.txt {
  1558. 1556.  -   padding-left: 9px;
  1559. 1557.  -   width: 255px;
  1560. 1558.  - }
  1561. 1559.  - }
  1562. 1560.  - .wk_ads_intro #ads_contacts_form textarea.txt {
  1563. 1561.  -   height: 52px;
  1564. 1562.  - }
  1565. 1563.  - .wk_ads_intro #ads_contacts_form textarea.txt#message {
  1566. 1564.  -   height: 90px;
  1567. 1565.  - }
  1568. 1566.  -
  1569. 1567.  - /* Multi dropdown menu - begin */
  1570. 1568.  -
  1571. 1569.  - a.ads_dd_menu_item_checkbox_on,
  1572. 1570.  - a.ads_dd_menu_item_checkbox_off {
  1573. 1571.  -   padding-left: 22px !important;
  1574. 1572.  -   background-image: none !important;
  1575. 1573.  -   background-position: 4px 2px !important;
  1576. 1574.  - }
  1577. 1575.  - a.ads_dd_menu_item_checkbox_on {
  1578. 1576.  -   background-image: url("/images/dropdead_check.gif") !important;
  1579. 1577.  - }
  1580. 1578.  -
  1581. 1579.  - /* Multi dropdown menu - end */
  1582. 1580.  -
  1583. 1581.  - .ads_paginated_table_name {
  1584. 1582.  -   overflow: hidden;
  1585. 1583.  -   white-space: nowrap;
  1586. 1584.  - }
  1587. 1585.  -
  1588. 1586.  - .ad_new_user td.label {
  1589. 1587.  -   text-align: right;
  1590. 1588.  -   padding: 6px 15px 6px 0;
  1591. 1589.  -   width: 120px;
  1592. 1590.  -   color: gray;
  1593. 1591.  - }
  1594. 1592.  - .ad_new_user td.labeled input {
  1595. 1593.  -   width: 160px;
  1596. 1594.  - }
  1597. 1595.  -
  1598. 1596.  - #ads_page_simple .ads_reg_row {
  1599. 1597.  -   height: 30px;
  1600. 1598.  - }
  1601. 1599.  - #ads_page_simple .ads_reg_label {
  1602. 1600.  -   width: 231px;
  1603. 1601.  -   float: left;
  1604. 1602.  -   text-align: right;
  1605. 1603.  -   color: #777777;
  1606. 1604.  -   padding: 4px 10px 0 0;
  1607. 1605.  - }
  1608. 1606.  - #ads_page_simple .ads_reg_labeled {
  1609. 1607.  -   float: left;
  1610. 1608.  - }
  1611. 1609.  - #ads_page_simple .ads_reg_labeled_input {
  1612. 1610.  -   margin: 0;
  1613. 1611.  - }
  1614. 1612.  - #ads_page_simple .ads_reg_labeled input#first_name,
  1615. 1613.  - #ads_page_simple .ads_reg_labeled input#last_name,
  1616. 1614.  - #ads_page_simple .ads_reg_labeled input#regemail,
  1617. 1615.  - #ads_page_simple .ads_reg_labeled input#regpass {
  1618. 1616.  -   width: 217px;
  1619. 1617.  - }
  1620. 1618.  -
  1621. 1619.  - .box_body .ads_disapproved_message {
  1622. 1620.  -   line-height: 150%;
  1623. 1621.  - }
  1624. 1622.  -
  1625. 1623.  - .ads_wiki_wrap {
  1626. 1624.  -   line-height: 160%;
  1627. 1625.  - }
  1628. 1626.  -
  1629. 1627.  - .ads_wiki_bonus {
  1630. 1628.  -   padding-bottom: 10px;
  1631. 1629.  - }
  1632. 1630.  -
  1633. 1631.  - #ads_bonus_activation_form .ads_unions_content_label td {
  1634. 1632.  -   padding: 0 0 4px 0;
  1635. 1633.  - }
  1636. 1634.  -
  1637. 1635.  - #ads_unions_content .payments_systems_container {
  1638. 1636.  -   padding: 7px 102px 0 50px;
  1639. 1637.  - }
  1640. 1638.  -
  1641. 1639.  - #ads_unions_content .payments_systems_container .ps_desc_short {
  1642. 1640.  -   padding-right: 120px;
  1643. 1641.  - }
  1644. 1642.  -
  1645. 1643.  - #ads_unions_content .payments_systems_container .term_info {
  1646. 1644.  -   min-height: 24px;
  1647. 1645.  - }
  1648. 1646.  -
  1649. 1647.  - #ads_unions_content .payments_landing div {
  1650. 1648.  -   margin-bottom: 20px;
  1651. 1649.  - }
  1652. 1650.  -
  1653. 1651.  - #ads_retargeting_groups_table {
  1654. 1652.  -   margin-top: 15px;
  1655. 1653.  - }
  1656. 1654.  - #ads_retargeting_groups_table .column_action_view {
  1657. 1655.  -   width: 100px;
  1658. 1656.  -   white-space: nowrap;
  1659. 1657.  - }
  1660. 1658.  - #ads_retargeting_groups .ads_retargeting_controls {
  1661. 1659.  -   padding-top: 15px;
  1662. 1660.  - }
  1663. 1661.  - .ads_retargeting_box {
  1664. 1662.  -   line-height: 160%;
  1665. 1663.  - }
  1666. 1664.  - .ads_retargeting_box_text {
  1667. 1665.  -   padding-bottom: 10px;
  1668. 1666.  - }
  1669. 1667.  - .ads_retargeting_box td.label {
  1670. 1668.  -   color: #777;
  1671. 1669.  -   padding: 5px 10px 5px 0px;
  1672. 1670.  -   text-align: right;
  1673. 1671.  -   width: 100px;
  1674. 1672.  - }
  1675. 1673.  - .ads_retargeting_box td.labeled {
  1676. 1674.  -   padding: 2px 0;
  1677. 1675.  - }
  1678. 1676.  - .ads_retargeting_box td.labeled_info {
  1679. 1677.  -   padding: 2px 0 2px 5px;
  1680. 1678.  - }
  1681. 1679.  - .ads_retargeting_box input {
  1682. 1680.  -   width: 190px;
  1683. 1681.  - }
  1684. 1682.  - #ads_retargeting_box_error {
  1685. 1683.  -   margin-bottom: 10px;
  1686. 1684.  -   display: none;
  1687. 1685.  - }
  1688. 1686.  - .ads_retargeting_box .box_msg {
  1689. 1687.  -   margin-bottom: 10px;
  1690. 1688.  -   font-weight: normal;
  1691. 1689.  - }
  1692. 1690.  - .ads_retargeting_box_notice {
  1693. 1691.  -   font-size: 0.91em;
  1694. 1692.  -   color: #777;
  1695. 1693.  - }
  1696. 1694.  - #retargeting_group_pixel {
  1697. 1695.  -   background-color: #F2F2F2;
  1698. 1696.  -   height: 110px;
  1699. 1697.  -   width: 245px;
  1700. 1698.  - }
  1701. 1699.  - .ads_retargeting_text {
  1702. 1700.  -   line-height: 150%;
  1703. 1701.  - }
  1704. 1702.  -
  1705. 1703.  - .ads_settings_notifacations {
  1706. 1704.  -   margin: 10px 0 0 10px;
  1707. 1705.  -   border-collapse: collapse;
  1708. 1706.  - }
  1709. 1707.  - .ads_settings_notifacations th,
  1710. 1708.  - .ads_settings_notifacations td {
  1711. 1709.  -   padding: 0 5px;
  1712. 1710.  -   text-align: center;
  1713. 1711.  - }
  1714. 1712.  - td.ads_settings_notifacations_label {
  1715. 1713.  -   padding: 0 30px 0 0;
  1716. 1714.  -   text-align: left;
  1717. 1715.  - }
  1718. 1716.  - .ads_settings_notifacations .checkbox_container {
  1719. 1717.  -   margin: 0 auto;
  1720. 1718.  - }
  1721. ------
  1722. Файл - ads_moder.js (Старый размер - 26307 | Новый - 0):
  1723. 0.  - var AdsModer = {};
  1724. 1.  -
  1725. 2.  - AdsModer.init = function() {
  1726. 3.  -   AdsModer.initDelayedImages();
  1727. 4.  - }
  1728. 5.  -
  1729. 6.  - AdsModer.initDelayedImages = function() {
  1730. 7.  -   var imagesIndex;
  1731. 8.  -   var indexStep = 500;
  1732. 9.  -   var lastImage;
  1733. 10.  -   var lastImageY;
  1734. 11.  -
  1735. 12.  -   buildIndex();
  1736. 13.  -   if (isEmpty(imagesIndex)) {
  1737. 14.  -     return;
  1738. 15.  -   }
  1739. 16.  -
  1740. 17.  -   var scrolledNode = (browser.msie6 ? pageNode : window);
  1741. 18.  -   var handler = checkImages.pbind(false);
  1742. 19.  -   function deinit() {
  1743. 20.  -     removeEvent(scrolledNode, 'scroll', handler);
  1744. 21.  -   }
  1745. 22.  -   cur.destroy.push(deinit);
  1746. 23.  -   addEvent(scrolledNode, 'scroll', handler);
  1747. 24.  -   handler();
  1748. 25.  -
  1749. 26.  -   function buildIndex() {
  1750. 27.  -     if (lastImage && lastImage.hasAttribute('src_') && lastImageY == getXY(lastImage)[1]) {
  1751. 28.  -       return;
  1752. 29.  -     }
  1753. 30.  -
  1754. 31.  -     var imagesAll = geByTag('img');
  1755. 32.  -     var image;
  1756. 33.  -     var indexKey;
  1757. 34.  -
  1758. 35.  -     imagesIndex = {};
  1759. 36.  -
  1760. 37.  -     if (!imagesAll.length) {
  1761. 38.  -       return;
  1762. 39.  -     }
  1763. 40.  -
  1764. 41.  -     for (var i = 0, image; image = imagesAll[i]; i++) {
  1765. 42.  -       if (!image.hasAttribute('src_')) {
  1766. 43.  -         continue;
  1767. 44.  -       }
  1768. 45.  -       indexKey = intval(getXY(image)[1] / indexStep);
  1769. 46.  -       if (!(indexKey in imagesIndex)) {
  1770. 47.  -         imagesIndex[indexKey] = [];
  1771. 48.  -       }
  1772. 49.  -       imagesIndex[indexKey].push(image);
  1773. 50.  -       lastImage = image;
  1774. 51.  -     }
  1775. 52.  -
  1776. 53.  -     lastImageY = getXY(lastImage)[1];
  1777. 54.  -   }
  1778. 55.  -
  1779. 56.  -   function checkIndex() {
  1780. 57.  -     buildIndex();
  1781. 58.  -     if (isEmpty(imagesIndex)) {
  1782. 59.  -       deinit();
  1783. 60.  -     }
  1784. 61.  -   }
  1785. 62.  -
  1786. 63.  -   function checkImages(delayed) {
  1787. 64.  -     var yTop        = scrollGetY()
  1788. 65.  -     var yBottom     = yTop + lastWindowHeight;
  1789. 66.  -     var indexTop    = intval(yTop / indexStep);
  1790. 67.  -     var indexBottom = intval(yBottom / indexStep);
  1791. 68.  -     var image;
  1792. 69.  -     for (var i = indexTop; i <= indexBottom; i++) {
  1793. 70.  -       if (!(i in imagesIndex)) {
  1794. 71.  -         continue;
  1795. 72.  -       }
  1796. 73.  -       for (var j = 0, len = imagesIndex[i].length; j < len; j++) {
  1797. 74.  -         image = imagesIndex[i][j];
  1798. 75.  -         image.src = image.getAttribute('src_');
  1799. 76.  -         image.removeAttribute('src_')
  1800. 77.  -       }
  1801. 78.  -       delete imagesIndex[i];
  1802. 79.  -     }
  1803. 80.  -     checkIndex();
  1804. 81.  -     setTimeout(checkIndex, 1000);
  1805. 82.  -   }
  1806. 83.  - }
  1807. 84.  -
  1808. 85.  - AdsModer.showObjectInfo = function(objectType, objectId) {
  1809. 86.  -   var ajaxParams = {};
  1810. 87.  -   ajaxParams.object_type = objectType;
  1811. 88.  -   ajaxParams.object_id   = objectId;
  1812. 89.  -
  1813. 90.  -   var showOptions = {params: {}};
  1814. 91.  -
  1815. 92.  -   showBox('/adsmoder?act=object_info', ajaxParams, showOptions);
  1816. 93.  - }
  1817. 94.  -
  1818. 95.  - AdsModer.openFeaturesEditBox = function(unionId, hash, featuresInfo, featuresEditHtml) {
  1819. 96.  -   var editBox = showFastBox({title: '�����������', width: 550}, featuresEditHtml);
  1820. 97.  -   var saveFeaturesHandler = AdsModer.saveFeatures.pbind(unionId, hash, featuresInfo, editBox);
  1821. 98.  -   editBox.removeButtons();
  1822. 99.  -   editBox.addButton(getLang('box_cancel'), false, 'no');
  1823. 100.  -   editBox.addButton('��������', saveFeaturesHandler, 'yes');
  1824. 101.  -
  1825. 102.  -   for (var i in featuresInfo) {
  1826. 103.  -     var featureInfo = featuresInfo[i];
  1827. 104.  -     new Checkbox(ge('ads_moder_feature_' + featureInfo.key), {
  1828. 105.  -       label: featureInfo.name,
  1829. 106.  -       checked: intval(featureInfo.value),
  1830. 107.  -       width: 500
  1831. 108.  -     });
  1832. 109.  -   }
  1833. 110.  - }
  1834. 111.  -
  1835. 112.  - AdsModer.saveFeatures = function(unionId, hash, featuresInfo, editBox) {
  1836. 113.  -   if (!Ads.lock('saveFeatures', onLock, onUnlock)) {
  1837. 114.  -     return;
  1838. 115.  -   }
  1839. 116.  -
  1840. 117.  -   var ajaxParams = {};
  1841. 118.  -   ajaxParams.union_id = unionId;
  1842. 119.  -   ajaxParams.hash = hash;
  1843. 120.  -   ajaxParams.features = [];
  1844. 121.  -   for (var i in featuresInfo) {
  1845. 122.  -     var featureInfo = featuresInfo[i];
  1846. 123.  -     ajaxParams.features.push(featureInfo.key + ':' + intval(ge('ads_moder_feature_' + featureInfo.key).value));
  1847. 124.  -   }
  1848. 125.  -   ajaxParams.features = ajaxParams.features.join(',');
  1849. 126.  -
  1850. 127.  -   ajax.post('/adsmoder?act=a_edit_features', ajaxParams, {onDone: onComplete, onFail: onComplete});
  1851. 128.  -
  1852. 129.  -   function onComplete(response) {
  1853. 130.  -     Ads.unlock('saveFeatures');
  1854. 131.  -     if (response && response.ok) {
  1855. 132.  -       nav.reload();
  1856. 133.  -     } else {
  1857. 134.  -       showFastBox('������', '������');
  1858. 135.  -     }
  1859. 136.  -     return true;
  1860. 137.  -   }
  1861. 138.  -   function onLock() {
  1862. 139.  -     editBox.showProgress();
  1863. 140.  -   }
  1864. 141.  -   function onUnlock() {
  1865. 142.  -     editBox.hide();
  1866. 143.  -   }
  1867. 144.  - }
  1868. 145.  -
  1869. 146.  - AdsModer.openNoteEditBox = function(ajaxParams, noteText, noteTextParams, boxTitle, editActionText, isEdit, isOtherUser) {
  1870. 147.  -   function onBoxHide() {
  1871. 148.  -     delete cur.noteEditBox;
  1872. 149.  -     delete cur.noteEditAjaxParams;
  1873. 150.  -   }
  1874. 151.  -
  1875. 152.  -   cur.noteEditAjaxParams = ajaxParams;
  1876. 153.  -
  1877. 154.  -   var boxHtml = '<div class="ads_note_edit_wrap"><div><textarea id="ads_note_edit" ' + noteTextParams + '>' + noteText + '</textarea></div></div>';
  1878. 155.  -
  1879. 156.  -   cur.noteEditBox = showFastBox({title: boxTitle, width: 400, onHide: onBoxHide}, boxHtml);
  1880. 157.  -   cur.noteEditBox.removeButtons();
  1881. 158.  -   if (isOtherUser) {
  1882. 159.  -     cur.noteEditBox.addButton(getLang('box_cancel'), false, 'yes');
  1883. 160.  -   } else {
  1884. 161.  -     cur.noteEditBox.addButton(getLang('box_cancel'), false, 'no');
  1885. 162.  -     cur.noteEditBox.addButton(editActionText, AdsModer.saveNote.pbind(false), 'yes');
  1886. 163.  -   }
  1887. 164.  -   if (isEdit) {
  1888. 165.  -     cur.noteEditBox.setControlsText('<a href="#" onclick="AdsModer.saveNote(true); return false;">�������</a>');
  1889. 166.  -   }
  1890. 167.  - }
  1891. 168.  -
  1892. 169.  - AdsModer.saveNote = function(isDelete) {
  1893. 170.  -   if (!Ads.lock('save_note', onLock, onUnlock)) {
  1894. 171.  -     return;
  1895. 172.  -   }
  1896. 173.  -
  1897. 174.  -   var ajaxParams = {};
  1898. 175.  -   ajaxParams = extend({}, ajaxParams, cur.noteEditAjaxParams);
  1899. 176.  -   ajaxParams.note_text = (isDelete ? '' : ge('ads_note_edit').value);
  1900. 177.  -   ajax.post('/adsmoder?act=a_edit_notes', ajaxParams, {onDone: onComplete, onFail: onComplete});
  1901. 178.  -
  1902. 179.  -   function onComplete(response) {
  1903. 180.  -     Ads.unlock('save_note');
  1904. 181.  -     if (response && response.ok) {
  1905. 182.  -       nav.reload();
  1906. 183.  -     } else {
  1907. 184.  -       showFastBox({title: '������', onHide: function() { nav.reload(); }}, '������');
  1908. 185.  -     }
  1909. 186.  -     return true;
  1910. 187.  -   }
  1911. 188.  -   function onLock() {
  1912. 189.  -     cur.noteEditBox.showProgress();
  1913. 190.  -   }
  1914. 191.  -   function onUnlock() {
  1915. 192.  -     cur.noteEditBox.hide();
  1916. 193.  -   }
  1917. 194.  - }
  1918. 195.  -
  1919. 196.  - AdsModer.openCategoriesEditBox = function(requestKey, linkElem) {
  1920. 197.  -   var editBox = showFastBox({title: '��������� �������� ����������', width: 440}, cur.categoriesEditBoxHtml);
  1921. 198.  -   editBox.removeButtons();
  1922. 199.  -   editBox.addButton(getLang('box_cancel'), false, 'no');
  1923. 200.  -   editBox.addButton('��������', applyChanges, 'yes');
  1924. 201.  -
  1925. 202.  -   var requestParams = cur.requestsParams[requestKey];
  1926. 203.  -
  1927. 204.  -   var category1_id    = requestParams.ui_category1_id;
  1928. 205.  -   var category2_id    = requestParams.ui_category2_id;
  1929. 206.  -   var subcategory1_id = requestParams.ui_subcategory1_id;
  1930. 207.  -   var subcategory2_id = requestParams.ui_subcategory2_id;
  1931. 208.  -
  1932. 209.  -   var uiCategory1 = new Dropdown(ge('ads_moder_category1'), cur.categoriesData, {
  1933. 210.  -     selectedItems: category1_id,
  1934. 211.  -     width:         250,
  1935. 212.  -     height:        400,
  1936. 213.  -     onChange:      onChangeCategory1
  1937. 214.  -   });
  1938. 215.  -   var uiCategory2 = new Dropdown(ge('ads_moder_category2'), cur.categoriesData, {
  1939. 216.  -     selectedItems: category2_id,
  1940. 217.  -     width:         250,
  1941. 218.  -     height:        400,
  1942. 219.  -     onChange:      onChangeCategory2
  1943. 220.  -   });
  1944. 221.  -   var uiSubcategory1 = new Dropdown(ge('ads_moder_subcategory1'), [], {
  1945. 222.  -     width:    250,
  1946. 223.  -     height:   400,
  1947. 224.  -     onChange: function(value) {
  1948. 225.  -       subcategory1_id = intval(value);
  1949. 226.  -     }
  1950. 227.  -   });
  1951. 228.  -   var uiSubcategory2 = new Dropdown(ge('ads_moder_subcategory2'), [], {
  1952. 229.  -     width:    250,
  1953. 230.  -     height:   400,
  1954. 231.  -     onChange: function(value) {
  1955. 232.  -       subcategory2_id = intval(value);
  1956. 233.  -     }
  1957. 234.  -   });
  1958. 235.  -
  1959. 236.  -   onChangeCategory1(category1_id);
  1960. 237.  -   onChangeCategory2(category2_id);
  1961. 238.  -
  1962. 239.  -   var boxOptions = {};
  1963. 240.  -   boxOptions.onClean = function() {
  1964. 241.  -     uiCategory1.destroy();
  1965. 242.  -     uiCategory2.destroy();
  1966. 243.  -     uiSubcategory1.destroy();
  1967. 244.  -     uiSubcategory2.destroy();
  1968. 245.  -   };
  1969. 246.  -   editBox.setOptions(boxOptions);
  1970. 247.  -
  1971. 248.  -   function onChangeCategory1(value) {
  1972. 249.  -     value = intval(value);
  1973. 250.  -     if (value != category1_id) {
  1974. 251.  -       subcategory1_id = 0;
  1975. 252.  -     }
  1976. 253.  -     category1_id = value;
  1977. 254.  -     var data = cur.subcategoriesData[value] || [];
  1978. 255.  -     var disabledText = (value ? getLang('ads_no_subcategories') : getLang('ads_first_select_category1'));
  1979. 256.  -     uiSubcategory1.setOptions({disabledText: disabledText});
  1980. 257.  -     uiSubcategory1.setData(data);
  1981. 258.  -     if (subcategory1_id) {
  1982. 259.  -       uiSubcategory1.val(subcategory1_id);
  1983. 260.  -     } else {
  1984. 261.  -       uiSubcategory1.clear();
  1985. 262.  -     }
  1986. 263.  -     uiSubcategory1.disable(data.length == 0);
  1987. 264.  -   }
  1988. 265.  -   function onChangeCategory2(value) {
  1989. 266.  -     value = intval(value);
  1990. 267.  -     if (value != category2_id) {
  1991. 268.  -       subcategory2_id = 0;
  1992. 269.  -     }
  1993. 270.  -     category2_id = value;
  1994. 271.  -     var data = cur.subcategoriesData[value] || [];
  1995. 272.  -     var disabledText = (value ? getLang('ads_no_subcategories') : getLang('ads_first_select_category2'));
  1996. 273.  -     uiSubcategory2.setOptions({disabledText: disabledText});
  1997. 274.  -     uiSubcategory2.setData(data);
  1998. 275.  -     if (subcategory2_id) {
  1999. 276.  -       uiSubcategory2.val(subcategory2_id);
  2000. 277.  -     } else {
  2001. 278.  -       uiSubcategory2.clear();
  2002. 279.  -     }
  2003. 280.  -     uiSubcategory2.disable(data.length == 0);
  2004. 281.  -   }
  2005. 282.  -   function applyChanges() {
  2006. 283.  -     if (!category1_id && !category2_id) {
  2007. 284.  -       showFastBox('������', '�� ������ ��������.');
  2008. 285.  -       return;
  2009. 286.  -     }
  2010. 287.  -
  2011. 288.  -     cur.requestsParams[requestKey].category1_id       = (subcategory1_id || category1_id);
  2012. 289.  -     cur.requestsParams[requestKey].category2_id       = (subcategory2_id || category2_id);
  2013. 290.  -     cur.requestsParams[requestKey].ui_category1_id    = category1_id;
  2014. 291.  -     cur.requestsParams[requestKey].ui_category2_id    = category2_id;
  2015. 292.  -     cur.requestsParams[requestKey].ui_subcategory1_id = subcategory1_id;
  2016. 293.  -     cur.requestsParams[requestKey].ui_subcategory2_id = subcategory2_id;
  2017. 294.  -     cur.requestsParams[requestKey].categories_changed = true;
  2018. 295.  -
  2019. 296.  -     var category1Elem       = geByClass1('ads_category1', linkElem);
  2020. 297.  -     var category1ParentElem = geByClass1('ads_category1_parent', linkElem);
  2021. 298.  -     if (subcategory1_id) {
  2022. 299.  -       replaceClass(category1Elem, 'ads_category', 'ads_subcategory');
  2023. 300.  -       category1Elem.innerHTML = uiSubcategory1.val_full()[1];
  2024. 301.  -       category1ParentElem.innerHTML = ' (' + uiCategory1.val_full()[1] + ')';
  2025. 302.  -     } else {
  2026. 303.  -       replaceClass(category1Elem, 'ads_subcategory', 'ads_category');
  2027. 304.  -       category1Elem.innerHTML = (category1_id ? uiCategory1.val_full()[1] : '');
  2028. 305.  -       category1ParentElem.innerHTML = '';
  2029. 306.  -     }
  2030. 307.  -
  2031. 308.  -     var category2Elem       = geByClass1('ads_category2', linkElem);
  2032. 309.  -     var category2ParentElem = geByClass1('ads_category2_parent', linkElem);
  2033. 310.  -     if (subcategory2_id) {
  2034. 311.  -       replaceClass(category2Elem, 'ads_category', 'ads_subcategory');
  2035. 312.  -       category2Elem.innerHTML = uiSubcategory2.val_full()[1];
  2036. 313.  -       category2ParentElem.innerHTML = ' (' + uiCategory2.val_full()[1] + ')';
  2037. 314.  -     } else {
  2038. 315.  -       replaceClass(category2Elem, 'ads_subcategory', 'ads_category');
  2039. 316.  -       category2Elem.innerHTML = (category2_id ? uiCategory2.val_full()[1] : '');
  2040. 317.  -       category2ParentElem.innerHTML = '';
  2041. 318.  -     }
  2042. 319.  -
  2043. 320.  -     editBox.hide();
  2044. 321.  -   }
  2045. 322.  - }
  2046. 323.  -
  2047. 324.  - AdsModer.premoderationProcessRequest = function(action, requestKey, requestKeyModer, onCompleteExternal) {
  2048. 325.  -
  2049. 326.  -   var requestParams      = cur.requestsParams[requestKey];
  2050. 327.  -   var requestParamsModer = cur.requestsParams[requestKeyModer];
  2051. 328.  -
  2052. 329.  -   if (!requestKey || !requestKeyModer || !requestParams || !requestParamsModer) {
  2053. 330.  -     return;
  2054. 331.  -   }
  2055. 332.  -
  2056. 333.  -   var result = AdsModer.premoderationProcessRequestsMassCheck(action, requestKey);
  2057. 334.  -   if (result) {
  2058. 335.  -     return;
  2059. 336.  -   }
  2060. 337.  -
  2061. 338.  -   var moderComment = ge('moder_comment_' + requestKeyModer);
  2062. 339.  -   var resultArea   = ge('request_result_area_' + requestKey);
  2063. 340.  -
  2064. 341.  -   var ajaxParams = {};
  2065. 342.  -   ajaxParams.action       = action;
  2066. 343.  -   ajaxParams.request_id   = requestParams.request_id;
  2067. 344.  -   ajaxParams.ad_id        = requestParams.ad_id;
  2068. 345.  -   ajaxParams.hash         = requestParams.hash;
  2069. 346.  -   ajaxParams.checksum     = requestParams.checksum_all;
  2070. 347.  -
  2071. 348.  -   if (action === 'approve') {
  2072. 349.  -     if (requestParamsModer.categories_changed) {
  2073. 350.  -       ajaxParams.category1_id = requestParamsModer.category1_id;
  2074. 351.  -       ajaxParams.category2_id = requestParamsModer.category2_id;
  2075. 352.  -     } else {
  2076. 353.  -       ajaxParams.category1_id = requestParams.category1_id;
  2077. 354.  -       ajaxParams.category2_id = requestParams.category2_id;
  2078. 355.  -     }
  2079. 356.  -   }
  2080. 357.  -
  2081. 358.  -   ajaxParams.moder_comment = moderComment.getValue();
  2082. 359.  -   if (action === 'disapprove') {
  2083. 360.  -     ajaxParams.moder_rules = cur.uiReasonsControls[requestKeyModer].getSelectedItems().join(',');
  2084. 361.  -   }
  2085. 362.  -
  2086. 363.  -   resultArea.innerHTML = '<img src="/images/upload.gif" />';
  2087. 364.  -
  2088. 365.  -   ajax.post('/adsmoder?act=a_premoderation_process', ajaxParams, {onDone: onComplete, onFail: onComplete});
  2089. 366.  -
  2090. 367.  -   function onComplete(response) {
  2091. 368.  -     var responseText = ((response && response.text) ? response.text : '������!');
  2092. 369.  -     resultArea.innerHTML = responseText;
  2093. 370.  -     if (isFunction(onCompleteExternal)) {
  2094. 371.  -       onCompleteExternal(response, requestKey, responseText);
  2095. 372.  -     }
  2096. 373.  -     return true;
  2097. 374.  -   };
  2098. 375.  - }
  2099. 376.  -
  2100. 377.  - AdsModer.premoderationProcessRequestsMassCheck = function(action, requestKey) {
  2101. 378.  -
  2102. 379.  -   var requestParams = cur.requestsParams[requestKey];
  2103. 380.  -
  2104. 381.  -   var requestsKeys = [];
  2105. 382.  -
  2106. 383.  -   if (action === 'approve') {
  2107. 384.  -     if (requestParams.categories_changed) {
  2108. 385.  -       if (cur.requestsChecksumsApproveWithoutCategories[requestParams.checksum_approve_without_categories].length < 5) {
  2109. 386.  -         return false;
  2110. 387.  -       }
  2111. 388.  -       requestsKeys = cur.requestsChecksumsApproveWithoutCategories[requestParams.checksum_approve_without_categories];
  2112. 389.  -     } else {
  2113. 390.  -       if (cur.requestsChecksumsApproveWithCategories[requestParams.checksum_approve_with_categories].length < 5) {
  2114. 391.  -         return false;
  2115. 392.  -       }
  2116. 393.  -       requestsKeys = cur.requestsChecksumsApproveWithCategories[requestParams.checksum_approve_with_categories];
  2117. 394.  -     }
  2118. 395.  -   } else if (action === 'disapprove') {
  2119. 396.  -     if (cur.requestsChecksumsDisapprove[requestParams.checksum_disapprove].length < 5) {
  2120. 397.  -       return false;
  2121. 398.  -     }
  2122. 399.  -     requestsKeys = cur.requestsChecksumsDisapprove[requestParams.checksum_disapprove];
  2123. 400.  -   }
  2124. 401.  -
  2125. 402.  -   var confirmTitle   = ((action === 'approve') ? '�������� ���������' : '�������� ����������');
  2126. 403.  -   var confirmText    = '������� ���������� �� ������� ��������: '+requestsKeys.length;
  2127. 404.  -   var processAllText = ((action === 'approve') ? '�������� ���' : '��������� ���');
  2128. 405.  -   var processOneText = ((action === 'approve') ? '�������� ����' : '��������� ����');
  2129. 406.  -
  2130. 407.  -   var box = showFastBox(confirmTitle, cur.massBoxHtml, processAllText, processAll, processOneText, processOne);
  2131. 408.  -   geByClass1('ads_premoderation_mass_confirm_text', box.bodyNode).innerHTML = confirmText;
  2132. 409.  -
  2133. 410.  -   return true;
  2134. 411.  -
  2135. 412.  -   function processAll() {
  2136. 413.  -     cleanChecksums();
  2137. 414.  -     AdsModer.premoderationProcessRequestsMass(action, requestKey, requestsKeys, box);
  2138. 415.  -   }
  2139. 416.  -   function processOne() {
  2140. 417.  -     cleanChecksums();
  2141. 418.  -     box.hide();
  2142. 419.  -     AdsModer.premoderationProcessRequest(action, requestKey, requestKey);
  2143. 420.  -   }
  2144. 421.  -   function cleanChecksums() {
  2145. 422.  -     cur.requestsChecksumsApproveWithCategories[requestParams.checksum_approve_with_categories] = [];
  2146. 423.  -     cur.requestsChecksumsApproveWithoutCategories[requestParams.checksum_approve_without_categories] = [];
  2147. 424.  -     cur.requestsChecksumsDisapprove[requestParams.checksum_disapprove] = [];
  2148. 425.  -   }
  2149. 426.  - }
  2150. 427.  -
  2151. 428.  - AdsModer.premoderationProcessRequestsMass = function(action, requestKeyModer, requestsKeys, box) {
  2152. 429.  -   var requestParams = cur.requestsParams[requestKeyModer];
  2153. 430.  -
  2154. 431.  -   var totalCount       = requestsKeys.length;
  2155. 432.  -   var completeCount    = 0;
  2156. 433.  -   var approvedCount    = 0;
  2157. 434.  -   var disapprovedCount = 0;
  2158. 435.  -   var errorCount       = 0;
  2159. 436.  -   var responseInfos    = [];
  2160. 437.  -
  2161. 438.  -   box.removeButtons();
  2162. 439.  -   box.addButton(getLang('box_close'), false, 'yes');
  2163. 440.  -
  2164. 441.  -   var progressWrapElem = geByClass1('ads_premoderation_mass_progress_wrap2', box.bodyNode);
  2165. 442.  -   var progressElem     = geByClass1('ads_gradient_progress', box.bodyNode);
  2166. 443.  -   var resultElem       = geByClass1('ads_premoderation_mass_result', box.bodyNode);
  2167. 444.  -   var resultTextElem   = geByClass1('ads_premoderation_mass_result_text', box.bodyNode);
  2168. 445.  -   var resultMoreElem   = geByClass1('ads_premoderation_mass_result_more', box.bodyNode);
  2169. 446.  -   drawProgress();
  2170. 447.  -   show(progressWrapElem);
  2171. 448.  -
  2172. 449.  -   for (var i = 0; requestKey = requestsKeys[i]; i++) {
  2173. 450.  -     AdsModer.premoderationProcessRequest(action, requestKey, requestKeyModer, onComplete);
  2174. 451.  -   }
  2175. 452.  -
  2176. 453.  -   function onComplete(response, responseRequestKey, responseText) {
  2177. 454.  -     var responseAdId = cur.requestsParams[responseRequestKey].ad_id;
  2178. 455.  -     responseInfos.push('<a href="/ads?act=office&union_id='+responseAdId+'" target="_blank">'+responseAdId+' - '+responseText+'</a>');
  2179. 456.  -
  2180. 457.  -     if (response && (response.approved || response.disapproved)) {
  2181. 458.  -       if (response.approved) {
  2182. 459.  -         approvedCount++;
  2183. 460.  -       }
  2184. 461.  -       if (response.disapproved) {
  2185. 462.  -         disapprovedCount++;
  2186. 463.  -       }
  2187. 464.  -     } else {
  2188. 465.  -       errorCount++;
  2189. 466.  -     }
  2190. 467.  -     completeCount++;
  2191. 468.  -
  2192. 469.  -     drawProgress();
  2193. 470.  -     if (completeCount == totalCount) {
  2194. 471.  -       setTimeout(drawResults, 1000);
  2195. 472.  -     }
  2196. 473.  -   }
  2197. 474.  -   function drawProgress() {
  2198. 475.  -     var percent = intval(completeCount / totalCount * 100);
  2199. 476.  -     setStyle(progressElem, {width: percent + '%'});
  2200. 477.  -   }
  2201. 478.  -   function drawResults() {
  2202. 479.  -     hide(progressWrapElem);
  2203. 480.  -
  2204. 481.  -     var resultText = '';
  2205. 482.  -     if (approvedCount) {
  2206. 483.  -       resultText += '��������: '+approvedCount+'<br>';
  2207. 484.  -     }
  2208. 485.  -     if (disapprovedCount) {
  2209. 486.  -       resultText += '���������: '+disapprovedCount+'<br>';
  2210. 487.  -     }
  2211. 488.  -     resultText += '������: '+errorCount+'<br>';
  2212. 489.  -
  2213. 490.  -     resultTextElem.innerHTML = resultText;
  2214. 491.  -     resultMoreElem.innerHTML = responseInfos.join('<br>');
  2215. 492.  -     show(resultElem);
  2216. 493.  -   }
  2217. 494.  - }
  2218. 495.  -
  2219. 496.  - AdsModer.premoderationTakeUnion = function(unionId, hash) {
  2220. 497.  -   var ajaxParams = {};
  2221. 498.  -   ajaxParams.hash     = hash;
  2222. 499.  -   ajaxParams.union_id = unionId;
  2223. 500.  -   ajaxParams.action   = 'take_union';
  2224. 501.  -   ajax.post('/adsmoder?act=a_premoderation_manage_work', ajaxParams, {onDone: onComplete, onFail: onComplete});
  2225. 502.  -
  2226. 503.  -   function onComplete(response) {
  2227. 504.  -     if (response && response.ok) {
  2228. 505.  -       if (response.redirect) {
  2229. 506.  -         nav.go(response.redirect);
  2230. 507.  -       }
  2231. 508.  -     } else {
  2232. 509.  -       var message = ((response && response.error) ? response.error : '������');
  2233. 510.  -       showFastBox({title: '������', onHide: function() { nav.reload(); }}, message);
  2234. 511.  -     }
  2235. 512.  -     return true;
  2236. 513.  -   }
  2237. 514.  - }
  2238. 515.  -
  2239. 516.  - AdsModer.premoderationTakeBackUnion = function(unionId, hash) {
  2240. 517.  -   var ajaxParams = {};
  2241. 518.  -   ajaxParams.hash     = hash;
  2242. 519.  -   ajaxParams.union_id = unionId;
  2243. 520.  -   ajaxParams.action   = 'take_back_union';
  2244. 521.  -   ajax.post('/adsmoder?act=a_premoderation_manage_work', ajaxParams, {onDone: onComplete, onFail: onComplete});
  2245. 522.  -
  2246. 523.  -   function onComplete(response) {
  2247. 524.  -     if (response && response.ok) {
  2248. 525.  -       nav.reload();
  2249. 526.  -     } else {
  2250. 527.  -       var message = ((response && response.error) ? response.error : '������');
  2251. 528.  -       showFastBox({title: '������', onHide: function() { nav.reload(); }}, message);
  2252. 529.  -     }
  2253. 530.  -     return true;
  2254. 531.  -   }
  2255. 532.  - }
  2256. 533.  -
  2257. 534.  - AdsModer.premoderationStopWork = function(hash) {
  2258. 535.  -   var ajaxParams = {};
  2259. 536.  -   ajaxParams.hash   = hash;
  2260. 537.  -   ajaxParams.action = 'stop_work';
  2261. 538.  -   ajax.post('/adsmoder?act=a_premoderation_manage_work', ajaxParams, {onDone: onComplete, onFail: onComplete});
  2262. 539.  -
  2263. 540.  -   function onComplete(response) {
  2264. 541.  -     if (response && response.ok) {
  2265. 542.  -       nav.reload();
  2266. 543.  -     } else {
  2267. 544.  -       var message = ((response && response.error) ? response.error : '������');
  2268. 545.  -       showFastBox({title: '������', onHide: function() { nav.reload(); }}, message);
  2269. 546.  -     }
  2270. 547.  -     return true;
  2271. 548.  -   }
  2272. 549.  - }
  2273. 550.  -
  2274. 551.  - AdsModer.premoderationFixRequest = function(wrapElemId, requestId, action, hash) {
  2275. 552.  -   if (!Ads.lock(wrapElemId, onLock, onUnlock)) {
  2276. 553.  -     return;
  2277. 554.  -   }
  2278. 555.  -
  2279. 556.  -   var ajaxParams = {}
  2280. 557.  -   ajaxParams.request_id = requestId;
  2281. 558.  -   ajaxParams.action     = action;
  2282. 559.  -   ajaxParams.hash       = hash;
  2283. 560.  -
  2284. 561.  -   ajax.post('/adsmoder?act=premoderation_fix_request', ajaxParams, {onDone: onComplete, onFail: onComplete});
  2285. 562.  -
  2286. 563.  -   function onComplete(response) {
  2287. 564.  -     Ads.unlock(wrapElemId);
  2288. 565.  -     if (response && response.text_new) {
  2289. 566.  -       var wrapElem = ge(wrapElemId);
  2290. 567.  -       if (wrapElem) {
  2291. 568.  -         wrapElem.parentNode.replaceChild(se(response.text_new), wrapElem);
  2292. 569.  -       }
  2293. 570.  -     }
  2294. 571.  -     return true;
  2295. 572.  -   }
  2296. 573.  -   function onLock() {
  2297. 574.  -     show(geByTag1('img', ge(wrapElemId)));
  2298. 575.  -   }
  2299. 576.  -   function onUnlock() {
  2300. 577.  -     var wrapElem = ge(wrapElemId);
  2301. 578.  -     if (wrapElem) {
  2302. 579.  -       hide(geByTag1('img', wrapElem));
  2303. 580.  -     }
  2304. 581.  -   }
  2305. 582.  - }
  2306. 583.  -
  2307. 584.  - AdsModer.switchOfficeBlock = function(actionLocation, confirmTitle, confirmText, actionText) {
  2308. 585.  -   function switchBlocked() {
  2309. 586.  -     Ads.simpleAjax(actionLocation);
  2310. 587.  -   }
  2311. 588.  -   showFastBox(confirmTitle, confirmText, actionText, switchBlocked, getLang('box_cancel'));
  2312. 589.  - }
  2313. 590.  -
  2314. 591.  - AdsModer.openCancelClicksBox = function(ajaxParams) {
  2315. 592.  -   var showOptions = {params: {}};
  2316. 593.  -   showBox('/adsweb?act=log_cancel_box', ajaxParams, showOptions);
  2317. 594.  - }
  2318. 595.  -
  2319. 596.  - AdsModer.initCancelClicksBox = function(box, ajaxParams) {
  2320. 597.  -   var handler = AdsModer.cancelClicks.pbind(box, ajaxParams);
  2321. 598.  -   box.removeButtons();
  2322. 599.  -   box.addButton(getLang('box_cancel'), false, 'no');
  2323. 600.  -   box.addButton('�������� �����', handler, 'yes');
  2324. 601.  - }
  2325. 602.  -
  2326. 603.  - AdsModer.cancelClicks = function(box, ajaxParams) {
  2327. 604.  -   if (!Ads.lock('cancelClicks', onLock, onUnlock)) {
  2328. 605.  -     return;
  2329. 606.  -   }
  2330. 607.  -
  2331. 608.  -   ajax.post('/adsweb?act=log_cancel', ajaxParams, {onDone: onComplete, onFail: onComplete});
  2332. 609.  -
  2333. 610.  -   function onComplete(response) {
  2334. 611.  -     Ads.unlock('cancelClicks');
  2335. 612.  -     if (response && response.ok) {
  2336. 613.  -       nav.reload();
  2337. 614.  -     } else {
  2338. 615.  -       showFastBox('������', '������');
  2339. 616.  -     }
  2340. 617.  -     return true;
  2341. 618.  -   }
  2342. 619.  -   function onLock() {
  2343. 620.  -     box.showProgress();
  2344. 621.  -   }
  2345. 622.  -   function onUnlock() {
  2346. 623.  -     box.hide();
  2347. 624.  -   }
  2348. 625.  - }
  2349. 626.  -
  2350. 627.  - AdsModer.openClickfraudersPrepareBanBox = function(usersIds, day) {
  2351. 628.  -   var ajaxParams = {};
  2352. 629.  -   ajaxParams.users_ids = usersIds;
  2353. 630.  -   ajaxParams.day       = day;
  2354. 631.  -
  2355. 632.  -   var showOptions = {params: {}};
  2356. 633.  -   showOptions.params.width = 600;
  2357. 634.  -
  2358. 635.  -   showBox('/adsweb?act=clickfrauders_prepare_ban_box', ajaxParams, showOptions);
  2359. 636.  - }
  2360. 637.  -
  2361. 638.  - AdsModer.initClickfraudersPrepareBanBox = function(box, hash, usersIds, day) {
  2362. 639.  -   var prepareBanHandler = AdsModer.clickfraudersPrepareBan.pbind(box, hash, usersIds, day);
  2363. 640.  -   box.removeButtons();
  2364. 641.  -   box.addButton(getLang('box_cancel'), false, 'no');
  2365. 642.  -   box.addButton('��������', prepareBanHandler, 'yes');
  2366. 643.  - }
  2367. 644.  -
  2368. 645.  - AdsModer.clickfraudersPrepareBan = function(box, hash, usersIds, day) {
  2369. 646.  -   if (!Ads.lock('clickfraudersPrepareBan', onLock, onUnlock)) {
  2370. 647.  -     return;
  2371. 648.  -   }
  2372. 649.  -
  2373. 650.  -   var ajaxParams = {};
  2374. 651.  -   ajaxParams.hash      = hash;
  2375. 652.  -   ajaxParams.users_ids = usersIds;
  2376. 653.  -   ajaxParams.day       = day;
  2377. 654.  -
  2378. 655.  -   ajax.post('/adsweb?act=clickfrauders_prepare_ban', ajaxParams, {onDone: onComplete, onFail: onComplete});
  2379. 656.  -
  2380. 657.  -   function onComplete(response) {
  2381. 658.  -     Ads.unlock('clickfraudersPrepareBan');
  2382. 659.  -     if (response && response.message) {
  2383. 660.  -       showFastBox('��', response.message);
  2384. 661.  -     } else {
  2385. 662.  -       showFastBox('������', '������');
  2386. 663.  -     }
  2387. 664.  -     return true;
  2388. 665.  -   }
  2389. 666.  -   function onLock() {
  2390. 667.  -     box.showProgress();
  2391. 668.  -   }
  2392. 669.  -   function onUnlock() {
  2393. 670.  -     box.hide();
  2394. 671.  -   }
  2395. 672.  - }
  2396. 673.  -
  2397. 674.  - AdsModer.historyGet = function(elem, notNavigationParam) {
  2398. 675.  -   while (elem && elem.nodeName.toLowerCase() !== 'form') {
  2399. 676.  -     elem = elem.parentNode;
  2400. 677.  -   }
  2401. 678.  -   if (!elem) {
  2402. 679.  -     return;
  2403. 680.  -   }
  2404. 681.  -   var values = serializeForm(elem);
  2405. 682.  -   var params = values.other_params;
  2406. 683.  -   delete values.other_params;
  2407. 684.  -   for (var i in values) {
  2408. 685.  -     if (values[i]) {
  2409. 686.  -       params = '&' + i + '=' + values[i] + params;
  2410. 687.  -     }
  2411. 688.  -   }
  2412. 689.  -   nav.go('/adsmoder?act=history' + params);
  2413. 690.  - }
  2414. 691.  -
  2415. 692.  - AdsModer.historyToggleFilters = function() {
  2416. 693.  -   var filtersContainerElem = ge('ads_moder_history');
  2417. 694.  -   var filtersElems = geByClass('ads_navigation_link', filtersContainerElem);
  2418. 695.  -   for (var i = 0; elem = filtersElems[i]; i++) {
  2419. 696.  -       if (hasClass(elem, 'current')) {
  2420. 697.  -           continue
  2421. 698.  -       }
  2422. 699.  -       elem = elem.parentNode;
  2423. 700.  -       if (elem.nodeName.toLowerCase() !== 'span') {
  2424. 701.  -           continue
  2425. 702.  -       }
  2426. 703.  -       toggleClass(elem, 'unshown');
  2427. 704.  -   }
  2428. 705.  - }
  2429. 706.  -
  2430. 707.  - AdsModer.statSummaryInit = function(periodType, fromYear, fromMonth, fromDay, toYear, toMonth, toDay) {
  2431. 708.  -   var datePickerOptionsFrom = {
  2432. 709.  -     mode: (periodType === 'month') ? 'm' : 'd',
  2433. 710.  -     year:  fromYear,
  2434. 711.  -     month: fromMonth,
  2435. 712.  -     day:   fromDay,
  2436. 713.  -     width: 130,
  2437. 714.  -     pastActive: true,
  2438. 715.  -     onUpdate: function(date, mode) {
  2439. 716.  -       fromYear  = date.y;
  2440. 717.  -       fromMonth = date.m;
  2441. 718.  -       fromDay   = date.d;
  2442. 719.  -       updateLink();
  2443. 720.  -     }
  2444. 721.  -   };
  2445. 722.  -   var datePickerOptionsTo = {
  2446. 723.  -     mode: (periodType === 'month') ? 'm' : 'd',
  2447. 724.  -     year:  toYear,
  2448. 725.  -     month: toMonth,
  2449. 726.  -     day:   toDay,
  2450. 727.  -     width: 130,
  2451. 728.  -     pastActive: true,
  2452. 729.  -     onUpdate: function(date, mode) {
  2453. 730.  -       toYear  = date.y;
  2454. 731.  -       toMonth = date.m;
  2455. 732.  -       toDay   = date.d;
  2456. 733.  -       updateLink();
  2457. 734.  -     }
  2458. 735.  -   };
  2459. 736.  -   new Datepicker(ge('ads_moder_stat_summary_from'), datePickerOptionsFrom);
  2460. 737.  -   new Datepicker(ge('ads_moder_stat_summary_to'), datePickerOptionsTo);
  2461. 738.  -
  2462. 739.  -   function updateLink() {
  2463. 740.  -     var fromPeriod = fromYear * 100 + fromMonth;
  2464. 741.  -     var toPeriod   = toYear   * 100 + toMonth;
  2465. 742.  -     if (periodType !== 'month') {
  2466. 743.  -       fromPeriod = fromPeriod * 100 + fromDay;
  2467. 744.  -       toPeriod   = toPeriod   * 100 + toDay;
  2468. 745.  -     }
  2469. 746.  -     var linkElem = ge('ads_moder_stat_summary_range_link');
  2470. 747.  -     linkElem.href = linkElem.href.replace(/&period=\d+-\d+/, '&period=' + fromPeriod + '-' + toPeriod);
  2471. 748.  -     linkElem.style.opacity = 1;
  2472. 749.  -   }
  2473. 750.  - }
  2474. 751.  -
  2475. 752.  - AdsModer.statSummaryShowAllProperties = function() {
  2476. 753.  -   var propertiesElem = ge('ads_moder_stat_summary_filter_properties');
  2477. 754.  -   var elems = geByClass('ads_moder_stat_summary_filter_property', propertiesElem);
  2478. 755.  -   each(elems, show);
  2479. 756.  -   hide('ads_moder_stat_summary_filter_properties_shower');
  2480. 757.  - }
  2481. 758.  -
  2482. 759.  - AdsModer.statSummaryDistrShowCountLabel = function(id, i, val) {
  2483. 760.  -   var contXy = getXY(ge(id+'_stats_graph_wrap'));
  2484. 761.  -   var colXy  = getXY(ge(id+'_distr_col_'+i));
  2485. 762.  -
  2486. 763.  -   setStyle(ge(id+'_max_label'), {
  2487. 764.  -     left: colXy[0] - contXy[0] + 14,
  2488. 765.  -     top:  colXy[1] - contXy[1] - 11
  2489. 766.  -   });
  2490. 767.  -   ge(id+'_max_label').innerHTML = val;
  2491. 768.  -   show(id+'_max_label');
  2492. 769.  -   setStyle(ge(id+'_max_label_out'), {
  2493. 770.  -     width:  ge(id+'_max_label').offsetWidth + 2,
  2494. 771.  -     height: ge(id+'_max_label').offsetHeight + 2,
  2495. 772.  -     left:   colXy[0] - contXy[0] + 13,
  2496. 773.  -     top:    colXy[1] - contXy[1] - 12
  2497. 774.  -   });
  2498. 775.  -   show(id+'_max_label_out');
  2499. 776.  -   setStyle(ge(id+'_max_label_out2'), {
  2500. 777.  -     width:  ge(id+'_max_label').offsetWidth + 4,
  2501. 778.  -     height: ge(id+'_max_label').offsetHeight + 4,
  2502. 779.  -     left:   colXy[0] - contXy[0] + 12,
  2503. 780.  -     top:    colXy[1] - contXy[1] - 13
  2504. 781.  -   });
  2505. 782.  -   show(id+'_max_label_out2');
  2506. 783.  - }
  2507. 784.  -
  2508. 785.  - AdsModer.statSummaryDistrHideCountLabel = function(id) {
  2509. 786.  -   hide(id+'_max_label');
  2510. 787.  -   hide(id+'_max_label_out');
  2511. 788.  -   hide(id+'_max_label_out2');
  2512. 789.  - }
  2513. 790.  -
  2514. 791.  - AdsModer.statSummaryShowVotesBox = function(periodType, period) {
  2515. 792.  -   var ajaxParams = {};
  2516. 793.  -   ajaxParams.period_type = periodType;
  2517. 794.  -   ajaxParams.period      = period;
  2518. 795.  -
  2519. 796.  -   var showOptions = {params: {}};
  2520. 797.  -
  2521. 798.  -   showBox('/adsmoder?act=stat_summary_votes', ajaxParams, showOptions);
  2522. 799.  - }
  2523. 800.  -
  2524. 801.  - AdsModer.increaseBudget = function() {
  2525. 802.  -   if (!Ads.lock('increaseBudget', onLock, onUnlock)) {
  2526. 803.  -     return;
  2527. 804.  -   }
  2528. 805.  -
  2529. 806.  -   var ajaxParams = {};
  2530. 807.  -   ajaxParams.union_id     = val('ads_increase_budget_union_id');
  2531. 808.  -   ajaxParams.money_amount = val('ads_increase_budget_amount');
  2532. 809.  -   ajaxParams.hash         = val('ads_increase_budget_hash');
  2533. 810.  -
  2534. 811.  -   ajax.post('/adsmoder?act=increase_budget', ajaxParams, {onDone: onComplete, onFail: onComplete});
  2535. 812.  -
  2536. 813.  -   function onComplete(response) {
  2537. 814.  -     Ads.unlock('increaseBudget');
  2538. 815.  -     if (response && response.redirect) {
  2539. 816.  -       nav.go(response.redirect);
  2540. 817.  -     } else {
  2541. 818.  -       var msg = ((response && response.error) ? response.error : '������');
  2542. 819.  -       showFastBox('������', msg);
  2543. 820.  -     }
  2544. 821.  -     return true;
  2545. 822.  -   }
  2546. 823.  -   function onLock() {
  2547. 824.  -     lockButton('ads_increase_budget_button');
  2548. 825.  -   }
  2549. 826.  -   function onUnlock() {
  2550. 827.  -     unlockButton('ads_increase_budget_button');
  2551. 828.  -   }
  2552. 829.  - }
  2553. 830.  -
  2554. 831.  - try{stManager.done('ads_moder.js');}catch(e){}
  2555. ------
Advertisement
Add Comment
Please, Sign In to add comment