<td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b><?php echo TABLE_HEADING_COMMENTS; ?> </b></td> </tr> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><?php echo smn_draw_textarea_field('comments', 'soft', 50, 15, smn_sanitize_string($_POST['comments']), '', false); ?> </td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo smn_draw_separator('pixel_trans.gif', '100%', '10'); ?> </td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
</td> </tr> <tr> <td class="main"><b><?php echo FORM_TITLE_FRIEND_MESSAGE; ?> </b></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <!-- systemsmanager begin - Dec 1, 2005 ---- function names changed to smn_... --> <td><?php echo smn_draw_textarea_field('message', 'soft', 50, 15, smn_sanitize_string($_POST['message']), '', false); ?> </td> <!-- systemsmanager end --> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo smn_draw_separator('pixel_trans.gif', '100%', '10'); ?> </td> </tr> <tr>
function smn_db_prepare_input($string) { if (is_string($string)) { return trim(smn_sanitize_string(stripslashes($string))); } elseif (is_array($string)) { reset($string); while (list($key, $value) = each($string)) { $string[$key] = smn_db_prepare_input($value); } return $string; } else { return $string; } }
?> </td> </tr> <tr> <td class="main"><b><?php echo SUB_TITLE_REVIEW; ?> </b></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="2" cellpadding="2"> <tr> <td><?php echo smn_draw_textarea_field('review', 'soft', 50, 15, smn_sanitize_string($_POST['review']), '', false); ?> </td> </tr> <tr> <td class="smallText" align="right"><?php echo TEXT_NO_HTML; ?> </td> </tr> <tr> <td class="main"><?php echo '<b>' . SUB_TITLE_RATING . '</b> ' . TEXT_BAD . ' ' . smn_draw_radio_field('rating', '1') . ' ' . smn_draw_radio_field('rating', '2') . ' ' . smn_draw_radio_field('rating', '3') . ' ' . smn_draw_radio_field('rating', '4') . ' ' . smn_draw_radio_field('rating', '5') . ' ' . TEXT_GOOD; ?> </td> </tr>