Меню сайта

Реклама



Мини-профиль
Турист



СТАЛКЕР!
Привет сталкер!
Я рад тбя видеть!
Но я незнаю кто ты?
Регистрация
Вход!

---

Список Сталкеров

Мини-чат

Вход на сайт
Ну что застыл?Входи уже!
Логин:
Пароль:

Категории раздела
Шаблоны [44] Скрипты [32]

Поиск

Активисты форума
Мировой
"VIP"
Ранг: Бог зоны
Посты: 1857
Пол: Сталкер
Репутация: 521
Ramzes
"Модератор"
Ранг: Бог зоны
Посты: 1116
Пол: Сталкер
Репутация: 112
Червь
"VIP"
Ранг: Бог зоны
Посты: 875
Пол: Сталкер
Репутация: 250

Наш опрос
Какой твой любимый пистолет?
Ответов: 238

Друзья сайта


Друзья сайта


Статистика

Онлайн всего: 1
Туристов: 1
Сталкеров: 0

Каталог файлов
Скачать игры торрент mystalkers.ru
Главная » Файлы » Web STALKER » Скрипты

Скрипт предупреждения на форум для администрации
25.07.2013, 14:16
В общий вид страниц форума
После тега $BODY$

Код
<script type="text/javascript">  
  e=document.getElementsByTagName("TD");  
  for(k=0;k<e.length;k++) {  
  if(e[k].className=='posttdMessage') {  
  s=e[k].innerHTML;  
  while (s.indexOf('[news]') != -1) {  
  s=s.replace('[news]','<table width="100%" border="0" cellspacing="0" cellpadding="5" style="background-color:#161618; border-top:1px dotted #FF6600; border-right:1px dotted #FF6600; border-bottom:1px dotted #FF6600; border-left:1px dotted #FF6600;"><tr><td style="width:50px; height:50px; background-image: url(http://stalkergame.net.ru/skript/8.png); background-repeat:no-repeat; background-position:5px 3px;"> </td><td><font style="font-size: 11px; font-family: Verdana; color: #FF6600">'); s=s.replace('[/news]','</font></td></tr></table>');  
  e[k].innerHTML=s;}}}  
  </script>  

  <script type="text/javascript">  
  e=document.getElementsByTagName("TD");  
  for(k=0;k<e.length;k++) {  
  if(e[k].className=='posttdMessage') {  
  s=e[k].innerHTML;  
  while (s.indexOf('[diz]') != -1) {  
  s=s.replace('[diz]','<table width="100%" border="0" cellspacing="0" cellpadding="5" style="background-color:#161618; border-top:1px dotted #00FFFF; border-right:1px dotted #00FFFF; border-bottom:1px dotted #00FFFF; border-left:1px dotted #00FFFF;"><tr><td style="width:50px; height:50px; background-image: url(http://stalkergame.net.ru/skript/5.png); background-repeat:no-repeat; background-position:5px 3px;"> </td><td><font style="font-size: 11px; font-family: Verdana; color: #00FFFF">'); s=s.replace('[/diz]','</font></td></tr></table>');  
  e[k].innerHTML=s;}}}  
  </script>  

  <script type="text/javascript">  
  e=document.getElementsByTagName("TD");  
  for(k=0;k<e.length;k++) {  
  if(e[k].className=='posttdMessage') {  
  s=e[k].innerHTML;  
  while (s.indexOf('[akor]') != -1) {  
  s=s.replace('[akor]','<table width="100%" border="0" cellspacing="0" cellpadding="5" style="background-color:#161618; border-top:1px dotted #a36767; border-right:1px dotted #a36767; border-bottom:1px dotted #a36767; border-left:1px dotted #a36767;"><tr><td style="width:50px; height:50px; background-image: url(http://stalkergame.net.ru/skript/11.png); background-repeat:no-repeat; background-position:5px 3px;"> </td><td><font style="font-size: 11px; font-family: Verdana; color: #a36767;">'); s=s.replace('[/akor]','</font></td></tr></table>');  
  e[k].innerHTML=s;}}}  
  </script>  

  <script type="text/javascript">  
  e=document.getElementsByTagName("TD");  
  for(k=0;k<e.length;k++) {  
  if(e[k].className=='posttdMessage') {  
  s=e[k].innerHTML;  
  while (s.indexOf('[azel]') != -1) {  
  s=s.replace('[azel]','<table width="100%" border="0" cellspacing="0" cellpadding="5" style="background-color:#161618; border-top:1px dotted #62a08e; border-right:1px dotted #62a08e; border-bottom:1px dotted #62a08e; border-left:1px dotted #62a08e;"><tr><td style="width:50px; height:50px; background-image: url(http://stalkergame.net.ru/skript/10.png); background-repeat:no-repeat; background-position:5px 3px;"> </td><td><font style="font-size: 11px; font-family: Verdana; color: #62a08e;">'); s=s.replace('[/azel]','</font></td></tr></table>');  
  e[k].innerHTML=s;}}}  
  </script>  

  <script type="text/javascript">  
  e=document.getElementsByTagName("TD");  
  for(k=0;k<e.length;k++) {  
  if(e[k].className=='posttdMessage') {  
  s=e[k].innerHTML;  
  while (s.indexOf('[blue]') != -1) {  
  s=s.replace('[blue]','<table width="100%" border="0" cellspacing="0" cellpadding="5" style="background-color:#161618; border-top:1px dotted #0066CC; border-right:1px dotted #0066CC; border-bottom:1px dotted #0066CC; border-left:1px dotted #0066CC;"><tr><td style="width:50px; height:50px; background-image: url(http://stalkergame.net.ru/skript/6.png); background-repeat:no-repeat; background-position:5px 3px;"> </td><td><font style="font-size: 11px; font-family: Verdana; color: #0066CC">'); s=s.replace('[/blue]','</font></td></tr></table>');  
  e[k].innerHTML=s;}}}  
  </script>  

  <script type="text/javascript">  
  e=document.getElementsByTagName("TD");  
  for(k=0;k<e.length;k++) {  
  if(e[k].className=='posttdMessage') {  
  s=e[k].innerHTML;  
  while (s.indexOf('[reklama]') != -1) {  
  s=s.replace('[reklama]','<table width="100%" border="0" cellspacing="0" cellpadding="5" style="background-color:#161618; border-top:1px dotted #898989; border-right:1px dotted #898989; border-bottom:1px dotted #898989; border-left:1px dotted #898989;"><tr><td style="width:50px; height:50px; background-image: url(http://stalkergame.net.ru/skript/4.png); background-repeat:no-repeat; background-position:5px 3px;"> </td><td><font style="font-size: 11px; font-family: Verdana; color: 898989;">'); s=s.replace('[/reklama]','</font></td></tr></table>');  
  e[k].innerHTML=s;}}}  
  </script>  

  <script type="text/javascript">  
  e=document.getElementsByTagName("TD");  
  for(k=0;k<e.length;k++) {  
  if(e[k].className=='posttdMessage') {  
  s=e[k].innerHTML;  
  while (s.indexOf('') != -1) {  
  s=s.replace('','<table width="100%" border="0" cellspacing="0" cellpadding="5" style="background-color:#161618; border-top:1px dotted red; border-right:1px dotted red; border-bottom:1px dotted red; border-left:1px dotted red;"><tr><td style="width:50px; height:50px; background-image: url(http://stalkergame.net.ru/skript/2.png); background-repeat:no-repeat; background-position:5px 3px;"> </td><td><font style="font-size: 11px; font-family: Verdana; color: red;">'); s=s.replace('','</font></td></tr></table>');  
  e[k].innerHTML=s;}}}  
  </script>  

  <script type="text/javascript">  
  e=document.getElementsByTagName("TD");  
  for(k=0;k<e.length;k++) {  
  if(e[k].className=='posttdMessage') {  
  s=e[k].innerHTML;  
  while (s.indexOf('') != -1) {  
  s=s.replace('','<table width="100%" border="0" cellspacing="0" cellpadding="5" style="background-color:#161618; border-top:1px dotted #7bae01; border-right:1px dotted #7bae01; border-bottom:1px dotted #7bae01; border-left:1px dotted #7bae01;"><tr><td style="width:50px; height:50px; background-image: url(http://stalkergame.net.ru/skript/3.png); background-repeat:no-repeat; background-position:5px 3px;"> </td><td><font style="font-size: 11px; font-family: Verdana; color: #7bae01;">'); s=s.replace('','</font></td></tr></table>');  
  e[k].innerHTML=s;}}}  
  </script>  

  <script type="text/javascript">  
  e=document.getElementsByTagName("TD");  
  for(k=0;k<e.length;k++) {  
  if(e[k].className=='posttdMessage') {  
  s=e[k].innerHTML;  
  while (s.indexOf('[designer]') != -1) {  
  s=s.replace('[designer]','<table width="100%" border="0" cellspacing="0" cellpadding="5" style="background-color:#161618; border-top:1px dotted yellow; border-right:1px dotted yellow; border-bottom:1px dotted yellow; border-left:1px dotted yellow;"><tr><td style="width:50px; height:50px; background-image: url(http://stalkergame.net.ru/skript/1.png); background-repeat:no-repeat; background-position:5px 3px;"> </td><td><font style="font-size: 11px; font-family: Verdana; color: yellow;">'); s=s.replace('[/designer]','</font></td></tr></table>');  
  e[k].innerHTML=s;}}}  
  </script>


