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 TTttA; c9xwi: require_once "\x6b\145\x72\x6e\x65\154\57\144\x62\137\x68\x65\..

Decoded Output download

<?php 
goto TTttA; 
c9xwi: 
require_once "kernel/db_helper_RW_V2.php"; 
goto E9P8H; 
GMPdY: ?> 
>1 Year</option> 
<option value="24" <?php goto XBil7; 
                    ekllc: 
                    if (isset($req_data["approval_status"]) and $req_data["approval_status"] == "4") { 
                        echo "selected"; 
                    } 
                    goto ONNEF; 
                    kEH0P: 
                    $query = "SELECT * FROM `master__emp` inner join master__department on master__emp.department_id=master__department.department_id inner join master__location on master__location.location_id=master__department.location_id;"; 
                    goto WT6Rk; 
                    HIaua: ?> </select> 
    </div> 
    <div class="col-xs-3 input-group-sm"><input class="form-control" id="user_name" list="user_id_list" name="user_name" placeholder="User Name"><datalist id="user_id_list"><?php goto kEH0P; 
                                                                                                                                                                                QUzNa: 
                                                                                                                                                                                if (isset($req_data["approval_status"]) and $req_data["approval_status"] == "5") { 
                                                                                                                                                                                    echo "selected"; 
                                                                                                                                                                                } 
                                                                                                                                                                                goto Aa_Q2; 
                                                                                                                                                                                TxFJY: 
                                                                                                                                                                                if (isset($req_data["approval_status"]) and $req_data["approval_status"] == "1") { 
                                                                                                                                                                                    echo "selected"; 
                                                                                                                                                                                } 
                                                                                                                                                                                goto Ev6pq; 
                                                                                                                                                                                H2uN2: 
                                                                                                                                                                                $req_data = sanitize(); 
                                                                                                                                                                                goto i13yx; 
                                                                                                                                                                                wmb2s: 
                                                                                                                                                                                if (isset($req_data["timeframe"]) and $req_data["timeframe"] == "6") { 
                                                                                                                                                                                    echo "selected"; 
                                                                                                                                                                                } 
                                                                                                                                                                                goto tyYmZ; 
                                                                                                                                                                                XBil7: 
                                                                                                                                                                                if (isset($req_data["timeframe"]) and $req_data["timeframe"] == "24") { 
                                                                                                                                                                                    echo "selected"; 
                                                                                                                                                                                } 
                                                                                                                                                                                goto yeSg5; 
                                                                                                                                                                                KyBRr: 
                                                                                                                                                                                if (isset($req_data["timeframe"]) and $req_data["timeframe"] == "60") { 
                                                                                                                                                                                    echo "selected"; 
                                                                                                                                                                                } 
                                                                                                                                                                                goto Qy3Tw; 
                                                                                                                                                                                J_XUi: ?> 
            >Any Approval Status 
