Saat Takibi Yardım

Rate This Thread:
Results 1 to 3 of 3

Thread: Saat Takibi Yardım

  1. Go to Thank YouDownload #1
    Go to Thank You
    Üye kudret443's Avatar

    Info

    Go to Top of Post

    Default Saat Takibi Yardım

    BÖYLE Bİ SİSTEM LAZIM. SAATİ GEÇTİKDEN SONRA KIRMIZI OLUCAK ACİL. [MENTION=1]yilmaz[/MENTION] TEŞEKKÜR EDERİM




    Similar Threads:

  2. The Following 3 Users Say Thank You to kudret443 For This Useful Post:

  3. Go to Thank YouDownload #2
    Go to Thank You
    Yönetici yilmaz's Avatar

    Info

    Go to Top of Post

    [MENTION=39479]kudret443[/MENTION] usta böyle bir kodlama yaptım.

    Demo https://www.yilmaztv.com/demo/saat/saat.php
    saat.zip php dosyası en alta ekte.
    PHP Code:
    1. <!DOCTYPE html>
    2. <html>
    3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    4. <title>SAATİ GEÇTİKDEN SONRA KIRMIZI OLUCAK</title>
    5. <meta name="viewport" content="width=device-width, initial-scale=1" />
    6. <style>
    7. html,body{font-family:Verdana,sans-serif;font-size:15px;line-height:1.5;}
    8. html{overflow-x:hidden;}
    9. h1,h2,h3,h4,h5,h6{font-family:"Segoe UI",Arial,sans-serif;font-weight:700;margin:10px 0;text-align: center;}
    10. .saat-container{padding:0.01em 16px}
    11. .saat-container:after,.saat-container:before{content:"";display:table;clear:both;}
    12. .saat-tag{background-color:red;color:#fff;display:inline-block;padding-left:8px;padding-right:8px;text-align:center;margin: 5px;border-radius:5px;}
    13. .saat-xlarge{font-size:24px!important}
    14. span.saat-tag.saat-xlarge:hover {
    15.     background: #03e9f4;
    16.     border-radius: 5px;
    17.     color:#000 !important;
    18.     box-shadow: 0 0 5px #03e9f4, 0 0 25px #03e9f4, 0 0 50px #03e9f4, 0 0 100px #03e9f4;
    19. }
    20. </style>
    21. <body>
    22. <div class="saat-container">            
    23.                 <?php 
    24.                 $saati = array('07:35''08:35''09:35''10:35''11:35''12:35''13:35''14:35''15:35''16:35''17:35''18:35''19:35''20:35');
    25.                 $anliksSaat date('H:i');
    26.                echo '<h2>SAAT '.$anliksSaat.'</h2>';
    27.                 foreach ($saati as $saat){
    28.                     $class '';
    29.                     if ($saat $anliksSaat){
    30.                         $class ' style="background-color:forestgreen"';
    31.                     }                    
    32.                     echo '<span class="saat-tag saat-xlarge"'.$class.'>'$saat'</span>';            
    33.                 }
    34.                 ?>
    35. </div>
    36. </body>
    37. </html>
    Selam ve Saygılarla İyi Forumlar...


    Eklenmiş Dosya Eklenmiş Dosya
    • File Type: zip saat.zip (894 Bytes, 8x kez indirilmiştir)

  4. The Following 4 Users Say Thank You to yilmaz For This Useful Post:

  5. Go to Thank YouDownload #3
    Go to Thank You
    Üye kudret443's Avatar

    Info

    Go to Top of Post

    Quote Originally Posted by yilmaz View Post
    @kudret443 usta böyle bir kodlama yaptım.

    Demo https://www.yilmaztv.com/demo/saat/saat.php
    saat.zip php dosyası en alta ekte.
    PHP Code:
    1. <!DOCTYPE html>
    2. <html>
    3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    4. <title>SAATİ GEÇTİKDEN SONRA KIRMIZI OLUCAK</title>
    5. <meta name="viewport" content="width=device-width, initial-scale=1" />
    6. <style>
    7. html,body{font-family:Verdana,sans-serif;font-size:15px;line-height:1.5;}
    8. html{overflow-x:hidden;}
    9. h1,h2,h3,h4,h5,h6{font-family:"Segoe UI",Arial,sans-serif;font-weight:700;margin:10px 0;text-align: center;}
    10. .saat-container{padding:0.01em 16px}
    11. .saat-container:after,.saat-container:before{content:"";display:table;clear:both;}
    12. .saat-tag{background-color:red;color:#fff;display:inline-block;padding-left:8px;padding-right:8px;text-align:center;margin: 5px;border-radius:5px;}
    13. .saat-xlarge{font-size:24px!important}
    14. span.saat-tag.saat-xlarge:hover {
    15.     background: #03e9f4;
    16.     border-radius: 5px;
    17.     color:#000 !important;
    18.     box-shadow: 0 0 5px #03e9f4, 0 0 25px #03e9f4, 0 0 50px #03e9f4, 0 0 100px #03e9f4;
    19. }
    20. </style>
    21. <body>
    22. <div class="saat-container">            
    23.                 <?php 
    24.                 $saati = array('07:35''08:35''09:35''10:35''11:35''12:35''13:35''14:35''15:35''16:35''17:35''18:35''19:35''20:35');
    25.                 $anliksSaat date('H:i');
    26.                echo '<h2>SAAT '.$anliksSaat.'</h2>';
    27.                 foreach ($saati as $saat){
    28.                     $class '';
    29.                     if ($saat $anliksSaat){
    30.                         $class ' style="background-color:forestgreen"';
    31.                     }                    
    32.                     echo '<span class="saat-tag saat-xlarge"'.$class.'>'$saat'</span>';            
    33.                 }
    34.                 ?>
    35. </div>
    36. </body>
    37. </html>
    Teşekkür ederim


  6. The Following User Says Thank You to kudret443 For This Useful Post:

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •