|
@@ 1565-1567 (lines=3) @@
|
| 1562 |
|
foreach ($cols as $col) { |
| 1563 |
|
if (empty($col)) { |
| 1564 |
|
$table .= '<td> </td>'; |
| 1565 |
|
} elseif ($col[0] === '=') { |
| 1566 |
|
$table .= '<th>' . substr($col, 1) . '</th>'; |
| 1567 |
|
} elseif ($col[0] === '>') { |
| 1568 |
|
$table .= '<td class="right">' . substr($col, 1) . '</td>'; |
| 1569 |
|
} elseif ($col[0] === '+') { |
| 1570 |
|
$table .= '<td class="center">' . substr($col, 1) . '</td>'; |
|
@@ 1569-1571 (lines=3) @@
|
| 1566 |
|
$table .= '<th>' . substr($col, 1) . '</th>'; |
| 1567 |
|
} elseif ($col[0] === '>') { |
| 1568 |
|
$table .= '<td class="right">' . substr($col, 1) . '</td>'; |
| 1569 |
|
} elseif ($col[0] === '+') { |
| 1570 |
|
$table .= '<td class="center">' . substr($col, 1) . '</td>'; |
| 1571 |
|
} elseif (substr($col, 0, 4) === '<') { |
| 1572 |
|
$table .= '<td class="left">' . substr($col, 4) . '</td>'; |
| 1573 |
|
} elseif (preg_match('/^\s*[0-9.$+\-]+\s*$/', $col)) { |
| 1574 |
|
$class = 'number'; |