-function contact_main_form($id = false) {
- if(isset($_POST['name'])) {
- $data = contact_get_fields();
+function contact_main_form() {
+ $robot_correct = "" . $GLOBALS['contact_robot_answer'];
+ $robot_minus_one = "" . ($GLOBALS['contact_robot_answer'] - 1);
+ $robot_plus_one = "" . ($GLOBALS['contact_robot_answer'] + 1);
+ tem_set('robot_minus_one', $robot_minus_one);
+ tem_set('robot_plus_one', $robot_plus_one);