require "function.php";
if (isset($_POST['g-recaptcha-response']) && $_POST['g-recaptcha-response']) {$sum=100; $vercode=100; }
$TITEL=$lang['INVESTORS_PAGE_TITLE'];
function head() {
global $lang;
?>
}
function center() {
global $lang, $conn, $action, $name, $fname, $email, $company, $phone, $subject, $opis, $vercode, $sum;
?>
if (($action=="send") & ($vercode==$sum)){
$name= str_replace("'","'",$name);
$name= str_replace('"',""",$name);
$fname= str_replace("'","'",$fname);
$fname= str_replace('"',""",$fname);
$company= str_replace("'","'",$company);
$company= str_replace('"',""",$company);
$phone= str_replace("'","'",$phone);
$phone= str_replace('"',""",$phone);
$subject= str_replace("'","'",$subject);
$subject= str_replace('"',""",$subject);
$opis= str_replace("'","'",$opis);
$opis= str_replace('"',""",$opis);
mysqli_query($conn, "INSERT INTO investors SET `name`='$name',`fname`='$fname',`email`='$email',`company`='$company',`phone`='$phone',`subject`='$subject',`opis`='$opis', dat=NOW() ");
?>
} else {
?>
}?>