RNDTV
Fanat_FCB,
  1. <style>
  2.  
  3. .useron{
  4. font-size:medium;
  5. border-bottom:1px solid #f0f0f0;
  6. padding:5px;
  7. color: #fff;
  8. font-weight:bold;
  9. background-image: linear-gradient(90deg , #9f95fe, #695afe, #3723f4, #1800fa, #1e0eb8);
  10. border-radius: 8px;
  11. background-size: 800%;
  12. animation: bganimation 10s infinite;
  13. }
  14. .useroff{
  15. font-size:medium;
  16. border-bottom:1px solid #f0f0f0;
  17. padding:5px;
  18. color: #fff;
  19. font-weight:bold;
  20. background-image: linear-gradient(90deg , #9f95fe, #695afe, #3723f4, #1800fa, #1e0eb8);
  21. border-radius: 8px;
  22. background-size: 800%;
  23. animation: bganimation 10s infinite;
  24. }
  25.  
  26. @keyframes bganimation{
  27. 0%{
  28. background-position: 0% 50%;
  29. }
  30. 50%{
  31. background-position: 100% 50%;
  32. }
  33. 100%{
  34. background-position: 0% 50%;
  35. }
  36. }
  37.  
  38. </style>




  1. $out111 .= (time() > $user['lastdate'] + 300 ? 'useron' : 'useroff');
  2.  
  3. $out .= !self::$user_id || self::$user_id == $user['id'] ? ' <b><span class="'.$out111.'">' . $user['name'] . '</span></b>' : '<a href="' . self::$system_set['homeurl'] . '/users/profile.php?user=' . $user['id'] . '"><b><span class="'.$out111.'">' . $user['name'] . '</span></b></a>';

46 soniyadan keyin yozdi:
bu kodni function php ga quyasiz