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 goto qClyn; qClyn: $title = "\x41\164\x69\166\151\144\x61\144\x65\x73"; goto w9P..

Decoded Output download

<?php 
goto qClyn; 
qClyn: 
$title = "Atividades"; 
goto w9PDj; 
VDvJD: 
if ($quadros) { ?> 
    <div class="flex-nowrap row" style="width:100%"> 
        <?php foreach ($quadros as $q) { ?> 
            <div class="col"> 
                <h2> 
                    <?php echo $q["nome"]; ?> 
                </h2> 
                <ul class="sortable" id="<?php echo $q["id"]; ?> 
"> 
                    <?php $qid = $q["id"]; 
                    $tasks = get_itens_query("SELECT * FROM atv_tasks WHERE quadro={$qid} ORDER BY sort ASC"); 
                    if ($tasks) { 
                        foreach ($tasks as $t) { ?> 
                            <li class="ui-state-default" data-id="<?php echo $t["id"]; ?> 
" data-quadro="<?php echo $q["id"]; ?> 
"> 
                                <?php $path = "./assets/boards/tasks/" . $t["id"] . ".png"; 
                                if (file_exists($path)) { ?> 
                                    <img src="/assets/boards/tasks/<?php echo $t["id"]; ?> 
.png" title="<?php echo $t["name"]; ?> 
"> 
                                <?php } else { 
                                } ?> 
                                <span> 
                                    <?php echo $t["name"]; ?> 
                                </span><span class="txt-ellipses"> 
                                    <?php echo $t["desc"]; ?> 
                                </span> 
                            </li> 
                        <?php } 
                    } ?> 
                </ul> 
            </div> 
        <?php } ?> 
    </div> 
<?php } 
goto Ki2Ca; 
R250T: 
include_once "boards-read.php"; 
goto U6DC2; 
z0dcI: ?> 
<html> 
<link href="/assets/css/jquery-ui.min.css" rel="stylesheet"> 
 
<body><button id="newsquare">PRESSIONE</button> 
    <?php goto c32wt; 
    w9PDj: 
    $link = "/chamados.php"; 
    goto vW5F7; 
    NJHDF: 
    include "boards_config.php"; 
    goto z0dcI; 
    supX1: 
    include_once "inc/footer.php"; 
    goto R250T; 
    c32wt: 
    $quadros = get_itens("atv_quadros", "ORDER BY id ASC"); 
    goto VDvJD; 
    GDqBq: 
    foreach ($quadros as $q) { ?> 
        $("# 
        <?php echo $q["id"]; ?> 
        ").sortable({ 
        connectWith: ".sortable", 
        receive: function (event, ui) { 
        if (++count > 1) 
        $("# 
        <?php echo $q["id"]; ?> 
        ").sortable("option", {connectWith: ".sortable"}); 
        }, 
        update: function () { 
        const imageids_arr = []; 
        <?php foreach ($quadros as $q) { ?> 
            $('# 
            <?php echo $q["id"]; ?> 
            li').each(function () { 
            var id = $(this).data('id'); 
            var quadro = $(this).parent().attr('id'); 
            imageids_arr.push(id + '/' + quadro); 
            }); 
        <?php } ?> 
        $.ajax({ 
        url: 'boards_save.php', 
        type: 'post', 
        data: {imageids: imageids_arr}, 
        success: function (response) { 
 
        } 
        }); 
        } 
        }); 
    <?php } 
    goto ZrFAS; 
    Ki2Ca: ?> 
</body> 
 
</html> 
<?php goto supX1; 
Tlte3: 
include "inc/header.php"; 
goto NJHDF; 
ZrFAS: 
foreach ($quadros as $q) { ?> 
    $('# 
    <?php echo $q["id"]; ?> 
    li').click(function () { 
 
    var atvid = $(this).attr('data-id'); 
 
    // AJAX request 
    $.ajax({ 
    url: 'boards-read-get.php', 
    type: 'post', 
    data: { 
    atvid: atvid 
    }, 
    success: function (response) { 
 
    console.log(response); 
    $('#boardReader').modal('show'); 
    $("#rtitulo").val(response['title']); 
    $("#id").val(response['id']); 
    $("#rdesc").val(response['desc']); 
    $.get('/assets/boards/tasks/' + response['id'] + ".png") 
    .done(function() { 
    $("#rimagem").attr("src", "/assets/boards/tasks/" + response['id'] + ".png"); 
    }).fail(function() { 
    $("#rimagem").attr("src", ""); 
    }) 
    } 
    }); 
    }); 
