<?php 
include_once '1010/lib/db/connection.php';

if (isset($_POST["send"])) {
    $user_name = $_POST["user_name"];
    $user_email = $_POST["user_email"];
    $subject = $_POST["subject"];
    $content = $_POST["content"];
    $phone = $_POST["phone"];

    date_default_timezone_set('Asia/Dhaka');


    $date = date('Y-m-d H:i:s');
   

    echo $insert =$conn->query("insert into tblcontact (`user_name`,`phone`,`user_email`,`subject`,`content`,`date`) values('".$user_name."','".$phone."','".$user_email."','".$subject."','".$content."','".$date."')");
    if($insert==true)
    {
    $insert_id = mysqli_insert_id($conn);

    $message = "We will contact you soon...";
    $type = "success";
    
    }
}
?>

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <title>Contact Us - Feel Free to Send Your Query | BUSICUS</title>
    <meta name="author" content="Busicus">
    <meta name="description" content="Contact Busicus, the best SEO specialists in Bangladesh for top-notch digital marketing services. Elevate your online presence with our expert team. Let's boost your rankings together!">
    <meta name="keywords" content="SEO Specialists Bangladesh, Expert SEO Services, Digital Marketing Experts, SEO Consultancy Dhaka, Affordable SEO Solutions, Top SEO Company BD, Local SEO Services, Professional SEO Consultants, Dhaka Based SEO, Bangladesh SEO Agency">
    <meta name="google-site-verification" content="1249s3ujwjFWd_zv-FVyXqGqKzTFbAfhIMgOIYjXK20" />
    <?php include 'inc/link.php'; ?>
    <link rel="canonical" href="https://www.busicus.com/contact-us" />
    <meta property="og:image" content="https://www.busicus.com/images/logo/busicus-thumb2.png" />    
    <meta property="og:publisher" content="https://www.busicus.com/"/>
    <meta property="og:author" content="https://www.busicus.com/" />
    <meta property="og:title" content="Contact Us - Feel Free to Send Your Query | BUSICUS" />
    <meta property="og:site_name" content="Busicus" />
    <meta property="og:url" content="https://busicus.com/contact-us" />
    <meta property="og:type" content="website" />
    <meta property="og:description" content="Contact Busicus, the best SEO specialists in Bangladesh for top-notch digital marketing services. Elevate your online presence with our expert team. Let's boost your rankings together!" />
    <meta property="og:locale" content="en_US" />
    <meta property="og:locale:alternate" content="bn_BD" />
    <meta property="og:image" content="https://www.busicus.com/images/logo/busicus-thumb2.png" />
    <meta property="og:image:secure_url" content="https://www.busicus.com/images/logo/busicus-thumb2.png" />
    <meta property="og:image:alt" content="Busicus" />
    <meta property="og:image:width" content="800" />
    <meta property="og:image:height" content="600" />
    <meta property="og:image:type" content="image/png" />
    <meta property="article:publisher" content="https://www.facebook.com/busicus" />
    <meta property="article:author" content="https://www.facebook.com/busicus" />
    <meta name="twitter:card" content="summary_large_image" />
    <meta name="twitter:site" content="@Busicus" />
    <meta name="twitter:title" content="Contact Us - Feel Free to Send Your Query | BUSICUS" />
    <meta name="twitter:site_name" content="Busicus" />
    <meta name="twitter:url" content="https://busicus.com/contact-us" />
    <meta name="twitter:description" content="Contact Busicus, the best SEO specialists in Bangladesh for top-notch digital marketing services. Elevate your online presence with our expert team. Let's boost your rankings together!" />
    <meta name="twitter:image" content="https://www.busicus.com/images/logo/busicus-thumb2.png" />
    <meta name="twitter:image:alt" content="Busicus" />
</head>