В форму добавления сообщения:
После тега $BBCODES$


Код
<?if($CUR_GROUP_ID$="4")?><input type="button" value="admin" onclick="simpletag('admin','','','message',''); return false;" class="codeButtons" title="Вставить админ-сообщение (Красное)" name="admin"/><?endif?>  
  <?if($CUR_GROUP_ID$="4")?><input type="button" value="moder" onclick="simpletag('moder','','','message',''); return false;" class="codeButtons" title="Вставить админ-сообщение (Зелёное)" name="moder"/><?endif?>  
  <?if($CUR_GROUP_ID$="4")?><input type="button" value="designer" onclick="simpletag('designer','','','message',''); return false;" class="codeButtons" title="Вставить админ-сообщение (Жёлтое)" name="designer"/><?endif?>  
  <?if($CUR_GROUP_ID$="4")?><input type="button" value="reklama" onclick="simpletag('reklama','','','message',''); return false;" class="codeButtons" title="Вставить админ-сообщение (Серое)" name="reklama"/><?endif?>  
  <?if($CUR_GROUP_ID$="4")?><input type="button" value="blue" onclick="simpletag('blue','','','message',''); return false;" class="codeButtons" title="Вставить админ-сообщение (Синее)" name="blue"/><?endif?>  
  <?if($CUR_GROUP_ID$="4")?><input type="button" value="azel" onclick="simpletag('azel','','','message',''); return false;" class="codeButtons" title="Вставить админ-сообщение (Тёмно-зелёное)" name="azel"/><?endif?>  
  <?if($CUR_GROUP_ID$="4")?><input type="button" value="akor" onclick="simpletag('akor','','','message',''); return false;" class="codeButtons" title="Вставить админ-сообщение (Коричневое)" name="akor"/><?endif?>  
  <?if($CUR_GROUP_ID$="4")?><input type="button" value="diz" onclick="simpletag('diz','','','message',''); return false;" class="codeButtons" title="Вставить админ-сообщение (Ярко-зелёное)" name="diz"/><?endif?>  
  <?if($CUR_GROUP_ID$="4")?><input type="button" value="news" onclick="simpletag('news','','','message',''); return false;" class="codeButtons" title="Вставить админ-сообщение (Оранжевое)" name="news"/><?endif?>
Категория: Скрипты | Добавил: XemorDio
Просмотров: 1495 | Загрузок: 0 | Рейтинг: 0.0/0
Всего комментариев: 0
Добавлять комментарии могут только зарегистрированные пользователи.
[ Регистрация | Вход ]

Портал Stalker-St является собственностью его владельца.
Копирование материалов дизайна Запрещено!
Дизайн сделал Александр Пюссе (Grimm)
Stalker-St.ru © 2011 - 2014
Хостинг от uCoz