</option></select></div> 
<div class="col-xs-3 input-group-sm"><select class="form-control" id="timeframe" name="timeframe"> 
        <option value="">Select Timeframe</option> 
        <option value="1" <?php goto UAjxK; 
                            PmpKV: ?>>1 Month</option> 
        <option value="3" <?php goto xlHdJ; 
                            WT6Rk: 
                            if (isset($req_data["dept"])) { 
                                $query = "SELECT * FROM `master__emp` where department_id='" . $req_data["dept"] . "';"; 
                            } else { 
                                if (isset($req_data["loc"])) { 
                                    $query = "SELECT * FROM `master__emp` inner join master__department on master__emp.department_id=master__department.department_id where master__department.location_id='" . $req_data["loc"] . "';"; 
                                } else { 
                                    $query = "SELECT * FROM `master__emp`;"; 
                                } 
                            } 
                            goto k4v0Z; 
                            TTttA: 
                            ini_set("display_errors", 1); 
                            goto viwSl; 
                            ZdTLo: 
                            if (isset($req_data["approval_status"]) and $req_data["approval_status"] == "2") { 
                                echo "selected"; 
                            } 
                            goto q2lqX; 
                            PlW3j: 
                            if (!check_login()) { 
                                echo "510"; 
                                return; 
                            } 
                            goto Lmf0l; 
                            KnYfM: 
                            require_once "kernel/utils.php"; 
                            goto GX7Yk; 
                            NkCDB: 
                            error_reporting(E_ALL); 
                            goto A7uE1; 
                            xXonq: 
                            if ($db_result) { 
                                while ($data = $db_result->fetch(PDO::FETCH_ASSOC)) { 
                                    echo "<option value='" . $data["user_name"] . "'>" . $data["emp_fname"] . " " . $data["emp_lname"] . "</option>"; 
                                } 
                            } 
                            goto v_lLs; 
                            dnqHw: 
                            $query = "SELECT * FROM `master__location`"; 
                            goto tEOyW; 
                            lxN06: 
                            require_once "kernel/db.php"; 
                            goto KnYfM; 
                            K_EaF: 
                            if (isset($req_data["loc"])) { 
                                $query = "SELECT * FROM master__department where location_id='" . $req_data["loc"] . "'"; 
                                $db_result = select_from_table_V2($query); 
                                if ($db_result) { 
                                    while ($data = $db_result->fetch(PDO::FETCH_ASSOC)) { 
                                        echo "<option value='{$data["department_id"]}'"; 
                                        if (isset($req_data["dept"]) and $data["department_id"] == $req_data["dept"]) { 
                                            echo " selected"; 
                                        } 
                                        echo ">{$data["department_name"]}</option>"; 
                                    } 
                                } 
                            } 
                            goto HIaua; 
                            pQqOF: 
                            while ($data = $db_result->fetch(PDO::FETCH_ASSOC)) { 
                                echo "<option value='{$data["location_id"]}'"; 
                                if (isset($req_data["loc"]) and $data["location_id"] == $req_data["loc"]) { 
                                    echo " selected"; 
                                } 
                                echo ">{$data["location_name"]}</option>"; 
                            } 
                            goto CoYzl; 
                            i13yx: ?> <section class="content-header"> 
            <h1>Download Visiting Pass Data</h1> 
            <ol class="breadcrumb"><b>Transaction Status:</b> 
                <li><a href="#"><span id="txn_status" style="width:30px;height:30px"><img alt="Transaction Status" src="img/txn_success.png" style="width:30px;height:30px"></span></a></li> 
            </ol> 
            </section> 
            <section class="content"> 
                <div class="row"> 
                    <div class="col-xs-12"> 
                        <div class="box box-info"> 
                            <div class="box-body box-custom"> 
                                <div class="clearfix"></div> 
                            </div> 
                            <div class="box-body box-custom"> 
                                <form action="router.php?route=admin/visiting_pass_list_download.php" class="add-inc" enctype="multipart/form-data" id="frm_report" method="post" name="frm_report" target="_blank"> 
                                    <div class="row" style="padding-bottom:10px"> 
                                        <div class="col-xs-12"> 
                                            <div class="col-xs-3 input-group-sm pull-left"><select class="form-control" id="loc" name="loc" onchange='talk_to_server("admin/visiting_pass_list_disp.php","","","loc","body_content")'> 
                                                    <option value="">Select Location</option><?php goto dnqHw; 
                                                                                                ONNEF: ?> 
                                                    >Checked In 
        </option> 
        <option value="5" <?php goto QUzNa; 
                            UAjxK: 
                            if (isset($req_data["timeframe"]) and $req_data["timeframe"] == "1") { 
                                echo "selected"; 
                            } 
                            goto PmpKV; 
                            lieGF: ?>>Pending Approval</option> 
        <option value="1" <?php goto TxFJY; 
                            qWUsn: ?>>3 Months</option> 
        <option value="6" <?php goto wmb2s; 
                            TK_dF: 
                            if (!isset($req_data["approval_status"]) or $req_data["approval_status"] == "0") { 
                                echo "selected"; 
                            } 
                            goto lieGF; 
                            xlHdJ: 
                            if (isset($req_data["timeframe"]) and $req_data["timeframe"] == "3") { 
                                echo "selected"; 
                            } 
                            goto qWUsn; 
                            q2lqX: ?>>Rejected</option> 
        <option value="3" <?php goto t6rJD; 
                            fOTJ_: 
                            require_once "phpqrcode/qrlib.php"; 
                            goto lxN06; 
                            Lmf0l: 
                            if (check_auth("ADMIN") == false) { 
                                echo "Youre not authorized to view this page!');201"; 
                                return; 
                            } 
                            goto H2uN2; 
                            cqauq: 
                            require_once "kernel/db_helper_UT_V2.php"; 
                            goto c9xwi; 
                            Aa_Q2: ?>>Checked Out</option> 
        <option value="99" <?php goto E9WwE; 
                            eZqid: 
                            require_once "kernel/whatsapp_api.php"; 
                            goto cqauq; 
                            Ev6pq: ?>>Approved</option> 
        <option value="2" <?php goto ZdTLo; 
                            yeSg5: ?>>2 Years</option> 
        <option value="36" <?php goto Nnq92; 
                            pGnnc: 
                            if (!isset($req_data["timeframe"]) or $req_data["timeframe"] == "99") { 
                                echo "selected"; 
                            } 
                            goto fhPtZ; 
                            tEOyW: 
                            $db_result = select_from_table_V2($query); 
                            goto pQqOF; 
                            E9P8H: 
                            require_once "kernel/db_helper_RD_V2.php"; 
                            goto PlW3j; 
                            Qy3Tw: ?>>5 Years</option> 
        <option value="99" <?php goto pGnnc; 
                            v_lLs: ?> </datalist> 
