|
@@ 1554-1556 (lines=3) @@
|
| 1551 |
|
foreach ($cols as $col) { |
| 1552 |
|
if (empty($col)) { |
| 1553 |
|
$table .= '<td> </td>'; |
| 1554 |
|
} elseif ($col[0] === '=') { |
| 1555 |
|
$table .= '<th>' . substr($col, 1) . '</th>'; |
| 1556 |
|
} elseif ($col[0] === '>') { |
| 1557 |
|
$table .= '<td class="right">' . substr($col, 1) . '</td>'; |
| 1558 |
|
} elseif ($col[0] === '+') { |
| 1559 |
|
$table .= '<td class="center">' . substr($col, 1) . '</td>'; |
|
@@ 1558-1560 (lines=3) @@
|
| 1555 |
|
$table .= '<th>' . substr($col, 1) . '</th>'; |
| 1556 |
|
} elseif ($col[0] === '>') { |
| 1557 |
|
$table .= '<td class="right">' . substr($col, 1) . '</td>'; |
| 1558 |
|
} elseif ($col[0] === '+') { |
| 1559 |
|
$table .= '<td class="center">' . substr($col, 1) . '</td>'; |
| 1560 |
|
} elseif (substr($col, 0, 4) === '<') { |
| 1561 |
|
$table .= '<td class="left">' . substr($col, 4) . '</td>'; |
| 1562 |
|
} elseif (preg_match('/^\s*[0-9.$+\-]+\s*$/', $col)) { |
| 1563 |
|
$class = 'number'; |