리스트 tr_bg 클래스 처리 코드 간소화
This commit is contained in:
@ -151,10 +151,10 @@ function point_clear()
|
||||
if($row['po_expired'] == 1)
|
||||
$expr = ' txt_expired';
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_chk">
|
||||
<input type="hidden" name="mb_id[<?php echo $i ?>]" value="<?php echo $row['mb_id'] ?>" id="mb_id_<?php echo $i ?>">
|
||||
<input type="hidden" name="po_id[<?php echo $i ?>]" value="<?php echo $row['po_id'] ?>" id="po_id_<?php echo $i ?>">
|
||||
|
||||
Reference in New Issue
Block a user