$row[Title]

$row[Description]"; } if ($m == "2") { if (!$id) { // $frow = mysql_fetch_array(mysql_query("SELECT * FROM portfolio ORDER BY Nr DESC")); // $id = $frow[ID]; $id = 25; } $row = mysql_fetch_array(mysql_query("SELECT * FROM portfolio WHERE ID = '$id'")); if ($l == "hu") { echo "".nl2br($row[Title_hu])."

A munkálat leirása: $row[Description_hu]
Kivitelező minősitése: $row[Quality_hu]
Az elkészítés idötartama: $row[Year]
"; } if ($l == "ro") { echo "".nl2br($row[Title_ro])."

Descrierea lucrării: $row[Description_ro]
Calitatea executantului: $row[Quality_ro]
Anul receptiei: $row[Year]
"; } if ($l == "en") { echo "".nl2br($row[Title_en])."

The work description: $row[Description_en]
The executor qualification: $row[Quality_en]
Year of execution: $row[Year]
"; } if ($row[Images]) { $img = explode("\n",$row[Images]); if ((sizeof($img)) > 1) { $start = sizeof($img)/2; $stop = sizeof($img) - $start; echo "

"; echo "
"; echo " "; for ($i=0;$i<$start;$i++) { $point = explode(".",$img[$i]); echo " "; } echo "
"; echo " "; for ($j=$start;$j"; } echo "
"; } else { $point = explode(".",$row[Images]); echo "

"; } } } if ($m == "3") { if ($l == "hu") { $title1 = "Visszajelzés"; $feedback_sendok_text = "Az üzenetet sikeresen elküldtük."; $feedback_error_text = "Az üzenetet elküldéséhez minden adat kitöltése kötelező."; $name_text = "Teljes név"; $email_text = "Email cím"; $subject_text = "Tartalom"; $message_text = "Üzenet"; $send_text = "Elküld"; $code_text = "Biztonsági kód"; $code_todo_text = "Az üzenet elküldéséhez megkérjük másolja be a fent látható biztonsági kódot."; $code_error_text = "Helytelen biztonsági kód."; } if ($l == "ro") { $title1 = "Feedback"; $feedback_sendok_text = "Mesajul a fost trimis cu succes."; $feedback_error_text = "Pentru transimiterea mesajului trebuiesc completate toate datele."; $name_text = "Nume prenume"; $email_text = "Adresa de email"; $subject_text = "Subiect"; $message_text = "Mesaj"; $send_text = "Trimite"; $code_text = "Cod de securitate"; $code_todo_text = "Pentru a trimite mesajul vă rugăm să copiati codul de mai sus."; $code_error_text = "Cod de securitate gresit."; } if ($l == "en") { $title1 = "Feedback"; $feedback_sendok_text = "The message was sended succesfully."; $feedback_error_text = "To send the message you must fill all the fields."; $name_text = "Name"; $email_text = "Email address"; $subject_text = "Subject"; $message_text = "Message"; $send_text = "Send"; $code_text = "Security code"; $code_todo_text = "To send the message please copy the security code."; $code_error_text = "Wrong security code."; } echo "$title1

"; if ($submit && $name && $subject && $message && checkemail($email) && $scode) { if ($fcode == $scode) { mail("office@harbau.ro","$subect","$message","From: $email"); echo "$feedback_sendok_text

"; } else { echo "$code_error_text

"; } } else if ($submit) { echo "$feedback_error_text

"; } $code = rand(00000,99999); echo "
$name_text:
$email_text:
$subject_text:
$message_text:
$code_text:
$code_todo_text


$feedback_error_text"; } bottom(); ?>