Все для Сервера CS 1.6
Все для Сервера CS 1.6
Рекорды Jump
Категории
Мини-чат
Наш опрос
Оцените мой сайт
Всего ответов: 111
Статистика
Статистика сайта как на CSSOMSK.RU

Пользователей всего: 712
Материалов всего [?]: 642 +
Онлайн всего: 5
Гостей: 5
Пользователей: 0
Гости сайта Пользователи

CY-PR.com

Пользователи онлайн:


Главная » Файлы » Ucoz » Скрипты для Ucoz

До нового года осталось...
Информация:
Посетители, находящиеся в группе Гости,не могут скачивать файлы с данного сайта.
Скрипт ставим в блок: 


Code
<hr> <br> <center><div style="padding:2px; border: 1px dashed white; width: 155px;" align="center"> <br> <a href="http://cs-soft.clan.su/"><img src="http://cs-soft.clan.su/1skrept/newyear.jpg" border="0" height="170" width="145"></a> <br> <div style="width: 140px;" align="center"><span style="color:#7B68EE"> <br> <b><div align="center"><script Language="javascript"> 
function cdtime(container, targetdate){ 
if (!document.getElementById || !document.getElementById(container)) return 
this.container=document.getElementById(container) 
this.currentTime=new Date() 
this.targetdate=new Date(targetdate) 
this.timesup=false 
this.updateTime() 

cdtime.prototype.updateTime=function(){ 
var thisobj=this 
this.currentTime.setSeconds(this.currentTime.getSeconds()+1) 
setTimeout(function(){thisobj.updateTime()}, 1000) 

cdtime.prototype.displaycountdown=function(baseunit, functionref){ 
this.baseunit=baseunit 
this.formatresults=functionref 
this.showresults() 

cdtime.prototype.showresults=function(){ 
var thisobj=this 
var timediff=(this.targetdate-this.currentTime)/1000 
if (timediff<0){ 
this.timesup=true 
this.container.innerHTML=this.formatresults() 
return 

var oneMinute=60 
var oneHour=60*60 
var oneDay=60*60*24 
var dayfield=Math.floor(timediff/oneDay) 
var hourfield=Math.floor((timediff-dayfield*oneDay)/oneHour) 
var minutefield=Math.floor((timediff-dayfield*oneDay-hourfield*oneHour)/oneMinute) 
var secondfield=Math.floor((timediff-dayfield*oneDay-hourfield*oneHour-minutefield*oneMinute)) 
if (this.baseunit=="hours"){ 
hourfield=dayfield*24+hourfield 
dayfield="n/a" 

else if (this.baseunit=="minutes"){ 
minutefield=dayfield*24*60+hourfield*60+minutefield 
dayfield=hourfield="n/a" 

else if (this.baseunit=="seconds"){ 
var secondfield=timediff 
dayfield=hourfield=minutefield="n/a" 

this.container.innerHTML=this.formatresults(dayfield, hourfield, minutefield, secondfield) 
setTimeout(function(){thisobj.showresults()}, 1000) 

function formatresults2(){ 
if (this.timesup==false){ 
var displaystring="<span class='nonewyear'>"+arguments[0]+" Дней "+arguments[1]+" Часов<br>"+arguments[2]+" Минут "+arguments[3]+" Секунд</span> " 

else{ 
var displaystring="<span class='newyear1'>С Новым годом!!!</span>" 
//alert("С Новым годом!!!") 

return displaystring 

</script> <br> <div id="countdowncontainer2"></div> <br> <script type="text/javascript"> 
var currentyear=new Date().getFullYear() 
var thischristmasyear=(new Date().getMonth()==0 && new Date().getDate()==1)? currentyear : currentyear + 1 
var christmas=new cdtime("countdowncontainer2", "january 1, "+thischristmasyear+" 0:0:00") 
christmas.displaycountdown("days", formatresults2) 
</script></div></b></span></div></div></center><b><b><hr>

Поделиться с друзьями:

Категория: Скрипты для Ucoz | Добавил: [SLESH][CJ] | Теги:
Просмотров: 818 | Загрузок: 0 | Рейтинг: 5.0

Спасибо автору Жаловаться на материал


Всего комментариев: 0
Добавлять комментарии могут только зарегистрированные пользователи.
[ Регистрация | Вход ]
Мини профиль
Купить ссылку
» Все для uCoz
» Продаю Steam
» Все для CS:GO
» Место свободно
» Все для CS 1.6
» Fotoshop
Все для PhotoShop
Все для Ucoz
Все для CS:S
Мини-бар





Друзья
Свободное рекламное место 150х200


Мониторинг Игровых Серверов Counter-Strike 1.6 Мониторинг Игровых Серверов Counter-Strike 1.6

[ Заказать рекламу ]
Сервера CS 1.6 сервера cs 1.6 gungame
Друзья сайта
  • Счетчик юзеров
  • Всего юзеров: 712
    За месяц: 0
    За неделю: 0
    За вчера: 0
    Сегодня: 0
  • Счетчик материалов
  • Всего файлов: 421
    Всего новостей: 207
    Всего статей: 0
    Темы форума: 8

    Cs-Soft.Clan.Su - все для начинающего Веб Мастера

    Cs-Soft.Clan.Su - все для начинающего Веб Мастера

    Cs-Soft.Clan.Su - все для начинающего Веб Мастера