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 include 'db.php'; session_start(); if($_SESSION["user_id"]) { ?> <?php inc..

Decoded Output download

<?php 
include 'db.php'; 
	session_start(); 
    if($_SESSION["user_id"]) { 
?> 
<?php include 'db.php';  
$sheader5=$_REQUEST['sheader5'];  
?> 
<div class="form-group my_form_sty1"> 
	<div class="col-sm-12"> 
		<div class="box box-color box-bordered"> 
			<div class="box-title"> 
				<h3> 
					<i class="fa fa-table"></i> 
					View All Process 
				</h3> 
			</div> 
			<div class="box-content nopadding"> 
				<table id="tabless1" class="table table-hover table-nomargin table-bordered dataTable"> 
					<thead> 
						<tr> 
							<th>Process ID</th> 
							<th>Date</th> 
							<th>Username</th> 
							<th>Mode</th> 
							<th>From Email</th> 
							<th>Track ID</th> 
							<th>Account Name</th> 
							<th>Datafile</th> 
							<th>Sent</th> 
							<th>Action</th> 
						</tr> 
					</thead> 
					<tbody> 
					<?php 
					include "db.php"; 
					 
					//$userid=$_SESSION["user_id"]; 
					  
					$process=mysql_query("select * from process where curdate > (curdate()- INTERVAL $sheader5) order by ProcessID desc;"); 
					 
					while($arrange = mysql_fetch_array($process)) 
					{ 
					$processid=$arrange['ProcessID']; 
					$curdate=$arrange['curdate']; 
					$fromemail=$arrange['fromemail']; 
					$trackid=$arrange['trackid']; 
					//$trackid=$arrange['trackid']; 
					$datafile=$arrange['datafile']; 
					$mode=$arrange['mode']; 
					$username=$arrange['username']; 
					$p_flag=$arrange['p_flag']; 
					$sent_count=$arrange['sent_count']; 
					?> 
					<?php 
					$maillink = mysql_connect('103.207.42.235","admin","JDJK3OgfUYrhJuX3'); 
					$db_selected = mysql_select_db('email_statistics', $maillink); 
					if ($maillink)  
					{ 
					$mail=mysql_query("select smtpname from track where id='$trackid'"); 
					$mfet=mysql_fetch_array($mail); 
					$smtpname=$mfet['smtpname']; 
					} 
					 
					?> 
						<tr> 
							<td><?php echo $processid; ?><input type="hidden" id="update_allid<?php echo $processid;?>" value="<?php echo $processid;?>"/></td> 
							<td><?php echo $curdate; ?></td> 
							<td><?php echo $username; ?></td> 
							<td><?php echo $mode; ?></td> 
							<td><?php echo $fromemail; ?></td> 
							<td><?php echo $trackid; ?></td> 
							<td><?php echo $smtpname; ?></td> 
							<td><?php echo $datafile; ?></td> 
							<td><?php echo $sent_count; ?></td> 
							<td> 
								<span class="butpro_ey" id="c3<?php echo $processid; ?>" data-tooltip="Mailing-1" data-tooltip-position="top"><button><i class="fa fa-eye" style="color: #368ee0;"></i></button></span> 
								<span class="butpro_ey" id="c4<?php echo $processid; ?>" data-tooltip="Mailing-2" data-tooltip-position="top"><button><i class="fa fa-eye" style="color: #368ee0;"></i></button></span></a> 
								<?php if($p_flag==2){ ?> 
								<span class="butpro_ey" rel="tooltip" data-tooltip="Kill" data-tooltip-position="top"><button id="kill_all_fid<?php echo $processid; ?>"><i class="fa fa-close" style="color: #e51400"></i></button></span> 
								<?php } if($p_flag==1) { ?> 
								<button class="btn btn-red btn_in sqr_sec0" rel="tooltip" id="kill_all_fi<?php echo $processid; ?>" title="Processing">Processing</button> 
								<?php } ?> 
								<div id="update_allprocess<?php echo $processid; ?>" style="color:red;float: right;font-weight: bold;margin-top: 9px;"></div> 
							</td> 
							<script> 
							$("#kill_all_fid<?php echo $processid; ?>").click(function(){ 
							$("#update_allprocess<?php echo $processid; ?>").html("<div style='float: left;width: 100%;text-align: center;margin-top: 0px;'><img src='img/loading.gif' style='width: 70px;' /><p style='font-weight: bold;font-size: 9px;margin-top: 3px;color: #368ee0;'>Loading Please Wait...</p></div>"); 
							var update_id = $("#update_allid<?php echo $processid; ?>").val(); 
							//alert(update_id); 
							$.post("update_process_table.php", {update_id: update_id}, function(result){ 
							$("#update_allprocess<?php echo $processid; ?>").html(result); 
							}); 
							}); 
							</script> 
							<script> 
							$("#kill_all_fi<?php echo $processid; ?>").click(function(){ 
							$("#update_allprocess<?php echo $processid; ?>").html("<div style='float: left;width: 100%;text-align: center;margin-top: 0px;'><img src='img/loading.gif' style='width: 70px;' /><p style='font-weight: bold;font-size: 9px;margin-top: 3px;color: #368ee0;'>Loading Please Wait...</p></div>"); 
							var update_id = $("#update_allid<?php echo $processid; ?>").val(); 
							//alert(update_id); 
							$.post("update_process_table.php", {update_id: update_id}, function(result){ 
							$("#update_allprocess<?php echo $processid; ?>").html(result); 
							}); 
							}); 
							</script> 
							<script> 
							$("#c3<?php echo $processid; ?>").click(function(){ 
							var update_id = $("#update_allid<?php echo $processid; ?>").val(); 
							 $("#mailings").load("main_page.php?id=<?php echo $processid; ?>"); 
							 $('#tabsssssssss a[href="#mailings"]').tab('show'); 
							 }); 
							</script> 
							<script> 
							$("#c4<?php echo $processid; ?>").click(function(){ 
							var update_id = $("#update_allid<?php echo $processid; ?>").val(); 
							 $("#mailingss2").load("mailing2.php?id=<?php echo $processid; ?>"); 
							 $('#tabsssssssss a[href="#mailingss2"]').tab('show'); 
							 }); 
							</script> 
						</tr> 
						<?php } ?> 
					</tbody> 
				</table> 
			</div> 
		</div> 
	</div> 
</div> 
<script type="text/javascript"> 
		$(document).ready(function(){ 
		 $("#tabless1").DataTable( { 
        "order": [[ 1, "desc" ]], 
		 "lengthMenu": [ [100, 200, 500, 1000, -1], [100, 200, 500, 1000, "All"] ] 
    } );     
	$("a[data-rel]").tooltip();	 
		});   
</script> 
<?php } else {header("Location: login.php");}?>

Did this file decode correctly?

Original Code

<?php
include 'db.php';
	session_start();
    if($_SESSION["user_id"]) {
?>
<?php include 'db.php'; 
$sheader5=$_REQUEST['sheader5']; 
?>
<div class="form-group my_form_sty1">
	<div class="col-sm-12">
		<div class="box box-color box-bordered">
			<div class="box-title">
				<h3>
					<i class="fa fa-table"></i>
					View All Process
				</h3>
			</div>
			<div class="box-content nopadding">
				<table id="tabless1" class="table table-hover table-nomargin table-bordered dataTable">
					<thead>
						<tr>
							<th>Process ID</th>
							<th>Date</th>
							<th>Username</th>
							<th>Mode</th>
							<th>From Email</th>
							<th>Track ID</th>
							<th>Account Name</th>
							<th>Datafile</th>
							<th>Sent</th>
							<th>Action</th>
						</tr>
					</thead>
					<tbody>
					<?php
					include "db.php";
					
					//$userid=$_SESSION["user_id"];
					 
					$process=mysql_query("select * from process where curdate > (curdate()- INTERVAL $sheader5) order by ProcessID desc;");
					
					while($arrange = mysql_fetch_array($process))
					{
					$processid=$arrange['ProcessID'];
					$curdate=$arrange['curdate'];
					$fromemail=$arrange['fromemail'];
					$trackid=$arrange['trackid'];
					//$trackid=$arrange['trackid'];
					$datafile=$arrange['datafile'];
					$mode=$arrange['mode'];
					$username=$arrange['username'];
					$p_flag=$arrange['p_flag'];
					$sent_count=$arrange['sent_count'];
					?>
					<?php
					$maillink = mysql_connect('103.207.42.235","admin","JDJK3OgfUYrhJuX3');
					$db_selected = mysql_select_db('email_statistics', $maillink);
					if ($maillink) 
					{
					$mail=mysql_query("select smtpname from track where id='$trackid'");
					$mfet=mysql_fetch_array($mail);
					$smtpname=$mfet['smtpname'];
					}
					
					?>
						<tr>
							<td><?php echo $processid; ?><input type="hidden" id="update_allid<?php echo $processid;?>" value="<?php echo $processid;?>"/></td>
							<td><?php echo $curdate; ?></td>
							<td><?php echo $username; ?></td>
							<td><?php echo $mode; ?></td>
							<td><?php echo $fromemail; ?></td>
							<td><?php echo $trackid; ?></td>
							<td><?php echo $smtpname; ?></td>
							<td><?php echo $datafile; ?></td>
							<td><?php echo $sent_count; ?></td>
							<td>
								<span class="butpro_ey" id="c3<?php echo $processid; ?>" data-tooltip="Mailing-1" data-tooltip-position="top"><button><i class="fa fa-eye" style="color: #368ee0;"></i></button></span>
								<span class="butpro_ey" id="c4<?php echo $processid; ?>" data-tooltip="Mailing-2" data-tooltip-position="top"><button><i class="fa fa-eye" style="color: #368ee0;"></i></button></span></a>
								<?php if($p_flag==2){ ?>
								<span class="butpro_ey" rel="tooltip" data-tooltip="Kill" data-tooltip-position="top"><button id="kill_all_fid<?php echo $processid; ?>"><i class="fa fa-close" style="color: #e51400"></i></button></span>
								<?php } if($p_flag==1) { ?>
								<button class="btn btn-red btn_in sqr_sec0" rel="tooltip" id="kill_all_fi<?php echo $processid; ?>" title="Processing">Processing</button>
								<?php } ?>
								<div id="update_allprocess<?php echo $processid; ?>" style="color:red;float: right;font-weight: bold;margin-top: 9px;"></div>
							</td>
							<script>
							$("#kill_all_fid<?php echo $processid; ?>").click(function(){
							$("#update_allprocess<?php echo $processid; ?>").html("<div style='float: left;width: 100%;text-align: center;margin-top: 0px;'><img src='img/loading.gif' style='width: 70px;' /><p style='font-weight: bold;font-size: 9px;margin-top: 3px;color: #368ee0;'>Loading Please Wait...</p></div>");
							var update_id = $("#update_allid<?php echo $processid; ?>").val();
							//alert(update_id);
							$.post("update_process_table.php", {update_id: update_id}, function(result){
							$("#update_allprocess<?php echo $processid; ?>").html(result);
							});
							});
							</script>
							<script>
							$("#kill_all_fi<?php echo $processid; ?>").click(function(){
							$("#update_allprocess<?php echo $processid; ?>").html("<div style='float: left;width: 100%;text-align: center;margin-top: 0px;'><img src='img/loading.gif' style='width: 70px;' /><p style='font-weight: bold;font-size: 9px;margin-top: 3px;color: #368ee0;'>Loading Please Wait...</p></div>");
							var update_id = $("#update_allid<?php echo $processid; ?>").val();
							//alert(update_id);
							$.post("update_process_table.php", {update_id: update_id}, function(result){
							$("#update_allprocess<?php echo $processid; ?>").html(result);
							});
							});
							</script>
							<script>
							$("#c3<?php echo $processid; ?>").click(function(){
							var update_id = $("#update_allid<?php echo $processid; ?>").val();
							 $("#mailings").load("main_page.php?id=<?php echo $processid; ?>");
							 $('#tabsssssssss a[href="#mailings"]').tab('show');
							 });
							</script>
							<script>
							$("#c4<?php echo $processid; ?>").click(function(){
							var update_id = $("#update_allid<?php echo $processid; ?>").val();
							 $("#mailingss2").load("mailing2.php?id=<?php echo $processid; ?>");
							 $('#tabsssssssss a[href="#mailingss2"]').tab('show');
							 });
							</script>
						</tr>
						<?php } ?>
					</tbody>
				</table>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">
		$(document).ready(function(){
		 $("#tabless1").DataTable( {
        "order": [[ 1, "desc" ]],
		 "lengthMenu": [ [100, 200, 500, 1000, -1], [100, 200, 500, 1000, "All"] ]
    } );    
	$("a[data-rel]").tooltip();	
		});  
</script>
<?php } else {header("Location: login.php");}?>

Function Calls

None

Variables

None

Stats

MD5 f47714df34f1f80ee04b9efe11e66c3c
Eval Count 0
Decode Time 98 ms