function vcn_history_answer_report($result) { get_history($result['id'], $result['save_history']); while ($result = mysql_fetch_array($history_rs)) { $s = PHP_EOL . '--------------------------' . PHP_EOL; $s .= strip_tags($result['question']) . PHP_EOL; if ($result['answer_text']) { $s .= $result['answer_text'] . PHP_EOL; $s .= partner_logo($result['answer_text'], 0) . PHP_EOL; } else { $s .= $result['answer']; } } $s = PHP_EOL . '--------------------------' . PHP_EOL; return $s; }
?> </td> <td><?php echo is_numeric($result['salary']) ? number_format($result['salary']) : $result['salary']; ?> </td> <td><a target='_blank' href='<?php echo vcn_Url('view-history', $result); ?> '>Xem</a></td> <td class='result'> <a target='_blank' href='<?php echo vcn_Url('view-history', $result); ?> '><?php partner_logo($result['result']); ?> <?php if ($result['result']) { echo '<br/>(' . $result['result'] . ')'; } else { ?> <img src='images/unverified_icon.png'/> <?php } ?> </a> </td> <td><?php echo $result['post_date'] . ' ' . $result['post_time']; ?>
?> '> <p><strong><?php echo strip_tags($result['question']); ?> </strong></p> <div> <?php if ($result['answer_text']) { ?> <p><?php echo $result['answer_text']; ?> </p> <?php partner_logo($result['answer_text'], 0); ?> <?php } else { echo $result['answer']; } ?> </div> </div> </div> <?php $index++; } ?> </div> </body>