</div> 
</div> 
</div> 
<div class="row" style="padding-bottom:10px"> 
    <div class="col-xs-12"> 
        <div class="col-xs-3 input-group-sm"><select class="form-control" id="approval_status" name="approval_status"> 
                <option value="">Select Approval Status</option> 
                <option value="0" <?php goto TK_dF; 
                                    A7uE1: 
                                    if (!isset($_SESSION)) { 
                                        session_start(); 
                                    } 
                                    goto fOTJ_; 
                                    E9WwE: 
                                    if (isset($req_data["approval_status"]) and $req_data["approval_status"] == "99") { 
                                        echo "selected"; 
                                    } 
                                    goto J_XUi; 
                                    k4v0Z: 
                                    $db_result = select_from_table_V2($query); 
                                    goto xXonq; 
                                    CoYzl: ?> </select> 
        </div> 
        <div class="col-xs-3 input-group-sm"><select class="form-control" id="dept" name="dept" onchange='talk_to_server("admin/visiting_pass_list_disp.php","","","loc,dept","body_content")'> 
                <option value="">Select Department</option><?php goto K_EaF; 
                                                            viwSl: 
                                                            ini_set("display_startup_errors", 1); 
                                                            goto NkCDB; 
                                                            tyYmZ: ?> 
                >6 Months</option> 
                <option value="12" <?php goto QVKO9; 
                                    OzqZg: ?>>Rescheduled</option> 
                <option value="4" <?php goto ekllc; 
                                    t6rJD: 
                                    if (isset($req_data["approval_status"]) and $req_data["approval_status"] == "3") { 
                                        echo "selected"; 
                                    } 
                                    goto OzqZg; 
                                    GX7Yk: 
                                    require_once "kernel/param.php"; 
                                    goto eZqid; 
                                    Nnq92: 
                                    if (isset($req_data["timeframe"]) and $req_data["timeframe"] == "36") { 
                                        echo "selected"; 
                                    } 
                                    goto iU7Uu; 
                                    QVKO9: 
                                    if (isset($req_data["timeframe"]) and $req_data["timeframe"] == "12") { 
                                        echo "selected"; 
                                    } 
                                    goto GMPdY; 
                                    iU7Uu: ?>>3 Years</option> 
                <option value="60" <?php goto KyBRr; 
                                    fhPtZ: ?>>All time</option> 
            </select></div> 
    </div> 
</div> 
<div class="row" style="padding-bottom:10px"> 
    <div class="col-xs-12"> 
        <div class="col-xs-3 input-group-sm pull-right"><button class="form-control btn btn-default" onclick='document.getElementById("frm_report").submit()' type="button">Download <i class="fa fa-download"></i></button></div> 
    </div> 
