Форма входа
Логин:
Пароль:
[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Форум » скрипты для ucoz » пользователи » Меняем цвет модеров и админов в последнем ответе (помог ставь +)
Меняем цвет модеров и админов в последнем ответе
bars60rusДата: Среда, 30.12.2009, 00:44 | Сообщение # 1


Группа: Удаленные
Награды





Меняем цвет модеров и админов в последнем ответе

1. Ставим после $BODY$ в "Общий вид страниц форума"

Code
script type="text/javascript">   
links=document.getElementsByTagName('a');   
admins=new Array('Danil_KA'); // прописываем админов   
moders=new Array('SEK_TOR','Zilo','Garik_fm','sam','SeW@_67_RuS','Frankenstein','Ы-Ы'); // прописываем модеров   
admcol='red'; // цвет админов   
modcol='blue'; // цвет модеров   
// дальше ничего не трогаем!   
for(i=0;i<links.length;i++){   
if(links[i].className=='lastPostUserLink'){   
for(m=0;m<moders.length;m++){   
if(links[i].innerHTML==moders[m]){   
links[i].style.color=modcol;}}   
for(a=0;a<admins.length;a++){   
if(links[i].innerHTML==admins[a]){   
links[i].style.color=admcol;}}}}   
</script>

Админов и модеров прописываем в одинарных кавычках, через запятую.

2. Более простой. Позволяет выделять любых пользователей, но каждого надо прописывать отдельно.
Ставим после $BODY$ в "Общий вид страниц форума" :

Code
<script type="text/javascript">          
links=document.getElementsByTagName('a');          
for(i=0;i<links.length;i++){          
if(links[i].className=='lastPostUserLink'){          
user=links[i].innerHTML;          
// далее надо прописать юзеров и их цвета          
if(user=='ЮЗЕР){links[i].style.color='red';}          
if(user=='ЮЗЕР'){links[i].style.color='red';}          
if(user=='ЮЗЕР'){links[i].style.color='blue';}          
if(user=='ЮЗЕР'){links[i].style.color='blue';}          
if(user=='ЮЗЕР'){links[i].style.color='blue';}          
if(user=='ЮЗЕР'){links[i].style.color='#00ff00';}          
if(user=='ЮЗЕР'){links[i].style.color='rgb(255,124,0)';}          
}}          
</script>

Для каждого юзера нужна строчка if(user=='ЮЗЕР'){links[i].style.color='цвет';}

превышаем яркость цвета

Цвета можно прописать также как и в CSS. Возьмём к примеру синий. Можно написать английское название — blue. Можно написать в HEX — #0000ff. Можно также в RGB — rgb(0,0,255).

 
DavidclisyДата: Суббота, 26.11.2016, 15:45 | Сообщение # 2


Группа: Пользователи
Сообщений: 13
Награды
Награды: 0
Репутация: 0
Статус: Оффлайн
aOur company offers general health products. Look at our health contributing portal in case you want to look healthier. Tetracycline kosten verbouwen Our company offers health and related products. Look at our health contributing portal in case you want to improve your health. Malegra kostnad aek larnaca Our company provides a wide variety of non prescription drugs. Look at our health portal in case you want to look healthier with a help of general health products. Hvor fГҐr man kjГёpt prednisolone Our company offers supreme quality pills. Visit our health contributing portal in case you want to look better. Koop strattera official website Our company offers herbal supplements. Look at our health contributing portal in case you want to look healthier. http://jr3.trustrxstore.top/it/slimex-1/acquista-online-slimex-86755.html Our site offers a wide variety of non prescription drugs. Take a look at our health website in case you want to to improve your health with a help of general health products. Fluoxetine nett trial
Our site offers a wide variety of non prescription drugs. Visit our health portal in case you want to look healthier with a help of health products. Salg zithromax american Our company provides a wide variety of non prescription drugs. Visit our health portal in case you want to to improve your health with a help of health products. Flagyl kosten lenzen Our company offers generic pharmacy. Take a look at our health contributing portal in case you want to improve your health. Zithromax ilman reseptiae extended Our company offers herbal health and related products. Take a look at our health contributing website in case you want to look better. http://v1o.trustrxstore.top/no/metformin-6/salg-metformin-uic-blackboard-57468.html Our site offers a wide variety of non prescription products. Look at our health site in case you want to to feel healthier with a help general health products.
Our company provides a wide variety of non prescription drugs. Look at our health website in case you want to look healthier with a help health products. Packung motilium preis Our company provides a wide variety of non prescription drugs. Visit our health site in case you want to look healthier with a help health products. Propranolol originale vendita Our company provides supreme quality weight loss products. Take a look at our health contributing portal in case you want to feel healthier. Bestelling retin-a urination Our company offers safe general health products. Look at our health contributing portal in case you want to feel healthier. Motilium verkosta mh370 Our company offers herbal supplements. Visit our health contributing website in case you want to improve your health. http://e3p.trustrxstore.top/sv/kamagra-2/kamagra-inget-recept-fda-64684.html Our company offers herbal healthcare products. Visit our health contributing website in case you want to improve your health. Salg prednisolone low price
Our company offers herb-based health and related products. Look at our health contributing website in case you want to strengthen your health. Kann man sildalis kaufen apotheke Our company provides supreme quality weight loss products. Look at our health contributing website in case you want to look healthier. Cytotec niet-receptplichtige pjs coffee Our company offers health products. Look at our health contributing website in case you want to strengthen your health. Prozac niet-receptplichtige qoqle Our company provides a wide variety of non prescription products. Look at our health website in case you want to strengthen your health with a help of health products. http://gm6.trustrxstore.top/en/malegra-6/malegra-odt-price-58744.html Our company provides a wide variety of non prescription products. Look at our health portal in case you want to to feel healthier with a help generic supplements.
 
AndrewBrerbДата: Четверг, 01.12.2016, 21:13 | Сообщение # 3


Группа: Пользователи
Сообщений: 17
Награды
Награды: 0
Репутация: 0
Статус: Оффлайн
aOur company provides supreme quality pills. Take a look at our health contributing website in case you want to look better. http://b58b.thebestrx.xyz/de/silagra-3/silagra-kosten-krankenkasse-20529.html - Silagra kosten krankenkasse Our company offers supreme quality health and related products. Take a look at our health contributing site in case you want to look healthier. http://7lb.thebestrx.xyz/sv/cytotec-5/aer-det-lagligt-att-koepa-cytotec-p-naetet-96063.html - Är det lagligt att köpa cytotec på nätet Our company provides supreme quality healthcare products. Take a look at our health contributing portal in case you want to feel healthier. http://j9r3.thebestrx.xyz/sv/ampicillin-6/ampicillin-priser-ultraviolet-37079.html - Ampicillin priser ultraviolet Our site offers a wide variety of non prescription drugs. Visit our health site in case you want to strengthen your health with a help of generic supplements. http://8m1n.thebestrx.xyz/it/glucophage-3/costo-scatola-glucophage-95547.html - Costo scatola glucophage Our company provides herbal health products. Visit our health contributing website in case you want to strengthen your health. http://p5k.thebestrx.xyz/fi/levitra-2/halpoja-levitra-emblem-60094.html Our company offers a wide variety of non prescription drugs. Visit our health website in case you want to look better with a help health products. http://h7.thebestrx.xyz/nl/accutane-7/accutane-prijs-jk-forum-22543.html - Accutane prijs jk forum
Our company provides a wide variety of non prescription drugs. Take a look at our health site in case you want to strengthen your health with a help of health products. http://a12x.thebestrx.xyz/it/nolvadex-5/svizzera-nolvadex-senza-ricetta-87560.html - Svizzera nolvadex senza ricetta Our company provides a wide variety of non prescription drugs. Look at our health portal in case you want to strengthen your health. http://8r.thebestrx.xyz/es/hydrochlorothiazide-5/venta-hydrochlorothiazide-available-as-generic-india-52269.html - Venta hydrochlorothiazide available as generic india Our company provides herbal weight loss products. Look at our health contributing portal in case you want to feel healthier. http://b58b.thebestrx.xyz/sv/silagra-3/var-ska-man-koepa-silagra-17170.html - Var ska man köpa silagra Our company offers a wide variety of pills. Visit our health contributing site in case you want to strengthen your health. http://wc3.thebestrx.xyz/en/slimex-8/sale-slimex-no-presciptionneeded-43598.html Our company offers herb-based pharmacy. Look at our health contributing website in case you want to strengthen your health.
Our site offers a wide variety of non prescription drugs. Take a look at our health website in case you want to feel better with a help generic supplements. http://p5k.thebestrx.xyz/nl/levitra-3/kopen-levitra-without-a-doctor-36965.html - Kopen levitra without a doctor Our company provides a wide variety of non prescription drugs. Look at our health website in case you want to strengthen your health with a help health products. http://z7m4.thebestrx.xyz/nl/zoloft-6/buy-zoloft-online-in-australia-19166.html - Buy zoloft online in australia Our company provides herbal pharmacy. Take a look at our health contributing site in case you want to look better. http://61cy.thebestrx.xyz/dk/alesse-3/ordre-alesse-for-her-46718.html - Ordre alesse for her Our company offers herb-based supplements. Look at our health contributing site in case you want to feel healthier. http://wz9.thebestrx.xyz/fr/tadapox-6/tadapox-sans-ordonnance-jnj-56155.html - Tadapox sans ordonnance jnj Our company offers herb-based pharmacy. Look at our health contributing site in case you want to improve your health. http://6t.thebestrx.xyz/fi/atarax-7/atarax-tilaus-pj-whelihans-37802.html Our company provides weight loss products. Look at our health contributing website in case you want to feel healthier. http://hu24.thebestrx.xyz/fr/alesse-3/alesse-cot-main-doeuvre-34688.html - Alesse coГ»t main doeuvre
Our company offers supreme quality health products. Look at our health contributing website in case you want to strengthen your health. http://is0.thebestrx.xyz/fi/amoxil-8 - Amoxil verkossa ULTA Our company offers generic supplements. Visit our health contributing portal in case you want to strengthen your health. http://t26b.thebestrx.xyz/no/metformin-1/kjp-metformin-i-norge-uten-resept-73667.html - KjГёp metformin i norge uten resept Our company offers a wide variety of pharmacy. Look at our health contributing site in case you want to look better. http://v6g.thebestrx.xyz/sv/prozac-7/rea-prozac-etkileri-36838.html - Rea prozac etkileri Our company offers supreme quality pharmacy. Take a look at our health contributing website in case you want to improve your health. http://l8.thebestrx.xyz/it/dapoxetine-5/dapoxetine-generico-senza-ricetta-farmacia-58343.html Our company offers herbal healthcare products. Look at our health contributing site in case you want to feel better.
 
Форум » скрипты для ucoz » пользователи » Меняем цвет модеров и админов в последнем ответе (помог ставь +)
  • Страница 1 из 1
  • 1
Поиск: