Witam proszę o podpowiedź jak umieścić w stronie formularz z tego linku tak aby działał
https://bootstrapbay.com/blog/working-bootstrap-contact-form/
Witam proszę o podpowiedź jak umieścić w stronie formularz z tego linku tak aby działał
https://bootstrapbay.com/blog/working-bootstrap-contact-form/
Skorzystaj z tego plugin’u:
https://pl.wordpress.org/plugins/contact-form-7/
będzie Ci dużo łatwiej, a efekt taki sam. Chyba, że upierasz się na Twoim rozwiązaniu, wówczas musisz stworzyć dodatkowy plik szablonu i podstawić go do strony o nazwie kontakt.
W HTML zrobiłem coś takiego zanim mi odpisałeś
<form class="form-horizontal" role="form" method="post" action="#">
<div class="form-group">
<label for="name" class="col-sm-2 control-label">Imię</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="name" name="name" placeholder="Twoje imię" value="<?php echo htmlspecialchars($_POST['name']); ?>">
<?php echo "<p class='text-danger'>$errName</p>";?>
</div>
</div>
<div class="form-group">
<label for="email" class="col-sm-2 control-label">Email</label>
<div class="col-sm-10">
<input type="email" class="form-control" id="email" name="email" placeholder="mateusz.pazur@gmail.com" value="<?php echo htmlspecialchars($_POST['email']); ?>">
<?php echo "<p class='text-danger'>$errEmail</p>";?>
</div>
</div>
<div class="form-group">
<label for="message" class="col-sm-2 control-label">Wiadomość</label>
<div class="col-sm-10">
<textarea class="form-control" rows="4" name="message"><?php echo htmlspecialchars($_POST['message']);?></textarea>
<?php echo "<p class='text-danger'>$errMessage</p>";?>
</div>
</div>
<div class="form-group">
<label for="human" class="col-sm-2 control-label">2 + 3 = ?</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="human" name="human" placeholder="Twoja odpowiedź">
<?php echo "<p class='text-danger'>$errHuman</p>";?>
</div>
</div>
<div class="form-group">
<div class="col-sm-10 col-sm-offset-2">
<input id="submit" name="submit" type="submit" value="Wyślij wiadomość" class="enigma_send_button">
</div>
</div>
<div class="form-group">
<div class="col-sm-10 col-sm-offset-2">
<?php echo $result; ?>
</div>
</div>
</form>
chciałbym jednak aby ta wtyczka korzystała z class (ogólnie style.css) tak jak to się odbywa w kodzie powyżej.
Podaję wygenerowany formularz CF7 i proszę o przynajmniej odpowiedź czy da się kod z CF7 podmienić w moim kodzie tak aby zachować styl?
<p>Imię i nazwisko (wymagane)<br />
[text* your-name] </p>
<p>Adres email (wymagane)<br />
[email* your-email] </p>
<p>Temat<br />
[text your-subject] </p>
<p>Treść wiadomości<br />
[textarea your-message] </p>
<p>[submit "Wyślij"]</p>
Udało mi się stworzyć ten osobny plik i formularz działa tak jak pierwotnie chciałem poniżej KOD
<?php
if (isset($_POST["submit"])) {
$name = $_POST['name'];
$email = $_POST['email'];
$message = $_POST['message'];
$human = intval($_POST['human']);
$from = 'Formularz kontaktowy - WWW';
$to = 'mateusz2552@gmail.com';
$subject = 'Formularz kontaktowy - WWW ';
$body = "From: $name\n E-Mail: $email\n Message:\n $message";
// Check if name has been entered
if (!$_POST['name']) {
$errName = 'Proszę wprodzić imię';
}
// Check if email has been entered and is valid
if (!$_POST['email'] || !filter_var($_POST['email'], FILTER_VALIDATE_EMAIL)) {
$errEmail = 'Proszę wprowadzić poprawny email';
}
//Check if message has been entered
if (!$_POST['message']) {
$errMessage = 'Proszę napisać wiadomość';
}
//Check if simple anti-bot test is correct
if ($human !== 5) {
$errHuman = 'Twoja odpowiedź jest błędna';
}
// If there are no errors, send the email
if (!$errName && !$errEmail && !$errMessage && !$errHuman) {
if (mail ($to, $subject, $body, $from)) {
$result='<div class="alert alert-success">Dziękujemy! twoja wiadomość została wysłana</div>';
} else {
$result='<div class="alert alert-danger">Niestety wystąpił błąd podczas wysyłania wiadomości. Prosimy spróbować ponownie później</div>';
}
}
}
?>
<!DOCTYPE html>
<!--[if lt IE 7]>
<html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>
<html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>
<html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html lang="pl-PL"><!--<![endif]-->
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8" />
<link rel="shortcut icon" href="http://mercury.wiilink.pl/wp-content/uploads/2015/09/favicon.png" />
<link rel="stylesheet" href="http://mercury.wiilink.pl/wp-content/themes/enigma/style.css" type="text/css" media="screen" />
<title>Kontakt | Mercury Computer Service Sp.J.</title>
<meta name='robots' content='noindex,follow' />
<link rel="alternate" type="application/rss+xml" title="Mercury Computer Service Sp.J. » Kanał z wpisami" href="http://mercury.wiilink.pl/feed/" />
<link rel="alternate" type="application/rss+xml" title="Mercury Computer Service Sp.J. » Kanał z komentarzami" href="http://mercury.wiilink.pl/comments/feed/" />
<script type="text/javascript">
window._wpemojiSettings = {"baseUrl":"http:\/\/s.w.org\/images\/core\/emoji\/72x72\/","ext":".png","source":{"concatemoji":"http:\/\/mercury.wiilink.pl\/wp-includes\/js\/wp-emoji-release.min.js?ver=4.3.1"}};
!function(a,b,c){function d(a){var c=b.createElement("canvas"),d=c.getContext&&c.getContext("2d");return d&&d.fillText?(d.textBaseline="top",d.font="600 32px Arial","flag"===a?(d.fillText(String.fromCharCode(55356,56812,55356,56807),0,0),c.toDataURL().length>3e3):(d.fillText(String.fromCharCode(55357,56835),0,0),0!==d.getImageData(16,16,1,1).data[0])):!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g;c.supports={simple:d("simple"),flag:d("flag")},c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.simple&&c.supports.flag||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
</script>
<style type="text/css">
img.wp-smiley,
img.emoji {
display: inline !important;
border: none !important;
box-shadow: none !important;
height: 1em !important;
width: 1em !important;
margin: 0 .07em !important;
vertical-align: -0.1em !important;
background: none !important;
padding: 0 !important;
}
</style>
<link rel='stylesheet' id='siteorigin-panels-front-css' href='http://mercury.wiilink.pl/wp-content/plugins/siteorigin-panels/css/front.css?ver=2.2' type='text/css' media='all' />
<link rel='stylesheet' id='contact-form-7-css' href='http://mercury.wiilink.pl/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=4.3' type='text/css' media='all' />
<link rel='stylesheet' id='google-maps-builder-plugin-styles-css' href='http://mercury.wiilink.pl/wp-content/plugins/google-maps-builder/assets/css/google-maps-builder.min.css?ver=2.0.1' type='text/css' media='all' />
<link rel='stylesheet' id='google-maps-builder-map-icons-css' href='http://mercury.wiilink.pl/wp-content/plugins/google-maps-builder/includes/libraries/map-icons/css/map-icons.css?ver=2.0.1' type='text/css' media='all' />
<link rel='stylesheet' id='sola_nl_styles-css' href='http://mercury.wiilink.pl/wp-content/plugins/sola-newsletters/css/style.css?ver=4.3.1' type='text/css' media='all' />
<link rel='stylesheet' id='bootstrap-css' href='http://mercury.wiilink.pl/wp-content/themes/enigma/css/bootstrap.css?ver=4.3.1' type='text/css' media='all' />
<link rel='stylesheet' id='default-css' href='http://mercury.wiilink.pl/wp-content/themes/enigma/css/default.css?ver=4.3.1' type='text/css' media='all' />
<link rel='stylesheet' id='enigma-theme-css' href='http://mercury.wiilink.pl/wp-content/themes/enigma/css/enigma-theme.css?ver=4.3.1' type='text/css' media='all' />
<link rel='stylesheet' id='media-responsive-css' href='http://mercury.wiilink.pl/wp-content/themes/enigma/css/media-responsive.css?ver=4.3.1' type='text/css' media='all' />
<link rel='stylesheet' id='animations-css' href='http://mercury.wiilink.pl/wp-content/themes/enigma/css/animations.css?ver=4.3.1' type='text/css' media='all' />
<link rel='stylesheet' id='theme-animtae-css' href='http://mercury.wiilink.pl/wp-content/themes/enigma/css/theme-animtae.css?ver=4.3.1' type='text/css' media='all' />
<link rel='stylesheet' id='font-awesome-css' href='http://mercury.wiilink.pl/wp-content/themes/enigma/css/font-awesome-4.3.0/css/font-awesome.css?ver=4.3.1' type='text/css' media='all' />
<link rel='stylesheet' id='OpenSansRegular-css' href='//fonts.googleapis.com/css?family=Open+Sans&ver=4.3.1' type='text/css' media='all' />
<link rel='stylesheet' id='OpenSansBold-css' href='//fonts.googleapis.com/css?family=Open+Sans%3A700&ver=4.3.1' type='text/css' media='all' />
<link rel='stylesheet' id='OpenSansSemiBold-css' href='//fonts.googleapis.com/css?family=Open+Sans%3A600&ver=4.3.1' type='text/css' media='all' />
<link rel='stylesheet' id='RobotoRegular-css' href='//fonts.googleapis.com/css?family=Roboto&ver=4.3.1' type='text/css' media='all' />
<link rel='stylesheet' id='RobotoBold-css' href='//fonts.googleapis.com/css?family=Roboto%3A700&ver=4.3.1' type='text/css' media='all' />
<link rel='stylesheet' id='RalewaySemiBold-css' href='//fonts.googleapis.com/css?family=Raleway%3A600&ver=4.3.1' type='text/css' media='all' />
<link rel='stylesheet' id='Courgette-css' href='//fonts.googleapis.com/css?family=Courgette&ver=4.3.1' type='text/css' media='all' />
<script type='text/javascript' src='http://mercury.wiilink.pl/wp-includes/js/jquery/jquery.js?ver=1.11.3'></script>
<script type='text/javascript' src='http://mercury.wiilink.pl/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1'></script>
<script type='text/javascript' src='http://mercury.wiilink.pl/wp-content/themes/enigma/js/menu.js?ver=4.3.1'></script>
<script type='text/javascript' src='http://mercury.wiilink.pl/wp-content/themes/enigma/js/bootstrap.js?ver=4.3.1'></script>
<script type='text/javascript' src='http://mercury.wiilink.pl/wp-content/themes/enigma/js/enigma_theme_script.js?ver=4.3.1'></script>
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://mercury.wiilink.pl/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://mercury.wiilink.pl/wp-includes/wlwmanifest.xml" />
<meta name="generator" content="WordPress 4.3.1" />
<link rel='canonical' href='http://mercury.wiilink.pl/kontakt/' />
<link rel='shortlink' href='http://mercury.wiilink.pl/?p=36' />
<script type="text/javascript">
var ajaxurl = 'http://mercury.wiilink.pl/wp-admin/admin-ajax.php';
</script>
<style type="text/css" media="all" id="siteorigin-panels-grids-wp_head">/* Layout 36 */ #pg-36-0 , #pl-36 .panel-grid-cell .so-panel { margin-bottom:30px } #pl-36 .panel-grid-cell .so-panel:last-child { margin-bottom:0px } @media (max-width:780px){ #pg-36-0 .panel-grid-cell , #pg-36-1 .panel-grid-cell { float:none;width:auto } #pl-36 .panel-grid { margin-left:0;margin-right:0 } #pl-36 .panel-grid-cell { padding:0 } } </style></head>
<body class="page page-id-36 page-template page-template-fullwidth page-template-fullwidth-php siteorigin-panels">
<div>
<!-- Header Section -->
<div class="header_section" >
<div class="container" >
<!-- Logo & Contact Info -->
<div class="row ">
<div class="col-md-6 col-sm-12 wl_rtl" >
<div claSS="logo">
<a href="http://mercury.wiilink.pl/" title="Mercury Computer Service Sp.J." rel="home">
<img class="img-responsive" src="http://mercury.wiilink.pl/wp-content/uploads/2015/09/logo1.png" style="height:83px; width:300px;" />
</a>
<p>Twój sklep…</p>
</div>
</div>
<div class="col-md-6 col-sm-12">
<ul class="head-contact-info">
<li><i class="fa fa-envelope"></i><a href="mailto:biuro@mercury.pc.pl">biuro@mercury.pc.pl</a></li> <li><i class="fa fa-phone"></i><a href="tel:+(48)77-436-60-00">+(48)77-436-60-00</a></li> <br><li><i class="fa fa-envelope"></i><a href="mailto:glucholazy@mercury.pc.pl">glucholazy@mercury.pc.pl</a></li> <li><i class="fa fa-phone"></i><a href="tel:+(48)77-439-61-00">+(48)77-439-61-00</a></li> </ul>
<ul class="social">
<li class="facebook" data-toggle="tooltip" data-placement="bottom" title="Facebook"><a href="#"><i class="fa fa-facebook"></i></a></li>
<li class="twitter" data-toggle="tooltip" data-placement="bottom" title="Twiiter"><a href="#"><i class="fa fa-twitter"></i></a></li>
<li class="linkedin" data-toggle="tooltip" data-placement="bottom" title="Linkedin"><a href="#"><i class="fa fa-linkedin"></i></a></li>
<li class="youtube" data-toggle="tooltip" data-placement="bottom" title="Youtube"><a href="#"><i class="fa fa-youtube"></i></a></li>
<li class="twitter" data-toggle="tooltip" data-placement="bottom" title="gplus"><a href="#"><i class="fa fa-google-plus"></i></a></li>
<li class="facebook" data-toggle="tooltip" data-placement="bottom" title="instagram"><a href="#"><i class="fa fa-instagram"></i></a></li>
</ul>
</div>
</div>
<!-- /Logo & Contact Info -->
</div>
</div>
<!-- /Header Section -->
<!-- Navigation menus -->
<div class="navigation_menu " data-spy="affix" data-offset-top="95" id="enigma_nav_top">
<span id="header_shadow"></span>
<div class="container navbar-container" >
<nav class="navbar navbar-default " role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#menu">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div id="menu" class="collapse navbar-collapse ">
<div class="menu-menu-glowne-container"><ul id="menu-menu-glowne" class="nav navbar-nav"><li id="menu-item-35" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-home menu-item-35"><a href="http://mercury.wiilink.pl">Strona główna</a></li>
<li id="menu-item-44" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-36 current_page_item menu-item-44 active"><a href="http://mercury.wiilink.pl/kontakt/">Kontakt</a></li>
</ul></div>
</div>
</nav>
</div>
</div><div class="enigma_header_breadcrum_title">
<div class="container">
<div class="row">
<div class="col-md-12">
<h1>Kontakt</h1>
<!-- BreadCrumb -->
<ul class="breadcrumb"><li><a href="http://mercury.wiilink.pl">Home</a></li> <li>Kontakt</li></ul> <!-- BreadCrumb -->
</div>
</div>
</div>
</div><div class="container">
<div class="row enigma_blog_wrapper">
<div class="col-md-12">
<div class="enigma_blog_full">
<div class="enigma_blog_post_content">
<div id="pl-36"><div class="panel-grid" id="pg-36-0" ><div class="panel-grid-cell" id="pgc-36-0-0" ><div class="so-panel widget widget_execphp widget_execphp panel-first-child panel-last-child" id="panel-36-0-0-0"> <div class="execphpwidget"><div class="col-md-6 enigma_contact_form_fields">
<div class="enigma_heading_title">
<h3>Formularz kontaktowy</h3>
</div>
<form class="form-horizontal" role="form" method="post" action="#">
<div class="form-group">
<label for="name" class="col-sm-2 control-label">Imię</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="name" name="name" placeholder="Twoje imię" value="<?php echo htmlspecialchars($_POST['name']); ?>">
<?php echo "<p class='text-danger'>$errName</p>";?>
</div>
</div>
<div class="form-group">
<label for="email" class="col-sm-2 control-label">Email</label>
<div class="col-sm-10">
<input type="email" class="form-control" id="email" name="email" placeholder="mateusz.pazur@gmail.com" value="<?php echo htmlspecialchars($_POST['email']); ?>">
<?php echo "<p class='text-danger'>$errEmail</p>";?>
</div>
</div>
<div class="form-group">
<label for="message" class="col-sm-2 control-label">Wiadomość</label>
<div class="col-sm-10">
<textarea class="form-control" rows="4" name="message"><?php echo htmlspecialchars($_POST['message']);?></textarea>
<?php echo "<p class='text-danger'>$errMessage</p>";?>
</div>
</div>
<div class="form-group">
<label for="human" class="col-sm-2 control-label">2 + 3 = ?</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="human" name="human" placeholder="Twoja odpowiedź">
<?php echo "<p class='text-danger'>$errHuman</p>";?>
</div>
</div>
<div class="form-group">
<div class="col-sm-10 col-sm-offset-2">
<input id="submit" name="submit" type="submit" value="Wyślij wiadomość" class="enigma_send_button">
</div>
</div>
<div class="form-group">
<div class="col-sm-10 col-sm-offset-2">
<?php echo $result; ?>
</div>
</div>
</form>
</div>
</div>
<div class="col-md-6 enigma_contact_info"><div class="enigma_heading_title">
<h3>Dane kontaktowe</h3>
<ul> <li title="" data-original-title="">
<i class="fa fa-phone"></i><span class="text">
<span class="desc">Numery telefonu</span>
Prudnik - +48 77 436 60 00<br>Głuchołazy - +48 77 439 61 00 </span>
</li>
<li title="" data-original-title="">
<i class="fa fa-envelope"></i><span class="text">
<span class="desc">Dane email</span>
Prudnik - <a href="mailto:biuro@mercury@pc.pl?Subject=Kontakt%20WWW" target="_top">biuro@mercury@pc.pl</a>
<br>
Głuchołazy - <a href="mailto:glucholazy@mercury.pc.pl?Subject=Kontakt%20WWW" target="_top">glucholazy@mercury.pc.pl</a> </span>
</li>
<li title="" data-original-title="">
<i class="fa fa-clock-o"></i><span class="text">
<span class="desc">Godziny pracy</span>
Pon. - PT. 9.00 - 17.00<br>Sob. - 9.00 - 13:00 </span>
</li>
<li title="" data-original-title="">
<i class="fa fa-map-marker"></i><span class="text">
<span class="desc">Adres</span>48-200 Prudnik, ul. Damrota17<br>48-340 Głuchołazy, ul. Powstańców Śląskich 3 </span>
</li>
</ul>
</div>
</div>
</div></div>
</div></div></div><div class="panel-grid" id="pg-36-1" ><div class="panel-grid-cell" id="pgc-36-1-0" ><div class="so-panel widget widget_gmb_maps_widget gmb-maps-widget panel-first-child panel-last-child" id="panel-36-1-0-0"><h3 class="widget-title">Mapa dojazdu</h3>
<div class="google-maps-builder-wrap">
<div id="google-maps-builder-56" class="google-maps-builder" data-map-id="56" style="width:100%; height:600px"></div>
</div></div></div></div></div> </div>
</div>
<div class="push-right">
<hr class="blog-sep header-sep">
</div>
</div>
</div>
</div>
<!-- enigma Callout Section -->
<!-- Footer Widget Secton -->
<div class="enigma_footer_widget_area">
<div class="container">
<div class="row">
<div class="col-md-3 col-sm-6 enigma_footer_widget_column"><div class="enigma_footer_widget_title">Strony<div class="enigma-footer-separator"></div></div> <ul>
<li class="page_item page-item-36 current_page_item"><a href="http://mercury.wiilink.pl/kontakt/">Kontakt</a></li>
</ul>
</div> </div>
</div>
</div>
<div class="enigma_footer_area">
<div class="container">
<div class="col-md-12">
<p class="enigma_footer_copyright_info wl_rtl" >
© 2015 Mercury Computer Service Sp.J. <a target="_blank" rel="nofollow" href="http://mercury.wiilink.pl/"></a></p>
<div class="enigma_footer_social_div">
<ul class="social">
<li class="facebook" data-toggle="tooltip" data-placement="top" title="Facebook"><a href="#"><i class="fa fa-facebook"></i></a></li>
<li class="twitter" data-toggle="tooltip" data-placement="top" title="Twitter"><a href="#"><i class="fa fa-twitter"></i></a></li>
<li class="linkedin" data-toggle="tooltip" data-placement="top" title="Linkedin"><a href="#"><i class="fa fa-linkedin"></i></a></li>
<li class="youtube" data-toggle="tooltip" data-placement="top" title="Youtube"><a href="#"><i class="fa fa-youtube"></i></a></li>
<li class="twitter" data-toggle="tooltip" data-placement="top" title="gplus"><a href="#"><i class="fa fa-google-plus"></i></a></li>
<li class="facebook" data-toggle="tooltip" data-placement="top" title="instagram"><a href="#"><i class="fa fa-instagram"></i></a></li>
</ul>
</div>
</div>
</div>
</div>
<!-- /Footer Widget Secton -->
</div>
<a href="#" title="Go Top" class="enigma_scrollup" style="display: inline;"><i class="fa fa-chevron-up"></i></a>
<style type="text/css">
</style>
<script type='text/javascript' src='http://mercury.wiilink.pl/wp-content/plugins/contact-form-7/includes/js/jquery.form.min.js?ver=3.51.0-2014.06.20'></script>
<script type='text/javascript'>
/* <![CDATA[ */
var _wpcf7 = {"loaderUrl":"http:\/\/mercury.wiilink.pl\/wp-content\/plugins\/contact-form-7\/images\/ajax-loader.gif","sending":"Trwa wysy\u0142anie..."};
/* ]]> */
</script>
<script type='text/javascript' src='http://mercury.wiilink.pl/wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=4.3'></script>
<script type='text/javascript' src='http://mercury.wiilink.pl/wp-includes/js/comment-reply.min.js?ver=4.3.1'></script>
<script type='text/javascript' src='http://mercury.wiilink.pl/wp-content/plugins/sola-newsletters/js/subscribe_widget.js?ver=4.3.1'></script>
<script type='text/javascript' src='https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&libraries=places&ver=4.3.1'></script>
<script type='text/javascript'>
/* <![CDATA[ */
var gmb_data = {"56":{"id":"56","map_params":{"title":"Mapa Mercury","width":"100","height":"600","latitude":"50.31849871807306","longitude":"17.480657556274437","zoom":"12","default_marker":"http:\/\/mercury.wiilink.pl\/wp-content\/plugins\/google-maps-builder\/assets\/img\/spotlight-poi.png"},"map_controls":{"zoom_control":"DEFAULT","pan_control":"true","map_type_control":"horizontal_bar","draggable":"true","double_click_zoom":"true","wheel_zoom":"true","street_view":"true"},"map_theme":{"map_type":"RoadMap","map_theme_json":"none"},"map_markers":[{"title":"Mercury Computer Service Sp.J. - Zbigniew Wilk","description":"Godziny otwarcia\r\nPn - Pt 9:00 - 17:00\r\nSob 9:00 - 13:00 ","reference":"","place_id":"ChIJUzlGm7iXEUcR8Js6kL8JHT4","hide_details":false,"lat":"50.321267","lng":"17.582824999999957","marker_img_id":0,"marker_img":false,"marker":"","label":""},{"title":"Mercury Computer Service Sp.J. - Zbigniew Wilk","description":"Godziny otwarcia\r\nPn - Pt 9:00 - 17:00\r\nSob 9:00 - 13:00 ","place_id":"ChIJB-w6msiUEUcRWql9rwQ9lPA","lat":"50.313292","lng":"17.38512800000001"}],"places_api":{"show_places":"no","search_radius":"1000","search_places":""},"map_markers_icon":"none"}};
/* ]]> */
</script>
<script type='text/javascript' src='http://mercury.wiilink.pl/wp-content/plugins/google-maps-builder/assets/js/frontend/google-maps-builder.min.js?ver=2.0.1'></script>
<script type='text/javascript' src='http://mercury.wiilink.pl/wp-content/plugins/google-maps-builder/includes/libraries/map-icons/js/map-icons.js?ver=2.0.1'></script>
</body>
</html>
Mam tylko jedną mała prośbę ponieważ gdy przychodzi do mnie mail i daję odpowiedz to w miejscu adresata nie ma adresu mail osoby która wysłała wiadomość przez formularz lecz jakiś inny adres, chyba hostingu.
Zainteresuj się przykładem nr2 z manuala http://php.net/manual/en/function.mail.php
<?php
$to = 'nobody@example.com';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: webmaster@example.com' . "\r\n" .
'Reply-To: webmaster@example.com' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
?>