</div> 
</form> 
</div> 
</div> 
</div> 
</div> 
</section>200

Did this file decode correctly?

Original Code

<?php
goto TTttA;
c9xwi:
require_once "\x6b\145\x72\x6e\x65\154\57\144\x62\137\x68\x65\x6c\x70\145\162\137\x52\127\x5f\x56\x32\56\x70\150\x70";
goto E9P8H;
GMPdY: ?>
>1 Year</option>
<option value="24" <?php goto XBil7;
                    ekllc:
                    if (isset($req_data["\141\160\x70\162\157\166\141\154\137\x73\x74\141\164\x75\163"]) and $req_data["\x61\160\x70\x72\157\166\x61\x6c\x5f\x73\164\141\164\165\163"] == "\64") {
                        echo "\x73\145\154\x65\x63\x74\145\144";
                    }
                    goto ONNEF;
                    kEH0P:
                    $query = "\x53\x45\x4c\x45\x43\x54\40\x2a\x20\x46\x52\117\x4d\x20\140\x6d\x61\x73\164\x65\x72\137\137\x65\x6d\160\140\40\x69\156\x6e\145\162\40\152\157\x69\156\x20\155\141\163\164\x65\x72\x5f\x5f\144\145\x70\x61\162\164\x6d\145\x6e\x74\40\x6f\x6e\40\155\x61\163\164\145\162\137\x5f\145\155\x70\x2e\144\145\160\x61\x72\164\x6d\145\156\x74\x5f\x69\x64\x3d\x6d\141\x73\164\x65\162\x5f\x5f\x64\145\x70\x61\162\164\x6d\145\x6e\164\x2e\144\x65\x70\x61\x72\164\x6d\145\x6e\x74\137\151\144\x20\x69\156\x6e\145\162\40\152\x6f\151\x6e\x20\x6d\141\163\x74\145\162\x5f\137\x6c\157\143\x61\164\x69\157\156\40\x6f\x6e\x20\155\141\163\164\x65\x72\x5f\137\154\157\143\141\164\151\157\156\x2e\154\157\x63\141\x74\151\157\156\x5f\151\x64\x3d\x6d\141\163\164\145\162\137\137\144\145\x70\141\162\x74\155\145\x6e\x74\56\154\x6f\143\141\164\151\x6f\x6e\137\x69\144\x3b";
                    goto WT6Rk;
                    HIaua: ?> </select>
    </div>
    <div class="col-xs-3 input-group-sm"><input class="form-control" id="user_name" list="user_id_list" name="user_name" placeholder="User Name"><datalist id="user_id_list"><?php goto kEH0P;
                                                                                                                                                                                QUzNa:
                                                                                                                                                                                if (isset($req_data["\141\160\160\x72\x6f\x76\x61\x6c\x5f\163\164\141\164\165\x73"]) and $req_data["\x61\160\x70\x72\x6f\166\141\154\x5f\163\x74\141\164\x75\x73"] == "\x35") {
                                                                                                                                                                                    echo "\163\x65\154\145\143\x74\x65\144";
                                                                                                                                                                                }
                                                                                                                                                                                goto Aa_Q2;
                                                                                                                                                                                TxFJY:
                                                                                                                                                                                if (isset($req_data["\x61\160\160\162\157\x76\141\x6c\x5f\163\x74\141\164\165\163"]) and $req_data["\x61\160\x70\x72\157\166\141\154\x5f\163\x74\141\164\165\163"] == "\61") {
                                                                                                                                                                                    echo "\x73\x65\154\x65\143\164\145\x64";
                                                                                                                                                                                }
                                                                                                                                                                                goto Ev6pq;
                                                                                                                                                                                H2uN2:
                                                                                                                                                                                $req_data = sanitize();
                                                                                                                                                                                goto i13yx;
                                                                                                                                                                                wmb2s:
                                                                                                                                                                                if (isset($req_data["\164\x69\155\x65\146\x72\x61\155\145"]) and $req_data["\x74\x69\x6d\145\x66\162\x61\155\x65"] == "\66") {
                                                                                                                                                                                    echo "\x73\145\154\145\143\x74\145\144";
                                                                                                                                                                                }
                                                                                                                                                                                goto tyYmZ;
                                                                                                                                                                                XBil7:
                                                                                                                                                                                if (isset($req_data["\x74\x69\155\x65\x66\x72\141\155\145"]) and $req_data["\x74\x69\x6d\x65\146\162\141\155\145"] == "\x32\64") {
                                                                                                                                                                                    echo "\163\x65\154\145\x63\x74\145\x64";
                                                                                                                                                                                }
                                                                                                                                                                                goto yeSg5;
                                                                                                                                                                                KyBRr:
                                                                                                                                                                                if (isset($req_data["\164\x69\155\x65\x66\x72\x61\x6d\x65"]) and $req_data["\x74\x69\x6d\145\146\162\x61\155\x65"] == "\66\x30") {
                                                                                                                                                                                    echo "\x73\x65\154\145\143\x74\145\x64";
                                                                                                                                                                                }
                                                                                                                                                                                goto Qy3Tw;
                                                                                                                                                                                J_XUi: ?>
            >Any Approval Status
