| | |
| | | // convert charset using iconv module |
| | | if (function_exists('iconv') && $from != 'UTF-7' && $to != 'UTF-7') { |
| | | if ($iconv_options === null) { |
| | | // transliterate characters not available in output charset |
| | | $iconv_options = '//TRANSLIT'; |
| | | // ignore characters not available in output charset |
| | | $iconv_options = '//IGNORE'; |
| | | if (iconv('', $iconv_options, '') === false) { |
| | | // iconv implementation does not support options |
| | | $iconv_options = ''; |
| | |
| | | while ($table_data && ($sql_arr = $db->fetch_assoc($table_data))) |
| | | { |
| | | $zebra_class = $c % 2 ? 'even' : 'odd'; |
| | | if (!empty($row_data['class'])) |
| | | $zebra_class .= ' '.$row_data['class']; |
| | | |
| | | $table->add_row(array('id' => 'rcmrow' . $sql_arr[$id_col], 'class' => $zebra_class)); |
| | | |
| | | // format each col |