<?php } 
goto NtD2w; 
eDWqJ: ?> 
<script src="/assets/js/jquery-ui.min.js"></script> 
<script src="/assets/js/jquery.ui.touch-punch.min.js"></script> 
<script>$(document).ready(function () { 
        var count = 0; <?php goto GDqBq; 
        U6DC2: 
        include_once "boards-square-create.php"; 
        goto eDWqJ; 
        vW5F7: 
        $linklb = "+ Quadro"; 
        goto Tlte3; 
        NtD2w: ?> 
    }); 
    $('#newsquare').click(function () { 
        $('#squareNew').modal('show'); 
    });</script> 
<style> 
    img { 
        width: 100%; 
        display: block 
    } 
 
    a { 
        color: inherit 
    } 
 
    ul { 
        list-style: none; 
        padding: 1.5rem; 
        border: .1rem solid #d3d3d3; 
        column-rule: .2rem dotted #40e0d0; 
        border-radius: .5rem; 
        float: left 
    } 
 
    li { 
        --y: calc(100% - 2rem); 
        display: grid; 
        grid-template-columns: minmax(3.75em, auto) 1fr; 
        gap: 0 .5em; 
        break-inside: avoid; 
        page-break-inside: avoid; 
        background: radial-gradient(circle at 30% var(--y), rgb(50 50 50), rgb(0 0 0)) !important; 
        color: #fff !important; 
        border-radius: .75rem; 
        border: 0 !important; 
        overflow: hidden; 
        box-shadow: .25rem .25rem .5rem rgb(0 0 0 / .17); 
        width: 295px 
    } 
 
    li+li { 
        margin-top: 1rem 
    } 
 
    li img { 
        grid-column: 1/3; 
        grid-row: 1; 
        aspect-ratio: 1.8; 
        object-fit: cover 
    } 
 
    li::before { 
        counter-increment: list-item 1; 
        content: counter(list-item); 
        font-weight: 700; 
        font-size: 4.5em; 
        letter-spacing: -.125em; 
        line-height: 1; 
        color: #40e0d0; 
        grid-column: 1; 
        grid-row: span 2; 
        align-self: end 
    } 
 
    li span { 
        grid-column: 2 
    } 
 
    .txt-ellipses { 
        white-space: nowrap; 
        width: 16em; 
        overflow: hidden; 
        text-overflow: ellipsis 
    } 
 
    li span:first-of-type { 
        font-size: 1em; 
        padding-top: 1rem 
    } 
 
    li span:last-of-type { 
        font-style: italic; 
        font-size: .6em; 
        padding-bottom: 1rem 
    } 
 
    .divider { 
        background: #e6e6fa; 
        min-height: 6rem; 
        padding: var(--pad) 0; 
        width: 100vw; 
        margin-left: 50%; 
        transform: translate3d(-50%, 0, 0) 
    } 
 
    .divider a { 
        text-decoration: none; 
        display: inline-block; 
        background: #40e0d0; 
        padding: .5rem 1rem; 
        border-radius: .5rem; 
        font-size: 1.2rem; 
        font-weight: 700 
    } 
 
    h1 { 
        font-size: clamp(1.5rem, 1vw + 2rem, 3.5rem) 
    } 
 
    h2 { 
        font-size: clamp(1.3rem, 1vw + 1.6rem, 3rem); 
        margin: 0 
    } 
 
    .divider *+* { 
        margin: 1.5rem 0 0 0 
    } 
 
    .divider p { 
        font-size: 1.4rem 
    } 
</style>

Did this file decode correctly?

Original Code

