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 iKm76; Afi9e: require_once "\x6b\145\x72\156\145\x6c\57\144\x62\137\x68\x65\..
Decoded Output download
<?php
goto iKm76;
Afi9e:
require_once "kernel/db_helper_UT_V2.php";
goto WEr2h;
iKm76:
ini_set("display_errors", 1);
goto ksFGV;
L_R_e: ?>
>Rejected</option>
<option value="3" <?php goto PCgy0;
B95SY: ?>>2 Years</option>
<option value="36" <?php goto Fv29R;
soZeQ: ?>>Any Approval Status</option></select></div>
<div class="col-xs-6 input-group-sm"><select class="form-control" id="timeframe" name="timeframe">
<option value="">Select Timeframe</option>
<option value="1" <?php goto aXhZx;
WbT2K: ?>>6 Months</option>
<option value="12" <?php goto nuh2t;
qsdA3: ?>>Checked In</option>
<option value="5" <?php goto Xq4Mg;
Xv2O8:
if (check_auth("APPROVER") == false) {
echo "Youre not authorized to view this page!');201";
return;
}
goto OqX55;
WEr2h:
require_once "kernel/db_helper_RW_V2.php";
goto H6NA8;
ermV3:
if (isset($req_data["approval_status"]) and $req_data["approval_status"] <= 5) {
if ($req_data["approval_status"] == "1") {
$query .= " AND approval_status='1' OR approval_status='3' OR approval_status='4'";
} else {
$query .= " AND approval_status='" . $req_data["approval_status"] . "'";
}
}
goto ASLj3;
wSsgg:
if (isset($req_data["approval_status"]) and $req_data["approval_status"] == "4") {
echo "selected";
}
goto qsdA3;
ny3QC:
if (isset($req_data["timeframe"]) and $req_data["timeframe"] == "6") {
echo "selected";
}
goto WbT2K;
UY6A_: ?>>All time</option>
</select></div>
</div>
<div class="input-group-sm col-xs-3 pull-right"><button class="form-control btn btn-default" onclick='talk_to_server("approver/approver_disp.php","","","approval_status,timeframe","body_content")' type="button"><i class="fa fa-search"></i></button></div>
</div><?php goto mWJCO;
XRppT:
if ($db_result === false) {
echo "<script>alert('Database error!');</script>";
} else { ?>
<div class="box-body no-padding table-responsive">
<table class="table table-hover">
<tbody>
<tr>
<th>Name</th>
<th>Phone</th>
<th>Location</th>
<th>Date</th>
<th>Time</th>
<th>Status</th>
<th>Action</th>
</tr><?php if ($db_result !== NULL) {
while ($data = $db_result->fetch(PDO::FETCH_ASSOC)) { ?>
<tr>
<td style="vertical-align:middle"><?php echo $data["visitor_name"]; ?>
</td>
<td style="vertical-align:middle"><?php echo $data["visitor_phone"]; ?>
</td>
<td style="vertical-align:middle"><?php echo @$data["location_name"]; ?>
</td>
<td style="vertical-align:middle"><?php echo date("Y-m-d", strtotime($data["entry_date_time"])); ?>
</td>
<td style="vertical-align:middle"><?php echo date("h:i A", strtotime($data["entry_date_time"])); ?>
</td><?php if ($data["approval_status"] == "0") {
echo "<td style="vertical-align:middle;"><span class="label label-warning">Pending</span></td>";
} else {
if ($data["approval_status"] == "1") {
echo "<td style="vertical-align:middle;"><span class="label label-success">Approved</span></td>";
} else {
if ($data["approval_status"] == "2") {
echo "<td style="vertical-align:middle;"><span class="label label-warning">Rejected</span></td>";
} else {
if ($data["approval_status"] == "3") {
echo "<td style="vertical-align:middle;"><span class="label label-warning">Rescheduled</span></td>";
} else {
if ($data["approval_status"] == "4") {
echo "<td style="vertical-align:middle;"><span class="label label-primary">Checked In</span></td>";
} else {
if ($data["approval_status"] == "5") {
echo "<td style="vertical-align:middle;"><span class="label label-primary">Checked Out</span></td>";
}
}
}
}
}
} ?>
<td style="vertical-align:middle"><a href="approve_visiting_pass.php?pass=<?php echo $data["visiting_pass_id"]; ?>
" class="btn btn-primary">Details</td>
</tr><?php }
} ?>
</tbody>
</table>
</div><?php }
goto Vu7y3;
Xq4Mg:
if (isset($req_data["approval_status"]) and $req_data["approval_status"] == "5") {
echo "selected";
}
goto KNYVM;
JibS1: ?>
>1 Year</option>
<option value="24" <?php goto faqaq;
hxh_p:
require_once "kernel/utils.php";
goto to926;
zrmIM: ?>>Pending Approval</option>
<option value="1" <?php goto TBuyU;
ILFn8: ?>>1 Month</option>
<option value="3" <?php goto p_cbg;
ED_NO: ?>>Approved</option>
<option value="2" <?php goto pI40H;
Fv29R:
if (isset($req_data["timeframe"]) and $req_data["timeframe"] == "36") {
echo "selected";
}
goto p1GTq;
kRrXT:
if (isset($req_data["approval_status"]) and $req_data["approval_status"] == "99") {
echo "selected";
}
goto soZeQ;
F6n0o: ?>>5 Years</option>
<option value="99" <?php goto SgUgI;
iQN7n: ?> <section class="content-header">
<h1>My Approvals</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">
<ul class="nav nav-tabs">
<!-- <li><a href="#" onclick='if(""==document.getElementById("user_name").value.trim())return alert("Please enter user name!"),!1;talk_to_server("admin/user_admin_user_add_disp.php","","","user_name","body_content")'><i class="fa fa-user-plus" title="Add"></i></a></li>
<li><a href="#" onclick='if(""==document.getElementById("user_name").value.trim())return alert("Please enter user name!"),!1;talk_to_server("admin/user_admin_user_edit_disp.php","","","user_name","body_content")'><i class="fa fa-pencil" title="Edit"></i></a></li>
<li><a href="#" onclick='if(""==document.getElementById("user_name").value.trim())return alert("Please enter user name!"),!1;talk_to_server("admin/user_admin_user_disp.php","","","user_name","body_content")'><i class="fa fa-eye" title="Display"></i></a></li>
<li><a href="#" onclick='if(""==document.getElementById("user_name").value.trim())return alert("Please enter user name!"),!1;$("#modal_del_user").modal("show")'><i class="fa fa-trash"></i></a></li>
<li><a href="#" onclick='if(""==document.getElementById("user_name").value.trim())return alert("Please enter user name!"),!1;$("#modal_lock_user").modal("show")'><i class="fa fa-lock" title="Password"></i></a></li>
<li><a href="#" onclick='if(""==document.getElementById("user_name").value.trim())return alert("Please enter user name!"),!1;$("#modal_unlock_user").modal("show")'><i class="fa fa-unlock" title="Password"></i></a></li> -->
</ul>
<div class="clearfix"></div>
</div>
<div class="box-body box-custom">
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<div class="col-xs-3 pull-left">
<h3 class="box-title">Visiting pass requests</h3>
</div>
<div class="col-xs-6">
<div class="col-xs-6 input-group-sm"><select class="form-control" id="approval_status" name="approval_status">
<option value="">Select Approval Status</option>
<option value="0" <?php goto PLJTx;
lVwC0:
error_reporting(E_ALL);
goto rxj6E;
PE58z:
$db_result = select_from_table_V2($query);
goto XRppT;
PCgy0:
if (isset($req_data["approval_status"]) and $req_data["approval_status"] == "3") {
echo "selected";
}
goto PU3Ks;
WSfRH:
require_once "kernel/db.php";
goto hxh_p;
KNYVM: ?>>Checked Out</option>
<option value="99" <?php goto kRrXT;
pbPkk:
if (!check_login()) {
echo "510";
return;
}
goto Xv2O8;
ASLj3:
if (!isset($req_data["approval_status"])) {
$query .= " AND approval_status='0'";
}
goto Cak8k;
IRDtt:
require_once "phpqrcode/qrlib.php";
goto WSfRH;
SgUgI:
if (!isset($req_data["timeframe"]) or $req_data["timeframe"] == "99") {
echo "selected";
}
goto UY6A_;
p1GTq: ?>>3 Years</option>
<option value="60" <?php goto y3cp_;
PLJTx:
if (!isset($req_data["approval_status"]) or $req_data["approval_status"] == "0") {
echo "selected";
}
goto zrmIM;
mWJCO:
$query = "SELECT * FROM `txn__visiting_pass` INNER JOIN master__visitor on txn__visiting_pass.visitor_id=master__visitor.visitor_id INNER join master__emp on txn__visiting_pass.visitee_id=master__emp.emp_id INNER join master__department on master__emp.department_id=master__department.department_id left outer join master__location on txn__visiting_pass.location_id=master__location.location_id WHERE txn__visiting_pass.visitee_id='" . $_SESSION["user_id"] . "'";
goto ermV3;
PU3Ks: ?>>Rescheduled</option>
<option value="4" <?php goto wSsgg;
to926:
require_once "kernel/param.php";
goto AuuSP;
p_cbg:
if (isset($req_data["timeframe"]) and $req_data["timeframe"] == "3") {
echo "selected";
}
goto s8N3v;
TBuyU:
if (isset($req_data["approval_status"]) and $req_data["approval_status"] == "1") {
echo "selected";
}
goto ED_NO;
ksFGV:
ini_set("display_startup_errors", 1);
goto lVwC0;
aXhZx:
if (isset($req_data["timeframe"]) and $req_data["timeframe"] == "1") {
echo "selected";
}
goto ILFn8;
H6NA8:
require_once "kernel/db_helper_RD_V2.php";
goto pbPkk;
Cak8k:
if (isset($req_data["timeframe"]) and $req_data["timeframe"] < 99) {
$days = $req_data["timeframe"];
$back_day = date("Y-m-d G:i:s", strtotime(date("Y-m-d G:i:s") . " - {$days} month"));
$query .= " AND txn__visiting_pass.creation_timestamp > '{$back_day}'";
}
goto MWco8;
y3cp_:
if (isset($req_data["timeframe"]) and $req_data["timeframe"] == "60") {
echo "selected";
}
goto F6n0o;
nuh2t:
if (isset($req_data["timeframe"]) and $req_data["timeframe"] == "12") {
echo "selected";
}
goto JibS1;
AuuSP:
require_once "kernel/whatsapp_api.php";
goto Afi9e;
rxj6E:
if (!isset($_SESSION)) {
session_start();
}
goto IRDtt;
MWco8:
if (!isset($req_data["timeframe"])) {
$days = "1";
$back_day = date("Y-m-d G:i:s", strtotime(date("Y-m-d G:i:s") . " - {$days} month"));
$query .= " AND txn__visiting_pass.creation_timestamp > '{$back_day}'";
}
goto PE58z;
pI40H:
if (isset($req_data["approval_status"]) and $req_data["approval_status"] == "2") {
echo "selected";
}
goto L_R_e;
OqX55:
$req_data = sanitize();
goto iQN7n;
s8N3v: ?>>3 Months</option>
<option value="6" <?php goto ny3QC;
faqaq:
if (isset($req_data["timeframe"]) and $req_data["timeframe"] == "24") {
echo "selected";
}
goto B95SY;
Vu7y3: ?> </div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>200
Did this file decode correctly?
Original Code
<?php
goto iKm76;
Afi9e:
require_once "\x6b\145\x72\156\145\x6c\57\144\x62\137\x68\x65\x6c\x70\x65\162\137\125\124\137\x56\62\x2e\160\x68\x70";
goto WEr2h;
iKm76:
ini_set("\x64\x69\x73\160\x6c\x61\171\x5f\x65\x72\x72\x6f\x72\x73", 1);
goto ksFGV;
L_R_e: ?>
>Rejected</option>
<option value="3" <?php goto PCgy0;
B95SY: ?>>2 Years</option>
<option value="36" <?php goto Fv29R;
soZeQ: ?>>Any Approval Status</option></select></div>
<div class="col-xs-6 input-group-sm"><select class="form-control" id="timeframe" name="timeframe">
<option value="">Select Timeframe</option>
<option value="1" <?php goto aXhZx;
WbT2K: ?>>6 Months</option>
<option value="12" <?php goto nuh2t;
qsdA3: ?>>Checked In</option>
<option value="5" <?php goto Xq4Mg;
Xv2O8:
if (check_auth("\x41\120\120\x52\x4f\126\x45\122") == false) {
echo "\131\157\165\x72\145\40\156\x6f\x74\40\x61\165\164\x68\157\x72\x69\172\x65\144\40\164\157\x20\x76\151\x65\167\x20\164\150\x69\x73\x20\x70\x61\x67\145\x21\x27\51\73\x32\60\61";
return;
}
goto OqX55;
WEr2h:
require_once "\153\x65\162\x6e\x65\x6c\x2f\x64\142\137\150\145\154\x70\145\x72\137\x52\x57\137\x56\62\x2e\160\x68\160";
goto H6NA8;
ermV3:
if (isset($req_data["\x61\160\160\x72\157\x76\x61\x6c\137\163\x74\141\x74\x75\x73"]) and $req_data["\x61\x70\160\x72\157\x76\141\x6c\137\x73\x74\141\x74\165\x73"] <= 5) {
if ($req_data["\x61\160\160\162\157\166\141\x6c\137\x73\x74\141\x74\x75\163"] == "\x31") {
$query .= "\40\101\x4e\x44\x20\141\160\160\x72\x6f\x76\x61\x6c\x5f\163\x74\x61\164\165\x73\75\x27\61\x27\40\117\122\40\x61\x70\x70\x72\157\x76\141\154\137\163\x74\x61\x74\165\163\x3d\47\63\47\x20\x4f\122\x20\x61\160\160\x72\157\x76\141\154\137\163\x74\x61\164\x75\163\75\47\x34\x27";
} else {
$query .= "\x20\x41\x4e\x44\x20\x61\160\160\x72\x6f\x76\141\154\137\163\x74\x61\164\x75\163\75\x27" . $req_data["\141\x70\160\x72\157\x76\141\x6c\137\x73\x74\141\164\165\x73"] . "\x27";
}
}
goto ASLj3;
wSsgg:
if (isset($req_data["\141\x70\x70\162\157\166\x61\x6c\137\x73\164\x61\x74\165\x73"]) and $req_data["\x61\160\x70\162\157\166\141\154\137\x73\164\141\164\165\163"] == "\64") {
echo "\163\145\x6c\145\143\164\x65\x64";
}
goto qsdA3;
ny3QC:
if (isset($req_data["\164\151\x6d\145\146\162\x61\x6d\145"]) and $req_data["\x74\151\155\x65\x66\162\x61\x6d\145"] == "\x36") {
echo "\163\145\x6c\x65\143\164\x65\144";
}
goto WbT2K;
UY6A_: ?>>All time</option>
</select></div>
</div>
<div class="input-group-sm col-xs-3 pull-right"><button class="form-control btn btn-default" onclick='talk_to_server("approver/approver_disp.php","","","approval_status,timeframe","body_content")' type="button"><i class="fa fa-search"></i></button></div>
</div><?php goto mWJCO;
XRppT:
if ($db_result === false) {
echo "\x3c\163\x63\x72\151\160\164\76\x61\x6c\x65\x72\x74\x28\x27\104\x61\x74\x61\x62\141\x73\145\40\145\x72\x72\157\x72\x21\47\51\73\74\57\x73\x63\x72\151\x70\164\76";
} else { ?>
<div class="box-body no-padding table-responsive">
<table class="table table-hover">
<tbody>
<tr>
<th>Name</th>
<th>Phone</th>
<th>Location</th>
<th>Date</th>
<th>Time</th>
<th>Status</th>
<th>Action</th>
</tr><?php if ($db_result !== NULL) {
while ($data = $db_result->fetch(PDO::FETCH_ASSOC)) { ?>
<tr>
<td style="vertical-align:middle"><?php echo $data["\166\151\163\151\x74\x6f\162\137\156\141\155\x65"]; ?>
</td>
<td style="vertical-align:middle"><?php echo $data["\x76\151\x73\x69\x74\x6f\162\137\160\150\157\x6e\145"]; ?>
</td>
<td style="vertical-align:middle"><?php echo @$data["\x6c\x6f\143\141\x74\x69\157\x6e\137\x6e\x61\x6d\x65"]; ?>
</td>
<td style="vertical-align:middle"><?php echo date("\131\x2d\155\55\144", strtotime($data["\x65\156\164\162\x79\x5f\144\141\164\145\137\x74\x69\x6d\x65"])); ?>
</td>
<td style="vertical-align:middle"><?php echo date("\150\x3a\x69\x20\x41", strtotime($data["\145\156\x74\162\x79\137\x64\x61\x74\145\137\164\151\155\x65"])); ?>
</td><?php if ($data["\141\160\160\x72\157\x76\x61\154\137\163\164\141\164\x75\163"] == "\60") {
echo "\x3c\164\x64\40\x73\164\171\154\x65\75\x22\x76\x65\x72\x74\151\143\x61\x6c\55\x61\154\151\x67\x6e\72\x6d\151\x64\144\x6c\x65\73\42\x3e\74\x73\x70\x61\x6e\x20\x63\x6c\x61\163\163\75\42\154\141\142\145\x6c\40\154\x61\142\145\154\x2d\167\141\x72\x6e\x69\x6e\147\x22\x3e\x50\145\x6e\x64\151\156\x67\x3c\57\x73\x70\x61\x6e\76\74\x2f\x74\144\76";
} else {
if ($data["\x61\160\x70\162\157\166\x61\x6c\x5f\x73\x74\x61\164\165\x73"] == "\61") {
echo "\x3c\164\x64\x20\163\164\171\154\x65\75\x22\166\x65\x72\x74\x69\x63\x61\154\x2d\141\154\x69\x67\156\x3a\155\151\x64\x64\x6c\x65\x3b\x22\76\74\163\160\x61\x6e\40\x63\x6c\141\x73\163\x3d\x22\154\x61\x62\x65\154\x20\154\x61\142\x65\x6c\55\x73\x75\143\143\145\163\x73\x22\76\101\x70\x70\162\x6f\166\x65\144\74\57\x73\160\141\x6e\76\x3c\x2f\x74\144\x3e";
} else {
if ($data["\x61\x70\160\162\x6f\x76\141\154\x5f\x73\164\141\x74\165\163"] == "\x32") {
echo "\x3c\164\144\40\x73\164\x79\x6c\x65\75\42\166\145\x72\x74\x69\x63\141\x6c\x2d\141\154\x69\147\x6e\x3a\x6d\151\x64\x64\x6c\145\73\x22\x3e\74\163\160\141\x6e\40\143\x6c\x61\x73\x73\75\x22\x6c\141\x62\145\154\40\154\141\142\145\x6c\x2d\167\x61\x72\x6e\151\156\x67\42\76\122\x65\x6a\x65\x63\x74\145\144\x3c\x2f\163\160\141\156\x3e\74\57\x74\144\76";
} else {
if ($data["\x61\160\x70\162\157\166\141\x6c\137\x73\164\x61\x74\165\x73"] == "\63") {
echo "\x3c\164\144\x20\x73\x74\171\x6c\x65\x3d\x22\166\x65\162\x74\151\x63\141\154\x2d\141\154\151\147\x6e\72\x6d\x69\144\x64\x6c\145\x3b\x22\x3e\74\x73\160\x61\156\40\143\x6c\141\x73\x73\x3d\x22\x6c\141\x62\145\154\40\154\x61\x62\x65\x6c\x2d\x77\x61\162\x6e\151\x6e\147\42\x3e\122\x65\163\143\150\x65\144\x75\154\145\x64\74\x2f\163\x70\x61\x6e\x3e\x3c\57\164\144\76";
} else {
if ($data["\141\x70\160\162\157\x76\x61\154\137\163\164\141\164\165\163"] == "\x34") {
echo "\x3c\164\144\40\x73\x74\x79\x6c\x65\x3d\42\x76\145\162\x74\151\x63\x61\x6c\x2d\141\x6c\x69\147\156\x3a\x6d\x69\x64\144\x6c\x65\x3b\x22\x3e\74\163\160\x61\x6e\40\x63\154\x61\163\x73\x3d\x22\x6c\141\142\x65\x6c\40\154\141\x62\145\x6c\x2d\x70\162\151\x6d\141\x72\171\x22\76\103\150\x65\x63\153\x65\x64\40\111\x6e\x3c\57\163\160\141\x6e\x3e\74\57\x74\144\76";
} else {
if ($data["\141\x70\160\162\x6f\166\141\154\137\163\164\141\164\x75\163"] == "\x35") {
echo "\74\x74\144\x20\x73\164\171\x6c\x65\x3d\x22\166\x65\x72\x74\151\143\141\154\x2d\x61\x6c\151\147\156\x3a\x6d\x69\144\x64\x6c\145\73\x22\x3e\74\163\160\x61\x6e\40\143\x6c\x61\x73\x73\x3d\42\154\x61\x62\x65\154\40\154\x61\142\x65\x6c\x2d\160\x72\151\x6d\141\162\x79\x22\76\x43\150\145\x63\x6b\x65\144\x20\117\x75\164\x3c\57\x73\x70\141\156\76\74\57\164\144\x3e";
}
}
}
}
}
} ?>
<td style="vertical-align:middle"><a href="approve_visiting_pass.php?pass=<?php echo $data["\166\151\x73\151\x74\151\x6e\x67\137\x70\x61\x73\163\137\151\x64"]; ?>
" class="btn btn-primary">Details</td>
</tr><?php }
} ?>
</tbody>
</table>
</div><?php }
goto Vu7y3;
Xq4Mg:
if (isset($req_data["\x61\x70\x70\x72\x6f\166\x61\x6c\x5f\163\x74\141\x74\x75\163"]) and $req_data["\141\x70\x70\x72\x6f\166\x61\x6c\x5f\x73\x74\x61\164\x75\x73"] == "\x35") {
echo "\163\x65\x6c\145\x63\x74\145\144";
}
goto KNYVM;
JibS1: ?>
>1 Year</option>
<option value="24" <?php goto faqaq;
hxh_p:
require_once "\153\145\x72\x6e\x65\154\x2f\165\164\x69\x6c\163\56\160\x68\160";
goto to926;
zrmIM: ?>>Pending Approval</option>
<option value="1" <?php goto TBuyU;
ILFn8: ?>>1 Month</option>
<option value="3" <?php goto p_cbg;
ED_NO: ?>>Approved</option>
<option value="2" <?php goto pI40H;
Fv29R:
if (isset($req_data["\164\x69\155\145\146\x72\x61\x6d\x65"]) and $req_data["\164\151\x6d\145\x66\x72\141\x6d\145"] == "\x33\x36") {
echo "\163\145\x6c\x65\143\164\x65\x64";
}
goto p1GTq;
kRrXT:
if (isset($req_data["\x61\160\160\x72\x6f\x76\x61\x6c\x5f\163\x74\141\164\165\163"]) and $req_data["\x61\x70\x70\x72\157\x76\x61\154\137\x73\x74\x61\x74\x75\163"] == "\71\71") {
echo "\163\x65\154\x65\x63\164\x65\x64";
}
goto soZeQ;
F6n0o: ?>>5 Years</option>
<option value="99" <?php goto SgUgI;
iQN7n: ?> <section class="content-header">
<h1>My Approvals</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">
<ul class="nav nav-tabs">
<!-- <li><a href="#" onclick='if(""==document.getElementById("user_name").value.trim())return alert("Please enter user name!"),!1;talk_to_server("admin/user_admin_user_add_disp.php","","","user_name","body_content")'><i class="fa fa-user-plus" title="Add"></i></a></li>
<li><a href="#" onclick='if(""==document.getElementById("user_name").value.trim())return alert("Please enter user name!"),!1;talk_to_server("admin/user_admin_user_edit_disp.php","","","user_name","body_content")'><i class="fa fa-pencil" title="Edit"></i></a></li>
<li><a href="#" onclick='if(""==document.getElementById("user_name").value.trim())return alert("Please enter user name!"),!1;talk_to_server("admin/user_admin_user_disp.php","","","user_name","body_content")'><i class="fa fa-eye" title="Display"></i></a></li>
<li><a href="#" onclick='if(""==document.getElementById("user_name").value.trim())return alert("Please enter user name!"),!1;$("#modal_del_user").modal("show")'><i class="fa fa-trash"></i></a></li>
<li><a href="#" onclick='if(""==document.getElementById("user_name").value.trim())return alert("Please enter user name!"),!1;$("#modal_lock_user").modal("show")'><i class="fa fa-lock" title="Password"></i></a></li>
<li><a href="#" onclick='if(""==document.getElementById("user_name").value.trim())return alert("Please enter user name!"),!1;$("#modal_unlock_user").modal("show")'><i class="fa fa-unlock" title="Password"></i></a></li> -->
</ul>
<div class="clearfix"></div>
</div>
<div class="box-body box-custom">
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<div class="col-xs-3 pull-left">
<h3 class="box-title">Visiting pass requests</h3>
</div>
<div class="col-xs-6">
<div class="col-xs-6 input-group-sm"><select class="form-control" id="approval_status" name="approval_status">
<option value="">Select Approval Status</option>
<option value="0" <?php goto PLJTx;
lVwC0:
error_reporting(E_ALL);
goto rxj6E;
PE58z:
$db_result = select_from_table_V2($query);
goto XRppT;
PCgy0:
if (isset($req_data["\141\x70\x70\162\x6f\166\141\154\137\x73\x74\x61\164\165\x73"]) and $req_data["\141\160\x70\162\157\x76\x61\154\x5f\x73\x74\141\x74\x75\x73"] == "\63") {
echo "\x73\x65\x6c\145\143\164\145\x64";
}
goto PU3Ks;
WSfRH:
require_once "\153\x65\162\156\x65\x6c\57\144\142\x2e\x70\x68\x70";
goto hxh_p;
KNYVM: ?>>Checked Out</option>
<option value="99" <?php goto kRrXT;
pbPkk:
if (!check_login()) {
echo "\65\61\60";
return;
}
goto Xv2O8;
ASLj3:
if (!isset($req_data["\141\x70\160\162\x6f\x76\x61\x6c\x5f\x73\164\x61\164\165\x73"])) {
$query .= "\x20\x41\116\104\40\141\x70\x70\162\x6f\166\x61\154\x5f\x73\x74\x61\x74\165\163\x3d\x27\60\47";
}
goto Cak8k;
IRDtt:
require_once "\160\150\x70\161\162\143\157\x64\145\x2f\161\x72\154\x69\x62\56\160\150\x70";
goto WSfRH;
SgUgI:
if (!isset($req_data["\x74\151\x6d\145\146\162\x61\155\x65"]) or $req_data["\x74\151\155\145\146\162\x61\x6d\x65"] == "\x39\71") {
echo "\x73\x65\x6c\145\143\x74\x65\144";
}
goto UY6A_;
p1GTq: ?>>3 Years</option>
<option value="60" <?php goto y3cp_;
PLJTx:
if (!isset($req_data["\141\x70\160\162\157\166\x61\x6c\x5f\x73\164\x61\x74\165\x73"]) or $req_data["\x61\x70\x70\x72\157\x76\141\154\x5f\163\x74\x61\164\165\163"] == "\x30") {
echo "\163\145\x6c\145\143\164\145\144";
}
goto zrmIM;
mWJCO:
$query = "\x53\x45\114\x45\x43\x54\40\x2a\40\106\122\117\x4d\x20\140\164\170\156\x5f\137\166\151\x73\x69\164\151\156\x67\137\160\141\x73\163\140\40\x49\x4e\x4e\x45\122\x20\x4a\117\x49\x4e\x20\x6d\141\x73\164\145\x72\137\x5f\x76\x69\x73\151\164\x6f\162\40\x6f\x6e\x20\x74\x78\x6e\x5f\x5f\x76\151\x73\x69\164\x69\156\147\137\x70\141\x73\163\56\x76\151\x73\151\164\x6f\162\x5f\151\144\75\155\141\x73\x74\145\162\x5f\137\x76\x69\163\x69\164\x6f\x72\56\x76\x69\163\151\164\x6f\162\137\x69\144\40\x49\x4e\116\105\x52\x20\x6a\157\151\x6e\40\155\141\163\164\x65\x72\x5f\137\x65\155\160\x20\x6f\x6e\x20\164\170\x6e\137\137\x76\151\163\151\164\x69\x6e\x67\137\x70\141\163\x73\x2e\x76\x69\163\151\x74\145\145\x5f\x69\x64\75\x6d\141\x73\x74\145\x72\137\137\145\x6d\x70\56\x65\155\x70\x5f\151\x64\x20\111\116\116\x45\122\x20\152\x6f\151\156\x20\155\141\163\164\145\162\x5f\x5f\144\145\160\x61\x72\x74\155\145\156\164\x20\157\x6e\x20\155\x61\163\x74\x65\x72\x5f\x5f\x65\x6d\x70\x2e\144\145\x70\x61\162\x74\x6d\x65\156\164\x5f\x69\144\x3d\x6d\x61\x73\164\145\162\137\x5f\144\x65\160\x61\162\x74\x6d\x65\x6e\x74\56\144\x65\160\141\x72\164\155\145\156\x74\137\x69\x64\40\x6c\145\x66\x74\40\x6f\165\x74\x65\162\40\152\157\151\x6e\x20\x6d\141\163\164\145\162\137\137\x6c\x6f\x63\x61\164\x69\157\x6e\x20\157\156\x20\x74\170\156\x5f\137\x76\x69\x73\151\164\151\156\147\137\x70\141\x73\x73\x2e\x6c\x6f\143\141\164\x69\x6f\x6e\x5f\x69\x64\x3d\x6d\141\x73\x74\145\x72\137\137\x6c\x6f\143\141\164\151\x6f\156\x2e\x6c\x6f\143\141\164\x69\x6f\156\137\x69\x64\40\127\110\105\122\x45\40\x74\x78\156\137\x5f\x76\151\x73\151\164\151\x6e\147\x5f\160\x61\x73\x73\x2e\166\151\x73\x69\x74\x65\x65\137\x69\x64\x3d\47" . $_SESSION["\165\x73\x65\x72\x5f\x69\144"] . "\47";
goto ermV3;
PU3Ks: ?>>Rescheduled</option>
<option value="4" <?php goto wSsgg;
to926:
require_once "\153\x65\162\x6e\x65\x6c\57\x70\x61\162\141\x6d\x2e\160\x68\160";
goto AuuSP;
p_cbg:
if (isset($req_data["\164\151\x6d\x65\146\162\x61\x6d\145"]) and $req_data["\164\x69\155\x65\146\162\x61\155\145"] == "\x33") {
echo "\163\x65\154\145\x63\164\x65\x64";
}
goto s8N3v;
TBuyU:
if (isset($req_data["\x61\x70\160\x72\x6f\x76\x61\154\x5f\x73\164\x61\164\x75\163"]) and $req_data["\141\x70\160\162\x6f\166\x61\154\x5f\x73\164\141\164\x75\x73"] == "\61") {
echo "\x73\145\154\145\143\x74\145\144";
}
goto ED_NO;
ksFGV:
ini_set("\144\151\x73\160\x6c\x61\x79\137\x73\164\141\x72\x74\165\x70\137\x65\x72\x72\157\x72\x73", 1);
goto lVwC0;
aXhZx:
if (isset($req_data["\164\151\x6d\145\146\162\x61\155\145"]) and $req_data["\x74\x69\x6d\x65\x66\162\x61\x6d\x65"] == "\61") {
echo "\163\x65\x6c\145\143\164\145\144";
}
goto ILFn8;
H6NA8:
require_once "\x6b\145\162\156\145\x6c\x2f\144\142\137\x68\145\154\160\145\162\x5f\122\x44\137\126\x32\x2e\160\x68\160";
goto pbPkk;
Cak8k:
if (isset($req_data["\164\151\x6d\x65\146\x72\141\x6d\x65"]) and $req_data["\164\x69\155\145\x66\x72\141\155\145"] < 99) {
$days = $req_data["\x74\151\155\x65\146\x72\141\155\145"];
$back_day = date("\131\55\155\55\x64\x20\107\72\151\72\163", strtotime(date("\131\55\155\x2d\x64\40\x47\72\x69\x3a\x73") . "\40\40\x2d\40{$days}\x20\155\157\x6e\164\150"));
$query .= "\x20\101\x4e\x44\40\164\170\156\x5f\x5f\x76\x69\x73\x69\x74\151\x6e\147\x5f\x70\141\x73\163\56\143\x72\145\x61\x74\x69\x6f\x6e\137\x74\151\155\x65\163\x74\141\155\160\40\x3e\x20\47{$back_day}\x27";
}
goto MWco8;
y3cp_:
if (isset($req_data["\164\x69\x6d\145\x66\x72\x61\155\145"]) and $req_data["\x74\x69\x6d\x65\x66\x72\x61\x6d\x65"] == "\66\x30") {
echo "\163\145\x6c\145\x63\164\145\x64";
}
goto F6n0o;
nuh2t:
if (isset($req_data["\x74\x69\x6d\145\x66\x72\141\155\x65"]) and $req_data["\x74\151\155\x65\x66\x72\141\x6d\x65"] == "\61\62") {
echo "\x73\145\154\x65\143\x74\145\x64";
}
goto JibS1;
AuuSP:
require_once "\153\145\162\156\145\x6c\57\167\150\x61\x74\x73\x61\x70\160\x5f\x61\160\x69\x2e\x70\150\x70";
goto Afi9e;
rxj6E:
if (!isset($_SESSION)) {
session_start();
}
goto IRDtt;
MWco8:
if (!isset($req_data["\164\x69\155\x65\146\162\141\x6d\145"])) {
$days = "\x31";
$back_day = date("\131\55\x6d\x2d\x64\40\107\x3a\x69\72\163", strtotime(date("\131\x2d\x6d\x2d\144\x20\x47\x3a\x69\x3a\163") . "\x20\40\55\40{$days}\x20\155\x6f\x6e\x74\x68"));
$query .= "\x20\x41\116\104\40\164\x78\x6e\137\x5f\x76\x69\163\x69\164\151\x6e\x67\x5f\x70\141\163\x73\56\x63\162\145\x61\x74\151\157\x6e\x5f\x74\151\x6d\145\x73\164\x61\x6d\160\x20\x3e\x20\47{$back_day}\x27";
}
goto PE58z;
pI40H:
if (isset($req_data["\141\160\x70\162\157\166\x61\x6c\x5f\163\164\141\x74\165\163"]) and $req_data["\x61\x70\x70\162\157\166\x61\154\137\163\164\141\x74\x75\x73"] == "\62") {
echo "\x73\145\154\145\143\x74\145\144";
}
goto L_R_e;
OqX55:
$req_data = sanitize();
goto iQN7n;
s8N3v: ?>>3 Months</option>
<option value="6" <?php goto ny3QC;
faqaq:
if (isset($req_data["\164\x69\x6d\145\146\162\x61\155\145"]) and $req_data["\x74\151\155\x65\x66\x72\x61\155\x65"] == "\x32\64") {
echo "\163\145\154\145\x63\164\145\x64";
}
goto B95SY;
Vu7y3: ?> </div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>200
Function Calls
None |
Stats
MD5 | 1c367e445361e3760175281d82340624 |
Eval Count | 0 |
Decode Time | 105 ms |