</option></select></div>
<div class="col-xs-3 input-group-sm"><select class="form-control" id="timeframe" name="timeframe">
        <option value="">Select Timeframe</option>
        <option value="1" <?php goto UAjxK;
                            PmpKV: ?>>1 Month</option>
        <option value="3" <?php goto xlHdJ;
                            WT6Rk:
                            if (isset($req_data["\x64\x65\x70\x74"])) {
                                $query = "\123\x45\x4c\x45\103\x54\40\52\40\106\122\117\115\x20\140\155\x61\x73\164\x65\x72\x5f\x5f\145\x6d\x70\140\40\167\150\145\162\145\x20\144\x65\160\x61\x72\x74\155\145\x6e\164\137\x69\144\x3d\47" . $req_data["\x64\145\x70\164"] . "\x27\x3b";
                            } else {
                                if (isset($req_data["\154\x6f\143"])) {
                                    $query = "\123\x45\114\105\103\x54\40\52\x20\x46\x52\117\x4d\40\x60\155\141\163\164\145\x72\x5f\137\145\155\x70\x60\x20\151\x6e\156\145\162\40\152\157\x69\x6e\40\155\141\163\x74\145\x72\137\137\x64\x65\160\x61\x72\x74\155\x65\156\164\40\157\156\x20\x6d\x61\163\164\x65\x72\x5f\x5f\x65\155\160\56\144\x65\160\141\162\164\155\145\156\x74\137\x69\x64\75\155\x61\x73\x74\x65\x72\137\137\x64\145\x70\141\x72\164\x6d\145\x6e\x74\x2e\x64\x65\160\141\x72\164\x6d\x65\156\164\x5f\151\144\x20\x77\150\x65\162\145\x20\155\141\x73\164\x65\x72\137\137\144\145\x70\x61\162\x74\x6d\145\156\164\x2e\154\157\x63\141\164\x69\157\x6e\137\x69\144\75\47" . $req_data["\154\157\143"] . "\x27\x3b";
                                } else {
                                    $query = "\123\x45\x4c\x45\103\124\x20\x2a\x20\x46\122\117\x4d\40\x60\x6d\141\163\x74\145\162\x5f\137\145\155\x70\x60\x3b";
                                }
                            }
                            goto k4v0Z;
                            TTttA:
                            ini_set("\x64\x69\x73\x70\154\x61\171\x5f\145\x72\x72\x6f\x72\x73", 1);
                            goto viwSl;
                            ZdTLo:
                            if (isset($req_data["\x61\160\160\162\157\x76\141\x6c\137\163\164\141\x74\x75\x73"]) and $req_data["\x61\x70\x70\162\x6f\x76\141\154\x5f\x73\164\141\164\165\163"] == "\x32") {
                                echo "\163\x65\x6c\x65\143\164\145\144";
                            }
                            goto q2lqX;
                            PlW3j:
                            if (!check_login()) {
                                echo "\x35\61\60";
                                return;
                            }
                            goto Lmf0l;
                            KnYfM:
                            require_once "\153\x65\162\156\145\x6c\57\x75\x74\151\154\163\x2e\160\150\160";
                            goto GX7Yk;
                            NkCDB:
                            error_reporting(E_ALL);
                            goto A7uE1;
                            xXonq:
                            if ($db_result) {
                                while ($data = $db_result->fetch(PDO::FETCH_ASSOC)) {
                                    echo "\74\157\160\x74\x69\157\x6e\40\166\141\154\165\x65\x3d\x27" . $data["\165\x73\145\x72\137\x6e\141\155\x65"] . "\47\x3e" . $data["\145\155\x70\x5f\x66\x6e\141\x6d\145"] . "\x20" . $data["\145\x6d\160\x5f\154\156\141\155\x65"] . "\x3c\57\x6f\160\x74\x69\x6f\156\76";
                                }
                            }
                            goto v_lLs;
                            dnqHw:
                            $query = "\x53\105\114\105\x43\124\x20\52\x20\x46\x52\117\x4d\x20\x60\155\141\163\x74\145\162\137\x5f\x6c\157\x63\x61\164\151\157\156\140";
                            goto tEOyW;
                            lxN06:
                            require_once "\x6b\145\162\x6e\x65\154\x2f\x64\142\x2e\x70\x68\x70";
                            goto KnYfM;
                            K_EaF:
                            if (isset($req_data["\x6c\157\x63"])) {
                                $query = "\x53\x45\114\x45\x43\124\x20\52\40\x46\122\x4f\115\40\x6d\x61\x73\x74\x65\162\x5f\x5f\x64\x65\160\x61\x72\x74\x6d\145\x6e\x74\40\x77\150\x65\x72\x65\40\x6c\157\143\141\x74\x69\157\x6e\137\x69\144\75\47" . $req_data["\154\157\x63"] . "\47";
                                $db_result = select_from_table_V2($query);
                                if ($db_result) {
                                    while ($data = $db_result->fetch(PDO::FETCH_ASSOC)) {
                                        echo "\74\x6f\160\x74\x69\157\x6e\40\x76\141\x6c\165\x65\x3d\x27{$data["\144\145\160\x61\x72\x74\x6d\145\x6e\x74\137\x69\x64"]}\x27";
                                        if (isset($req_data["\144\x65\x70\x74"]) and $data["\144\x65\x70\141\x72\164\155\x65\x6e\x74\x5f\x69\144"] == $req_data["\144\x65\x70\164"]) {
                                            echo "\40\x73\x65\x6c\x65\143\164\x65\144";
                                        }
                                        echo "\x3e{$data["\x64\145\160\x61\162\x74\x6d\145\156\x74\x5f\156\141\x6d\x65"]}\x3c\57\157\160\x74\151\157\x6e\76";
                                    }
                                }
                            }
                            goto HIaua;
                            pQqOF:
                            while ($data = $db_result->fetch(PDO::FETCH_ASSOC)) {
                                echo "\x3c\x6f\160\x74\151\157\x6e\40\x76\141\154\165\145\x3d\47{$data["\x6c\x6f\143\x61\164\x69\157\x6e\x5f\x69\x64"]}\47";
                                if (isset($req_data["\154\157\143"]) and $data["\x6c\157\143\141\164\151\157\x6e\x5f\151\x64"] == $req_data["\154\157\143"]) {
                                    echo "\x20\163\x65\154\x65\143\x74\x65\x64";
                                }
                                echo "\76{$data["\154\157\143\x61\164\x69\157\x6e\137\156\141\x6d\x65"]}\x3c\x2f\x6f\160\164\151\157\x6e\76";
                            }
                            goto CoYzl;
                            i13yx: ?> <section class="content-header">
            <h1>Download Visiting Pass Data</h1>
            <ol class="breadcrumb"><b>Transaction Status:</b>
                <li><a href="#"><span id="txn_status" style="width:30px;height:30px"><img alt="Transaction Status" src="img/txn_success.png" style="width:30px;height:30px"></span></a></li>
            </ol>
            </section>
            <section class="content">
                <div class="row">
                    <div class="col-xs-12">
                        <div class="box box-info">
                            <div class="box-body box-custom">
                                <div class="clearfix"></div>
                            </div>
                            <div class="box-body box-custom">
                                <form action="router.php?route=admin/visiting_pass_list_download.php" class="add-inc" enctype="multipart/form-data" id="frm_report" method="post" name="frm_report" target="_blank">
                                    <div class="row" style="padding-bottom:10px">
                                        <div class="col-xs-12">
                                            <div class="col-xs-3 input-group-sm pull-left"><select class="form-control" id="loc" name="loc" onchange='talk_to_server("admin/visiting_pass_list_disp.php","","","loc","body_content")'>
                                                    <option value="">Select Location</option><?php goto dnqHw;
                                                                                                ONNEF: ?>
                                                    >Checked In
        </option>
        <option value="5" <?php goto QUzNa;
                            UAjxK:
                            if (isset($req_data["\x74\151\155\145\x66\x72\141\x6d\145"]) and $req_data["\164\x69\155\145\x66\x72\141\x6d\x65"] == "\61") {
                                echo "\163\x65\154\x65\x63\x74\145\144";
                            }
                            goto PmpKV;
                            lieGF: ?>>Pending Approval</option>
        <option value="1" <?php goto TxFJY;
                            qWUsn: ?>>3 Months</option>
        <option value="6" <?php goto wmb2s;
                            TK_dF:
                            if (!isset($req_data["\141\160\160\162\157\x76\x61\154\137\x73\164\141\x74\165\x73"]) or $req_data["\141\x70\x70\162\x6f\x76\x61\154\137\163\164\141\164\x75\x73"] == "\x30") {
                                echo "\163\x65\x6c\145\x63\x74\145\x64";
                            }
                            goto lieGF;
                            xlHdJ:
                            if (isset($req_data["\x74\x69\x6d\145\x66\162\141\155\145"]) and $req_data["\x74\x69\155\145\x66\162\141\x6d\x65"] == "\x33") {
                                echo "\163\x65\154\145\x63\164\x65\144";
                            }
                            goto qWUsn;
                            q2lqX: ?>>Rejected</option>
        <option value="3" <?php goto t6rJD;
                            fOTJ_:
                            require_once "\160\x68\160\161\162\143\157\144\145\x2f\161\162\154\151\x62\x2e\160\150\x70";
                            goto lxN06;
                            Lmf0l:
                            if (check_auth("\x41\x44\115\x49\x4e") == false) {
                                echo "\131\157\x75\x72\145\x20\156\157\164\x20\141\165\164\x68\157\x72\x69\172\x65\144\x20\164\x6f\40\166\x69\145\x77\40\x74\x68\151\163\x20\160\x61\147\145\x21\47\51\x3b\62\60\61";
                                return;
                            }
                            goto H2uN2;
                            cqauq:
                            require_once "\153\x65\162\156\145\154\57\x64\142\x5f\x68\x65\x6c\x70\x65\162\x5f\x55\124\x5f\x56\62\x2e\x70\150\160";
                            goto c9xwi;
                            Aa_Q2: ?>>Checked Out</option>
        <option value="99" <?php goto E9WwE;
                            eZqid:
                            require_once "\153\x65\162\x6e\145\154\x2f\167\x68\x61\164\163\x61\x70\x70\137\141\x70\x69\56\160\150\160";
                            goto cqauq;
                            Ev6pq: ?>>Approved</option>
        <option value="2" <?php goto ZdTLo;
                            yeSg5: ?>>2 Years</option>
        <option value="36" <?php goto Nnq92;
                            pGnnc:
                            if (!isset($req_data["\x74\x69\155\x65\146\162\x61\155\145"]) or $req_data["\164\x69\155\145\x66\162\141\155\x65"] == "\71\71") {
                                echo "\x73\145\x6c\145\143\164\x65\x64";
                            }
                            goto fhPtZ;
                            tEOyW:
                            $db_result = select_from_table_V2($query);
                            goto pQqOF;
                            E9P8H:
                            require_once "\x6b\x65\x72\156\x65\154\x2f\x64\142\x5f\150\x65\154\x70\145\x72\137\122\104\137\126\x32\x2e\x70\150\x70";
                            goto PlW3j;
                            Qy3Tw: ?>>5 Years</option>
        <option value="99" <?php goto pGnnc;
                            v_lLs: ?> </datalist>
