<?php ###################### include 'header.php'; echo '<h1>Franquia: </h1>' . ($franquia = franqueado()); ?> <div id="aparelhos"> <div id="aparelhos-titulo-pagina"> <p class="Oswald fs-38 azul fw700">seja um franqueado</p> </div> <div class="aparelhos-content"> <p class="p-topo Cycle fs-20" >Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent lobortis, ligula sit amet laoreet fermentum, diam augue gravida tortor, sit amet luctus ligula sapien id.</p> <p class="p-topo Cycle fs-20" >Nulla bibendum arcu eu venenatis faucibus. Donec at placerat ante. Maecenas faucibus pulvinar nisl, at volutpat leo gravida non. Ut eget feugiat erat, quis elementum massa. Donec lobortis ornare varius. Pellentesque eget diam a risus mattis mattis nec eget dolor. Integer vel el.</p> <p class="Cycle fs-20">Nulla bibendum arcu eu venenatis faucibus. Donec at placerat ante. Maecenas faucibus pulvinar nisl, at volutpat leo gravida non. Ut eget feugiat erat, quis elementum massa. Donec lobortis ornare varius. Pellentesque eget diam a risus mattis mattis nec eget dolor. Integer vel el.</p> <div class="pqdentalarte"> <p class="Oswald fs-26 azul fw700 upper textcenter upper">porque a dental arte</p> <div id="franquia" class="videos-dental"> <iframe width="487" height="274" src="https://www.youtube.com/embed/hRH7gdhferQ" frameborder="0" allowfullscreen></iframe> <iframe width="487" height="274" src="https://www.youtube.com/embed/hRH7gdhferQ" frameborder="0" allowfullscreen></iframe> </div> <img src="imagens/new-video-fanrqueado.png" style="margin-top:-40px" alt=""> </div> <div id="faq" class="clear2 faqhome"> <p class="Oswald fs-26 azul fw700 upper textcenter">perguntas frenquentes</p>
<?php ####################################### require 'header.php'; ####################################### ####################################### $franquia = franqueado(); $franquiadados = $franquia['array']; $franquiacount = $franquia['contador']; ####################################### $deps = depoimentos(); $depsdados = $deps['array']; $depscount = $deps['contador']; ####################################### if (isset($_POST['sjf_enviar'])) { $nome = strip_tags(trim($_POST['sjf_nome'])); $email = strip_tags(trim($_POST['sjf_email'])); $cidade = strip_tags(trim($_POST['sjf_cidade'])); $fone = strip_tags(trim($_POST['sjf_fone'])); $mensagem = strip_tags(trim($_POST['sjf_mensagem'])); $asunto = "Seja um franqueado"; $sql = "INSERT INTO tb_contatos VALUES('', '{$nome}', '{$email}', '{$cidade}', '{$fone}', '{$mensagem}', '{$asunto}', '0', NOW())"; $exc = $pdo->query($sql); if ($exc) { echo "\n\t\t\t<META HTTP-EQUIV=REFRESH CONTENT = '0;URL=home'>\n\t\t\t<script type=\"text/javascript\">\n\t\t\talert(\"Sua mensagem foi enviada com sucesso. Entraremos em contato em breve.\");\n\t\t\twindow.location = \"home\";\n\t\t\t</script>\n\t\t"; } else { echo "\n\t\t\t<META HTTP-EQUIV=REFRESH CONTENT = '0;URL=home'>\n\t\t\t<script type=\"text/javascript\">\n\t\t\talert(\"Sua mensagem não foi enviada. Tente mais tarde.\");\n\t\t\twindow.location = \"home\";\n\t\t\t</script>\n\t\t"; } } ?>