Guardian 9, avînd în spate ani de experinţă în domeniul dat, este orientata spre clienti, spre satisfactia necesitatilor acestora ajustand serviciile oferite la cererile de piata. ...
if ($_GET["go"]=='contact') { $limba=$_SESSION["current_language"]; $pagina=(int)$_GET["p"]; $qp = mysqli_query($conn,"SELECT page_name_".$limba.", page_content_".$limba.", page_img, page_parent, page_id FROM ".PAGES_TABLE." WHERE page_id='3'") or die (mysqli_error()); $rowp = mysqli_fetch_row($qp); $rowp[1]=stripslashes($rowp[1]); $smarty->assign("page_home",$rowp); if ($_GET["m"] == 'send') { $secret = '6Lf-VaEUAAAAAP-8xOn3_f7ViGsPvbkAW-E83ov4'; $verifyResponse = file_get_contents('https://www.google.com/recaptcha/api/siteverify?secret=' . $secret . '&response=' . $_POST['g-recaptcha-response']); $responseData = json_decode($verifyResponse); if (!$responseData->success) { $smarty->assign("forma", 0); } else { $smarty->assign("captcha", 1); $smarty->assign("forma", 1); $email = addslashes($_POST['email']); $nume = $_POST['nume']; $adresa_l1 = $_POST['adresa_l1']; $adresa_l1 = $_POST['adresa_l1']; $telefon = $_POST['telefon']; $email = $_POST['email']; $extraemail = $_POST['extrae']; $additional = $_POST['additional']; $produs = $_POST['produs']; $proiect = $_POST['proiect']; $subject = "G9 Site feedback"; $message = " Nume.....: $nume telefon..: $telefon e-mail...: $email "; $message .= " Aditional: $additional Acest email este generat automat si este forma de contact de pe site!"; mail(EMAIL_ADMINISTRATIV, $subject, $message, "From: feedback@guardian9.com"); } } $smarty->assign("main_content_template", "contact_form.tpl.html"); } ?>
Alegere optima