include("inc/functions.php"); if($_REQUEST[contact_submit]) { if(!$_REQUEST[name]) $errors[] = "Name is required."; if(!$_REQUEST[email] and !$_REQUEST[phone]) $errors[] = "E-mail or phone is required."; if(!$_REQUEST[message]) $errors[] = "Message text is required"; if(!$errors) { $headers = array(); $headers[] = "MIME-Version: 1.0"; $headers[] = "Content-type: text/plain; charset=utf-8"; $headers[] = "From: ".$_REQUEST[name]." <".$_REQUEST[email].">"; $headers[] = "Subject: Trendal contact"; $message = "Name: ".$_REQUEST[name]."\n"; $message .= "E-mail: ".$_REQUEST[email]."\n"; $message .= "Phone: ".$_REQUEST[phone]."\n"; $message .= "\n".$_REQUEST[message]."\n"; @mail ( "posti@jamaicanmamas.com", "Contact form", "$message", implode("\r\n", $headers) ); header("Location: index.php?contact_success=1#contact"); exit; } } ?>
Quite simply, Jamaican Mamas is about good Caribbean food. All our ingredients are fresh and tasty with no addditives, based on traditional Jamaican home cooking, with portions large enough to satisfy. Stop by for a bite to eat in our cozy restaurant with a great atmosphere, friendly service and delicious food.
This truly authentic Jamaican beverage goes well with Jerk chicken or pork. Freshly made with all natural ingredients.
Jamaica's national dish
This Jamaican classic is a taste sensation
This is a classic salad, with a Caribbean twist
Our unique Jerk recipe makes this dish very special
A slice of heaven!
".process_text($text)."
"; $text = file_get_contents("texts/lunch.txt"); $text = trim($text); $text = str_replace("\n\r", "\n", $text); $text = str_replace("\r\n", "\n", $text); $text = str_replace("\r", "\n", $text); $text_exploded = explode("\n", $text); foreach($text_exploded as $line) { if(trim($line) != "") { $line_exploded = explode("|", $line); echo "
Jamaican Mamas
Vilhonvuorenkatu 5a
Helsinki
00500
$text = file_get_contents("texts/opening_times.txt");
$text = trim($text);
$text = str_replace("\n\r", "\n", $text);
$text = str_replace("\r\n", "\n", $text);
$text = str_replace("\r", "\n", $text);
$text_exploded = explode("\n", $text);
foreach($text_exploded as $line) {
if(trim($line) != "") {
$line_exploded = explode("|", $line);
echo "".substr($line_exploded[0],0,3)." ".$line_exploded[1]."
";
}
}
?>
+358 456011121
50 566 81 58
We have a great business and we know it can grow. Get in touch if you think you can be part of our future. Tell us a bit about yourself and where would you like to take Jamaican Mamas.