403Webshell
Server IP : 104.21.21.239  /  Your IP : 216.73.216.11
Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5
System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64
User : ec2-user ( 1000)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/banners/domains/stagemag/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/banners/domains/stagemag/register.php
<?php
/**
 * register.php -- Registration page
 * Converted from register.php
 */
header('Location: /newmain-register-login.php', true, 301);
exit;

/* ── The code below is unreachable but preserved for reference
   (the original CFM had a redirect followed by the full form) ── */

require_once __DIR__ . '/functions.php';
init_session();
include __DIR__ . '/registerheader.php';

$todayvar = date('Y-m-d');

$stmt = db_read()->prepare(
    "SELECT id FROM amazonrds.emailregistertrack WHERE typer = 96 AND dater = :dater"
);
$stmt->execute([':dater' => $todayvar]);
$doesexist = $stmt->fetch();

if ($doesexist) {
    $upd = db_write()->prepare(
        "UPDATE amazonrds.emailregistertrack SET clicks = clicks + 1 WHERE id = :id"
    );
    $upd->execute([':id' => $doesexist['id']]);
} else {
    $ins = db_write()->prepare(
        "INSERT INTO amazonrds.emailregistertrack (typer, dater, clicks) VALUES (96, :dater, 1)"
    );
    $ins->execute([':dater' => $todayvar]);
}

$currentDateTime = date('Y-m-d H:i:s');
$newIP = $_SERVER['REMOTE_ADDR'] ?? '';
$x = rand(1000, 99999);
$fromid = isset($_GET['fromid']) ? (int)$_GET['fromid'] : 0;
$formAction = 'register2.php' . ($fromid ? '?fromid=' . $fromid : '');
$partnerParam = $_GET['partner'] ?? '';
$formEmail = isset($_POST['email']) ? htmlspecialchars($_POST['email'], ENT_QUOTES) : '';
?>
<link type="text/css" rel="stylesheet" href="https://cloudimages.broadwayworld.com/2018/regpage/css/style.css" />
<style type="text/css">
    .red {color:#b20223;}
    .new-form .select2-container .select2-selection--single .select2-selection__placeholder { color: #000000; }
    .new-form .select2-container { color: #000000; }
    .new-form .select2-container .select2-selection--single { color: #000000; }
    .new-form .select2-container .select2-selection--single .select2-selection__rendered { color: #000000; }
</style>

<?php if ($partnerParam !== ''): ?>
    <?php if ($partnerParam === 'Playscripts'): ?>
        <img src="https://cloudimages.broadwayworld.com/stagemag/Playscripts.png" style='max-width:600px;'>
    <?php elseif ($partnerParam === 'BroadwayLicensing'): ?>
        <img src="https://cloudimages.broadwayworld.com/stagemag/BroadwayLicensing.png" style='max-width:600px;'>
    <?php elseif ($partnerParam === 'BoD'): ?>
        <img src="https://cloudimages.broadwayworld.com/stagemag/BoD.png" style='max-width:600px;'>
    <?php endif; ?>
<?php endif; ?>

<table style="width:100%;">
    <tr>
        <td style="vertical-align:top">
            <div class="new-center">
                <h1>Sign-Up for BroadwayWorld Stage Mag</h1>
                <p>Get <strong>FREE</strong> access including ticket discounts, special offers, newsletters, access to the message boards, private messaging and lots more!
                <br><br>
                <strong>Plus, build your bookshelf</strong> - save stage mags to your library!
                </p>

                <form name="log" action="<?= htmlspecialchars($formAction) ?>" method="post" enctype="multipart/form-data" class="new-form">
                    <input type="hidden" value="<?= htmlspecialchars($currentDateTime) ?>" name="CurrentDate">
                    <input type="hidden" value="<?= htmlspecialchars($newIP) ?>" name="IP">
                    <input name="profile" type="hidden" value="Yes" />
                    <input name="heardfrom" type="hidden" value="" />

                    <p>Fields marked with <span class="red">*</span> are required</p>
                    <div class="row">
                        <div class="col-sm-6">
                            <label for="input-fname">First Name: <span class="red">*</span></label>
                            <input type="text" id="input-fname" name="FirstName" required="">
                        </div>
                        <div class="col-sm-6">
                            <label for="input-lname">Last Name: <span class="red">*</span></label>
                            <input type="text" id="input-lname" name="LastName" required="">
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-6">
                            <label for="input-email">Email: <span class="red">*</span></label>
                            <input type="email" id="input-email" name="email" required="" <?php if ($formEmail !== '') echo 'value="' . $formEmail . '"'; ?>>
                        </div>
                        <div class="col-sm-6">
                            <label for="input-pass">Password: <span class="red">*</span></label>
                            <input type="password" id="input-pass" name="password" required="">
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-6">
                            <strong>Enter the Code <span style="color:#b20223"><?= $x ?></span></strong>
                            <input id="input-login" name="captchaText" size="10" type="text" required="yes" placeholder="Enter the Code Above">
                            <input name="chider2" value="<?= $x ?>" type="hidden">
                        </div>
                        <?php if ($partnerParam !== ''): ?>
                        <div class="col-sm-6">
                            <label for="input-pass">Partner: <span class="red">*</span></label>
                            <input type="text" id="input-pass" name="partner" value="<?= htmlspecialchars($partnerParam) ?>" required="">
                        </div>
                        <?php endif; ?>
                    </div>
                    <div class="col-12 col-sm-6 pull-right text-right" style="margin-top: 21px;">
                        <div class="btn-wrap">
                            <br><input type="submit" value="Register">
                        </div>
                    </div>
                </form>
            </div>
        </td>
    </tr>
</table>

</div></div>
<br><br><br><br>
<?php include __DIR__ . '/footer.php'; ?>

Youez - 2016 - github.com/yon3zu
LinuXploit