Jump to content
JG:RP sedang menjadi korban serangan DDoS dengan skala besar. Semua tanggung jawab terkait ini sudah diserahkan penuh ke pihak hosting provider. ×

[Guide] Membuat Dasar HTML


Elastic

Recommended Posts

  • 4 weeks later...
Posted
On 9/26/2016 at 8:19 PM, McCartney's -Dhelz- said:

Mantep ini.

Dulu pernah belajar, heking hekingan, udah lupa kaowekawe

Wah fadel hekel nih, awkawk. Mendingan bikin 'Phising'

  • 3 weeks later...
  • 1 month later...
Posted
<html>
  <head>
    <title> Virus is comming down !! </title>
  </head>
  <body>
    
<? /*
   declare target date; source: http://us.imdb.com/ReleaseDates?0121766 ; 
  */
  $day   = 31;     // Day of the countdown
  $month = 12;      // Month of the countdown
  $year  = 2017;   // Year of the countdown
  $hour  = 23;     // Hour of the day (east coast time)
  $event = "Heil Yeah, 2017"; //event

  $calculation = ((mktime ($hour,0,0,$month,$day,$year) - time(void))/3600);
  $hours = (int)$calculation;
  $days  = (int)($hours/24);
/*
  mktime() http://www.php.net/manual/en/function.mktime.php
  time()   http://www.php.net/manual/en/function.time.php
  (int)    http://www.php.net/manual/en/language.types.integer.php
*/
?>
<ul>
<li>The date is <?=(date ("l, jS \of F Y g:i:s A"));?>.</li>
<li>It is <?=$days?> days until <?=$event?>.</li>
<li>It is <?=$hours?> hours until <?=$event?>.</li>
</ul>
  </body>
</html>

 

Mungkin code ini bisa membantu pengetahuan php dan html mu :)

  • 2 months later...
  • 1 month later...
  • 3 weeks later...
  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...