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 if(isset($style) && $style="display"){ ?> <style type="text/css" media="all"> ..

Decoded Output download

<?php 
if(isset($style) && $style="display"){ 
?> 
<style type="text/css" media="all"> 
    thead{ 
        display: none!important; 
    } 
</style> 
<?php 
} 
 
?> 
<!-- Content Wrapper. Contains page content --> 
<div class="content-wrapper"> 
    <div id="printDiv" class="btn-group" style="float: right;margin-top: 7px!important; margin-bottom: 10px;"> 
        <button class="btn btn-warning btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-bars"></i> Export Table Data</button> 
        <ul class="dropdown-menu " role="menu" > 
            <li><a href="#"  onClick ="javascript:$('#dailyexcel').submit();">  Excel</a></li> 
            <li><a href="#"  onClick ="javascript:window.print();">  PDF</a></li> 
        </ul> 
    </div> 
    <!-- Main content --> 
    <form id="dailyexcel" action="<?php echo site_url(); ?>EmployeeReport/exporttoexcel/<?=isset($title)?$title:'Daily';?>"  method="post" onsubmit='$("#datatodisplay").val( document.getElementById("tableData").innerHTML);'> 
        <input type="hidden" id="datatodisplay"  value="" name="datatodisplay"/> 
    </form> 
    <!-- Main content --> 
    <section  class="content" style="background: #fff; " id="tableData"> 
        <?php echo $table;?> 
    </section><!-- /.content --> 
</div><!-- /.content-wrapper --> 
<style type="text/css" media="all"> 
    .chosen-rtl .chosen-drop { left: -9000px; } 
</style> 
<style type="text/css"> 
    @media print{ 
        #printDiv,.control-sidebar{ 
            display: none; 
        } 
    } 
     
    .radio, .checkbox{ 
        margin-top:0px; 
    } 
    caption { 
        color: red; 
    } 
     
    #tab1 span{ 
        font-weight: bold; 
        font-size: 18px; 
    } 
    .row_total { 
        font-weight: bold; 
        text-align: right; 
    } 
    .row2_col2 { 
        font-weight: bold; 
        text-align: left; 
        color: #0069d6; 
         
    } 
    section h3 { 
        font-weight: bold; 
        text-align: center; 
        color:red; 
        font-size: 18px; 
    } 
    section h2 { 
        font-weight: bold; 
        text-align: center; 
        font-size: 20px; 
    } 
    caption { 
        font-size: 20px; 
        font-weight: bold; 
        text-align: center; 
    } 
    .form-group { 
        margin-right: 25px; 
    } 
    .form-control.multiselect-search { 
        height: 0%; 
    } 
    hr { 
        margin-bottom: 12px; 
        margin-top: 0; 
    } 
     
</style> 

Did this file decode correctly?

Original Code

<?php
if(isset($style) && $style="display"){
?>
<style type="text/css" media="all">
    thead{
        display: none!important;
    }
</style>
<?php
}

?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
    <div id="printDiv" class="btn-group" style="float: right;margin-top: 7px!important; margin-bottom: 10px;">
        <button class="btn btn-warning btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-bars"></i> Export Table Data</button>
        <ul class="dropdown-menu " role="menu" >
            <li><a href="#"  onClick ="javascript:$('#dailyexcel').submit();">  Excel</a></li>
            <li><a href="#"  onClick ="javascript:window.print();">  PDF</a></li>
        </ul>
    </div>
    <!-- Main content -->
    <form id="dailyexcel" action="<?php echo site_url(); ?>EmployeeReport/exporttoexcel/<?=isset($title)?$title:'Daily';?>"  method="post" onsubmit='$("#datatodisplay").val( document.getElementById("tableData").innerHTML);'>
        <input type="hidden" id="datatodisplay"  value="" name="datatodisplay"/>
    </form>
    <!-- Main content -->
    <section  class="content" style="background: #fff; " id="tableData">
        <?php echo $table;?>
    </section><!-- /.content -->
</div><!-- /.content-wrapper -->
<style type="text/css" media="all">
    .chosen-rtl .chosen-drop { left: -9000px; }
</style>
<style type="text/css">
    @media print{
        #printDiv,.control-sidebar{
            display: none;
        }
    }
    
    .radio, .checkbox{
        margin-top:0px;
    }
    caption {
        color: red;
    }
    
    #tab1 span{
        font-weight: bold;
        font-size: 18px;
    }
    .row_total {
        font-weight: bold;
        text-align: right;
    }
    .row2_col2 {
        font-weight: bold;
        text-align: left;
        color: #0069d6;
        
    }
    section h3 {
        font-weight: bold;
        text-align: center;
        color:red;
        font-size: 18px;
    }
    section h2 {
        font-weight: bold;
        text-align: center;
        font-size: 20px;
    }
    caption {
        font-size: 20px;
        font-weight: bold;
        text-align: center;
    }
    .form-group {
        margin-right: 25px;
    }
    .form-control.multiselect-search {
        height: 0%;
    }
    hr {
        margin-bottom: 12px;
        margin-top: 0;
    }
    
</style>

Function Calls

site_url 1

Variables

$style display

Stats

MD5 f729bc0f581bb1b6d119cd448f71ece2
Eval Count 0
Decode Time 95 ms