Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Файл - ads.css (Старый размер - 34723 | Новый - 0):
- 0. - #ads_css { display: none; }
- 1. -
- 2. - /* ------- */
- 3. - /* General */
- 4. - /* ------- */
- 5. -
- 6. - ul.ads_listing {
- 7. - padding: 0 0 0 30px;
- 8. - margin: 0 0 15px 0;
- 9. - }
- 10. - ul.ads_listing li {
- 11. - list-style: square;
- 12. - color: #758EAC;
- 13. - line-height: 160%;
- 14. - }
- 15. - ul.ads_listing li span {
- 16. - color: #000000;
- 17. - }
- 18. -
- 19. - a .ads_sub_link:hover {
- 20. - text-decoration: underline;
- 21. - }
- 22. -
- 23. - .ads_h2_add {
- 24. - font-weight: normal;
- 25. - font-size: 11px;
- 26. - padding-top: 0.185em;
- 27. - }
- 28. - .font_medium .ads_h2_add {
- 29. - font-size: 12px;
- 30. - padding-top: 0.14em;
- 31. - }
- 32. -
- 33. - .ads_gradient_progress_wrap {
- 34. - height: 18px;
- 35. - margin: 0 auto;
- 36. - background: #FFFFFF;
- 37. - border: 1px solid #CCCCCC;
- 38. - }
- 39. -
- 40. - .ads_gradient_progress {
- 41. - height: 18px;
- 42. - background: #597DA3 url(/images/progress_grad.gif) repeat;
- 43. - border: 1px solid #45688E;
- 44. - margin: -1px;
- 45. - }
- 46. -
- 47. - /* ---- */
- 48. - /* Page */
- 49. - /* ---- */
- 50. -
- 51. - #ads_page_wrap2 {
- 52. - border: 1px solid #EBF0F4;
- 53. - border-top: 0;
- 54. - width: 791px;
- 55. - float: right;
- 56. - }
- 57. -
- 58. - #ads_page_wrap1 {
- 59. - border: 1px solid #DAE1E8;
- 60. - border-top: 0;
- 61. - width: 789px;
- 62. - overflow: hidden;
- 63. - }
- 64. -
- 65. - #ads_page {
- 66. - padding: 20px;
- 67. - }
- 68. - #ads_page.ads_page_no_padding {
- 69. - padding: 0;
- 70. - }
- 71. -
- 72. - #ads_page_top {
- 73. - padding-top: 10px;
- 74. - }
- 75. -
- 76. - .ads_page_extra_wide #ads_page_wrap2,
- 77. - .ads_page_extra_wide #ads_page_wrap1 {
- 78. - width: auto;
- 79. - }
- 80. -
- 81. - .ads_page_extra_wide #ads_page_wrap2 {
- 82. - float: none;
- 83. - }
- 84. -
- 85. - #ads_page_bottom_info {
- 86. - border-top: 1px solid #DAE1E8;
- 87. - background-color: #F7F7F7;
- 88. - text-align: center;
- 89. - padding: 6px 20px;
- 90. - color: #777777;
- 91. - }
- 92. -
- 93. - .ads_page_small {
- 94. - padding: 0 60px;
- 95. - }
- 96. -
- 97. - /* ----- */
- 98. - /* Title */
- 99. - /* ----- */
- 100. -
- 101. - #ads_page_title {
- 102. - background-color: #E9EDF1;
- 103. - padding: 7px 10px;
- 104. - margin: 0;
- 105. - font-weight: bold;
- 106. - color: #607387;
- 107. - line-height: 140%;
- 108. - }
- 109. -
- 110. - #ads_page_title h1 {
- 111. - font-size: 1em;
- 112. - overflow: hidden;
- 113. - padding: 0;
- 114. - margin: 0;
- 115. - }
- 116. -
- 117. - #ads_page_title h1 a {
- 118. - color: #2B587A;
- 119. - }
- 120. -
- 121. - #ads_page_title b {
- 122. - color: #AAB7C5;
- 123. - float: right;
- 124. - }
- 125. -
- 126. - /* --------------- */
- 127. - /* Main navigation */
- 128. - /* --------------- */
- 129. -
- 130. - .ads_page_extra_wide #ads_navigation {
- 131. - display: none;
- 132. - }
- 133. -
- 134. - #ads_navigation {
- 135. - width: 150px;
- 136. - padding: 12px 0 12px 0;
- 137. - word-wrap: break-word;
- 138. - }
- 139. -
- 140. - #ads_navigation .edit_button_wrap {
- 141. - padding-bottom: 10px;
- 142. - }
- 143. -
- 144. - #ads_navigation.ads_nav .nav {
- 145. - max-width: 128px;
- 146. - }
- 147. -
- 148. - #ads_navigation a:hover {
- 149. - text-decoration: none;
- 150. - }
- 151. -
- 152. - /* ------------------------------ */
- 153. - /* Main navigation - offices menu */
- 154. - /* ------------------------------ */
- 155. -
- 156. - #ads_navigation.ads_nav #ads_navigation_offices_menu.nav {
- 157. - padding-right: 2px;
- 158. - width: 137px;
- 159. - max-width: 137px;
- 160. - }
- 161. -
- 162. - #ads_navigation.ads_nav #ads_navigation_offices_menu.nav .dd_link {
- 163. - display: block;
- 164. - }
- 165. -
- 166. - #ads_navigation.ads_nav #ads_navigation_offices_menu.nav .dd_link #ads_navigation_offices_menu_text_wrap {
- 167. - display: block;
- 168. - overflow: hidden;
- 169. - white-space: nowrap;
- 170. - font-size: 0; /* Remove extra margin from inline-block */
- 171. - }
- 172. -
- 173. - #ads_navigation.ads_nav #ads_navigation_offices_menu.nav .dd_link #ads_navigation_offices_menu_text {
- 174. - display: inline-block;
- 175. - overflow: hidden;
- 176. - white-space: nowrap;
- 177. - font-size: 11px; /* Remove extra margin from inline-block */
- 178. - }
- 179. - .font_medium #ads_navigation.ads_nav #ads_navigation_offices_menu.nav .dd_link #ads_navigation_offices_menu_text {
- 180. - font-size: 12px;
- 181. - }
- 182. -
- 183. - .dd_menu.ads_navigation_dd_menu_header_wrap {
- 184. - margin: 4px 0 0 7px;
- 185. - }
- 186. -
- 187. - .dd_menu.ads_navigation_dd_menu_header_wrap .dd_menu_header {
- 188. - width: 148px;
- 189. - }
- 190. -
- 191. - .dd_menu.ads_navigation_dd_menu_header_wrap .dd_menu_header div {
- 192. - background-position: right -14px;
- 193. - *background-position: right -13px;
- 194. - }
- 195. -
- 196. - .dd_menu.ads_navigation_dd_menu_header_wrap .dd_menu_header div #ads_navigation_dd_menu_header_text {
- 197. - padding: 1px 0 1px 4px;
- 198. - display: block;
- 199. - overflow: hidden;
- 200. - white-space: nowrap;
- 201. - }
- 202. -
- 203. - .dd_menu.ads_navigation_dd_menu_header_wrap .dd_menu_body .ads_office_name_wrap {
- 204. - display: inline-block;
- 205. - overflow: hidden;
- 206. - max-width: 300px;
- 207. - vertical-align: top;
- 208. - }
- 209. -
- 210. - /* ---------------------- */
- 211. - /* Main navigation - news */
- 212. - /* ---------------------- */
- 213. -
- 214. - .ads_naviagation_news {
- 215. - padding: 20px 0 5px 11px;
- 216. - }
- 217. -
- 218. - .ads_naviagation_news .news_title {
- 219. - font-weight: bold;
- 220. - color: #2B587A;
- 221. - padding-bottom: 10px;
- 222. - }
- 223. -
- 224. - .ads_naviagation_news ul {
- 225. - padding: 0;
- 226. - margin: 0;
- 227. - list-style-type: none;
- 228. - color: #758EAC;
- 229. - }
- 230. -
- 231. - .ads_naviagation_news li {
- 232. - padding-bottom: 10px;
- 233. - }
- 234. -
- 235. - .ads_naviagation_news span {
- 236. - color: #666666;
- 237. - font-size: 0.91em;
- 238. - }
- 239. -
- 240. - #ads_navigation .ads_naviagation_news a:hover {
- 241. - text-decoration: underline;
- 242. - }
- 243. -
- 244. - /* ---------- */
- 245. - /* Navigation */
- 246. - /* ---------- */
- 247. -
- 248. - .ads_nav .nav {
- 249. - padding: 6px 11px 7px 11px;
- 250. - display: block;
- 251. - overflow: hidden;
- 252. - }
- 253. -
- 254. - .ads_nav .nav:hover {
- 255. - background-color: #E1E7ED;
- 256. - text-decoration: none;
- 257. - }
- 258. -
- 259. - .ads_nav .nav_selected,
- 260. - .ads_nav .nav_selected:hover {
- 261. - background-color: #6186AD;
- 262. - color: white;
- 263. - }
- 264. -
- 265. - .ads_nav .nav_separator {
- 266. - border-bottom: 1px solid #D3DBE1;
- 267. - height: 1px;
- 268. - overflow: hidden;
- 269. - margin: 7px 0px 8px 0;
- 270. - }
- 271. -
- 272. - /* ---- */
- 273. - /* Tabs */
- 274. - /* ---- */
- 275. -
- 276. - .ads_tabs_filters {
- 277. - background-color: #F7F7F7;
- 278. - border-bottom: 1px solid #DAE1E8;
- 279. - padding: 10px 10px 5px 10px;
- 280. - }
- 281. - .ads_tabs_filters.separate {
- 282. - border-top: 1px solid #DAE1E8;
- 283. - }
- 284. - .ads_round_tab_wrap {
- 285. - padding: 0 5px 5px 0;
- 286. - text-align: center;
- 287. - }
- 288. - .ads_round_tab_wrap .round_tab.disabled:hover,
- 289. - .ads_round_tab_wrap .round_tab.label:hover {
- 290. - background-color: transparent;
- 291. - cursor: default;
- 292. - }
- 293. - .ads_round_tab_wrap .round_tab.label {
- 294. - color: #555555;
- 295. - }
- 296. - .ads_round_tabs_period_day .round_tab {
- 297. - width: 100px;
- 298. - }
- 299. - .ads_round_tabs_period_week .round_tab {
- 300. - width: 180px;
- 301. - }
- 302. - .ads_round_tabs_period_month .round_tab {
- 303. - width: 100px;
- 304. - }
- 305. -
- 306. - /* ----- */
- 307. - /* Table */
- 308. - /* ----- */
- 309. -
- 310. - .ads_table {
- 311. - border-collapse: collapse;
- 312. - }
- 313. - .ads_table.wide {
- 314. - width: 100%;
- 315. - }
- 316. -
- 317. - .ads_table tr.ads_table_row {
- 318. - border-left: 1px solid #E9EDF0;
- 319. - border-right: 1px solid #E9EDF0;
- 320. - }
- 321. - .ads_table tr.ads_table_row.header {
- 322. - border: 1px solid #E9EDF0;
- 323. - background-color: #E9EDF0;
- 324. - }
- 325. - .ads_table tr.ads_table_row.last {
- 326. - border-bottom: 1px solid #E9EDF0;
- 327. - }
- 328. - .ads_table tr.ads_table_row.even {
- 329. - background-color: #F5F7F7;
- 330. - }
- 331. - .ads_table tr.ads_table_row.result {
- 332. - background-color: #F0F3F5;
- 333. - }
- 334. -
- 335. - .ads_table th.ads_table_cell {
- 336. - color: #587183;
- 337. - font-weight: bold;
- 338. - }
- 339. -
- 340. - .ads_table th.ads_table_cell,
- 341. - .ads_table td.ads_table_cell {
- 342. - padding: 0 8px;
- 343. - vertical-align: middle;
- 344. - height: 32px;
- 345. - }
- 346. - .ads_table.small th.ads_table_cell,
- 347. - .ads_table.small td.ads_table_cell {
- 348. - height: 16px;
- 349. - }
- 350. -
- 351. - .ads_table th.ads_table_cell.first,
- 352. - .ads_table td.ads_table_cell.first {
- 353. - padding-left: 10px;
- 354. - }
- 355. - .ads_table th.ads_table_cell.last,
- 356. - .ads_table td.ads_table_cell.last {
- 357. - padding-right: 10px;
- 358. - }
- 359. - .ads_table.wide th.ads_table_cell.left_wide,
- 360. - .ads_table.wide td.ads_table_cell.left_wide {
- 361. - padding-left: 2px;
- 362. - }
- 363. - .ads_table.wide th.ads_table_cell.right_wide,
- 364. - .ads_table.wide td.ads_table_cell.right_wide {
- 365. - padding-right: 2px;
- 366. - }
- 367. -
- 368. - .ads_table th.ads_table_cell.sort:hover {
- 369. - background-color: #F2F4F5;
- 370. - cursor: pointer;
- 371. - }
- 372. -
- 373. - .ads_table td.ads_table_cell.shower {
- 374. - color: #587183;
- 375. - font-weight: bold;
- 376. - cursor: pointer;
- 377. - text-align: center;
- 378. - border-top: 1px solid #E9EDF0;
- 379. - }
- 380. - .ads_table td.ads_table_cell.shower:hover {
- 381. - background-color: #E1E7EB;
- 382. - }
- 383. -
- 384. - .ads_table td.ads_table_cell_empty {
- 385. - line-height: 200%;
- 386. - text-align: center;
- 387. - background-color: #F7F7F7;
- 388. - color: #777777;
- 389. - padding: 20px 50px;
- 390. - }
- 391. - .ads_table.small td.ads_table_cell_empty {
- 392. - padding: 5px 10px;
- 393. - }
- 394. -
- 395. - /* ------------ */
- 396. - /* Intro - main */
- 397. - /* ------------ */
- 398. -
- 399. - .ads_intro_page,
- 400. - .ads_intro_section_title {
- 401. - line-height: 160%;
- 402. - }
- 403. -
- 404. - .ads_intro_title,
- 405. - .ads_intro_section_title {
- 406. - color: #5c7b9b;
- 407. - }
- 408. -
- 409. - .ads_intro_subsection_title,
- 410. - .ads_intro_news_title {
- 411. - color: #4d7199;
- 412. - }
- 413. -
- 414. - .ads_intro_title {
- 415. - font-size: 1.3em;
- 416. - font-weight: bold;
- 417. - padding-bottom: 16px;
- 418. - }
- 419. -
- 420. - .ads_intro_section_title {
- 421. - font-size: 1.2em;
- 422. - font-weight: bold;
- 423. - padding: 8px 10px 0 10px;
- 424. - }
- 425. -
- 426. - .ads_intro_subsection_title {
- 427. - font-size: 1.2em;
- 428. - font-weight: bold;
- 429. - padding-bottom: 8px;
- 430. - }
- 431. -
- 432. - .ads_intro_news_title {
- 433. - font-size: 1.2em;
- 434. - font-weight: bold;
- 435. - border-bottom: 1px solid #dae1e8;
- 436. - display: block;
- 437. - }
- 438. - .ads_intro_news_title:hover {
- 439. - text-decoration: none;
- 440. - }
- 441. -
- 442. - .ads_intro_subsection_text {
- 443. - color: #808080;
- 444. - }
- 445. -
- 446. - .ads_intro_header_wrap2 {
- 447. - height: 380px;
- 448. - }
- 449. - .ads_intro_header_wrap1 {
- 450. - height: 280px;
- 451. - background-color: #edf1f5;
- 452. - padding: 22px 40px 0 40px;
- 453. - position: relative;
- 454. - }
- 455. -
- 456. - .ads_intro_text {
- 457. - width: 440px;
- 458. - }
- 459. -
- 460. - .ads_intro_main_image {
- 461. - background-image: url(/images/ads_intro_main.png);
- 462. - background-size: 130px 130px;
- 463. - width: 130px;
- 464. - height: 130px;
- 465. - position: absolute;
- 466. - right: 70px;
- 467. - top: 30px;
- 468. - }
- 469. - .is_2x .ads_intro_main_image {
- 470. - background-image: url(/images/ads_intro_main_2x.png);
- 471. - }
- 472. -
- 473. - .ads_intro_sections {
- 474. - margin-right: -100px;
- 475. - top: 190px;
- 476. - position: absolute;
- 477. - }
- 478. -
- 479. - .ads_intro_section_button {
- 480. - width: 188px;
- 481. - height: 162px;
- 482. - background-color: #f4f6f8;
- 483. - border: 1px solid #e1e6eb;
- 484. - border-bottom: 2px solid #dce1e6;
- 485. - display: inline-block;
- 486. - margin-right: 43px;
- 487. - -moz-border-radius: 3px;
- 488. - -webkit-border-radius: 3px;
- 489. - -khtml-border-radius: 3px;
- 490. - border-radius: 3px;
- 491. - text-align: center;
- 492. - position: relative;
- 493. - top: 0;
- 494. -
- 495. - -webkit-transition: all 200ms ease-out;
- 496. - -moz-transition: all 200ms ease-out;
- 497. - -o-transition: all 200ms ease-out;
- 498. - transition: all 200ms ease-out;
- 499. - }
- 500. - .ads_intro_section_button:hover {
- 501. - text-decoration: none;
- 502. - top: -8px;
- 503. - }
- 504. -
- 505. - .ads_intro_section_image {
- 506. - width: 95px;
- 507. - height: 82px;
- 508. - background-size: 95px auto;
- 509. - background-image: url(/images/ads_intro_icons.png);
- 510. - display: inline-block;
- 511. - margin-top: 16px;
- 512. - }
- 513. - .is_2x .ads_intro_section_image {
- 514. - background-image: url(/images/ads_intro_icons_2x.png);
- 515. - }
- 516. - .ads_intro_section_button2 .ads_intro_section_image {
- 517. - background-position: 0 -82px;
- 518. - }
- 519. - .ads_intro_section_button3 .ads_intro_section_image {
- 520. - background-position: 0 -164px;
- 521. - }
- 522. -
- 523. - .ads_intro_section_label {
- 524. - width: 60px;
- 525. - height: 60px;
- 526. - background-size: 60px auto;
- 527. - position: absolute;
- 528. - left: -2px;
- 529. - top: -2px;
- 530. - }
- 531. - .ads_intro_section_label.label_ru {
- 532. - background-image: url(/images/ads_intro_label_new_ru.png);
- 533. - }
- 534. - .is_2x .ads_intro_section_label.label_ru {
- 535. - background-image: url(/images/ads_intro_label_new_ru_2x.png);
- 536. - }
- 537. - .ads_intro_section_label.label_en {
- 538. - background-image: url(/images/ads_intro_label_new_en.png);
- 539. - }
- 540. - .is_2x .ads_intro_section_label.label_en {
- 541. - background-image: url(/images/ads_intro_label_new_en_2x.png);
- 542. - }
- 543. - .ads_intro_section_label.label_ua {
- 544. - background-image: url(/images/ads_intro_label_new_ua.png);
- 545. - }
- 546. - .is_2x .ads_intro_section_label.label_ua {
- 547. - background-image: url(/images/ads_intro_label_new_ua_2x.png);
- 548. - }
- 549. -
- 550. - .ads_intro_subsections {
- 551. - padding: 3px 25px 20px 20px;
- 552. - display: inline-block;
- 553. - vertical-align: top;
- 554. - }
- 555. - .ads_intro_subsection {
- 556. - padding: 15px 20px;
- 557. - display: block;
- 558. - width: 423px;
- 559. - }
- 560. - .ads_intro_subsection:hover {
- 561. - text-decoration: none;
- 562. - background: #f7f7f7;
- 563. - }
- 564. -
- 565. - .ads_intro_news {
- 566. - width: 200px;
- 567. - padding: 18px 0 20px 0;
- 568. - display: inline-block;
- 569. - }
- 570. - .ads_intro_news_widget_wrap {
- 571. - margin-left: -10px;
- 572. - padding-top: 8px;
- 573. - height: 240px;
- 574. - overflow: hidden;
- 575. - }
- 576. - .ads_intro_news_all {
- 577. - display: block;
- 578. - text-align: center;
- 579. - padding: 4px 0;
- 580. - }
- 581. - .ads_intro_news_all:hover {
- 582. - text-decoration: none;
- 583. - background-color: #f7f7f7;
- 584. - }
- 585. -
- 586. - /* ----------- */
- 587. - /* Intro - box */
- 588. - /* ----------- */
- 589. -
- 590. - .wk_ads_intro .wk_wiki_content {
- 591. - font-size: 1em;
- 592. - line-height: 100%;
- 593. - }
- 594. - .wk_ads_intro #wk_content {
- 595. - width: 564px;
- 596. - }
- 597. - .wk_ads_intro #wk_summary {
- 598. - width: 400px;
- 599. - }
- 600. -
- 601. - .ads_intro_box.ads_text,
- 602. - .ads_intro_box .ads_text {
- 603. - line-height: 160%;
- 604. - }
- 605. -
- 606. - .ads_intro_box.ads_text_big {
- 607. - font-size: 1.09em;
- 608. - }
- 609. -
- 610. - .ads_intro_box h4 {
- 611. - margin-bottom: 10px;
- 612. - }
- 613. - .ads_intro_box .listing {
- 614. - margin-bottom: 30px;
- 615. - }
- 616. -
- 617. - .ads_intro_box_center {
- 618. - text-align: center;
- 619. - }
- 620. -
- 621. - .ads_intro_box_targeting_image,
- 622. - .ads_intro_box_posts_image,
- 623. - .ads_intro_box_offers_image {
- 624. - background-size: 160px 160px;
- 625. - width: 160px;
- 626. - height: 160px;
- 627. - display: inline-block;
- 628. - margin: 25px 0;
- 629. - }
- 630. - .ads_intro_box_targeting_image {
- 631. - margin-top: 0;
- 632. - }
- 633. - .ads_intro_box_targeting_image {
- 634. - background-image: url(/images/ads_intro_targeting.png);
- 635. - }
- 636. - .is_2x .ads_intro_box_targeting_image {
- 637. - background-image: url(/images/ads_intro_targeting_2x.png);
- 638. - }
- 639. - .ads_intro_box_posts_image {
- 640. - background-image: url(/images/join/ads_union.png);
- 641. - }
- 642. - .is_2x .ads_intro_box_posts_image {
- 643. - background-image: url(/images/join/ads_union_2x.png);
- 644. - }
- 645. - .ads_intro_box_offers_image {
- 646. - background-image: url(/images/ads_intro_offers.png);
- 647. - }
- 648. - .is_2x .ads_intro_box_offers_image {
- 649. - background-image: url(/images/ads_intro_offers_2x.png);
- 650. - }
- 651. -
- 652. - .ads_intro_box_targeting_office {
- 653. - margin-top: 10px;
- 654. - display: inline-block;
- 655. - }
- 656. -
- 657. - /* ------ */
- 658. - /* Office */
- 659. - /* ------ */
- 660. -
- 661. - .ads_create_button_office {
- 662. - float: right;
- 663. - position: relative;
- 664. - width: 0;
- 665. - }
- 666. - .ads_create_button_office .edit_button_wrap {
- 667. - position: absolute;
- 668. - right: 0;
- 669. - }
- 670. -
- 671. - /* Other */
- 672. -
- 673. - /* --- */
- 674. - /* OLD */
- 675. - /* --- */
- 676. -
- 677. - /* From rustyle.css */
- 678. -
- 679. - /* Uses in paginated_table.js */
- 680. - .ads_lite_cb {
- 681. - background: transparent url(/images/icons/check_lt.gif) 0px 0px no-repeat;
- 682. - line-height: 0.81em;
- 683. - vertical-align: baseline;
- 684. - padding: 0px 0px 1px 20px;
- 685. - cursor: pointer;
- 686. - }
- 687. - .ads_lite_cb:hover {
- 688. - background-position: 0px -32px;
- 689. - text-decoration: none;
- 690. - }
- 691. - .ads_lite_cb.on {
- 692. - background-position: 0px -16px;
- 693. - }
- 694. - .ads_lite_cb.on:hover {
- 695. - background-position: 0px -48px;
- 696. - }
- 697. -
- 698. - .ads_mass_act_container {
- 699. - text-align: right;
- 700. - }
- 701. - .ads_mass_act_container div {
- 702. - margin-right: 8px;
- 703. - margin-bottom: 5px;
- 704. - }
- 705. - .ads_mass_act_container button {
- 706. - height: 21px;
- 707. - line-height: 0.9em;
- 708. - padding: 4px 10px 4px;
- 709. - }
- 710. - .ads_search_cell {
- 711. - width: 140px;
- 712. - }
- 713. - .ads_search_cell div.pt_search_container {
- 714. - margin: 0px -3px 5px -3px;
- 715. - }
- 716. -
- 717. - div.ads_selecting_subclasses {
- 718. - margin-bottom: 4px;
- 719. - }
- 720. -
- 721. - .dd_menu_header.ads_dd_wide.ads_dd_header_popup div {
- 722. - background: url(/images/flydead.gif) no-repeat right 6px #FFFFFF;
- 723. - padding-right: 17px;
- 724. - border: 1px solid #FFFFFF;
- 725. - color: #2B587A;
- 726. - font-weight: normal;
- 727. - text-decoration: none;
- 728. - }
- 729. -
- 730. - .dd_menu_header.ads_dd_wide div {
- 731. - background: #5e82a8 url(/images/flydead.gif) no-repeat right -12px;
- 732. - width: 106px;
- 733. - }
- 734. -
- 735. - .dd_menu_body.ads_dd_wide .dd_menu_rows a {
- 736. - height: 20px;
- 737. - }
- 738. - .dd_menu_body.ads_dd_wide .dd_menu_rows a .ads_status_image_span {
- 739. - margin: 4px 5px -2px -1px;
- 740. - }
- 741. -
- 742. - .dd_menu_header.ads_dd_wide div .ads_status_image_span {
- 743. - margin: 4px 5px -1px -1px;
- 744. - }
- 745. - .dd_menu_header.ads_dd_wide div {
- 746. - line-height: 1.45em;
- 747. - }
- 748. -
- 749. - td.paginated_table_cell.column_status_view {
- 750. - padding-left: 10px;
- 751. - }
- 752. -
- 753. - .ads_status_selector_box {
- 754. - display: block;
- 755. - margin: 0px auto;
- 756. - width: 20px;
- 757. - height: 20px;
- 758. - }
- 759. -
- 760. - .ads_status_selector_box.pnt {
- 761. - cursor: pointer;
- 762. - }
- 763. -
- 764. - .ads_status_selector_box.pnt:hover {
- 765. - background-color: #E1E7ED;
- 766. - border-radius: 3px;
- 767. - -moz-border-radius: 3px;
- 768. - }
- 769. -
- 770. - #ads_unions_content .table_label {
- 771. - min-width: 150px;
- 772. - max-width: 180px;
- 773. - color: rgb(102, 102, 102);
- 774. - padding: 0 10px 7px 0;
- 775. - vertical-align: top;
- 776. - word-wrap: break-word;
- 777. - }
- 778. - #ads_unions_content .table_value {
- 779. - padding: 0 0 7px 0;
- 780. - vertical-align: top;
- 781. - word-wrap: break-word;
- 782. - }
- 783. -
- 784. - #ads_unions_content.ad_help {
- 785. - padding: 0;
- 786. - }
- 787. -
- 788. - #ads_unions_content {
- 789. - vertical-align: top;
- 790. - }
- 791. -
- 792. - #ads_union_children,
- 793. - #ads_unions_budget,
- 794. - #ads_unions_budget_posts {
- 795. - padding-top: 20px;
- 796. - }
- 797. -
- 798. - #ads_union_children_graph {
- 799. - padding: 30px 0 15px 0;
- 800. - }
- 801. -
- 802. - #ads_union_children .row_div.control_label {
- 803. - padding-left: 0;
- 804. - }
- 805. -
- 806. - .ads_unions_box td.label {
- 807. - color: #777;
- 808. - padding: 5px 10px 5px 0px;
- 809. - text-align: right;
- 810. - }
- 811. - .ads_unions_box td.labeled {
- 812. - padding: 2px 0;
- 813. - }
- 814. - .ads_unions_box td.labeled_info {
- 815. - padding: 2px 0 2px 5px;
- 816. - }
- 817. -
- 818. - .ads_unions_box input {
- 819. - width: 150px;
- 820. - }
- 821. -
- 822. - .ads_unions_list table {
- 823. - border-collapse: collapse;
- 824. - border-left: 1px solid;
- 825. - border-right: 1px solid;
- 826. - width: 100%;
- 827. - }
- 828. -
- 829. - .ads_unions_list th,
- 830. - .ads_unions_list td {
- 831. - height: 32px;
- 832. - vertical-align: middle;
- 833. - }
- 834. -
- 835. - .ads_unions_list .checkbox_container td {
- 836. - height: 20px;
- 837. - }
- 838. -
- 839. - .ads_unions_list th {
- 840. - text-align: right;
- 841. - background-color: rgb(227, 233, 238);
- 842. - border: 1px solid;
- 843. - padding: 0;
- 844. - }
- 845. - .ads_table_header th th,
- 846. - .ads_table_header th th * {
- 847. - background-color: transparent !important;
- 848. - }
- 849. -
- 850. - .ads_unions_list th,
- 851. - .ads_unions_list th * {
- 852. - color: rgb(81, 103, 122);
- 853. - }
- 854. -
- 855. - .ads_unions_list td {
- 856. - text-align: right;
- 857. - }
- 858. -
- 859. - .ads_unions_list .column_date_view,
- 860. - .ads_unions_list .column_date_view *,
- 861. - .ads_unions_list .column_action_view,
- 862. - .ads_unions_list .column_action_view *,
- 863. - .ads_unions_list .column_access_view,
- 864. - .ads_unions_list .column_access_view *,
- 865. - .ads_unions_list .column_name_view,
- 866. - .ads_unions_list .column_name_view *,
- 867. - .ads_unions_list .column_name,
- 868. - .ads_unions_list .column_name *,
- 869. - .ads_unions_list .column_status,
- 870. - .ads_unions_list .column_status * {
- 871. - text-align: left;
- 872. - }
- 873. -
- 874. - .ads_unions_list td.column_name_view {
- 875. - max-width: 160px;
- 876. - }
- 877. -
- 878. - .ads_unions_list .table_footer td {
- 879. - background-color: rgb(246, 247, 249);
- 880. - border-top: 1px solid rgb(211, 219, 225);
- 881. - border-bottom: 1px solid rgb(211, 219, 225);
- 882. - }
- 883. -
- 884. - .ads_unions_list table,
- 885. - .ads_unions_list th,
- 886. - .ads_unions_list td {
- 887. - border-color: rgb(211, 219, 225);
- 888. - }
- 889. -
- 890. - .ads_unions_list th * {
- 891. - border: 0;
- 892. - padding: 0;
- 893. - height: auto;
- 894. - }
- 895. -
- 896. - .ads_unions_list th table {
- 897. - height: 100%;
- 898. - border: 0;
- 899. - }
- 900. -
- 901. - .ads_unions_list tr.ads_table_header th th {
- 902. - border-left: 1px solid rgb(239, 242, 245);
- 903. - white-space: nowrap;
- 904. - }
- 905. -
- 906. - .ads_unions_list tr.ads_table_header th.first_table_header,
- 907. - .ads_unions_list tr.ads_table_header th.first_table_header * {
- 908. - border-left: 0 none;
- 909. - }
- 910. -
- 911. - .ads_unions_list th th,
- 912. - .ads_unions_list td {
- 913. - padding: 0 8px;
- 914. - }
- 915. -
- 916. - .ads_unions_list th.first_table_header th,
- 917. - .ads_unions_list td.first_table_column {
- 918. - padding-left: 10px;
- 919. - }
- 920. -
- 921. - .ads_unions_list th.last_table_header th,
- 922. - .ads_unions_list td.last_table_column {
- 923. - padding-right: 10px;
- 924. - }
- 925. -
- 926. - .ads_unions_list td.even_row {
- 927. - background-color: #F0F2F4;
- 928. - }
- 929. -
- 930. - .ads_unions_table {
- 931. - margin-top: 7px;
- 932. - }
- 933. -
- 934. - .paginated_table .ads_unions_table {
- 935. - margin-top: 0px;
- 936. - }
- 937. -
- 938. - .ads_unions_list td.column_day_limit_view a,
- 939. - .ads_unions_list td.column_all_limit_view a,
- 940. - .ads_unions_list td.column_cost_per_click_view a {
- 941. - border-bottom: 1px dashed #2B587A;
- 942. - text-decoration: none;
- 943. - }
- 944. -
- 945. - tr.ads_union_empty_row td.ads_union_empty_cell {
- 946. - height: auto;
- 947. - }
- 948. -
- 949. - tr.ads_union_empty_row td.ads_union_empty_cell {
- 950. - text-align: center !important;
- 951. - color: #666666;
- 952. - line-height: 150%;
- 953. - background-color: #F7F7F7;
- 954. - padding: 15px 0;
- 955. - }
- 956. -
- 957. - .ads_unions_list_p .paginated_table_cell {
- 958. - text-align: right;
- 959. - }
- 960. -
- 961. - .ads_unions_list_p .paginated_table .paginated_table_cell.column_date_view,
- 962. - .ads_unions_list_p .paginated_table .paginated_table_cell.column_date_view *,
- 963. - .ads_unions_list_p .paginated_table .paginated_table_cell.column_action_view,
- 964. - .ads_unions_list_p .paginated_table .paginated_table_cell.column_action_view *,
- 965. - .ads_unions_list_p .paginated_table .paginated_table_cell.column_access_view,
- 966. - .ads_unions_list_p .paginated_table .paginated_table_cell.column_access_view *,
- 967. - .ads_unions_list_p .paginated_table .paginated_table_cell.column_name_view,
- 968. - .ads_unions_list_p .paginated_table .paginated_table_cell.column_name_view *,
- 969. - .ads_unions_list_p .paginated_table .paginated_table_cell.column_name,
- 970. - .ads_unions_list_p .paginated_table .paginated_table_cell.column_name *,
- 971. - .ads_unions_list_p .paginated_table .paginated_table_cell.column_status,
- 972. - .ads_unions_list_p .paginated_table .paginated_table_cell.column_status * {
- 973. - text-align: left;
- 974. - }
- 975. -
- 976. - .ads_unions_list_p .paginated_table .paginated_table_cell.column_name_view,
- 977. - .ads_unions_list_p .paginated_table .paginated_table_cell.column_name_view *,
- 978. - .ads_unions_list_p .paginated_table .paginated_table_cell.column_name,
- 979. - .ads_unions_list_p .paginated_table .paginated_table_cell.column_name *,
- 980. - .paginated_table .paginated_table_cell.column_client_name,
- 981. - .paginated_table .paginated_table_cell.column_client_name *,
- 982. - .paginated_table .paginated_table_cell.column_campaign_name,
- 983. - .paginated_table .paginated_table_cell.column_campaign_name * {
- 984. - white-space: normal !important;
- 985. - }
- 986. -
- 987. - .ads_unions_list_p td.paginated_table_cell.column_name_view,
- 988. - .ads_unions_list_p td.paginated_table_cell.column_name {
- 989. - max-width: 160px;
- 990. - overflow: visible;
- 991. - }
- 992. - .ads_unions_list_p td.paginated_table_cell.column_date_view {
- 993. - min-width: 20%;
- 994. - }
- 995. - .ads_unions_list_p .paginated_table td.paginated_table_cell.column_day_limit_view a,
- 996. - .ads_unions_list_p .paginated_table td.paginated_table_cell.column_all_limit_view a,
- 997. - .ads_unions_list_p .paginated_table td.paginated_table_cell.column_cost_per_click_view a {
- 998. - border-bottom: 1px dashed #2B587A;
- 999. - text-decoration: none;
- 1000. - }
- 1001. -
- 1002. - .ads_unions_list_p .paginated_table td.column_video_views_count_view {
- 1003. - width: 1px;
- 1004. - }
- 1005. -
- 1006. - tr.ads_union_empty_row td.ads_union_empty_cell {
- 1007. - height: auto;
- 1008. - }
- 1009. -
- 1010. - tr.ads_union_empty_row td.ads_union_empty_cell {
- 1011. - text-align: center !important;
- 1012. - color: #666666;
- 1013. - line-height: 150%;
- 1014. - background-color: #F7F7F7;
- 1015. - padding: 15px 0;
- 1016. - }
- 1017. -
- 1018. - /* Some navigation - begin */
- 1019. -
- 1020. - #ads_graph_navigation a.nav,
- 1021. - #ads_demography_navigation a.nav {
- 1022. - padding: 6px 6px 7px 11px;
- 1023. - display: block;
- 1024. - overflow: hidden;
- 1025. - }
- 1026. - #ads_graph_navigation a.nav:hover,
- 1027. - #ads_demography_navigation a.nav:hover {
- 1028. - background-color: #DAE1E8;
- 1029. - text-decoration: none;
- 1030. - }
- 1031. - #ads_graph_navigation a.nav_selected,
- 1032. - #ads_graph_navigation a.nav_selected:hover,
- 1033. - #ads_demography_navigation a.nav_selected,
- 1034. - #ads_demography_navigation a.nav_selected:hover {
- 1035. - background-color: #6186AD;
- 1036. - color: white;
- 1037. - }
- 1038. -
- 1039. - /* Some navigation - end */
- 1040. -
- 1041. - a.ads_status_link,
- 1042. - a.ads_inline_dropdown {
- 1043. - background: none !important;
- 1044. - border-bottom: 1px dashed #2B587A;
- 1045. - padding-right: 0 !important;
- 1046. - }
- 1047. -
- 1048. - .ads_main_notice {
- 1049. - background-color: #F6F7F9;
- 1050. - border: 1px solid #D8DFEA;
- 1051. - padding: 10px;
- 1052. - margin-bottom: 15px;
- 1053. - line-height: 160%;
- 1054. - }
- 1055. -
- 1056. - .ads_warning {
- 1057. - background-color: #F9F6E7;
- 1058. - border: 1px solid #D4BC4C;
- 1059. - padding: 8px 11px;
- 1060. - line-height: 160%;
- 1061. - }
- 1062. -
- 1063. - .ads_warning_light {
- 1064. - background-color: #FFFFFF;
- 1065. - border: 1px solid #B9C4DA;
- 1066. - padding: 8px 11px;
- 1067. - }
- 1068. -
- 1069. - .ads_small_info {
- 1070. - background: none repeat scroll 0 0 #F7F7F7;
- 1071. - border: 1px solid #DAE1E8;
- 1072. - font-size: 0.91em;
- 1073. - margin-top: 10px;
- 1074. - padding: 5px 10px;
- 1075. - vertical-align: top;
- 1076. - }
- 1077. -
- 1078. - #ads_change_budget_box .ads_warning {
- 1079. - margin-top: 10px;
- 1080. - }
- 1081. -
- 1082. - #ads_change_budget_box td {
- 1083. - padding: 0px;
- 1084. - }
- 1085. -
- 1086. - .ads_union_status_image {
- 1087. - background: url("/images/icons/ad_status.gif?3") no-repeat scroll left top transparent;
- 1088. - width: 5px;
- 1089. - height: 5px;
- 1090. - margin: 0 5px 1px 0;
- 1091. - display: block;
- 1092. -
- 1093. - display: -moz-inline-stack;
- 1094. - display: inline-block;
- 1095. - _overflow: hidden;
- 1096. - *zoom: 1;
- 1097. - *display: inline;
- 1098. - }
- 1099. -
- 1100. - .ads_union_status_image_on {
- 1101. - background-position: left 0;
- 1102. - }
- 1103. - .ads_union_status_image_off {
- 1104. - background-position: left -5px;
- 1105. - }
- 1106. - .ads_union_status_image_part_on {
- 1107. - background-position: left -10px;
- 1108. - }
- 1109. - .ads_union_status_image_part_off {
- 1110. - background-position: left -15px;
- 1111. - }
- 1112. - .ads_union_status_image_disapproved {
- 1113. - background-position: left -20px;
- 1114. - }
- 1115. - .ads_union_status_image_deleted {
- 1116. - background-position: left -25px;
- 1117. - }
- 1118. -
- 1119. - .ads_status_image_span {
- 1120. - background: url("/images/icons/ad_status_new.gif") no-repeat scroll left top transparent;
- 1121. - width: 11px;
- 1122. - height: 11px;
- 1123. - margin: 5px 0px 3px 2px;
- 1124. - display: block;
- 1125. -
- 1126. - display: -moz-inline-stack;
- 1127. - display: inline-block;
- 1128. - _overflow: hidden;
- 1129. - *zoom: 1;
- 1130. - *display: inline;
- 1131. - }
- 1132. -
- 1133. - .dd_menu_header.ads_dd_header_popup .ads_status_image_span.status_on,
- 1134. - .ads_status_image_span.status_on {
- 1135. - background-position: left -0px;
- 1136. - }
- 1137. - .dd_menu_header.ads_dd_header_popup .ads_status_image_span.status_off,
- 1138. - .ads_status_image_span.status_off {
- 1139. - background-position: left -170px;
- 1140. - }
- 1141. - .dd_menu_header.ads_dd_header_popup .ads_status_image_span.status_pending,
- 1142. - .ads_status_image_span.status_pending {
- 1143. - background-position: left -157px;
- 1144. - }
- 1145. - .dd_menu_header.ads_dd_header_popup .ads_status_image_span.status_off_red,
- 1146. - .ads_status_image_span.status_off_red {
- 1147. - background-position: left -128px;
- 1148. - }
- 1149. - .dd_menu_header.ads_dd_header_popup .ads_status_image_span.status_deleted,
- 1150. - .ads_status_image_span.status_deleted {
- 1151. - background-position: left -183px;
- 1152. - }
- 1153. - .dd_menu_header.ads_dd_header_popup .ads_status_image_span.status_cross,
- 1154. - .ads_status_image_span.status_cross {
- 1155. - background-position: left -141px;
- 1156. - }
- 1157. -
- 1158. - .dd_menu_header .ads_status_image_span.status_on {
- 1159. - background-position: left -16px;
- 1160. - }
- 1161. - .dd_menu_header .ads_status_image_span.status_off {
- 1162. - background-position: left -29px;
- 1163. - }
- 1164. - .dd_menu_header .ads_status_image_span.status_pending {
- 1165. - background-position: left -69px;
- 1166. - }
- 1167. - .dd_menu_header .ads_status_image_span.status_off_red {
- 1168. - background-position: left -29px;
- 1169. - }
- 1170. - .dd_menu_header .ads_status_image_span.status_deleted {
- 1171. - background-position: left -41px;
- 1172. - }
- 1173. - .dd_menu_header .ads_status_image_span.status_cross {
- 1174. - background-position: left -55px;
- 1175. - }
- 1176. -
- 1177. - .dd_menu_body.ads_dd_wide .dd_menu_rows a .ads_status_image_span.status_on {
- 1178. - background-position: left -85px;
- 1179. - }
- 1180. - .dd_menu_body.ads_dd_wide .dd_menu_rows a .ads_status_image_span.status_off {
- 1181. - background-position: left -98px;
- 1182. - }
- 1183. - .dd_menu_body.ads_dd_wide .dd_menu_rows a .ads_status_image_span.status_deleted {
- 1184. - background-position: left -111px;
- 1185. - }
- 1186. -
- 1187. - .ads_unions_list tr.ads_table_header th.paginated_table td.paginated_table_cell.column_commit_date,
- 1188. - .ads_unions_list tr.ads_table_header th.paginated_table td.paginated_table_cell.column_commit_date * {
- 1189. - border-left: 0 none;
- 1190. - }
- 1191. -
- 1192. - #ads_unions_budget * {
- 1193. - text-align: left;
- 1194. - }
- 1195. -
- 1196. - #ads_general_info_status_selector {
- 1197. - border-bottom: 1px dashed #2B587A;
- 1198. - }
- 1199. -
- 1200. - table.ads_unions_content_label {
- 1201. - border-collapse: collapse;
- 1202. - }
- 1203. -
- 1204. - #ads_unions_content .ads_export_prefs .ads_export_date_row .table_label {
- 1205. - padding-top: 4px;
- 1206. - }
- 1207. - .ads_export_prefs .table_value {
- 1208. - width: 300px;
- 1209. - }
- 1210. -
- 1211. - #ads_unions_content .export_prefs_web .summary td {
- 1212. - padding-top: 10px !important;
- 1213. - }
- 1214. -
- 1215. - .ads_export_stats .ads_unions_table th.paginated_table td.paginated_table_cell.column_checked {
- 1216. - width: 34px;
- 1217. - }
- 1218. -
- 1219. - .ads_unions_list .checkbox_container table {
- 1220. - border: 0px;
- 1221. - }
- 1222. -
- 1223. - .ads_unions_table .hovered_header,
- 1224. - .ads_unions_table .hovered_header_hover {
- 1225. - cursor: pointer;
- 1226. - }
- 1227. - .ads_unions_table .hovered_header_hover {
- 1228. - background-color: #EFF2F5;
- 1229. - }
- 1230. -
- 1231. - .ads_inline_edit_remove_value {
- 1232. - margin-left: 5px;
- 1233. - white-space: nowrap;
- 1234. - }
- 1235. -
- 1236. - .ads_inline_edit_table {
- 1237. - border-collapse: collapse;
- 1238. - }
- 1239. - table.ads_inline_edit_table td {
- 1240. - padding: 0;
- 1241. - }
- 1242. - .ads_inline_fast_error_row {
- 1243. - display: none;
- 1244. - }
- 1245. - .ads_inline_fast_error {
- 1246. - background-color: #F9F6E7;
- 1247. - border: 1px solid #D4BC4C;
- 1248. - padding: 8px 11px;
- 1249. - margin-top: 5px;
- 1250. - }
- 1251. -
- 1252. - .ads_inline_recommended_cost_text {
- 1253. - font-size: 0.91em;
- 1254. - color: #777777;
- 1255. - display: none;
- 1256. - }
- 1257. -
- 1258. - .ads_moder_comment_rules_wrap ul {
- 1259. - list-style: square outside none;
- 1260. - color: #758EAC;
- 1261. - margin: 11px 0 0 0;
- 1262. - }
- 1263. - .ads_moder_comment_rules_wrap span {
- 1264. - color: black;
- 1265. - }
- 1266. - .ads_moder_comment_rules_separator {
- 1267. - height: 11px;
- 1268. - }
- 1269. -
- 1270. - #ads_admin_box_wrapper a:hover {
- 1271. - text-decoration: underline;
- 1272. - }
- 1273. -
- 1274. - .ads_admin_table_cell {
- 1275. - border-bottom: 1px solid #DAE2E8;
- 1276. - }
- 1277. -
- 1278. - .admin_table_cell_last {
- 1279. - border-bottom: none;
- 1280. - }
- 1281. -
- 1282. - .ads_admin_box_label {
- 1283. - color: #777777;
- 1284. - text-align: right;
- 1285. - width: 125px;
- 1286. - padding-right: 10px;
- 1287. - }
- 1288. - .ads_admin_box_labeled {
- 1289. - width: 270px;
- 1290. - }
- 1291. -
- 1292. - .ads_general_info_hidden {
- 1293. - display: none;
- 1294. - }
- 1295. -
- 1296. - .ads_general_info .table_large_text {
- 1297. - width: 400px;
- 1298. - }
- 1299. -
- 1300. - #ads_unions_content h4 span {
- 1301. - font-weight: bold
- 1302. - }
- 1303. -
- 1304. - .ads_users_stats_dark {
- 1305. - background-color: #597DA3;
- 1306. - }
- 1307. -
- 1308. - .ads_users_stats_light {
- 1309. - background-color: #DAE1E8;
- 1310. - }
- 1311. -
- 1312. - .ads_users_stats_bars_title {
- 1313. - padding-bottom: 16px;
- 1314. - color: #45688E;
- 1315. - font-weight: bold;
- 1316. - }
- 1317. -
- 1318. - .ads_users_stats_bar_label {
- 1319. - height: 30px;
- 1320. - text-align: right;
- 1321. - padding-right: 16px;
- 1322. - padding-top: 2px;
- 1323. - vertical-align: top;
- 1324. - color: #45688E;
- 1325. - font-weight: bold;
- 1326. - }
- 1327. - .ads_users_stats_bar_wrap table {
- 1328. - border: 0px;
- 1329. - border-collapse: collapse;
- 1330. - }
- 1331. - .ads_users_stats_bar_wrap table td {
- 1332. - padding: 0px;
- 1333. - }
- 1334. - .ads_users_stats_bar_wrap {
- 1335. - height: 30px;
- 1336. - vertical-align: top;
- 1337. - }
- 1338. - .ads_users_stats_bar_wrap table td.ads_users_stats_bar_value {
- 1339. - padding-left: 11px;
- 1340. - }
- 1341. - .ads_users_stats_bar {
- 1342. - -moz-border-radius: 0 3px 3px 0;
- 1343. - -webkit-border-radius: 0 3px 3px 0;
- 1344. - -khtml-border-radius: 0 3px 3px 0;
- 1345. - border-radius: 0 3px 3px 0;
- 1346. - height: 17px;
- 1347. - }
- 1348. -
- 1349. - #ads_demography_wrap .summary_right .summary_tab2 {
- 1350. - background-color: transparent;
- 1351. - }
- 1352. -
- 1353. - .ads_dropdown_menu_scrollbar {
- 1354. - position: absolute;
- 1355. - z-index: 1500;
- 1356. - background-color: #000;
- 1357. -
- 1358. - opacity: 0.4;
- 1359. - -moz-opacity: 0.4;
- 1360. - filter: alpha(opacity=40);
- 1361. -
- 1362. - border-radius: 3px;
- 1363. - -webkit-border-radius: 3px;
- 1364. - -moz-border-radius: 3px;
- 1365. - -khtml-border-radius: 3px;
- 1366. - }
- 1367. - .ads_dropdown_menu_scrollbar:hover,
- 1368. - .ads_dropdown_menu_scrollbar.hovered {
- 1369. - opacity: 0.6;
- 1370. - -moz-opacity: 0.6;
- 1371. - filter: alpha(opacity=60);
- 1372. - }
- 1373. -
- 1374. - #ads_admin_box_wrapper h2 {
- 1375. - padding: 0;
- 1376. - margin: 0;
- 1377. - border: none;
- 1378. - }
- 1379. -
- 1380. - #ads_reqs_edit td.ads_req_label {
- 1381. - color: #666666;
- 1382. - text-align: right;
- 1383. - vertical-align: top;
- 1384. - padding-top: 5px;
- 1385. - }
- 1386. -
- 1387. - #ads_reqs_edit td.ads_req_right {
- 1388. - width: 100px;
- 1389. - }
- 1390. -
- 1391. - #ads_reqs_edit_form input.ads_req_edit,
- 1392. - #ads_reqs_edit_form textarea.ads_req_edit {
- 1393. - margin: 0px;
- 1394. - width: 250px;
- 1395. - }
- 1396. -
- 1397. - #ads_legal_info_box div {
- 1398. - padding: 8px 11px;
- 1399. - border: 1px solid #C0CAD5;
- 1400. - }
- 1401. -
- 1402. - /*
- 1403. - * About section
- 1404. - */
- 1405. -
- 1406. - .ads_help_section.section_wrap {
- 1407. - padding: 20px 25px 25px 26px;
- 1408. - line-height: 140%;
- 1409. - }
- 1410. -
- 1411. - .ads_help_section h4 {
- 1412. - margin-bottom: 10px;
- 1413. - }
- 1414. -
- 1415. - .ads_help_section .header {
- 1416. - font-size: 1.09em;
- 1417. - margin: 0px 0px 20px 1px;
- 1418. - border: none;
- 1419. - color: #45688E;
- 1420. - font-weight: bold;
- 1421. - }
- 1422. -
- 1423. - .ads_help_section .par_divider {
- 1424. - margin-bottom: 31px;
- 1425. - }
- 1426. -
- 1427. - .ads_help_section .emph_link {
- 1428. - margin-left: 26px;
- 1429. - }
- 1430. -
- 1431. - #unions_navigation {
- 1432. - vertical-align: top;
- 1433. - }
- 1434. -
- 1435. - #unions_navigation {
- 1436. - width: 150px;
- 1437. - padding: 12px 12px 12px 0;
- 1438. - }
- 1439. -
- 1440. - #unions_navigation .edit_button_wrap {
- 1441. - padding-bottom: 10px;
- 1442. - }
- 1443. -
- 1444. - #unions_navigation .nav_separator {
- 1445. - border-bottom: 1px solid rgb(211, 219, 225);
- 1446. - height: 1px;
- 1447. - overflow: hidden;
- 1448. - margin: 7px 0px 8px 0;
- 1449. - }
- 1450. -
- 1451. - #unions_navigation a.nav {
- 1452. - padding: 6px 6px 7px 11px;
- 1453. - display: block;
- 1454. - overflow: hidden;
- 1455. - max-width: 133px;
- 1456. - word-wrap: break-word;
- 1457. - }
- 1458. - #unions_navigation a.nav:hover {
- 1459. - background-color: #E1E7ED;
- 1460. - text-decoration: none;
- 1461. - }
- 1462. - #unions_navigation a.nav_selected,
- 1463. - #unions_navigation a.nav_selected:hover {
- 1464. - background-color: #6186AD;
- 1465. - color: white;
- 1466. - }
- 1467. -
- 1468. -
- 1469. - #unions_navigation.ads_unions_navigation_about {
- 1470. - background-color: #F7F7F7;
- 1471. - border-left: 1px solid #DAE1E8;
- 1472. - padding: 14px 10px;
- 1473. - }
- 1474. -
- 1475. - #unions_navigation.ads_unions_navigation_about .nav {
- 1476. - border-color: #F7F7F7;
- 1477. - }
- 1478. -
- 1479. - #unions_navigation.ads_unions_navigation_about .nav_selected {
- 1480. - border-color: #517295;
- 1481. - }
- 1482. -
- 1483. - .ads_unions_navigation_about .ad_box_preview {
- 1484. - border: 1px solid #DCE3E9
- 1485. - }
- 1486. -
- 1487. - #ads_contacts_form {
- 1488. - margin: 20px 0 0 0;
- 1489. - }
- 1490. - #ads_contacts_form .label_slide {
- 1491. - vertical-align: top;
- 1492. - }
- 1493. - #ads_contacts_form .label {
- 1494. - width: 100px;
- 1495. - color: #555;
- 1496. - padding: 4px 10px 0 0;
- 1497. - text-align: right;
- 1498. - vertical-align: top;
- 1499. - }
- 1500. - #ads_contacts_form .labeled {
- 1501. - padding-bottom: 10px;
- 1502. - }
- 1503. - #ads_contacts_form .row_checkbox .labeled {
- 1504. - padding-bottom: 6px;
- 1505. - }
- 1506. - #ads_contacts_form .row_checkbox_prev .labeled {
- 1507. - padding-bottom: 8px;
- 1508. - }
- 1509. - #ads_contacts_form .row_checkbox_last .labeled {
- 1510. - padding-bottom: 8px;
- 1511. - }
- 1512. - #ads_contacts_form td.label_slide {
- 1513. - overflow: hidden;
- 1514. - }
- 1515. - #ads_contacts_form div.label_slide {
- 1516. - height: 0;
- 1517. - }
- 1518. - #ads_contacts_form .checkbox_wrap {
- 1519. - margin: -5px 0;
- 1520. - }
- 1521. - #ads_contacts_form input.txt {
- 1522. - width: 242px;
- 1523. - }
- 1524. - #ads_contacts_form textarea.txt {
- 1525. - width: 242px;
- 1526. - height: 40px;
- 1527. - }
- 1528. - #ads_contacts_form textarea.txt#message {
- 1529. - height: 90px;
- 1530. - }
- 1531. - #ads_contacts_form .msg {
- 1532. - background-color: #f9f6e7;
- 1533. - border-color: #c3b988;
- 1534. - font-weight: normal;
- 1535. - }
- 1536. -
- 1537. - .ads_contacts_nonresident_message {
- 1538. - padding: 7px 0 20px 0;
- 1539. - }
- 1540. -
- 1541. - .wk_ads_intro #ads_contacts_form .label {
- 1542. - width: 140px;
- 1543. - padding-top: 9px;
- 1544. - }
- 1545. -
- 1546. - .wk_ads_intro #ads_contacts_form input.txt,
- 1547. - .wk_ads_intro #ads_contacts_form textarea.txt {
- 1548. - width: 254px;
- 1549. - height: 17px;
- 1550. - line-height: 17px;
- 1551. - padding: 5px 6px 6px 10px;
- 1552. - }
- 1553. - @-moz-document url-prefix() {
- 1554. - .wk_ads_intro #ads_contacts_form input.txt,
- 1555. - .wk_ads_intro #ads_contacts_form textarea.txt {
- 1556. - padding-left: 9px;
- 1557. - width: 255px;
- 1558. - }
- 1559. - }
- 1560. - .wk_ads_intro #ads_contacts_form textarea.txt {
- 1561. - height: 52px;
- 1562. - }
- 1563. - .wk_ads_intro #ads_contacts_form textarea.txt#message {
- 1564. - height: 90px;
- 1565. - }
- 1566. -
- 1567. - /* Multi dropdown menu - begin */
- 1568. -
- 1569. - a.ads_dd_menu_item_checkbox_on,
- 1570. - a.ads_dd_menu_item_checkbox_off {
- 1571. - padding-left: 22px !important;
- 1572. - background-image: none !important;
- 1573. - background-position: 4px 2px !important;
- 1574. - }
- 1575. - a.ads_dd_menu_item_checkbox_on {
- 1576. - background-image: url("/images/dropdead_check.gif") !important;
- 1577. - }
- 1578. -
- 1579. - /* Multi dropdown menu - end */
- 1580. -
- 1581. - .ads_paginated_table_name {
- 1582. - overflow: hidden;
- 1583. - white-space: nowrap;
- 1584. - }
- 1585. -
- 1586. - .ad_new_user td.label {
- 1587. - text-align: right;
- 1588. - padding: 6px 15px 6px 0;
- 1589. - width: 120px;
- 1590. - color: gray;
- 1591. - }
- 1592. - .ad_new_user td.labeled input {
- 1593. - width: 160px;
- 1594. - }
- 1595. -
- 1596. - #ads_page_simple .ads_reg_row {
- 1597. - height: 30px;
- 1598. - }
- 1599. - #ads_page_simple .ads_reg_label {
- 1600. - width: 231px;
- 1601. - float: left;
- 1602. - text-align: right;
- 1603. - color: #777777;
- 1604. - padding: 4px 10px 0 0;
- 1605. - }
- 1606. - #ads_page_simple .ads_reg_labeled {
- 1607. - float: left;
- 1608. - }
- 1609. - #ads_page_simple .ads_reg_labeled_input {
- 1610. - margin: 0;
- 1611. - }
- 1612. - #ads_page_simple .ads_reg_labeled input#first_name,
- 1613. - #ads_page_simple .ads_reg_labeled input#last_name,
- 1614. - #ads_page_simple .ads_reg_labeled input#regemail,
- 1615. - #ads_page_simple .ads_reg_labeled input#regpass {
- 1616. - width: 217px;
- 1617. - }
- 1618. -
- 1619. - .box_body .ads_disapproved_message {
- 1620. - line-height: 150%;
- 1621. - }
- 1622. -
- 1623. - .ads_wiki_wrap {
- 1624. - line-height: 160%;
- 1625. - }
- 1626. -
- 1627. - .ads_wiki_bonus {
- 1628. - padding-bottom: 10px;
- 1629. - }
- 1630. -
- 1631. - #ads_bonus_activation_form .ads_unions_content_label td {
- 1632. - padding: 0 0 4px 0;
- 1633. - }
- 1634. -
- 1635. - #ads_unions_content .payments_systems_container {
- 1636. - padding: 7px 102px 0 50px;
- 1637. - }
- 1638. -
- 1639. - #ads_unions_content .payments_systems_container .ps_desc_short {
- 1640. - padding-right: 120px;
- 1641. - }
- 1642. -
- 1643. - #ads_unions_content .payments_systems_container .term_info {
- 1644. - min-height: 24px;
- 1645. - }
- 1646. -
- 1647. - #ads_unions_content .payments_landing div {
- 1648. - margin-bottom: 20px;
- 1649. - }
- 1650. -
- 1651. - #ads_retargeting_groups_table {
- 1652. - margin-top: 15px;
- 1653. - }
- 1654. - #ads_retargeting_groups_table .column_action_view {
- 1655. - width: 100px;
- 1656. - white-space: nowrap;
- 1657. - }
- 1658. - #ads_retargeting_groups .ads_retargeting_controls {
- 1659. - padding-top: 15px;
- 1660. - }
- 1661. - .ads_retargeting_box {
- 1662. - line-height: 160%;
- 1663. - }
- 1664. - .ads_retargeting_box_text {
- 1665. - padding-bottom: 10px;
- 1666. - }
- 1667. - .ads_retargeting_box td.label {
- 1668. - color: #777;
- 1669. - padding: 5px 10px 5px 0px;
- 1670. - text-align: right;
- 1671. - width: 100px;
- 1672. - }
- 1673. - .ads_retargeting_box td.labeled {
- 1674. - padding: 2px 0;
- 1675. - }
- 1676. - .ads_retargeting_box td.labeled_info {
- 1677. - padding: 2px 0 2px 5px;
- 1678. - }
- 1679. - .ads_retargeting_box input {
- 1680. - width: 190px;
- 1681. - }
- 1682. - #ads_retargeting_box_error {
- 1683. - margin-bottom: 10px;
- 1684. - display: none;
- 1685. - }
- 1686. - .ads_retargeting_box .box_msg {
- 1687. - margin-bottom: 10px;
- 1688. - font-weight: normal;
- 1689. - }
- 1690. - .ads_retargeting_box_notice {
- 1691. - font-size: 0.91em;
- 1692. - color: #777;
- 1693. - }
- 1694. - #retargeting_group_pixel {
- 1695. - background-color: #F2F2F2;
- 1696. - height: 110px;
- 1697. - width: 245px;
- 1698. - }
- 1699. - .ads_retargeting_text {
- 1700. - line-height: 150%;
- 1701. - }
- 1702. -
- 1703. - .ads_settings_notifacations {
- 1704. - margin: 10px 0 0 10px;
- 1705. - border-collapse: collapse;
- 1706. - }
- 1707. - .ads_settings_notifacations th,
- 1708. - .ads_settings_notifacations td {
- 1709. - padding: 0 5px;
- 1710. - text-align: center;
- 1711. - }
- 1712. - td.ads_settings_notifacations_label {
- 1713. - padding: 0 30px 0 0;
- 1714. - text-align: left;
- 1715. - }
- 1716. - .ads_settings_notifacations .checkbox_container {
- 1717. - margin: 0 auto;
- 1718. - }
- ------
- Файл - ads_moder.js (Старый размер - 26307 | Новый - 0):
- 0. - var AdsModer = {};
- 1. -
- 2. - AdsModer.init = function() {
- 3. - AdsModer.initDelayedImages();
- 4. - }
- 5. -
- 6. - AdsModer.initDelayedImages = function() {
- 7. - var imagesIndex;
- 8. - var indexStep = 500;
- 9. - var lastImage;
- 10. - var lastImageY;
- 11. -
- 12. - buildIndex();
- 13. - if (isEmpty(imagesIndex)) {
- 14. - return;
- 15. - }
- 16. -
- 17. - var scrolledNode = (browser.msie6 ? pageNode : window);
- 18. - var handler = checkImages.pbind(false);
- 19. - function deinit() {
- 20. - removeEvent(scrolledNode, 'scroll', handler);
- 21. - }
- 22. - cur.destroy.push(deinit);
- 23. - addEvent(scrolledNode, 'scroll', handler);
- 24. - handler();
- 25. -
- 26. - function buildIndex() {
- 27. - if (lastImage && lastImage.hasAttribute('src_') && lastImageY == getXY(lastImage)[1]) {
- 28. - return;
- 29. - }
- 30. -
- 31. - var imagesAll = geByTag('img');
- 32. - var image;
- 33. - var indexKey;
- 34. -
- 35. - imagesIndex = {};
- 36. -
- 37. - if (!imagesAll.length) {
- 38. - return;
- 39. - }
- 40. -
- 41. - for (var i = 0, image; image = imagesAll[i]; i++) {
- 42. - if (!image.hasAttribute('src_')) {
- 43. - continue;
- 44. - }
- 45. - indexKey = intval(getXY(image)[1] / indexStep);
- 46. - if (!(indexKey in imagesIndex)) {
- 47. - imagesIndex[indexKey] = [];
- 48. - }
- 49. - imagesIndex[indexKey].push(image);
- 50. - lastImage = image;
- 51. - }
- 52. -
- 53. - lastImageY = getXY(lastImage)[1];
- 54. - }
- 55. -
- 56. - function checkIndex() {
- 57. - buildIndex();
- 58. - if (isEmpty(imagesIndex)) {
- 59. - deinit();
- 60. - }
- 61. - }
- 62. -
- 63. - function checkImages(delayed) {
- 64. - var yTop = scrollGetY()
- 65. - var yBottom = yTop + lastWindowHeight;
- 66. - var indexTop = intval(yTop / indexStep);
- 67. - var indexBottom = intval(yBottom / indexStep);
- 68. - var image;
- 69. - for (var i = indexTop; i <= indexBottom; i++) {
- 70. - if (!(i in imagesIndex)) {
- 71. - continue;
- 72. - }
- 73. - for (var j = 0, len = imagesIndex[i].length; j < len; j++) {
- 74. - image = imagesIndex[i][j];
- 75. - image.src = image.getAttribute('src_');
- 76. - image.removeAttribute('src_')
- 77. - }
- 78. - delete imagesIndex[i];
- 79. - }
- 80. - checkIndex();
- 81. - setTimeout(checkIndex, 1000);
- 82. - }
- 83. - }
- 84. -
- 85. - AdsModer.showObjectInfo = function(objectType, objectId) {
- 86. - var ajaxParams = {};
- 87. - ajaxParams.object_type = objectType;
- 88. - ajaxParams.object_id = objectId;
- 89. -
- 90. - var showOptions = {params: {}};
- 91. -
- 92. - showBox('/adsmoder?act=object_info', ajaxParams, showOptions);
- 93. - }
- 94. -
- 95. - AdsModer.openFeaturesEditBox = function(unionId, hash, featuresInfo, featuresEditHtml) {
- 96. - var editBox = showFastBox({title: '�����������', width: 550}, featuresEditHtml);
- 97. - var saveFeaturesHandler = AdsModer.saveFeatures.pbind(unionId, hash, featuresInfo, editBox);
- 98. - editBox.removeButtons();
- 99. - editBox.addButton(getLang('box_cancel'), false, 'no');
- 100. - editBox.addButton('��������', saveFeaturesHandler, 'yes');
- 101. -
- 102. - for (var i in featuresInfo) {
- 103. - var featureInfo = featuresInfo[i];
- 104. - new Checkbox(ge('ads_moder_feature_' + featureInfo.key), {
- 105. - label: featureInfo.name,
- 106. - checked: intval(featureInfo.value),
- 107. - width: 500
- 108. - });
- 109. - }
- 110. - }
- 111. -
- 112. - AdsModer.saveFeatures = function(unionId, hash, featuresInfo, editBox) {
- 113. - if (!Ads.lock('saveFeatures', onLock, onUnlock)) {
- 114. - return;
- 115. - }
- 116. -
- 117. - var ajaxParams = {};
- 118. - ajaxParams.union_id = unionId;
- 119. - ajaxParams.hash = hash;
- 120. - ajaxParams.features = [];
- 121. - for (var i in featuresInfo) {
- 122. - var featureInfo = featuresInfo[i];
- 123. - ajaxParams.features.push(featureInfo.key + ':' + intval(ge('ads_moder_feature_' + featureInfo.key).value));
- 124. - }
- 125. - ajaxParams.features = ajaxParams.features.join(',');
- 126. -
- 127. - ajax.post('/adsmoder?act=a_edit_features', ajaxParams, {onDone: onComplete, onFail: onComplete});
- 128. -
- 129. - function onComplete(response) {
- 130. - Ads.unlock('saveFeatures');
- 131. - if (response && response.ok) {
- 132. - nav.reload();
- 133. - } else {
- 134. - showFastBox('������', '������');
- 135. - }
- 136. - return true;
- 137. - }
- 138. - function onLock() {
- 139. - editBox.showProgress();
- 140. - }
- 141. - function onUnlock() {
- 142. - editBox.hide();
- 143. - }
- 144. - }
- 145. -
- 146. - AdsModer.openNoteEditBox = function(ajaxParams, noteText, noteTextParams, boxTitle, editActionText, isEdit, isOtherUser) {
- 147. - function onBoxHide() {
- 148. - delete cur.noteEditBox;
- 149. - delete cur.noteEditAjaxParams;
- 150. - }
- 151. -
- 152. - cur.noteEditAjaxParams = ajaxParams;
- 153. -
- 154. - var boxHtml = '<div class="ads_note_edit_wrap"><div><textarea id="ads_note_edit" ' + noteTextParams + '>' + noteText + '</textarea></div></div>';
- 155. -
- 156. - cur.noteEditBox = showFastBox({title: boxTitle, width: 400, onHide: onBoxHide}, boxHtml);
- 157. - cur.noteEditBox.removeButtons();
- 158. - if (isOtherUser) {
- 159. - cur.noteEditBox.addButton(getLang('box_cancel'), false, 'yes');
- 160. - } else {
- 161. - cur.noteEditBox.addButton(getLang('box_cancel'), false, 'no');
- 162. - cur.noteEditBox.addButton(editActionText, AdsModer.saveNote.pbind(false), 'yes');
- 163. - }
- 164. - if (isEdit) {
- 165. - cur.noteEditBox.setControlsText('<a href="#" onclick="AdsModer.saveNote(true); return false;">�������</a>');
- 166. - }
- 167. - }
- 168. -
- 169. - AdsModer.saveNote = function(isDelete) {
- 170. - if (!Ads.lock('save_note', onLock, onUnlock)) {
- 171. - return;
- 172. - }
- 173. -
- 174. - var ajaxParams = {};
- 175. - ajaxParams = extend({}, ajaxParams, cur.noteEditAjaxParams);
- 176. - ajaxParams.note_text = (isDelete ? '' : ge('ads_note_edit').value);
- 177. - ajax.post('/adsmoder?act=a_edit_notes', ajaxParams, {onDone: onComplete, onFail: onComplete});
- 178. -
- 179. - function onComplete(response) {
- 180. - Ads.unlock('save_note');
- 181. - if (response && response.ok) {
- 182. - nav.reload();
- 183. - } else {
- 184. - showFastBox({title: '������', onHide: function() { nav.reload(); }}, '������');
- 185. - }
- 186. - return true;
- 187. - }
- 188. - function onLock() {
- 189. - cur.noteEditBox.showProgress();
- 190. - }
- 191. - function onUnlock() {
- 192. - cur.noteEditBox.hide();
- 193. - }
- 194. - }
- 195. -
- 196. - AdsModer.openCategoriesEditBox = function(requestKey, linkElem) {
- 197. - var editBox = showFastBox({title: '��������� �������� ����������', width: 440}, cur.categoriesEditBoxHtml);
- 198. - editBox.removeButtons();
- 199. - editBox.addButton(getLang('box_cancel'), false, 'no');
- 200. - editBox.addButton('��������', applyChanges, 'yes');
- 201. -
- 202. - var requestParams = cur.requestsParams[requestKey];
- 203. -
- 204. - var category1_id = requestParams.ui_category1_id;
- 205. - var category2_id = requestParams.ui_category2_id;
- 206. - var subcategory1_id = requestParams.ui_subcategory1_id;
- 207. - var subcategory2_id = requestParams.ui_subcategory2_id;
- 208. -
- 209. - var uiCategory1 = new Dropdown(ge('ads_moder_category1'), cur.categoriesData, {
- 210. - selectedItems: category1_id,
- 211. - width: 250,
- 212. - height: 400,
- 213. - onChange: onChangeCategory1
- 214. - });
- 215. - var uiCategory2 = new Dropdown(ge('ads_moder_category2'), cur.categoriesData, {
- 216. - selectedItems: category2_id,
- 217. - width: 250,
- 218. - height: 400,
- 219. - onChange: onChangeCategory2
- 220. - });
- 221. - var uiSubcategory1 = new Dropdown(ge('ads_moder_subcategory1'), [], {
- 222. - width: 250,
- 223. - height: 400,
- 224. - onChange: function(value) {
- 225. - subcategory1_id = intval(value);
- 226. - }
- 227. - });
- 228. - var uiSubcategory2 = new Dropdown(ge('ads_moder_subcategory2'), [], {
- 229. - width: 250,
- 230. - height: 400,
- 231. - onChange: function(value) {
- 232. - subcategory2_id = intval(value);
- 233. - }
- 234. - });
- 235. -
- 236. - onChangeCategory1(category1_id);
- 237. - onChangeCategory2(category2_id);
- 238. -
- 239. - var boxOptions = {};
- 240. - boxOptions.onClean = function() {
- 241. - uiCategory1.destroy();
- 242. - uiCategory2.destroy();
- 243. - uiSubcategory1.destroy();
- 244. - uiSubcategory2.destroy();
- 245. - };
- 246. - editBox.setOptions(boxOptions);
- 247. -
- 248. - function onChangeCategory1(value) {
- 249. - value = intval(value);
- 250. - if (value != category1_id) {
- 251. - subcategory1_id = 0;
- 252. - }
- 253. - category1_id = value;
- 254. - var data = cur.subcategoriesData[value] || [];
- 255. - var disabledText = (value ? getLang('ads_no_subcategories') : getLang('ads_first_select_category1'));
- 256. - uiSubcategory1.setOptions({disabledText: disabledText});
- 257. - uiSubcategory1.setData(data);
- 258. - if (subcategory1_id) {
- 259. - uiSubcategory1.val(subcategory1_id);
- 260. - } else {
- 261. - uiSubcategory1.clear();
- 262. - }
- 263. - uiSubcategory1.disable(data.length == 0);
- 264. - }
- 265. - function onChangeCategory2(value) {
- 266. - value = intval(value);
- 267. - if (value != category2_id) {
- 268. - subcategory2_id = 0;
- 269. - }
- 270. - category2_id = value;
- 271. - var data = cur.subcategoriesData[value] || [];
- 272. - var disabledText = (value ? getLang('ads_no_subcategories') : getLang('ads_first_select_category2'));
- 273. - uiSubcategory2.setOptions({disabledText: disabledText});
- 274. - uiSubcategory2.setData(data);
- 275. - if (subcategory2_id) {
- 276. - uiSubcategory2.val(subcategory2_id);
- 277. - } else {
- 278. - uiSubcategory2.clear();
- 279. - }
- 280. - uiSubcategory2.disable(data.length == 0);
- 281. - }
- 282. - function applyChanges() {
- 283. - if (!category1_id && !category2_id) {
- 284. - showFastBox('������', '�� ������ ��������.');
- 285. - return;
- 286. - }
- 287. -
- 288. - cur.requestsParams[requestKey].category1_id = (subcategory1_id || category1_id);
- 289. - cur.requestsParams[requestKey].category2_id = (subcategory2_id || category2_id);
- 290. - cur.requestsParams[requestKey].ui_category1_id = category1_id;
- 291. - cur.requestsParams[requestKey].ui_category2_id = category2_id;
- 292. - cur.requestsParams[requestKey].ui_subcategory1_id = subcategory1_id;
- 293. - cur.requestsParams[requestKey].ui_subcategory2_id = subcategory2_id;
- 294. - cur.requestsParams[requestKey].categories_changed = true;
- 295. -
- 296. - var category1Elem = geByClass1('ads_category1', linkElem);
- 297. - var category1ParentElem = geByClass1('ads_category1_parent', linkElem);
- 298. - if (subcategory1_id) {
- 299. - replaceClass(category1Elem, 'ads_category', 'ads_subcategory');
- 300. - category1Elem.innerHTML = uiSubcategory1.val_full()[1];
- 301. - category1ParentElem.innerHTML = ' (' + uiCategory1.val_full()[1] + ')';
- 302. - } else {
- 303. - replaceClass(category1Elem, 'ads_subcategory', 'ads_category');
- 304. - category1Elem.innerHTML = (category1_id ? uiCategory1.val_full()[1] : '');
- 305. - category1ParentElem.innerHTML = '';
- 306. - }
- 307. -
- 308. - var category2Elem = geByClass1('ads_category2', linkElem);
- 309. - var category2ParentElem = geByClass1('ads_category2_parent', linkElem);
- 310. - if (subcategory2_id) {
- 311. - replaceClass(category2Elem, 'ads_category', 'ads_subcategory');
- 312. - category2Elem.innerHTML = uiSubcategory2.val_full()[1];
- 313. - category2ParentElem.innerHTML = ' (' + uiCategory2.val_full()[1] + ')';
- 314. - } else {
- 315. - replaceClass(category2Elem, 'ads_subcategory', 'ads_category');
- 316. - category2Elem.innerHTML = (category2_id ? uiCategory2.val_full()[1] : '');
- 317. - category2ParentElem.innerHTML = '';
- 318. - }
- 319. -
- 320. - editBox.hide();
- 321. - }
- 322. - }
- 323. -
- 324. - AdsModer.premoderationProcessRequest = function(action, requestKey, requestKeyModer, onCompleteExternal) {
- 325. -
- 326. - var requestParams = cur.requestsParams[requestKey];
- 327. - var requestParamsModer = cur.requestsParams[requestKeyModer];
- 328. -
- 329. - if (!requestKey || !requestKeyModer || !requestParams || !requestParamsModer) {
- 330. - return;
- 331. - }
- 332. -
- 333. - var result = AdsModer.premoderationProcessRequestsMassCheck(action, requestKey);
- 334. - if (result) {
- 335. - return;
- 336. - }
- 337. -
- 338. - var moderComment = ge('moder_comment_' + requestKeyModer);
- 339. - var resultArea = ge('request_result_area_' + requestKey);
- 340. -
- 341. - var ajaxParams = {};
- 342. - ajaxParams.action = action;
- 343. - ajaxParams.request_id = requestParams.request_id;
- 344. - ajaxParams.ad_id = requestParams.ad_id;
- 345. - ajaxParams.hash = requestParams.hash;
- 346. - ajaxParams.checksum = requestParams.checksum_all;
- 347. -
- 348. - if (action === 'approve') {
- 349. - if (requestParamsModer.categories_changed) {
- 350. - ajaxParams.category1_id = requestParamsModer.category1_id;
- 351. - ajaxParams.category2_id = requestParamsModer.category2_id;
- 352. - } else {
- 353. - ajaxParams.category1_id = requestParams.category1_id;
- 354. - ajaxParams.category2_id = requestParams.category2_id;
- 355. - }
- 356. - }
- 357. -
- 358. - ajaxParams.moder_comment = moderComment.getValue();
- 359. - if (action === 'disapprove') {
- 360. - ajaxParams.moder_rules = cur.uiReasonsControls[requestKeyModer].getSelectedItems().join(',');
- 361. - }
- 362. -
- 363. - resultArea.innerHTML = '<img src="/images/upload.gif" />';
- 364. -
- 365. - ajax.post('/adsmoder?act=a_premoderation_process', ajaxParams, {onDone: onComplete, onFail: onComplete});
- 366. -
- 367. - function onComplete(response) {
- 368. - var responseText = ((response && response.text) ? response.text : '������!');
- 369. - resultArea.innerHTML = responseText;
- 370. - if (isFunction(onCompleteExternal)) {
- 371. - onCompleteExternal(response, requestKey, responseText);
- 372. - }
- 373. - return true;
- 374. - };
- 375. - }
- 376. -
- 377. - AdsModer.premoderationProcessRequestsMassCheck = function(action, requestKey) {
- 378. -
- 379. - var requestParams = cur.requestsParams[requestKey];
- 380. -
- 381. - var requestsKeys = [];
- 382. -
- 383. - if (action === 'approve') {
- 384. - if (requestParams.categories_changed) {
- 385. - if (cur.requestsChecksumsApproveWithoutCategories[requestParams.checksum_approve_without_categories].length < 5) {
- 386. - return false;
- 387. - }
- 388. - requestsKeys = cur.requestsChecksumsApproveWithoutCategories[requestParams.checksum_approve_without_categories];
- 389. - } else {
- 390. - if (cur.requestsChecksumsApproveWithCategories[requestParams.checksum_approve_with_categories].length < 5) {
- 391. - return false;
- 392. - }
- 393. - requestsKeys = cur.requestsChecksumsApproveWithCategories[requestParams.checksum_approve_with_categories];
- 394. - }
- 395. - } else if (action === 'disapprove') {
- 396. - if (cur.requestsChecksumsDisapprove[requestParams.checksum_disapprove].length < 5) {
- 397. - return false;
- 398. - }
- 399. - requestsKeys = cur.requestsChecksumsDisapprove[requestParams.checksum_disapprove];
- 400. - }
- 401. -
- 402. - var confirmTitle = ((action === 'approve') ? '�������� ���������' : '�������� ����������');
- 403. - var confirmText = '������� ���������� �� ������� ��������: '+requestsKeys.length;
- 404. - var processAllText = ((action === 'approve') ? '�������� ���' : '��������� ���');
- 405. - var processOneText = ((action === 'approve') ? '�������� ����' : '��������� ����');
- 406. -
- 407. - var box = showFastBox(confirmTitle, cur.massBoxHtml, processAllText, processAll, processOneText, processOne);
- 408. - geByClass1('ads_premoderation_mass_confirm_text', box.bodyNode).innerHTML = confirmText;
- 409. -
- 410. - return true;
- 411. -
- 412. - function processAll() {
- 413. - cleanChecksums();
- 414. - AdsModer.premoderationProcessRequestsMass(action, requestKey, requestsKeys, box);
- 415. - }
- 416. - function processOne() {
- 417. - cleanChecksums();
- 418. - box.hide();
- 419. - AdsModer.premoderationProcessRequest(action, requestKey, requestKey);
- 420. - }
- 421. - function cleanChecksums() {
- 422. - cur.requestsChecksumsApproveWithCategories[requestParams.checksum_approve_with_categories] = [];
- 423. - cur.requestsChecksumsApproveWithoutCategories[requestParams.checksum_approve_without_categories] = [];
- 424. - cur.requestsChecksumsDisapprove[requestParams.checksum_disapprove] = [];
- 425. - }
- 426. - }
- 427. -
- 428. - AdsModer.premoderationProcessRequestsMass = function(action, requestKeyModer, requestsKeys, box) {
- 429. - var requestParams = cur.requestsParams[requestKeyModer];
- 430. -
- 431. - var totalCount = requestsKeys.length;
- 432. - var completeCount = 0;
- 433. - var approvedCount = 0;
- 434. - var disapprovedCount = 0;
- 435. - var errorCount = 0;
- 436. - var responseInfos = [];
- 437. -
- 438. - box.removeButtons();
- 439. - box.addButton(getLang('box_close'), false, 'yes');
- 440. -
- 441. - var progressWrapElem = geByClass1('ads_premoderation_mass_progress_wrap2', box.bodyNode);
- 442. - var progressElem = geByClass1('ads_gradient_progress', box.bodyNode);
- 443. - var resultElem = geByClass1('ads_premoderation_mass_result', box.bodyNode);
- 444. - var resultTextElem = geByClass1('ads_premoderation_mass_result_text', box.bodyNode);
- 445. - var resultMoreElem = geByClass1('ads_premoderation_mass_result_more', box.bodyNode);
- 446. - drawProgress();
- 447. - show(progressWrapElem);
- 448. -
- 449. - for (var i = 0; requestKey = requestsKeys[i]; i++) {
- 450. - AdsModer.premoderationProcessRequest(action, requestKey, requestKeyModer, onComplete);
- 451. - }
- 452. -
- 453. - function onComplete(response, responseRequestKey, responseText) {
- 454. - var responseAdId = cur.requestsParams[responseRequestKey].ad_id;
- 455. - responseInfos.push('<a href="/ads?act=office&union_id='+responseAdId+'" target="_blank">'+responseAdId+' - '+responseText+'</a>');
- 456. -
- 457. - if (response && (response.approved || response.disapproved)) {
- 458. - if (response.approved) {
- 459. - approvedCount++;
- 460. - }
- 461. - if (response.disapproved) {
- 462. - disapprovedCount++;
- 463. - }
- 464. - } else {
- 465. - errorCount++;
- 466. - }
- 467. - completeCount++;
- 468. -
- 469. - drawProgress();
- 470. - if (completeCount == totalCount) {
- 471. - setTimeout(drawResults, 1000);
- 472. - }
- 473. - }
- 474. - function drawProgress() {
- 475. - var percent = intval(completeCount / totalCount * 100);
- 476. - setStyle(progressElem, {width: percent + '%'});
- 477. - }
- 478. - function drawResults() {
- 479. - hide(progressWrapElem);
- 480. -
- 481. - var resultText = '';
- 482. - if (approvedCount) {
- 483. - resultText += '��������: '+approvedCount+'<br>';
- 484. - }
- 485. - if (disapprovedCount) {
- 486. - resultText += '���������: '+disapprovedCount+'<br>';
- 487. - }
- 488. - resultText += '������: '+errorCount+'<br>';
- 489. -
- 490. - resultTextElem.innerHTML = resultText;
- 491. - resultMoreElem.innerHTML = responseInfos.join('<br>');
- 492. - show(resultElem);
- 493. - }
- 494. - }
- 495. -
- 496. - AdsModer.premoderationTakeUnion = function(unionId, hash) {
- 497. - var ajaxParams = {};
- 498. - ajaxParams.hash = hash;
- 499. - ajaxParams.union_id = unionId;
- 500. - ajaxParams.action = 'take_union';
- 501. - ajax.post('/adsmoder?act=a_premoderation_manage_work', ajaxParams, {onDone: onComplete, onFail: onComplete});
- 502. -
- 503. - function onComplete(response) {
- 504. - if (response && response.ok) {
- 505. - if (response.redirect) {
- 506. - nav.go(response.redirect);
- 507. - }
- 508. - } else {
- 509. - var message = ((response && response.error) ? response.error : '������');
- 510. - showFastBox({title: '������', onHide: function() { nav.reload(); }}, message);
- 511. - }
- 512. - return true;
- 513. - }
- 514. - }
- 515. -
- 516. - AdsModer.premoderationTakeBackUnion = function(unionId, hash) {
- 517. - var ajaxParams = {};
- 518. - ajaxParams.hash = hash;
- 519. - ajaxParams.union_id = unionId;
- 520. - ajaxParams.action = 'take_back_union';
- 521. - ajax.post('/adsmoder?act=a_premoderation_manage_work', ajaxParams, {onDone: onComplete, onFail: onComplete});
- 522. -
- 523. - function onComplete(response) {
- 524. - if (response && response.ok) {
- 525. - nav.reload();
- 526. - } else {
- 527. - var message = ((response && response.error) ? response.error : '������');
- 528. - showFastBox({title: '������', onHide: function() { nav.reload(); }}, message);
- 529. - }
- 530. - return true;
- 531. - }
- 532. - }
- 533. -
- 534. - AdsModer.premoderationStopWork = function(hash) {
- 535. - var ajaxParams = {};
- 536. - ajaxParams.hash = hash;
- 537. - ajaxParams.action = 'stop_work';
- 538. - ajax.post('/adsmoder?act=a_premoderation_manage_work', ajaxParams, {onDone: onComplete, onFail: onComplete});
- 539. -
- 540. - function onComplete(response) {
- 541. - if (response && response.ok) {
- 542. - nav.reload();
- 543. - } else {
- 544. - var message = ((response && response.error) ? response.error : '������');
- 545. - showFastBox({title: '������', onHide: function() { nav.reload(); }}, message);
- 546. - }
- 547. - return true;
- 548. - }
- 549. - }
- 550. -
- 551. - AdsModer.premoderationFixRequest = function(wrapElemId, requestId, action, hash) {
- 552. - if (!Ads.lock(wrapElemId, onLock, onUnlock)) {
- 553. - return;
- 554. - }
- 555. -
- 556. - var ajaxParams = {}
- 557. - ajaxParams.request_id = requestId;
- 558. - ajaxParams.action = action;
- 559. - ajaxParams.hash = hash;
- 560. -
- 561. - ajax.post('/adsmoder?act=premoderation_fix_request', ajaxParams, {onDone: onComplete, onFail: onComplete});
- 562. -
- 563. - function onComplete(response) {
- 564. - Ads.unlock(wrapElemId);
- 565. - if (response && response.text_new) {
- 566. - var wrapElem = ge(wrapElemId);
- 567. - if (wrapElem) {
- 568. - wrapElem.parentNode.replaceChild(se(response.text_new), wrapElem);
- 569. - }
- 570. - }
- 571. - return true;
- 572. - }
- 573. - function onLock() {
- 574. - show(geByTag1('img', ge(wrapElemId)));
- 575. - }
- 576. - function onUnlock() {
- 577. - var wrapElem = ge(wrapElemId);
- 578. - if (wrapElem) {
- 579. - hide(geByTag1('img', wrapElem));
- 580. - }
- 581. - }
- 582. - }
- 583. -
- 584. - AdsModer.switchOfficeBlock = function(actionLocation, confirmTitle, confirmText, actionText) {
- 585. - function switchBlocked() {
- 586. - Ads.simpleAjax(actionLocation);
- 587. - }
- 588. - showFastBox(confirmTitle, confirmText, actionText, switchBlocked, getLang('box_cancel'));
- 589. - }
- 590. -
- 591. - AdsModer.openCancelClicksBox = function(ajaxParams) {
- 592. - var showOptions = {params: {}};
- 593. - showBox('/adsweb?act=log_cancel_box', ajaxParams, showOptions);
- 594. - }
- 595. -
- 596. - AdsModer.initCancelClicksBox = function(box, ajaxParams) {
- 597. - var handler = AdsModer.cancelClicks.pbind(box, ajaxParams);
- 598. - box.removeButtons();
- 599. - box.addButton(getLang('box_cancel'), false, 'no');
- 600. - box.addButton('�������� �����', handler, 'yes');
- 601. - }
- 602. -
- 603. - AdsModer.cancelClicks = function(box, ajaxParams) {
- 604. - if (!Ads.lock('cancelClicks', onLock, onUnlock)) {
- 605. - return;
- 606. - }
- 607. -
- 608. - ajax.post('/adsweb?act=log_cancel', ajaxParams, {onDone: onComplete, onFail: onComplete});
- 609. -
- 610. - function onComplete(response) {
- 611. - Ads.unlock('cancelClicks');
- 612. - if (response && response.ok) {
- 613. - nav.reload();
- 614. - } else {
- 615. - showFastBox('������', '������');
- 616. - }
- 617. - return true;
- 618. - }
- 619. - function onLock() {
- 620. - box.showProgress();
- 621. - }
- 622. - function onUnlock() {
- 623. - box.hide();
- 624. - }
- 625. - }
- 626. -
- 627. - AdsModer.openClickfraudersPrepareBanBox = function(usersIds, day) {
- 628. - var ajaxParams = {};
- 629. - ajaxParams.users_ids = usersIds;
- 630. - ajaxParams.day = day;
- 631. -
- 632. - var showOptions = {params: {}};
- 633. - showOptions.params.width = 600;
- 634. -
- 635. - showBox('/adsweb?act=clickfrauders_prepare_ban_box', ajaxParams, showOptions);
- 636. - }
- 637. -
- 638. - AdsModer.initClickfraudersPrepareBanBox = function(box, hash, usersIds, day) {
- 639. - var prepareBanHandler = AdsModer.clickfraudersPrepareBan.pbind(box, hash, usersIds, day);
- 640. - box.removeButtons();
- 641. - box.addButton(getLang('box_cancel'), false, 'no');
- 642. - box.addButton('��������', prepareBanHandler, 'yes');
- 643. - }
- 644. -
- 645. - AdsModer.clickfraudersPrepareBan = function(box, hash, usersIds, day) {
- 646. - if (!Ads.lock('clickfraudersPrepareBan', onLock, onUnlock)) {
- 647. - return;
- 648. - }
- 649. -
- 650. - var ajaxParams = {};
- 651. - ajaxParams.hash = hash;
- 652. - ajaxParams.users_ids = usersIds;
- 653. - ajaxParams.day = day;
- 654. -
- 655. - ajax.post('/adsweb?act=clickfrauders_prepare_ban', ajaxParams, {onDone: onComplete, onFail: onComplete});
- 656. -
- 657. - function onComplete(response) {
- 658. - Ads.unlock('clickfraudersPrepareBan');
- 659. - if (response && response.message) {
- 660. - showFastBox('��', response.message);
- 661. - } else {
- 662. - showFastBox('������', '������');
- 663. - }
- 664. - return true;
- 665. - }
- 666. - function onLock() {
- 667. - box.showProgress();
- 668. - }
- 669. - function onUnlock() {
- 670. - box.hide();
- 671. - }
- 672. - }
- 673. -
- 674. - AdsModer.historyGet = function(elem, notNavigationParam) {
- 675. - while (elem && elem.nodeName.toLowerCase() !== 'form') {
- 676. - elem = elem.parentNode;
- 677. - }
- 678. - if (!elem) {
- 679. - return;
- 680. - }
- 681. - var values = serializeForm(elem);
- 682. - var params = values.other_params;
- 683. - delete values.other_params;
- 684. - for (var i in values) {
- 685. - if (values[i]) {
- 686. - params = '&' + i + '=' + values[i] + params;
- 687. - }
- 688. - }
- 689. - nav.go('/adsmoder?act=history' + params);
- 690. - }
- 691. -
- 692. - AdsModer.historyToggleFilters = function() {
- 693. - var filtersContainerElem = ge('ads_moder_history');
- 694. - var filtersElems = geByClass('ads_navigation_link', filtersContainerElem);
- 695. - for (var i = 0; elem = filtersElems[i]; i++) {
- 696. - if (hasClass(elem, 'current')) {
- 697. - continue
- 698. - }
- 699. - elem = elem.parentNode;
- 700. - if (elem.nodeName.toLowerCase() !== 'span') {
- 701. - continue
- 702. - }
- 703. - toggleClass(elem, 'unshown');
- 704. - }
- 705. - }
- 706. -
- 707. - AdsModer.statSummaryInit = function(periodType, fromYear, fromMonth, fromDay, toYear, toMonth, toDay) {
- 708. - var datePickerOptionsFrom = {
- 709. - mode: (periodType === 'month') ? 'm' : 'd',
- 710. - year: fromYear,
- 711. - month: fromMonth,
- 712. - day: fromDay,
- 713. - width: 130,
- 714. - pastActive: true,
- 715. - onUpdate: function(date, mode) {
- 716. - fromYear = date.y;
- 717. - fromMonth = date.m;
- 718. - fromDay = date.d;
- 719. - updateLink();
- 720. - }
- 721. - };
- 722. - var datePickerOptionsTo = {
- 723. - mode: (periodType === 'month') ? 'm' : 'd',
- 724. - year: toYear,
- 725. - month: toMonth,
- 726. - day: toDay,
- 727. - width: 130,
- 728. - pastActive: true,
- 729. - onUpdate: function(date, mode) {
- 730. - toYear = date.y;
- 731. - toMonth = date.m;
- 732. - toDay = date.d;
- 733. - updateLink();
- 734. - }
- 735. - };
- 736. - new Datepicker(ge('ads_moder_stat_summary_from'), datePickerOptionsFrom);
- 737. - new Datepicker(ge('ads_moder_stat_summary_to'), datePickerOptionsTo);
- 738. -
- 739. - function updateLink() {
- 740. - var fromPeriod = fromYear * 100 + fromMonth;
- 741. - var toPeriod = toYear * 100 + toMonth;
- 742. - if (periodType !== 'month') {
- 743. - fromPeriod = fromPeriod * 100 + fromDay;
- 744. - toPeriod = toPeriod * 100 + toDay;
- 745. - }
- 746. - var linkElem = ge('ads_moder_stat_summary_range_link');
- 747. - linkElem.href = linkElem.href.replace(/&period=\d+-\d+/, '&period=' + fromPeriod + '-' + toPeriod);
- 748. - linkElem.style.opacity = 1;
- 749. - }
- 750. - }
- 751. -
- 752. - AdsModer.statSummaryShowAllProperties = function() {
- 753. - var propertiesElem = ge('ads_moder_stat_summary_filter_properties');
- 754. - var elems = geByClass('ads_moder_stat_summary_filter_property', propertiesElem);
- 755. - each(elems, show);
- 756. - hide('ads_moder_stat_summary_filter_properties_shower');
- 757. - }
- 758. -
- 759. - AdsModer.statSummaryDistrShowCountLabel = function(id, i, val) {
- 760. - var contXy = getXY(ge(id+'_stats_graph_wrap'));
- 761. - var colXy = getXY(ge(id+'_distr_col_'+i));
- 762. -
- 763. - setStyle(ge(id+'_max_label'), {
- 764. - left: colXy[0] - contXy[0] + 14,
- 765. - top: colXy[1] - contXy[1] - 11
- 766. - });
- 767. - ge(id+'_max_label').innerHTML = val;
- 768. - show(id+'_max_label');
- 769. - setStyle(ge(id+'_max_label_out'), {
- 770. - width: ge(id+'_max_label').offsetWidth + 2,
- 771. - height: ge(id+'_max_label').offsetHeight + 2,
- 772. - left: colXy[0] - contXy[0] + 13,
- 773. - top: colXy[1] - contXy[1] - 12
- 774. - });
- 775. - show(id+'_max_label_out');
- 776. - setStyle(ge(id+'_max_label_out2'), {
- 777. - width: ge(id+'_max_label').offsetWidth + 4,
- 778. - height: ge(id+'_max_label').offsetHeight + 4,
- 779. - left: colXy[0] - contXy[0] + 12,
- 780. - top: colXy[1] - contXy[1] - 13
- 781. - });
- 782. - show(id+'_max_label_out2');
- 783. - }
- 784. -
- 785. - AdsModer.statSummaryDistrHideCountLabel = function(id) {
- 786. - hide(id+'_max_label');
- 787. - hide(id+'_max_label_out');
- 788. - hide(id+'_max_label_out2');
- 789. - }
- 790. -
- 791. - AdsModer.statSummaryShowVotesBox = function(periodType, period) {
- 792. - var ajaxParams = {};
- 793. - ajaxParams.period_type = periodType;
- 794. - ajaxParams.period = period;
- 795. -
- 796. - var showOptions = {params: {}};
- 797. -
- 798. - showBox('/adsmoder?act=stat_summary_votes', ajaxParams, showOptions);
- 799. - }
- 800. -
- 801. - AdsModer.increaseBudget = function() {
- 802. - if (!Ads.lock('increaseBudget', onLock, onUnlock)) {
- 803. - return;
- 804. - }
- 805. -
- 806. - var ajaxParams = {};
- 807. - ajaxParams.union_id = val('ads_increase_budget_union_id');
- 808. - ajaxParams.money_amount = val('ads_increase_budget_amount');
- 809. - ajaxParams.hash = val('ads_increase_budget_hash');
- 810. -
- 811. - ajax.post('/adsmoder?act=increase_budget', ajaxParams, {onDone: onComplete, onFail: onComplete});
- 812. -
- 813. - function onComplete(response) {
- 814. - Ads.unlock('increaseBudget');
- 815. - if (response && response.redirect) {
- 816. - nav.go(response.redirect);
- 817. - } else {
- 818. - var msg = ((response && response.error) ? response.error : '������');
- 819. - showFastBox('������', msg);
- 820. - }
- 821. - return true;
- 822. - }
- 823. - function onLock() {
- 824. - lockButton('ads_increase_budget_button');
- 825. - }
- 826. - function onUnlock() {
- 827. - unlockButton('ads_increase_budget_button');
- 828. - }
- 829. - }
- 830. -
- 831. - try{stManager.done('ads_moder.js');}catch(e){}
- ------
Advertisement
Add Comment
Please, Sign In to add comment