Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Mods & Themes (http://www.bvlist.com/forumdisplay.php?f=117)
-   -   Time script tsse 5.6 header.php (http://www.bvlist.com/showthread.php?t=6430)

smoky28 12th May 2011 20:05

Time script tsse 5.6 header.php
 
http://noob.hu/2011/05/12/sript3.jpgHello friends, this little thread sriptet accessories with what I publish here on the forum theme header.php Indeed every part of the menu placed in front
two images is accompanied by a fitting place.

This script is compatible with Ts and Torrentstrike Tbdev MyphpBittorrent and Btit torrent engines

The French language is translated as Drack friend:ok::ok::drink::drink:

PHP Code:

<script language="JavaScript">

<!--



function 
resetIt() {



var 
timerID null;

var 
timerRunning false;



if(
timerRunning)

clearTimeout(timerID);

timerRunning false;

var 
timeNow = new Date();

var 
hours timeNow.getHours();

var 
minutes timeNow.getMinutes();

var 
seconds timeNow.getSeconds();

var 
timeValue "" + ((hours >24) ? hours -24 :hours)

timeValue = ((timeValue <10)? "0":"") + timeValue

timeValue 
+= ((minutes 10) ? ":0" ":") + minutes

timeValue 
+= ((seconds 10) ? ":0" ":") + seconds

timerID 
setTimeout("resetIt()",100);

timerRunning true;

var 
dateNow = new Date();

var 
days = new Array('vasárnap','Hétfő','Kedd','Szerda','Csütörtök','Péntek','Szombat');

var 
months = new Array('Januűr','Február','Március','Április','Május','Június','Július','Augusztus','Szeptember','Október','November','December');

var 
date = ((dateNow.getDate()<10) ? "0" "")+ dateNow.getDate();

function 
y2k(number){return (number 1000) ? number 1900 number;}

today = (y2k(dateNow.getYear())) + " " months[dateNow.getMonth()] + " " date ". " days[dateNow.getDay()] + " " timeValue;



  if(
document.all || document.getElementById){ // Browser Check

     
document.title today.toString();

  }else{

     
self.status today.toString(); // Default to status.

  
}

}

resetIt();

//-->

</script> 

http://noob.hu/2011/05/12/sript1.jpghttp://noob.hu/2011/05/12/sript2.JPG

PAX 19th March 2012 16:04

cool mod. thank you. :drink:

gogo999 1st May 2012 14:23

Quote:

Originally Posted by smoky28 (Post 27928)
Hello friends, this little thread sriptet accessories with what I publish here on the forum theme header.php Indeed every part of the menu placed in front
two images is accompanied by a fitting place.

This script is compatible with Ts and Torrentstrike Tbdev MyphpBittorrent and Btit torrent engines

I do not know what to do

Please look image


All times are GMT +2. The time now is 23:41.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.