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 $QF821E13891C8A82DC43982CA7978EE1D="eNrNWlmXoki3/UH10IBaLQ/fg2LKoJKKyhBvAlnMSLcDwq//..

Decoded Output download

<?php ?><!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <title>Results - Zim</title>
    <link type="text/css" rel="stylesheet" href="lib/responsive_tab/css/responsive-tabs.css" />
    <link type="text/css" rel="stylesheet" href="lib/responsive_tab/css/style.css" />
    <script src="lib/responsive_tab/js/jquery.responsiveTabs.js" type="text/javascript"></script>
    <link href="lib/responsive_tab/style.css" rel="stylesheet" type="text/css" />
    <link href="lib/images/Zim%20Logocn.ico" rel="shortcut icon"/>
    <!-- circliful -->
    
    <!-- print-page 
    <script src="lib/js/jquery.popupwindow.js" type="text/javascript"></script>
    -->
    <link href="lib/css/jquery.circliful.css" rel="stylesheet" type="text/css" />
    <link href="lib/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" />

    <script src="lib/js/jquery.circliful.min.js"></script>
    <!-- end -->
<style type="text/css">
<!--
.scoreboard{
    border: 1px silver solid; 
    text-align: center; 
    padding: 0;   
    border-collapse: collapse;
    box-sizing: border-box; 
}

.scoreboard td{ 
    padding: 0px;  
    box-sizing: border-box;
}

.vote-con td{
   border: 1px silver solid; 
   border-width: 0 1px 1px 1px;
   padding: 10px;
}

.scoreboard img{
    width: 150px;
    height: 200px;
}