<body>
    <div id="page" class="site">
        <?php include 'inc/header.php'; ?>

        <div id="content" class="site-content">
            <div class="page-header flex-middle">
                <div class="container">
                    <div class="inner flex-middle">
                        <h1 class="page-title">Contact</h1>
                        <ul id="breadcrumbs" class="breadcrumbs none-style">
                            <li><a href="https://busicus.com/">Home</a></li>
                            <li class="active">Contact</li>
                        </ul>    
                    </div>
                </div>
            </div>
            <section class="contact-page">
                <div class="container">
                    <div class="row">
                        <div class="col-lg-6">
                            <div class="contact-left">
                                <div class="ot-heading">
                                    <h2 class="main-heading">Contact us</h2>
                                </div>
                                <div class="space-5"></div>
                                <p>
Let's connect to explore how Busicus can significantly boost your sales and revenue – double, triple, or even quadruple them! Share your requirements by filling out the form below, and we'll reach out to you shortly to schedule a meeting. Let's take your business to new heights together! 😎</p>
                                <div class="contact-info box-style1">
                                    <i class="flaticon-world-globe"></i>                    
                                    <div class="info-text">
                                        <h6>Our Address:</h6>
                                        <p>Mirpur, Dhaka, Bangladesh.</p>
                                    </div>
                                </div>
                                <div class="contact-info box-style1">
                                    <i class="flaticon-envelope"></i>
                                    <div class="info-text">
                                        <h6>Our Mailbox:</h6>
                                        <p>mail@busicus.com</p>
                                    </div>
                                </div>
                                <div class="contact-info box-style1">
                                    <i class="flaticon-phone-1"></i>
                                    <div class="info-text">
                                        <h6>Our Phone:</h6>
                                        <p>+880-1625-240-784</p>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <form id="ajax-form" name="ajax-form" method="post" action="" enctype="multipart/form-data" class="wpcf7">
                                <div class="main-form">
                                    <h2>Ready to Get Started?</h2>
                                    <p>
                                        <label for="name"> <span class="error" id="err-name">Please Enter Your Full Name</span></label>
                                        <input type="text" name="user_name" id="user_name" value="" size="40" class="" aria-required="true" aria-invalid="false" placeholder="Your Full Name *" required="">
                                    </p>
                                    <p>
                                        <label for="email"> 
                                            <span class="error" id="err-email">Please Enter e-mail</span>
                                            <span class="error" id="err-emailvld">e-mail is not a valid format</span>
                                        </label>
                                        <input type="email" name="user_email" id="user_email" value="" size="40" class="" aria-required="true" aria-invalid="false" placeholder="Your Email *" required="">
                                    </p>
                                    <p>
                                        <label for="mobile"> 
                                            <span class="error" id="err-email">Please Enter Mobile No.</span>
                                        </label>
                                        <input type="text" name="phone" id="phone" value="" size="40" class="" aria-required="true" aria-invalid="false" placeholder="Your Mobile *" required="">
                                    </p>
                                    <p>
                                        <label for="message"></label>
                                        <textarea name="content" id="content" cols="40" rows="10" class="" aria-invalid="false" placeholder="Message..." required=""></textarea>
                                    </p>
                                    <p><button type="submit" id="send" name="send" class="octf-btn octf-btn-light">Send Message</button></p>
                                    <div class="clear"><?php
                        if (! empty($message)) {
                            ?>
                            <p class='<?php echo $type; ?>Message'><?php echo $message; ?></p>
                        <?php
                        }
                        ?></div>   
                                    <div class="error" id="err-form">There was a problem validating the form please check!</div>
                                    <div class="error" id="err-timedout">The connection to the server timed out!</div>
                                    <div class="error" id="err-state"></div>
                                </div>
                            </form>
                            <div class="clear"></div>
                            <div id="ajaxsuccess">Successfully sent!!</div>
                            <div class="clear"></div>
                        </div>
                    </div>
                </div>
            </section>
            
        </div>


        <?php include "inc/footer.php";?>