From cc5f8f19a4f6bee361c8b3348c2bdde81ef52e71 Mon Sep 17 00:00:00 2001 From: Matheo Bonucia Date: Tue, 26 Dec 2023 19:11:35 +0000 Subject: [PATCH] Foi implementado na nova tela de login aperfeicoamentos e funcoes do wpp --- components/Sociais/sociais.php | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/components/Sociais/sociais.php b/components/Sociais/sociais.php index 2b3b5693..470ee21c 100644 --- a/components/Sociais/sociais.php +++ b/components/Sociais/sociais.php @@ -1,11 +1,22 @@ - +echo ''; +function enviarMensagem() +{ + $url = 'https://wa.me/'; + $telefone = '556536168280'; + $texto = '?text='; + $mensagem = 'Ola, gostaria de realizar contato com a Simples IP'; -?> \ No newline at end of file + $mensagem = str_replace(' ', '%20', $mensagem); + $url .= $telefone; + $url .= $texto . $mensagem; + + return $url; +}