Advertisement
Guest User

Untitled

a guest
Aug 20th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. $bad = '';
  2. $test_licenses = '';
  3. if($license['date'] <= date('Y-m-d') || $license['status'] == "BAD")
  4. $bad = 'class="table-danger"';
  5. if($license['test_licenses'] == 0 || $license['status'] == "test_licenses")
  6. $test_licenses = 'class="table-secondary"';
  7.  
  8. echo '
  9. <tr '.$bad.'>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement