Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php eval(gzuncompress(base64_decode('eJylVltr2zAUfs+v0LyAZUiddKOMpUnKKIPlabC2T6UE1Tput..

Decoded Output download

 if (boomAllow($addons['addons_access'])) { ?>
<script data-cfasync="false" type="text/javascript">
$(document).ready(function() {
    boomAddCss('addons/CS_typing/files/CS_typing.css');

    const contentInput = $('#content');
    const userId = <?php echo $data['user_id']; ?>;
    let userRoomId = <?php echo $data['user_roomid']; ?>;
    let typingTimeout;
    let isTyping = false;

    function fetchUserRoomId() {
        $.post('addons/CS_typing/system/fetch_roomid.php', { user_id: userId }, function(response) {
            if (response.trim()) {
                userRoomId = parseInt(response, 10);
            }
        });
    }

    function sendTypingStatus(status) {
        if (isTyping !== status) {
            isTyping = status;
            $.post('addons/CS_typing/system/update.php', {
                user_id: userId,
                user_roomid: userRoomId,
                is_typing: status
            });
        }
    }

    contentInput.on('input', function() {
        clearTimeout(typingTimeout);
        const hasContent = contentInput.val().trim().length > 0;

        if (hasContent) {
            sendTypingStatus(1);
            typingTimeout = setTimeout(() => sendTypingStatus(0), 2000);
        } else {
            sendTypingStatus(0);
        }
    });

    contentInput.on('keydown', function(event) {
        if (event.key === "Enter") {
            sendTypingStatus(0);
        }
    });

    function positionIndicator() {
        const containerInput = $('#container_input');
        const indicator = $('#typing-indicator-container');

        if (containerInput.length > 0) {
            const offset = containerInput.offset();
            indicator.css({
                position: 'absolute',
                top: offset.top - indicator.outerHeight() - 5,
                left: offset.left,
                zIndex: 9999
            });
        }
    }

    setInterval(function() {
        const displayedUserIds = $('#typing-indicator-container span[data-id]').map(function() {
            return $(this).data('id');
        }).get();

        fetchUserRoomId();

        $.post('addons/CS_typing/system/fetch.php', {
            user_id: userId,
            user_roomid: userRoomId,
            displayed_users: displayedUserIds
        }).done(function(response) {
            const indicator = $('#typing-indicator-container');

            if (response.trim()) {
                indicator.html(response).fadeIn(300);
                positionIndicator();
            } else {
                indicator.fadeOut(500);
            }
        });
    }, 700);

    positionIndicator();
    $(window).resize(positionIndicator);
});
</script>
<div id="typing-indicator-container" class="back_input input_wrap"></div>
<?php } 

Did this file decode correctly?

Original Code

<?php 
eval(gzuncompress(base64_decode('eJylVltr2zAUfs+v0LyAZUiddKOMpUnKKIPlabC2T6UE1TputDq2seSk6ch/35FlO/JlTWF6SGzpXL/z6RwTERL6mCSbb1GU7OiQcZ7E8t41/ysWBCCl++B55A+5WgxmMshEqghnip0FIZP7OJg7IYskOETtU5g7Cl7U+DfbMiPqLAZDypMg30CsPD8Dxvc0zONAiSSmaHZAcBURcH4tJS1dj69vVmhQxE/jUERgvfsBRuRdDgrFAEWV/lVofhmnuSJzMqTux3JLCx7lcgnZkqPE7CpdpwSCdUKGOpd7Vx+tBHcfLjFPoxOB0fiFwb2lleF5V9MEeys2kOTquC3kbXGA5grYyjwqREgIKljf1V5rhPQa+mkiVQ9Cci8VbMaFbhmOj6G6I6xamdi0Sv4wqp3RDGSKlsB2opcmRXXmq0xsqNcW0asBTsoyCctY1Yojcj4p0a/WoX47lCeHVvoSYm4AulFM5ZLK4s/2roOrUfwwn5OuSCF2BNoINEM5hWWeYoWhQrE3dQvVUb+AKcXUAqorKGTpeVrG2UTMQvBgI2ZT3sdSukI/uVZxbUCCCFhWcpE2mGnZN3dkzeS1sY3INbxsWUS9kg5+BPGTWpMFmZQMrkpz1G9XpFPb8xY9GoHpuoGqYsZs5ouuhYk3Ip8mE5tnBwJ4rU65nnRxtVpKE9ln2PNkF9vYwraVn8682PRRmsyRlc53NJM5J0F4I5L6ViBVhX5YxlwETCVZs7h1D2QiRja2umCxuTL06FRbVBZLBVOCs3r7rLZQt9wq3aZDixDtlI2nJAyxniWnLD2zT1tUqAPQ3Z5271+FyJS47FEmUa7A7d4tlaTT0rGPz+TMsousguwHiKc1OseTi656BKGq9fVLV+QVSwIvU/IV1/suLtpaambo29R/Vwu4uJBpxPbA74oGI0/Wh8iUxffFYBb8wfX8DUv7HeiVgcqzGE2qtZCer9WwhXCbIAfPfzKFqbc6w8k6e9dw6u2nb/bSd/XRGqyVlpDTDnp2Uhge0JMj8L+uh17vnKFHQq7VJjqG44eM4zilnyftIapXT0NoTdq+Ltj0px38xNZ60fHQM6ZH5EshNnjT+5Du0H6y0995UrwC7UiioLY5G5uvQ/yi5GJLBMfvxn9C6+D4YlLOnUcWPJtGRorf1S5jqbOYjdEGWiq+zg7kL8/wJ7I='))); ?>

Function Calls

boomAllow 1
gzuncompress 1
base64_decode 1

Variables

None

Stats

MD5 af143fcd20f6e54a3792dadd0f84263b
Eval Count 1
Decode Time 71 ms