1) { $comma = ','; } $goto = $tGoto . $comma . $vacation_goto; $result = db_query ("UPDATE $table_alias SET goto='$goto',modified=NOW() WHERE address='$USERID_USERNAME'"); if ($result['rows'] != 1) { $error = 1; $tMessage = $PALANG['pUsersVacation_result_error']; } else { flash_info($PALANG['pVacation_result_added']); header ("Location: main.php"); exit; } } if (!empty ($fBack)) { if ($tMessage == '' || $tMessage = $PALANG['pUsersVacation_result_success']) { flash_info($PALANG['pVacation_result_removed']); header ("Location: main.php"); exit; } } } include ("../templates/header.php"); include ("../templates/users_menu.php"); include ("../templates/users_vacation.php"); include ("../templates/footer.php"); /* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */ ?>