[HELP] PHP BC open after?

View previous topic View next topic Go down

[HELP] PHP BC open after?

Post by nstoqnova on Tue Dec 16, 2014 12:40 am

Module which you must indicate when you will start events BC?
I really must thank you in advance!
avatar
nstoqnova
Member
Member

Брой мнения : 8
Points : 27
Reputation : 9
Join date : 2014-12-12

View user profile

Back to top Go down

Re: [HELP] PHP BC open after?

Post by Asgard on Tue Dec 16, 2014 12:42 am

Blood Castle:

Code:
<span id="timespan2">
<script>
<?
echo "var minute2 = ".date("i").";";
echo "var secundes2 = ".date("s").";";
?>
bcin = minute2 * 60 + secundes2;

if(minute2 > 30) doin = 3600 - bcin;
else doin = -bcin;

dobc = doin + 25*60;
function changeeventtime2()
{
dobc = dobc - 1;
if(dobc < -5*60)
{
dobc = 3600 + 30*60;
dobc = dobc-1;
}
min2 = Math.floor(dobc/60);
sec2 = dobc%60;

if(min2 < 0)
{
document.getElementById("timespan2").innerHTML="<font color=green>Open";
}
else
{
if(min2 < 10) min2 = "0"+min2;
if(sec2 < 10) sec2 = "0"+sec2;
document.getElementById("timespan2").innerHTML=min2+":<font color=red>"+sec2;
}


window.setTimeout("changeeventtime2()",1000);
}
changeeventtime2();
    </script></span></code>

Devil Square:

Code:
<span id="timespan2"><code><span class="Estilo3" id="timespan">
<script>
var dods;
<?
echo "var minute = ".date("i").";";
echo "var secundes = ".date("s").";";
?>
dsin = minute * 60 + secundes;
function changeeventtime()
{
dsin = dsin + 1;
dods = 55*60 - dsin;
min = Math.floor(dods/60);
sec = dods%60;
if(dods < 0)
{
document.getElementById("timespan").innerHTML="<font color=green>Open";
}
else
{
if(min < 10) min = "0"+min;
if(sec < 10) sec = "0"+sec;
document.getElementById("timespan").innerHTML=min+":<font color=red>"+sec;
}
window.setTimeout("changeeventtime()",1000);
}
changeeventtime();
    </script></span></code>

!!! Download links are open only to registered users !!!


!!! Линковете за сваляне са отворени единствено за регистрирани потребители !!!

[You must be registered and logged in to see this image.] You don't make the rules! [You must be registered and logged in to see this image.]
avatar
Asgard
Admin
Admin

Брой мнения : 37
Points : 119
Reputation : 14
Join date : 2014-12-10
Age : 29
Местожителство : Germany

View user profile http://WARTUNEMU.COM

Back to top Go down

Re: [HELP] PHP BC open after?

Post by nstoqnova on Tue Dec 16, 2014 12:43 am

Thx Master work 100%
avatar
nstoqnova
Member
Member

Брой мнения : 8
Points : 27
Reputation : 9
Join date : 2014-12-12

View user profile

Back to top Go down

Re: [HELP] PHP BC open after?

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum