Guest User

Untitled

a guest
Nov 13th, 2018
5
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. <div class="uForm uComForm">
  3. <?if($USER_LOGGED_IN$)?>
  4. $ERROR$
  5. <?if($UNSUBSCRIBE_URL$)?>
  6. <div style="text-align: right; padding: 5px 0;">
  7. <a target="_blank" href="$UNSUBSCRIBE_URL$">Отписаться от уведомлений</a>
  8. </div>
  9. <?endif?>
  10.  
  11. <div class="uComForm-inner">
  12. <span class="ucf-avatar uf-with-tooltip">
  13. <?if($USER_AVATAR_URL$)?>
  14. <img src="$USER_AVATAR_URL$" alt="avatar" />
  15. <?else?>
  16. <img src="/.s/img/icon/social/noavatar.png" alt="avatar" />
  17. <?endif?>
  18. <span class="uf-tooltip">
  19. <?if($PROFILE_URL$)?>
  20. <a class="uf-tt-item" href="$PROFILE_URL$" target="_blank">Профиль</a>
  21. <?else?>
  22. <a class="uf-tt-item" href="#" target="_blank">Профиль</a>
  23. <?endif?>
  24. <span class="uf-tt-hr"></span>
  25. <a class="uf-tt-item uf-tt-exit" href="#!">Выйти</a>
  26. </span>
  27. </span>
  28.  
  29. <div class="ucf-content">
  30. <?if($USER_CAN_POST$)?>
  31. <ul class="uf-form ucf-form">
  32. <?if($BBCODES$)?><li class="ucf-bb">$BBCODES$</li><?endif?>
  33. <li>
  34. <table class="ucf-table">
  35. <tr>
  36. <td class="ucf-message-wrap"><textarea class="uf-txt-input commFl" style="height:135px;" rows="8" name="message" id="message" cols="50">$MESSAGE$</textarea></td>
  37. <?if($SMILES$)?><td class="ucf-smiles">$SMILES$</td><?endif?>
  38. </tr>
  39. </table>
  40. </li>
  41. <li class="ucf-options">
  42. <span class="uf-with-tooltip ucf-option">
  43. <label class="ucf-option-label ucf-option-share"><input class="uf-checkbox js-ucf-option" type="checkbox" name="share" /></label>
  44. <span class="uf-tooltip">Публиковать в социальной сети</span>
  45. </span>
  46.  
  47. <?if($ANONYMOUS_ALLOWED$)?>
  48. <span class="uf-with-tooltip ucf-option">
  49. <label class="ucf-option-label ucf-option-anonymous"><input class="uf-checkbox js-ucf-option" type="checkbox" name="anonymous" /></label>
  50. <span class="uf-tooltip">Анонимно</span>
  51. </span>
  52. <?endif?>
  53.  
  54. <?if($SUBSCRIBE$)?>
  55. <span class="uf-with-tooltip ucf-option">
  56. <label class="ucf-option-label ucf-option-subscribe"><input class="uf-checkbox js-ucf-option" type="checkbox" name="subscribe" <?if($SUBSCRIBE_BY_DEFAULT$)?>checked<?endif?>/></label>
  57. <span class="uf-tooltip">Подписаться на комментарии к материалу</span>
  58. </span>
  59. <?endif?>
  60.  
  61. <?if($MODULE_ID$=='shop')?>
  62. <span class="uf-with-tooltip ucf-option">
  63. <label class="ucf-option-label ucf-option-additional" onclick="if($(this).hasClass('ucf-option-checked')){$(this).removeClass('ucf-option-checked');$('#ucf-details').hide();}else{$(this).addClass('ucf-option-checked');$('#ucf-details').fadeIn();}"><input class="uf-checkbox" type="checkbox"></label>
  64. <span class="uf-tooltip">Дополнительные поля</span>
  65. </span>
  66. <?endif?>
  67. </li>
  68. <li>
  69. <input <?if($EMAIL$)?> style="display:none" <?endif?> class="uf-txt-input commFl" type="text" name="email" value="$EMAIL$" size="30" maxlength="60" placeholder="your@email.com">
  70. </li>
  71.  
  72. <?if($MODULE_ID$=='shop')?>
  73. <li id="ucf-details" class="uf-hidden">
  74. <ul class="uf-form ucf-form">
  75. <li><textarea class="uf-txt-input prosFl" rows="3" name="pros" id="pros" placeholder="Плюсы"></textarea>
  76. <li><textarea class="uf-txt-input consFl" rows="3" name="cons" id="cons" placeholder="Минусы"></textarea>
  77. </ul>
  78. </li>
  79. <?endif?>
  80.  
  81. <?if($SECURITY_CODE$)?>
  82. <li>$SECURITY_CODE$</li>
  83. <?endif?>
  84.  
  85. <li>
  86. <input class="commSbmFl uf-btn" id="addcBut" type="submit" name="submit" value="Отправить" />
  87. </li>
  88. </ul>
  89. <?else?>
  90. <div class="myWinError" style="text-align: center; height: 50px; line-height: 50px;">Вы относитесь к группе пользователей, которым запрещено совершать данное действие.</div>
  91. <?endif?>
  92. </div>
  93. </div>
  94. <?else?>
  95. <div class="uauth-small-links uauth-links-set$IMAGE_SET$">Войдите: $SOCIAL_BTNS$</div>
  96. <div class="uComForm-inner">
  97. <span class="ucf-avatar"><img src="/.s/img/icon/social/noavatar.png" alt="avatar" /></span>
  98. <div class="ucf-content ucf-start-content">
  99. <ul class="uf-form ucf-form">
  100. <li><textarea class="uf-txt-input commFl js-start-txt" placeholder="Оставьте ваш комментарий..."></textarea>
  101. <li><button class="uf-btn" onclick="preSaveMessage(); window.open('/index/800?ref='+window.location.href, 'SocialLoginWnd', 'width=500,height=410,resizable=yes,titlebar=yes');">Отправить</button>
  102. </ul>
  103. </div>
  104. </div>
  105. <?endif?>
  106. </div>
RAW Paste Data