Here Is A Code

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Here Is A Code

    this cod is for count down enjoy
    <?
    $day = 1;
    $month = 1;
    $year = 2008;
    $end = mktime(0,0,0,$month,$day,$year);
    $today= mktime(date("G"),date("i"),
    date("s"),date("m"),date("d"),date("Y"));
    $days=($end-$today)/86400;
    if ($days>0) {
    $r1 = explode(&#39;.&#39;,$days);
    $hours=24*($days-$r1[0]);
    $r2 = explode(&#39;.&#39;,$hours);
    $minutes=60*($hours-$r2[0]);
    $r3 = explode(&#39;.&#39;,$minutes);
    $seconds=60*($minutes-$r3[0]);
    $r4 = explode(&#39;.&#39;,$seconds);
    echo &#39;Days left: &#39; .$r1[0];
    echo &#39;
    Time left: &#39; . $r2[0] . &#39;:&#39; . $r3[0] . &#39;:&#39; . $r4[0];
    } else {
    echo "today is roger birthday lol";}
    ?>

    #2
    Old one but thanx for the idea bro

    Click here!!!

    Comment

    Working...
    X