false, 'email' => false, ); if(eregi("MIME-Version: ",$name.$email.$body) || eregi("\r",$name.$email) || eregi("\n",$name.$email) || (($email == $body) && ($body != ""))){die('get out, spammer.');} $my_array = array(); $kaunt = 0; if (empty($name)) { $errors['name'] = true; $my_array[$kaunt] = "name"; $kaunt = $kaunt + 1; } if (!checkEmail($email)) { $errors['email'] = true; $my_array[$kaunt] = "e-mail"; $kaunt = $kaunt + 1; } if ($kaunt == 1) { $sve = $my_array[0]; } else if ($kaunt == 2) { $sve = $my_array[0] . " and " . $my_array[1]; } else if ($kaunt == 3) { $sve = $my_array[0] . ", " . $my_array[1] . " and " . $my_array[2]; } $mailer = new PHPMailer(); if ($kaunt == 0) { $mailer->CharSet = "iso-8859-2"; $mailer->From = $email; $mailer->Sender = $email; $mailer->FromName = $name; $mailer->Priority = 3; $mailer->Subject = stripslashes('(web.en - posao) ' . (strlen($subject) ? $subject : 'Job application')); $mailer->IsHTML(false); $mailer->Body = $message; $mailer->AddAddress($to); if (file_exists($_FILES['cv']['tmp_name'])) { $mailer->AddAttachment($_FILES['cv']['tmp_name'], $_FILES['cv']['name'], 'base64', $_FILES['cv']['type']); } if($mailer->Send()) { $succeeded = 1; $name = $email = $body = $message = $subject = ""; $to_select = -1; } else { $succeeded = 0; } } else { $succeeded = 2; } } else { $succeeded = 5; } ?> Soko Z.I. | Jobs

Jobs

There are currently no positions available within the company. The typical profile of our employees is a finished undergraduate/graduate program of computer science, electrical engineering, mathematics or a similar college, experience with C++ and C# programming languages, knowledge of written and oral English. If you so desire, feel free to send us your CV. If you want to be notified about new positions within our company, be sure to include your E-mail address.












Error sending message, please try again.

'; if ($succeeded == 1) $text = '

Thanks for your message!

'; if ($succeeded == 2) $text = '

Please fill in the following fields: ' . $sve . '.

'; print $text; ?>