Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getItem ($i,$list) {
- $item = NULL;
- if ($list[$i]['Mold'])
- {
- $item = '<tr class="mold">';
- }
- if ( $list[$i]['Category'] == 'HH' && $list[$i]['Group'] == 'Gold' )
- {
- $item = '<tr class="gold">';
- }
- if ( $list[$i]['Category'] == 'HH' && $list[$i]['Group'] == 'Green' )
- {
- $item = '<tr class="green">';
- }
- if ( $list[$i]['Category'] == 'HH' && $list[$i]['Group'] == 'Common' )
- {
- $item = '<tr class="common">';
- }
- if (!$item)
- {
- $item = "<tr border = 4>";
- }
- return $item;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement