Advertisement
Slapoguzov

Untitled

Aug 31st, 2015
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.79 KB | None | 0 0
  1. <script type="text/javascript" src="/_js/cufon.js"></script>
  2. <script type="text/javascript" src="/_js/FrizQuadrataCTT.js">
  3. </script><script type="text/javascript">
  4. Cufon.replace('.serText', {textShadow: '0 1px 1px #707070'}, { fontFamily: 'FrizQuadrataCTT' });
  5. Cufon.replace('#nname', {}, { fontFamily: 'FrizQuadrataCTT' });
  6. </script>
  7. <style type="text/css">
  8. .services {
  9. height: 30px;
  10. border: 1px solid #adaca6;
  11. padding: 2px;
  12. padding: 3px 3px 3px 3px;
  13. width: 160px;
  14. position: relative;
  15. -moz-box-shadow: 0 2px 5px #707070;
  16. -webkit-box-shadow: 0 2px 5px #707070;
  17. box-shadow: 0 2px 5px #707070;
  18. -webkit-border-radius: 6px;
  19. -moz-border-radius: 6px;
  20. border-radius: 6px;
  21. background: #eeeeee;
  22. filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6', endColorstr='#e8e8e8');
  23. background: -webkit-gradient(linear, left top, left bottom, from(#f6f6f6), to(#e8e8e8));
  24. background: -moz-linear-gradient(top, #f6f6f6, #e8e8e8);
  25. background: linear-gradient(top, #f6f6f6, #e8e8e8);
  26. border-bottom-radius: 6px;
  27. }
  28. .serv {
  29. background-image: url('http://wowjp.net/IMG/services.png');
  30. background-repeat: no-repeat;
  31. height: 30px;
  32. line-height: 30px;
  33. width: 31px;
  34. -moz-box-shadow: 0 2px 5px #707070;
  35. -webkit-box-shadow: 0 2px 5px #707070;
  36. box-shadow: 0 2px 5px #707070;
  37. -webkit-border-radius: 3px;
  38. -moz-border-radius: 3px;
  39. margin: 0 0 -34px 0;
  40. position: absolute;
  41. top: 2px;
  42. left: 2px;
  43. display: table-cell;
  44. vertical-align: middle;
  45. }
  46. .serText {
  47. padding-left: 35px;
  48. font-size: 1.1em;
  49. padding-top: 1px;
  50. }
  51. .serClick {
  52. position: absolute;
  53. top: 2px;
  54. left: 2px;
  55. width: 200px;
  56. height: 30px;
  57. background: url('http://wowjp.net/IMG/sale/lg_200_1.png') repeat-x;
  58. opacity: 0.0;
  59. }
  60. #nname {
  61. color: #00fd04;
  62. font-size: 1.3em;
  63. margin-top: 20px;
  64. text-align: center;
  65. padding-left: 5px;
  66. }
  67. .store_opt td {
  68. padding: 15px!important;
  69. }
  70. </style>
  71.  
  72. <div align="center" style="width: 100%;">
  73. <div style="background: url(http://wowjp.net/IMG/sale/deadman.png) no-repeat scroll center bottom transparent; width: 155px; height: 220px; text-align: center;">
  74. <div id="nname">Мастер Чести <br> &lt;WoWJP&gt;</div>
  75. </div>
  76. </div>
  77.  
  78. <div align="center">
  79. <p>Lorem ipsum dolor sit amet, in summo dicunt vim, facete habemus et per. Detracto constituam sit cu, eos civibus albucius cu, vis an facer nemore. Rebum nonumes voluptua nec ex, quo corpora ponderum et, quo cu erat delicata adversarium. Aliquip honestatis nec ei, sea nostrud periculis no. Cum ne case viderer propriae, meis etiam no eam.</p>
  80. </div>
  81. <table width="100%" class="store_opt">
  82. <tr>
  83. <td align="center">
  84. <div class="services">
  85. <div class="serText" style="color: rgb(44, 58, 127);">Понизить уровень замечания</div>
  86. <div class="serv" style="background-position: 0px -403px;">&nbsp;</div>
  87. </div>
  88. </td>
  89. <td align="center">
  90. <div class="services" onclick="new _uWnd('honorStore','Магазин чести',350,100,{autosize:1,modal:1,close:1},titleCnt);">
  91. <div class="serText" style="color: rgb(89, 44, 127);">Сменить титул</div>
  92. <div class="serv" style="background-position: 0px -30px;">&nbsp;</div>
  93. </div>
  94. </td>
  95. </tr>
  96. <tr>
  97. <td align="center">
  98. <div class="services">
  99. <div class="serText" style="color: rgb(127, 60, 44);">Наградить пользователя</div>
  100. <div class="serv" style="background-position: 0px -496px;">&nbsp;</div>
  101. </div>
  102. </td>
  103. <td align="center">
  104. <div class="services">
  105. <div class="serText" style="color: rgb(44, 127, 70);">Сменить ник</div>
  106. <div class="serv" style="background-position: 0px -92px;">&nbsp;</div>
  107. </div>
  108. </td>
  109. </tr>
  110. <tr>
  111. <td colspan="2" align="center">
  112. <div class="services">
  113. <div class="serText" style="color: rgb(40, 75, 164);">Перевод Чести</div>
  114. <div class="serv" style="background-position: 0px -124px;">&nbsp;</div>
  115. </div>
  116. </td>
  117. </tr>
  118. </table>
  119.  
  120. <script type="text/javascript">
  121. var titleCnt = '<div align="center"><input size="35" maxlength="20" id="InputTitle" placeholder="Введите желаемый титул" type="text"><br><button id="sendB" style="margin: 8px 0 0 0;" onclick="$.changeTitle();">Сменить титул</button></div>';
  122. $.changeTitle = function(){
  123. if($('#InputTitle').val().length < 1) { alert('Введите титул!'); return false; }
  124. $.get('/php/store/changeTitle.php',{name: '$USERNAME$', title: $('#InputTitle').val()}, function(json){
  125. if(json.x == 0) {
  126. new _uWnd('erroe','Ошибка',350,50,{autosize:1,modal:1,close:1},'<div style="text-align: center; padding: 20px;">'+json.msg+'</div>');
  127. } else {
  128. $('.xt-close').click();
  129. new _uWnd('success','Успех',350,10,{autosize:1,modal:1,close:1},'<div style="text-align: center; padding: 20px;">'+json.msg+'</div>')
  130. }
  131. });
  132. }
  133. Cufon.now();
  134. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement