<?php
require_once(dirname(__FILE__) . '/plugin/form/captcha/index.php');
?>
<!DOCTYPE html>
<html dir="ltr" lang="en-US">

<!-- Mirrored from keystoyoung.com.hk/ameds2.php?page=analysis by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 04 Jan 2021 09:08:03 GMT -->
<!-- Added by HTTrack -->
<meta http-equiv="content-type" content="text/html;charset=UTF-8"/><!-- /Added by HTTrack -->
<head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <meta name="author" content="SemiColonWeb"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <link rel="icon" href="site/AMEDS2/template/images/ama_logo_ico.png" type="image/x-icon">

    <!-- Stylesheets
    ============================================= -->
    <link href="site/AMEDS2/template/css/googlefamily.css" rel="stylesheet" type="text/css"/>
    <link rel="stylesheet" href="site/AMEDS2/template/css/bootstrap9bf3.css?15" type="text/css"/>
    <link rel="stylesheet" href="site/AMEDS2/template/css/style9bf3.css?15" type="text/css"/>
    <link rel="stylesheet" href="site/AMEDS2/template/css/swiper9bf3.css?15" type="text/css"/>
    <link rel="stylesheet" href="site/AMEDS2/template/css/dark9bf3.css?15" type="text/css"/>
    <link rel="stylesheet" href="site/AMEDS2/template/css/font-icons9bf3.css?15" type="text/css"/>
    <link rel="stylesheet" href="site/AMEDS2/template/css/animate9bf3.css?15" type="text/css"/>
    <link rel="stylesheet" href="site/AMEDS2/template/css/magnific-popup9bf3.css?15" type="text/css"/>

    <link rel="stylesheet" href="site/AMEDS2/template/css/responsive9bf3.css?15" type="text/css"/>
    <link rel="stylesheet" href="site/AMEDS2/template/css/new9bf3.css?15" type="text/css"/>
    <link rel="stylesheet" href="site/AMEDS2/template/css/common9bf3.css?15" type="text/css"/>

    <script src="site/AMEDS2/template/js/jquery.js"></script>
    <!--<script src="https://keystoyoung.com.hk/site/AMEDS2/template/js/jquery-1.12.4.min.js"></script>-->
    <!-- Document Title
    ============================================= -->
    <title>AMA</title>
    <style>
        .sf-js-enabled {
            border-right-color: transparent;
        }

        .bg_text_abs {
            right: -170px;
            left: auto;
        }
    </style>
</head>

<body class="stretched">
<!-- -->
<!-- Document Wrapper
============================================= -->
<div id="wrapper" class="clearfix">
    <!--<section id="slider" class="slider-element slider-parallax full-screen with-header force-full-screen clearfix">
        <div class="slider-parallax-inner">
            <div class="full-screen force-full-screen" style="background: url('https://keystoyoung.com.hk/site/AMEDS2/template/images/2.jpg') center center no-repeat; background-size: cover;">
                <div class="container clearfix">
                    <div class="emphasis-title vertical-middle center">
                        <h1 data-animate="fadeInUp">Welcome to <strong>Ameds</strong></h1>
                    </div>
                </div>
            </div>
        </div>
    </section>-->

    <!-- Header transparent-header
    ============================================= -->

    <?php
    include(dirname(__FILE__) . "/header.php");
    ?>

    <section id="section-contact"
             class="page-section full-screen section nopadding nomargin noborder ohidden highly_adapt"
             style="width: 100%">
        <div class="vertical-middle analysis_tp">
            <div class="container clearfix">
                <div class="row">

                    <div class="col-md-3"></div>
                    <!-- Contact Form Overlay
                ============================================= -->
                    <div class="clearfix col-md-6 ">
                        <div class="brand_text">
                            <h2 class="center" style="width: 100%;margin-bottom: 30px;">親身體驗<br>Aesthetics Experience
                            </h2>
                        </div>
                        <div class="experience_form_bg" style="box-shadow: 0px 0px 10px 0px #000;"
                             data-animate="bounceInUp">
                            <div class="fancy-title title-dotted-border ">
                                <h3 class="center" style="width: 100%; margin-bottom: 20px;padding-right:0"><strong
                                            style="font-size: 1.1rem;">專業團隊度身訂製個人療程</br>PROFESSIONAL CUSTOMIZED
                                        TREATMENT</strong></h3>
                                <p class="center m_brandintro_show">我們的專業團隊會根據個人需要， 為您度身訂製醫美方案，<br>將客人塑造獨一無二的自然美。
                                    立即登記塑造醫學美容奇蹟！ </p>
                                <p class="center m_brandintro_shide" style="display: none">
                                    我們的專業團隊會根據個人需要， <br/>為您度身訂製醫美方案，<br>將客人塑造獨一無二的自然美。 <br/>立即登記塑造醫學美容奇蹟！ </p>
                                <h3 class="center" style="width: 100%">REGISTER NOW</h3>
                            </div>
                            <div>

                                <div class="contact-form-result"></div>

                                <form class="nobottommargin form_mb-0" id="template-contactform"
                                      name="template-contactform" action="#" method="post">
                                    <input type="hidden" name="action" value="experience">
                                    <div class="col_half">
                                        <select name="experience[gender]" id="template-contactform-gender"
                                                class="sm-form-control form_border" style="color: #999">
                                            <option selected value="" style="display: none;" disabled="true">稱謂</option>
                                            <option value="先生">先生</option>
                                            <option value="女士">女士</option>
                                            <option value="小姐">小姐</option>
                                        </select>
                                    </div>

                                    <div class="col_half" style="margin-right: 0;">
                                        <input type="text" id="template-contactform-last-name" name="experience[first_name]"
                                               placeholder="姓氏*" value="" class="required sm-form-control form_border"/>
                                    </div>

                                    <div class="col_half">
                                        <input type="text" id="template-contactform-first-name" name="experience[last_name]"
                                               placeholder="名字 *" value=""
                                               class="sm-form-control required form_border"/>
                                    </div>

                                    <div class="col_half" style="margin-right: 0;">
                                        <input type="text" id="template-contactform-phone" name="experience[mobile]"
                                               placeholder="電話 *" value=""
                                               class="required sm-form-control form_border"/>
                                    </div>

                                    <div class="col_full">
                                        <input type="email" id="template-contactform-email" name="experience[email]"
                                               placeholder="電郵 *" value=""
                                               class="required sm-form-control form_border"/>
                                    </div>

                                    <div class="col_full">
                                        <select id="template-contactform-message" name="experience[how_know_website]"
                                                class="sm-form-control form_border" style="color: #999">
                                            <option value="" style="display: none">如何認識AMA</option>
                                            <option value="朋友介紹">朋友介紹</option>
                                            <option value="網站廣告">網站廣告</option>
                                            <option value="facebook">facebook</option>
                                            <option value="微博">微博</option>
                                            <option value="網上搜索">網上搜索</option>
                                            <option value="其他">其他</option>
                                        </select>
                                    </div>
                                    <div class="row">
                                        <div class="col-md-9">
                                            <input type="text" id="template-contactform-code" name="code"
                                                   placeholder="驗證碼 *" value=""
                                                   class="required sm-form-control form_border"/>
                                        </div>
                                        <div class="col-md-3">
                                            <img src="<?=$_SESSION['captcha']['image_src'];?>"
                                                 name="captcha" alt="CAPTCHA code" style="height: 35px;width: 100%;">
                                        </div>
                                    </div>

                                    <div class="col_full center">
                                        <button class="button nomargin experience_btn" type="button"
                                                id="template-contactform-submit" name="template-contactform-submit"
                                                value="submit">立即登錄
                                        </button>
                                    </div>

                                </form>

                            </div>
                        </div>


                        <!-- Contact Form
                        ============================================= -->


                    </div><!-- Contact Form Overlay End -->

                </div>


            </div>
        </div>

        <!-- Google Map
        ============================================= -->
        <section id="google-map" class="gmap full-screen parallax"
                 style="background-image: url('site/AMEDS2/template/images/common/analysis_bg.jpg');max-height: 1124px"></section>

    </section>

    <?php
    include(dirname(__FILE__) . "/footer.php");
    ?>

</div><!-- #wrapper end -->


<!-- External JavaScripts
============================================= -->
<script data-cfasync="false" src="cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script>
<script src="site/AMEDS2/template/js/plugins.js"></script>

<!-- Footer Scripts
============================================= -->
<script src="site/AMEDS2/template/js/functions.js"></script>

<script src="site/AMEDS2/template/js/jquery.gmap.js"></script>

<link href="library/js/jReject-master/css/jquery.reject.css" rel="stylesheet" type="text/css"/>

<script src="library/js/jReject-master/js/jquery.reject.js"></script>
<script>
    $(function () {

        $.reject({
            reject: {
                all: false, // Covers Everything (Nothing blocked)
                msie: 7 // Covers MSIE <= 6 (Blocked by default)
            }, // Reject all renderers for demo
            header: '網站不支持您的瀏覽器版本', // Header Text
            paragraph1: '', // Paragraph 1
            paragraph2: '請安裝下面的許多可選瀏覽器之一進行',
            closeLink: '我還是想瀏覽本網站',
            closeMessage: '您當前使用的是不支持的瀏覽器' // Message below close window link
        }); // Customized Text
        $("#template-contactform-submit").on('click', function () {
            let data = {
                contact: {
                    gender: $("#template-contactform-gender option:selected").val(),
                    first_name: $("#template-contactform-first-name").val(),
                    last_name: $("#template-contactform-last-name").val(),
                    mobile: $("#template-contactform-phone").val(),
                    email: $("#template-contactform-email").val(),
                    message: $('#template-contactform-message option:selected').val(),
                    code: $('INPUT[name="code"]').val(),
                }
            };
            $.ajax({
                url: '<?=$output[0];?>site/CORE/controller/include/sendemail-intro.php',
                dataType: 'json',
                type: 'POST',
                data: data,
                success: function (data) {
                    alert (data.message);
                    if (data.alert == "success") {
                        window.location.reload();
                    }
                    return false;
                },
                error: function (data) {
                    alert ("發生錯誤");
                    return false;
                },
                beforeSend: function (XHR) {
                },
                complete: function (XHR, status) {
                },
            });
        });
    });
</script>


<script>
    (function (i, s, o, g, r, a, m) {
        i['GoogleAnalyticsObject'] = r;
        i[r] = i[r] || function () {
            (i[r].q = i[r].q || []).push(arguments)
        }, i[r].l = 1 * new Date();
        a = s.createElement(o),
            m = s.getElementsByTagName(o)[0];
        a.async = 1;
        a.src = g;
        m.parentNode.insertBefore(a, m)
    })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');

    ga('create', 'UA-66457937-5', 'auto');
    ga('send', 'pageview');

</script>
<link rel="stylesheet" href="library/js/pageloader/pace/themes/blue/pace-theme-flash.css"/>

<script>
    paceOptions = {
        elements: true
    };
</script>
<script src="library/js/pageloader/pace/pace.js"></script>
<a href="#0" class="cd-top">Top</a>
<link rel="stylesheet" href="library/js/back-to-top/css/backtotop.css"/>
<script src="library/js/back-to-top/js/modernizr.js"></script> <!-- Modernizr -->
<script src="library/js/back-to-top/js/main.js"></script> <!-- Gem jQuery -->
</body>

<!-- Mirrored from keystoyoung.com.hk/ameds2.php?page=analysis by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 04 Jan 2021 09:08:04 GMT -->
</html>