쇼핑몰관리자: 쇼핑몰현황 작업 중 목록 홀짝 배경색 클래스명 수정

This commit is contained in:
whitedot
2013-11-25 15:13:34 +09:00
parent 140a6cd4b6
commit 8822efc6d1
21 changed files with 431 additions and 392 deletions

View File

@ -44,9 +44,9 @@ $result = sql_query($sql);
<tbody>
<?php
for ($i=0; $row=mysql_fetch_array($result); $i++) {
$tr_bg = 'tr_bg'.($i%2);
$bg = 'bg'.($i%2);
?>
<tr class="<?php echo $tr_bg; ?>">
<tr class="<?php echo $bg; ?>">
<td class="td_num"><?php echo $row['nw_id']; ?></td>
<td><?php echo $row['nw_subject']; ?></td>
<td class="td_datetime"><?php echo substr($row['nw_begin_time'],2,14); ?></td>