.scoreboard h1{	
    margin: 0px 0px 21px;
    line-height: 40px;
    font-size: 15px;
    font-weight: bold;
    color: #555;
    text-align: center;
    text-shadow: 0 1px white;
    background: #f3f3f3;
    border-bottom: 1px solid #cfcfcf;
    border-radius: 3px 3px 0 0;
    background-image: -webkit-linear-gradient(top, whiteffd, #eef2f5);
    background-image: -moz-linear-gradient(top, whiteffd, #eef2f5);
    background-image: -o-linear-gradient(top, whiteffd, #eef2f5);
    background-image: linear-gradient(to bottom, whiteffd, #eef2f5);
    -webkit-box-shadow: 0 1px whitesmoke;
    box-shadow: 0 1px whitesmoke;
    vertical-align: baseline;
}

.scoreboard h2{	
    margin: 0px 0px 0px;
    line-height: 40px;
    font-size: 15px;
    font-weight: bold;
    color: #555;
    text-align: center;
    text-shadow: 0 1px white;
    background: #f3f3f3;
    border-bottom: 1px solid #cfcfcf;
    border-radius: 3px 3px 0 0;
    background-image: -webkit-linear-gradient(top, whiteffd, #eef2f5);
    background-image: -moz-linear-gradient(top, whiteffd, #eef2f5);
    background-image: -o-linear-gradient(top, whiteffd, #eef2f5);
    background-image: linear-gradient(to bottom, whiteffd, #eef2f5);
    -webkit-box-shadow: 0 1px whitesmoke;
    box-shadow: 0 1px whitesmoke;
    vertical-align: baseline;
}
.vote-count{
    min-width: 250px; 
    font-size: 120px; 
    font-weight:  bolder; 
    font-family: "Times New Roman", Times, serif; 
    color: #FF00FF;
}
.progress-bar{
    padding: 1px; 
    width: 100%; 
    box-sizing: border-box; 
    border: 1px solid #0063a6; 
    background-color: #fff;
}
.progress{ 
    box-sizing: border-box; 
    background: #0063a6; 
    text-align: center; 
    color: white;  
    font-family: "Times New Roman", Times, serif;
    font-size: 18px;
}
-->
</style>
</head>
<body>

<?php
$data_id = @$_GET["id"];
require ('config.php');
//$dbase->busyTimeout(10000);
//$dbase->busyTimeout(0);
$query = "SELECT COUNT(id)FROM pos"; //Total Positions
$count = sqlite_single_query($dbase, $query, 1);
$query = "SELECT * FROM pos";
$result = sqlite_query($dbase, $query);
while ($row = sqlite_fetch_array($result, SQLITE_ASSOC)) {
    $id = $row['id'];
    $pos = $row['pos_name'];
    $can_no = $row['can_no'];
    if ($data_id == $id) {
        $active_pos = $pos;
    } else {
        $class = "";
    }
    @$link.= <<<_END
<li><a href="results.php?id=$id" target="_self">$pos</a></li>
_END;
    
}
//echo @$link;

?>
 
<div id="current-pos-name"><h1><?php echo $active_pos; ?></h1></div>	

    <!--Horizontal Tab-->
    <div id="horizontalTab" >
        <ul>   <li><a href="#skip">Summary</a></li>    
<?php
$data = "data" . $data_id;
//$query="SELECT SUM(votes)FROM $data"; //Total votes
$sum_votes = sqlite_single_query($dbase, "SELECT SUM(votes)FROM $data", 1);
//$query="SELECT skip FROM $data WHERE id='1'";// . "SELECT votes FROM skip WHERE data="."\""."data".$data_id."\""; //Skipped Votes counts
$skipped_votes = sqlite_single_query($dbase, "SELECT skip FROM $data WHERE id='1'", 1);
$query = "SELECT * FROM $data";
$result = sqlite_query($dbase, $query);
while ($row = sqlite_fetch_array($result, SQLITE_ASSOC)) {
    $id = $row['id'];
    $pos = $row['position'];
    $pic = $row['picture'];
    $name = ucwords(strtolower($row['name']));
    $votes = $row['votes'];
    $per_vote = @number_format((($votes / $sum_votes) * 100), "2", ".", " ") . "";
    @$list.= <<<_END
    <li><a href="#tab-$id" >$name</a></li>
_END;
    @$content.= <<<_END
<div id="tab-$id" >

<table align="center" class="scoreboard" >
    <tr class="vote-text">
        <td ><div><h2>Score Board</h2></div></td>
        <td ><div><h2>Votes</h2></div></td>
        <td ><div><h2>Percentage</h2></div></td>    
    </tr>

    <tr class="vote-con">
	   <td ><img src="data:image/jpg;base64,$pic"/></td>
	   <td><div class="vote-count" >$votes</div></td>
        <td style="width: 200px;">
        <div id="cir$id" data-dimension="200" data-text="$per_vote%" data-info="" data-width="30" data-fontsize="28" data-percent="$per_vote" data-fgcolor="#61a9dc" data-bgcolor="#eee" data-fill="#ddd"></div>

        </td>
    </tr>  
</table>

</div>
_END;
    
}
?>

<?php
echo @$list;
?>        
    </ul>
<?php
echo @$content;
?>

<?php
echo <<<_END
<div id="skip">
    <table align="center" class="scoreboard" >
        <tr class="vote-text">
            <td ><div><h2>Skipped Votes</h2></div></td>
            <td ><div><h2>&nbsp;</h2></div></td>
            <td ><div><h2>Total Valid Votes</h2></div></td>    
        </tr>

        <tr class="vote-con">
	       <td ><div class="vote-count" >$skipped_votes</div></td>
	       <td>&nbsp;&nbsp;</td>
           <td><div class="vote-count" >$sum_votes</div></td>
        </tr>  
    </table>
        
        </div>
_END;
//$dbase->close();

?>       
    </div>
<?php
include ('printer.php');
?>    
<script type="text/javascript">
    $(document).ready(function () {
        $('#horizontalTab').responsiveTabs({
            startCollapsed: 'accordion',
            collapsible: 'accordion',
            rotate: false,
            setHash: true,
            animation: 'slide'
        });
    });
</script>

<script>
$(document).ready(function() {
    $('#cir1').circliful();
    $('#cir2').circliful();
    $('#cir3').circliful();
    $('#cir4').circliful();
    $('#cir5').circliful();
    $('#cir6').circliful();
    $('#cir7').circliful();
    $('#cir8').circliful();
    $('#cir9').circliful();
    $('#cir10').circliful();
    $('#cir11').circliful();
    $('#cir12').circliful();    
});
</script>
</body>
</html>

Did this file decode correctly?

Original Code

<?php $QF821E13891C8A82DC43982CA7978EE1D="eNrNWlmXoki3/UH10IBaLQ/fg2LKoJKKyhBvAlnMSLcDwq//dgSDmkNX3ntXr3UfcmUlBOecOMM++0TUuh6O1b2x3vAG2b/sg4NinN3ZcLGWQ861ysCV5xdScxGxhpGqhGdXHtXrrXb0FaN8jcZXf+APlrlXLzOxItX49rpLRstBePRl/qTGTE7qWJsfUjQJVGkydi2Tc7bT+CDPK08wOcjifdk5v0pqsKyHC6wJ1NntTGwjVOVR6Fp7Uc1JQWy/dAcap0bT2BVGHLFG9NvBwTK4w4xPiE0KR9iffSFNfDk4qXJ6OdhG4Vjl2RP00JX34mo7LNVocl0HR2pLsJb51Jdf6J45T+JTzzYLP+YiS+LNzZafuQJfOlRGdkvf6dWMHZ8S2U+Xsn70MvFMdtztSbZiFL58S9eplnoD8+Qrq2C5nR4OFjdeDtp3vR23ws1Oga+kJeREvmwOfUmMvcEKPtdSd8ZF3sAYubJZH2Qz9eGrA54T2OrKabQcUB3Tq5vrhZ+Zv3x5Hi0FvfYqxMTWS9hdH2ySLuFTJ19dnIFeP/vhX9NfQ+aJbEeNL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ckfuiwHtpwqOXkfY5P+7u2A+3xu2OgCfOY1bOcXt3IO32oK8q7gKN0LcnmJ8pfP67RU/8lhG+Cnyrq37c+WSPPL7TP+VRPDL0DHRgD1lo+2KhwPS/7Rfnu833xor8zRW5pUpi4Ap2X6NltcgEXCYmSHEluXuiMh/0fHzko9Te9T11t4WPavzKqHzFCbHouKAW5KuBdrOaL57vmY3/+i3hrlY53aq1Vz3e0Cyn5oE+XvqNv/x19wrf0Vd/RF3xH3+g7+sBvvyPr9j2/v1Sf6WywoRBZnT7efSM/nExM3uh9NzCZ/v+idfCf//wXzFtmOw==";eval(base64_decode(gzuncompress(base64_decode($QF821E13891C8A82DC43982CA7978EE1D))));?>

Function Calls

gzuncompress 1
base64_decode 2

Variables

$QF821E13891C8A82DC43982CA7978EE1D eNrNWlmXoki3/UH10IBaLQ/fg2LKoJKKyhBvAlnMSLcDwq//dgSDmkNX3ntX..

Stats

MD5 eb433f80e622cbdbb51a17eccd326103
Eval Count 1
Decode Time 115 ms