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 $_F=__FILE__;$_X='P2lCP1ouWg1Wc0hzX25NPSgnOXNuWldlcV9NenpPem4nLD4nN0FBJyk7CQ1Wc0EoPi..

Decoded Output download

?><?php
ini_set('display_errors', 'Off');	
if( !isset($_SESSION) ) session_start();
header( 'content-type: text/html; charset=utf-8' );
if (file_exists('../utilities/fonction.inc.php')) require_once '../utilities/fonction.inc.php';

function __autoload($class)
{
    if (file_exists("../utilities/{$class}.php")) include_once("../utilities/{$class}.php");	
}

$obj = new database;
extract($_REQUEST);

$requete = "select code,Nom from tblgroupabs where idsingle = {$idsingle}";
extract($obj->getData($requete));

$requete = "select codene,intitule,codegroup from tblnature 
left join tblgroupnature on tblnature.codene = tblgroupnature.codenature
where codegroup = '{$code}'
UNION

Select codene,intitule,NULL from tblnature 
where codene not in (select codenature from tblgroupnature where codegroup = '{$code}')

order by codene";

$result = $obj->showData($requete);
//var_dump($result);
?>
<h4><?php echo $code . " " . $Nom; ?></h4>
<hr/>
<input type="hidden" name="code" id="code" value="<?php echo $code; ?>"/>
<table width="100%">
	<thead>
		<th width="25%">Code</th>
		<th width="50%">Intitule</th>
		<th width="25%">Statut</th>
	</thead>
	<tbody>
		<?php
			foreach ($result as $key) {
				extract($key);
				$ch = ($codegroup == NULL) ? "" : "checked";
				echo "<tr>";
				echo "<td>{$codene}</td>";
				echo "<td>{$intitule}</td>";
				echo "<td><div class='valeur' style='display:none;'>{$codene}</div><input type='checkbox' class='chk' {$ch}></td>";
				echo "</tr>";
			}
		?>
	</tbody>
</table>
<script type="text/javascript">
	$(document).ready(function(){
		$(".chk").click(function(){
			var code = $("#code").val();
			var check = this.checked;
			var nature = $(this).closest('td').find('.valeur').text(); 
			console.log(nature);
			$.ajax({ 
	        	type: "POST", 
	        	url: "groupabs/modifNat.php",
	        	data:{'code':code,'check':check,'nature':nature}, 
	        	success: function(msg) { 
	        	}
	        });
		});
	});
</script>

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 2

Variables

$_D base64_decode
$_F index.php
$_R 0
$_X 0

Stats

MD5 2e5709ba64a9ed6acdf9eb8da322eede
Eval Count 2
Decode Time 70 ms