View Single Post
  #10  
Old 11th December 2014, 21:48
WhyMe WhyMe is offline
Banned
 
Join Date: Apr 2014
P2P
Posts: 160
Thumbs up
@CL

REMOVE WHAT YOU HAVE

Now add this

PHP Code:
<html><head>
<
meta http-equiv="refresh content=60">

</
head><body class="none" style="color: #FF8040; font-size: 8pt; font-weight: bold; font-family: Verdana; height: 0px; margin-bottom: 0px; margin-top: 0px; padding-top: 0px; text-align: center;">
      <
script type="text/javascript">

<!-- 
Script par Deoxys pour l'EJS

var date_statement="";
var time_statement="";
var today=new Date();
var month="";
var day="";
function todays_date() {
var month=today.getMonth();
var day_of_week=today.getDay();
date_statement=""
document.month=""
month++; // Entre 1 et 12 ^^
if(month==1) {
january(today.getDate());
document.month="January";
}
if(month==2) {
february(today.getDate());
document.month="February";
}
if(month==3) {
march(today.getDate());
document.month="March";
}
if(month==4) {
april(today.getDate());
document.month="April";
}
if(month==5) {
may(today.getDate());
document.month="May";
}
if(month==6) {
june(today.getDate());
document.month="June";
}
if(month==7) {
july(today.getDate());
document.month="July";
}
if(month==8) {
august(today.getDate());
document.month="Auguest";
}
if(month==9) {
september(today.getDate());
document.month="september";
}
if(month==10) {
october(today.getDate());
document.month="October";
}
if(month==11) {
november(today.getDate());
document.month="November";
}
if(month==12) {
december(today.getDate());
document.month="December";
}
document.day=""
if(day_of_week==0)
document.day="Sunday";
if(day_of_week==1)
document.day="Monday";
if(day_of_week==2)
document.day="Tuesday";
if(day_of_week==3)
document.day="Wednesday";
if(day_of_week==4)
document.day="Thursday";
if(day_of_week==5)
document.day="Friday";
if(day_of_week==6)
document.day="Saturday";
}
function january(date) {
if(date==1)
date_statement="best wishes";
}
function february(date) {
if(date==14)
date_statement="Happy Valentine'
s Day";
}
function march(date) {
if(date==1)
date_statement="";
}
function april(date) {
if(date==1)
date_statement="
Prepare your fish";
}
function may(date) {
if(date==1)
date_statement="
Labour Day";
if(date==21)
date_statement="
test";
}
function june(date) {
if(date==21)
date_statement="
Good music festival";
if(date==24)
date_statement="
Happy Birthday Quebec";
}
function july(date) {
if(date==1)
date_statement="
Happy Birthday Canada";
if(date==14)
date_statement="
Happy Birthday French";
}
function august(date) {
if(date==1)
date_statement="";
}
function september(date) {
if(date==11)
date_statement+="
1 minute of silence for the 2001 attacks";
}
function october(date) {
if(date==31)
date_statement="
Good Halloween";
}
function november(date) {
if(date==11)
date_statement="
Remembrance Day";
}
function december(date) {
if(date==25)
date_statement="
And Merry Christmas";
if(date==31)
date_statement="
Eve and Good";
}

function time_of_day() {
var time=today.getHours();
time_statement=""
if(time>=6 && time<8)
time_statement="
Good Awakening"
if(time>=8 && time<12)
time_statement="
Good morning"
if(time>=12 && time<13)
time_statement="
Enjoy your meal"
if(time>=13 && time<17)
time_statement="
Good afternoon"
if(time>=17 && time<18)
time_statement="
Enjoy the rest of the afternoon"
if(time>=18 && time<23)
time_statement="
Good evening"
if(time>=23 || time<6)
time_statement="
Good night"
}

time_of_day();
todays_date();
document.writeln(" "+time_statement+"
we are on the "+document.day+" "+today.getDate()+" "+document.month+" "+date_statement+".")

// -- Fin du script -->
</script> 
<noscript><a href="
http://www.editeurjavascript.com/mycircle/">link exchange</a></noscript>



</body></html

Now ENG LANG
Reply With Quote