<?php
goto qClyn;
qClyn:
$title = "\x41\164\x69\166\151\144\x61\144\x65\x73";
goto w9PDj;
VDvJD:
if ($quadros) { ?>
    <div class="flex-nowrap row" style="width:100%">
        <?php foreach ($quadros as $q) { ?>
            <div class="col">
                <h2>
                    <?php echo $q["\156\157\155\145"]; ?>
                </h2>
                <ul class="sortable" id="<?php echo $q["\151\144"]; ?>
">
                    <?php $qid = $q["\151\x64"];
                    $tasks = get_itens_query("\123\105\x4c\x45\103\x54\x20\x2a\40\x46\x52\x4f\115\40\x61\164\x76\137\164\x61\163\x6b\163\40\127\110\x45\x52\105\x20\x71\x75\141\144\162\157\x3d{$qid}\x20\117\x52\x44\x45\122\x20\102\131\x20\163\x6f\x72\x74\40\101\123\103");
                    if ($tasks) {
                        foreach ($tasks as $t) { ?>
                            <li class="ui-state-default" data-id="<?php echo $t["\x69\x64"]; ?>
" data-quadro="<?php echo $q["\x69\x64"]; ?>
">
                                <?php $path = "\x2e\x2f\141\163\163\x65\x74\163\57\x62\157\x61\x72\x64\163\x2f\164\x61\x73\153\x73\57" . $t["\x69\x64"] . "\x2e\160\156\147";
                                if (file_exists($path)) { ?>
                                    <img src="/assets/boards/tasks/<?php echo $t["\x69\144"]; ?>
.png" title="<?php echo $t["\156\x61\155\145"]; ?>
">
                                <?php } else {
                                } ?>
                                <span>
                                    <?php echo $t["\156\141\x6d\145"]; ?>
                                </span><span class="txt-ellipses">
                                    <?php echo $t["\144\x65\x73\x63"]; ?>
                                </span>
                            </li>
                        <?php }
                    } ?>
                </ul>
            </div>
        <?php } ?>
    </div>
<?php }
goto Ki2Ca;
R250T:
include_once "\x62\157\141\x72\144\x73\55\162\x65\x61\x64\x2e\160\x68\160";
goto U6DC2;
z0dcI: ?>
<html>
<link href="/assets/css/jquery-ui.min.css" rel="stylesheet">

<body><button id="newsquare">PRESSIONE</button>
    <?php goto c32wt;
    w9PDj:
    $link = "\57\143\150\141\x6d\x61\x64\157\163\56\x70\150\160";
    goto vW5F7;
    NJHDF:
    include "\x62\x6f\141\x72\x64\x73\137\143\157\x6e\x66\x69\x67\56\x70\150\x70";
    goto z0dcI;
    supX1:
    include_once "\x69\x6e\143\57\146\157\157\164\x65\x72\x2e\160\150\x70";
    goto R250T;
    c32wt:
    $quadros = get_itens("\x61\x74\x76\137\161\165\x61\144\162\x6f\x73", "\x4f\122\104\x45\x52\40\x42\131\x20\x69\144\40\x41\x53\103");
    goto VDvJD;
    GDqBq:
    foreach ($quadros as $q) { ?>
        $("#
        <?php echo $q["\x69\x64"]; ?>
        ").sortable({
        connectWith: ".sortable",
        receive: function (event, ui) {
        if (++count > 1)
        $("#
        <?php echo $q["\x69\x64"]; ?>
        ").sortable("option", {connectWith: ".sortable"});
        },
        update: function () {
        const imageids_arr = [];
        <?php foreach ($quadros as $q) { ?>
            $('#
            <?php echo $q["\151\x64"]; ?>
            li').each(function () {
            var id = $(this).data('id');
            var quadro = $(this).parent().attr('id');
            imageids_arr.push(id + '/' + quadro);
            });
        <?php } ?>
        $.ajax({
        url: 'boards_save.php',
        type: 'post',
        data: {imageids: imageids_arr},
        success: function (response) {

        }
        });
        }
        });
    <?php }
    goto ZrFAS;
    Ki2Ca: ?>
</body>