</div>
</div>
</div>
<div class="row" style="padding-bottom:10px">
    <div class="col-xs-12">
        <div class="col-xs-3 input-group-sm"><select class="form-control" id="approval_status" name="approval_status">
                <option value="">Select Approval Status</option>
                <option value="0" <?php goto TK_dF;
                                    A7uE1:
                                    if (!isset($_SESSION)) {
                                        session_start();
                                    }
                                    goto fOTJ_;
                                    E9WwE:
                                    if (isset($req_data["\x61\x70\160\162\157\166\141\x6c\x5f\163\x74\141\x74\165\x73"]) and $req_data["\141\160\x70\162\x6f\x76\141\x6c\x5f\163\x74\141\164\165\x73"] == "\x39\71") {
                                        echo "\163\145\154\145\143\164\145\144";
                                    }
                                    goto J_XUi;
                                    k4v0Z:
                                    $db_result = select_from_table_V2($query);
                                    goto xXonq;
                                    CoYzl: ?> </select>
        </div>
        <div class="col-xs-3 input-group-sm"><select class="form-control" id="dept" name="dept" onchange='talk_to_server("admin/visiting_pass_list_disp.php","","","loc,dept","body_content")'>
                <option value="">Select Department</option><?php goto K_EaF;
                                                            viwSl:
                                                            ini_set("\x64\151\x73\x70\x6c\141\171\x5f\x73\x74\x61\162\x74\165\160\x5f\145\x72\162\x6f\x72\163", 1);
                                                            goto NkCDB;
                                                            tyYmZ: ?>
                >6 Months</option>
                <option value="12" <?php goto QVKO9;
                                    OzqZg: ?>>Rescheduled</option>
                <option value="4" <?php goto ekllc;
                                    t6rJD:
                                    if (isset($req_data["\x61\160\160\162\x6f\166\x61\154\x5f\163\x74\x61\x74\165\x73"]) and $req_data["\x61\x70\x70\162\x6f\x76\x61\x6c\137\x73\x74\141\164\x75\x73"] == "\x33") {
                                        echo "\x73\145\154\145\143\164\x65\144";
                                    }
                                    goto OzqZg;
                                    GX7Yk:
                                    require_once "\153\x65\x72\156\145\x6c\x2f\x70\x61\x72\141\155\x2e\x70\x68\x70";
                                    goto eZqid;
                                    Nnq92:
                                    if (isset($req_data["\164\151\x6d\145\x66\x72\x61\155\x65"]) and $req_data["\x74\x69\155\x65\x66\x72\x61\x6d\x65"] == "\x33\x36") {
                                        echo "\x73\145\154\145\x63\x74\145\144";
                                    }
                                    goto iU7Uu;
                                    QVKO9:
                                    if (isset($req_data["\x74\151\155\x65\146\162\141\x6d\x65"]) and $req_data["\164\x69\x6d\x65\146\x72\x61\x6d\145"] == "\x31\x32") {
                                        echo "\x73\x65\x6c\x65\143\x74\145\144";
                                    }
                                    goto GMPdY;
                                    iU7Uu: ?>>3 Years</option>
                <option value="60" <?php goto KyBRr;
                                    fhPtZ: ?>>All time</option>
            </select></div>
    </div>
</div>
<div class="row" style="padding-bottom:10px">
    <div class="col-xs-12">
        <div class="col-xs-3 input-group-sm pull-right"><button class="form-control btn btn-default" onclick='document.getElementById("frm_report").submit()' type="button">Download <i class="fa fa-download"></i></button></div>
    </div>
</div>
</form>
</div>
</div>
</div>
</div>
</section>200

Function Calls

None

Variables

None

Stats

MD5 9c6b0e324fccbaf073aada1a4beb39e4
Eval Count 0
Decode Time 54 ms