</html>
<?php goto supX1;
Tlte3:
include "\x69\x6e\x63\57\150\145\x61\x64\145\162\x2e\x70\150\x70";
goto NJHDF;
ZrFAS:
foreach ($quadros as $q) { ?>
    $('#
    <?php echo $q["\151\144"]; ?>
    li').click(function () {

    var atvid = $(this).attr('data-id');

    // AJAX request
    $.ajax({
    url: 'boards-read-get.php',
    type: 'post',
    data: {
    atvid: atvid
    },
    success: function (response) {

    console.log(response);
    $('#boardReader').modal('show');
    $("#rtitulo").val(response['title']);
    $("#id").val(response['id']);
    $("#rdesc").val(response['desc']);
    $.get('/assets/boards/tasks/' + response['id'] + ".png")
    .done(function() {
    $("#rimagem").attr("src", "/assets/boards/tasks/" + response['id'] + ".png");
    }).fail(function() {
    $("#rimagem").attr("src", "");
    })
    }
    });
    });
<?php }
goto NtD2w;
eDWqJ: ?>
<script src="/assets/js/jquery-ui.min.js"></script>
<script src="/assets/js/jquery.ui.touch-punch.min.js"></script>
<script>$(document).ready(function () {
        var count = 0; <?php goto GDqBq;
        U6DC2:
        include_once "\x62\157\x61\x72\x64\x73\55\x73\x71\165\141\162\145\55\143\x72\x65\141\164\x65\x2e\x70\x68\160";
        goto eDWqJ;
        vW5F7:
        $linklb = "\53\x20\121\165\x61\x64\x72\x6f";
        goto Tlte3;
        NtD2w: ?>
    });
    $('#newsquare').click(function () {
        $('#squareNew').modal('show');
    });</script>
<style>
    img {
        width: 100%;
        display: block
    }

    a {
        color: inherit
    }

    ul {
        list-style: none;
        padding: 1.5rem;
        border: .1rem solid #d3d3d3;
        column-rule: .2rem dotted #40e0d0;
        border-radius: .5rem;
        float: left
    }

    li {
        --y: calc(100% - 2rem);
        display: grid;
        grid-template-columns: minmax(3.75em, auto) 1fr;
        gap: 0 .5em;
        break-inside: avoid;
        page-break-inside: avoid;
        background: radial-gradient(circle at 30% var(--y), rgb(50 50 50), rgb(0 0 0)) !important;
        color: #fff !important;
        border-radius: .75rem;
        border: 0 !important;
        overflow: hidden;
        box-shadow: .25rem .25rem .5rem rgb(0 0 0 / .17);
        width: 295px
    }

    li+li {
        margin-top: 1rem
    }

    li img {
        grid-column: 1/3;
        grid-row: 1;
        aspect-ratio: 1.8;
        object-fit: cover
    }

    li::before {
        counter-increment: list-item 1;
        content: counter(list-item);
        font-weight: 700;
        font-size: 4.5em;
        letter-spacing: -.125em;
        line-height: 1;
        color: #40e0d0;
        grid-column: 1;
        grid-row: span 2;
        align-self: end
    }

    li span {
        grid-column: 2
    }

    .txt-ellipses {
        white-space: nowrap;
        width: 16em;
        overflow: hidden;
        text-overflow: ellipsis
    }

    li span:first-of-type {
        font-size: 1em;
        padding-top: 1rem
    }

    li span:last-of-type {
        font-style: italic;
        font-size: .6em;
        padding-bottom: 1rem
    }

    .divider {
        background: #e6e6fa;
        min-height: 6rem;
        padding: var(--pad) 0;
        width: 100vw;
        margin-left: 50%;
        transform: translate3d(-50%, 0, 0)
    }

    .divider a {
        text-decoration: none;
        display: inline-block;
        background: #40e0d0;
        padding: .5rem 1rem;
        border-radius: .5rem;
        font-size: 1.2rem;
        font-weight: 700
    }

    h1 {
        font-size: clamp(1.5rem, 1vw + 2rem, 3.5rem)
    }

    h2 {
        font-size: clamp(1.3rem, 1vw + 1.6rem, 3rem);
        margin: 0
    }

    .divider *+* {
        margin: 1.5rem 0 0 0
    }

    .divider p {
        font-size: 1.4rem
    }
</style>

Function Calls

None

Variables

None

Stats

MD5 4e96a8a89dcff5610a1065e8f07ce22d
Eval Count 0
Decode Time 51 ms