Mini Shell

Direktori : /home/admin/web/mcpv.demarco.ddnsfree.com/public_html/external/prestataires/
Upload File :
Current File : /home/admin/web/mcpv.demarco.ddnsfree.com/public_html/external/prestataires/avis_revue.php

<?php
require_once(__DIR__ . "/_include/init.php");
if(!current_user_can('administrator') ) {
	echo "Section réservée aux administrateurs du site uniquement. <a href='/mcpv/index.php'>Revenir au site</a>";
	exit();
}
$msg = "&nbsp;";
?>
<!doctype html>
<html lang="fr">
<head>

<?php require_once("_include/meta.php"); 
      require_once("_include/link.php"); 
      require_once("_include/script.php"); 
?>

<script type="text/javascript">

$(document).ready(function() {
	$('#btn_search').html('<i class="fa fa-search"></i> Rechercher');
		
	$('#btn_search').on('click',function() {
		$('#btn_search').html('<i class="fa fa-spinner fa-spin"></i> Rechercher');
		$('#search_form').submit();
	});
	
	$('.view-btn').on('click',function() {
		$tr = $(this).closest('tr');
		var data = $tr.children('td').map(function() {
			return $(this).text();
		}).get();
		$('#id_view').val(data[0]);
		$('#statut_view').text(data[1]);
		$('#date_view').text(data[2]);
		$('#membre_view').text(data[3]);
		$('#email_view').text(data[4]);
		$('#href_email_view').attr('href', 'mailto:' + data[4]);
		$('#anonyme_view').text(data[5]);
		$('#prestataire_view').text(data[6]);
		$('#lieu_view').text(data[7]);
		$('#fonction_view').text(data[8]);
		$('#note_c1_view').val(data[9]);
		$('#tx_note_c1_view').attr('class',fmt_note(data[9]));
		$('#tx_note_c1_view').text(data[9]);
		$('#note_c2_view').val(data[10]);
		$('#tx_note_c2_view').attr('class',fmt_note(data[10]));
		$('#tx_note_c2_view').text(data[10]);
		$('#note_c3_view').val(data[11]);
		$('#tx_note_c3_view').attr('class',fmt_note(data[11]));
		$('#tx_note_c3_view').text(data[11]);
		$('#note_c4_view').val(data[12]);
		$('#tx_note_c4_view').attr('class',fmt_note(data[12]));
		$('#tx_note_c4_view').text(data[12]);
		$('#note_c5_view').val(data[13]);
		$('#tx_note_c5_view').attr('class',fmt_note(data[13]));
		$('#tx_note_c5_view').text(data[13]);
		$('#note_c6_view').val(data[14]);
		$('#tx_note_c6_view').attr('class',fmt_note(data[14]));
		$('#tx_note_c6_view').text(data[14]);
		$('#remarque_view').text(data[15]);
		$('#prest_id_view').val(data[16]);
		$('#view-modal').modal('show');  	
	});
	
});

function fmt_note(note) {
	var textclass = 'badge badge-pill badge-'; 
	if (parseInt(note) < 4) {
		textclass += 'danger';
	} else if(note >= 4 && note <= 7) {
		textclass += 'warning';
	} else {
		textclass += 'success';
	}
	return textclass;
}
</script>

</head>

<body>
<?php
	$query = $db->prepare('select * from v_avis where publie < 2 order by publie, date_avis');
	$listeavis = $query->execute();
	$recs = 0;
	while($rows = $listeavis->fetchArray(SQLITE3_ASSOC)) {
		$recs++;
	}
	echo '<h5 class="text-center pt-3">Revue des avis</h5>';
	echo '<h6 class="text-center text-primary p-2"><span class="badge badge-primary badge-pill">' . $recs . '</span> avis en attente de publication trouvés</h6>';
	echo '<div class="container-xl">';
	echo '<table class="table table-striped table-sm small">';
	echo '<thead>';
	echo '<tr>';
	echo '<th>Statut</th>';
	echo '<th>Posté le</th>';
	echo '<th>Membre</th>';
	echo '<th>EMail</th>';
	echo '<th>Anonyme</th>';
	echo '<th>Prestataire évalué</th>';
	echo '<th>Lieu</th>';
	echo '<th>Fonction</th>';	
	echo '<th>Action</th>';
	echo '</tr>';
	echo '</thead>';
	echo '<div class="container">';
	echo '<tbody>';
	while($avis = $listeavis->fetchArray(SQLITE3_ASSOC))
	{
				switch($avis['publie']) {
					case 0  : $statut = "Soumis"; break;
					case 1  : $statut = "En attente"; break;
					case 2  : $statut = "Publié"; break;
					case 3  : $statut = "Rejeté"; break;
					default : $statut = "N/A"; break ;
				}
		
				echo '<tr>';
				echo '<td hidden>' . $avis['id'] .'</td>';												// data[0]
				echo '<td>' . $statut  .'</td>';														// data[1]
				echo '<td>' . $avis['date_avis'] .'</td>';												// data[2]
				echo '<td>' . $avis['memb_nom'] .'</td>';												// data[3]
				echo '<td><a href="mailto:' .$avis['memb_email']. '">'.$avis['memb_email'].'</td>';		// data[4]
				echo '<td>' . ($avis['anonyme'] == 0 ? 'NON' : 'OUI').'</td>';							// data[5]
				echo '<td>' . $avis['nom'] .' '. $avis['prenom'].'</td>';								// data[6]
				echo '<td>' . $avis['lieu'] .'</td>';													// data[7]
				echo '<td>' . $avis['fonction'] .'</td>';												// data[8]
				echo '<td hidden>' . $avis['note_c1'] . '</td>';										// data[9]
				echo '<td hidden>' . $avis['note_c2'] . '</td>';										// data[10]
				echo '<td hidden>' . $avis['note_c3'] . '</td>';										// data[11]
				echo '<td hidden>' . $avis['note_c4'] . '</td>';										// data[12]
				echo '<td hidden>' . $avis['note_c5'] . '</td>';										// data[13]
				echo '<td hidden>' . $avis['note_c6'] . '</td>';										// data[14]
				echo '<td hidden>' . $avis['remarque'] .'</td>';										// data[15]
				echo '<td hidden>' . $avis['prest_id'] .'</td>';										// data[16]
				echo '<td>';
				echo '<button type="button" class="view-btn btn btn-sm btn-success mr-2 text-light" role="button"><i class="fa fa-eye"></i> Voir détail</button>';
				echo '</td>';

				echo '</tr>';
	}
	echo '</tbody>';
	echo '</table>';
	echo '</div>';
	echo '</div>';
?>

<!-- Page modale - Afficher détail avis -->

<div class="modal fade" id="view-modal">
   <div id="view-modal-main" class="modal-dialog modal-dialog-centered">
        <div class="modal-content">  
            <div class="modal-header text-center">Détails avis</div>
			<form method="post" id="form-view" action="avis_publier.php">
				<div class="modal-body">
					<p id="err-view" class="font-weight-bold text-danger" hidden></p>
					<input type="text" id ="id_view" name="id_view" hidden>
					<input type="text" id ="prest_id_view" name="prest_id_view" hidden>
					<input type="text" id ="note_c1_view" name="note_c1_view" hidden>
					<input type="text" id ="note_c2_view" name="note_c2_view" hidden>
					<input type="text" id ="note_c3_view" name="note_c3_view" hidden>
					<input type="text" id ="note_c4_view" name="note_c4_view" hidden>
					<input type="text" id ="note_c5_view" name="note_c5_view" hidden>
					<input type="text" id ="note_c6_view" name="note_c6_view" hidden>
					<div id="detail-modal">
						<div class="small">
						<div class="row">
							<div class="col-4">
								<span>Statut</span>
							</div>
							<div class="col-8">
								<span class="text-primary" id="statut_view"></span>
							</div>
						</div>
						<div class="row">
							<div class="col-4">
								<span>Membre</span>
							</div>
							<div class="col-8">
								<span class="text-primary" id="membre_view"></span>
							</div>
						</div>
						<div class="row">						
							<div class="col-4">
								<span>EMail</span>
							</div>
							<div class="col-8">
								<a id="href_email_view"><span class="text-primary" id="email_view"></span></a>
							</div>
						</div>
						<div class="row">
							<div class="col-4">
								<span>Avis anonyme</span>
							</div>
							<div class="col-8">
								<span class="text-primary" id="anonyme_view"></span>
							</div>
						</div>
						<div class="row">
							<div class="col-4">
								<span>Prestataire évalué</span>
							</div>
							<div class="col-8">
								<span class="text-primary" id="prestataire_view"></span>
							</div>
						</div>
						<div class="row">
							<div class="col-4">
								<span>Lieu</span>
							</div>
							<div class="col-8">
								<span class="text-primary" id="lieu_view"></span>							
							</div>
						</div>
						<div class="row">
							<div class="col-4">
								<span>Fonction</span>
							</div>
							<div class="col-8">
								<span class="text-primary" id="fonction_view"></span>
							</div>
						</div>
						<div class="row">
							<div class="col-4">
								<span>Date avis</span>
							</div>
							<div class="col-8">
								<span class="text-primary" id="date_view"></span>
							</div>
						</div>
						<br/>
						<div class="row">
							<div class="col-4">
								<span><?php echo $criteres[0]; ?></span>
							</div>
							<div class="col-8">
							<span id="tx_note_c1_view"></span>	
							</div>
						</div>
						<div class="row">
							<div class="col-4">
								<span><?php echo $criteres[1]; ?></span>
							</div>
							<div class="col-8">
							<span id="tx_note_c2_view"></span>	
							</div>
						</div>
						<div class="row">
							<div class="col-4">
								<span><?php echo $criteres[2]; ?></span>
							</div>
							<div class="col-8">
							<span id="tx_note_c3_view"></span>
							</div>
						</div>
						<div class="row">
							<div class="col-4">
								<span><?php echo $criteres[3]; ?></span>
							</div>
							<div class="col-8">
							<span id="tx_note_c4_view"></span>	
							</div>
						</div>
						<div class="row">
							<div class="col-4">
								<span><?php echo $criteres[4]; ?></span>
							</div>
							<div class="col-8">
							<span id="tx_note_c5_view"></span>	
							</div>
						</div>
						<div class="row">
							<div class="col-4">
								<span><?php echo $criteres[5]; ?></span>
							</div>
							<div class="col-8">
							<span id="tx_note_c6_view"></span>	
							</div>
						</div>
						<br/>
						<div class="row">
							<div class="col-4">
								<span>Remarques</span>
							</div>
							<div class="col-8">
								<span class="text-primary" id="remarque_view"></span>
							</div>
						</div>
					</div>
					</div>
				</div>
				<div class="modal-footer text-center">
					<button id="btn-modal-fermer" title="Annuler" data-dismiss="modal" class="btn btn-sm btn-primary mr-2">
						<i class="fa fa-close"></i> Fermer</button>
					</button>
					<button type="submit" name="wait" id="btn-modal-attente" title="Attente" value="wait" class="btn btn-sm btn-warning mr-2">
						<i class="fa fa-hourglass-half"></i> Attente
					</button>
					<button type="submit" name="reject" id="btn-modal-rejeter" title="Rejeter" value="reject" class="btn btn-sm btn-danger mr-2">
						<i class="fa fa-thumbs-down"></i> Rejeter
					</input>				
					<button type="submit" name="publish" id="btn-modal-publier" title="Publier" value="publish" class="btn btn-sm btn-success mr-2">
						<i class="fa fa-thumbs-up"></i> Publier
					</button>
				</div>
			</form>
		</div>
	</div>
</div>

</body>
</html>
For this cause, we decided to err on the facet of warning and – Base de données MCPV "Prestataires"

For this cause, we decided to err on the facet of warning and

Greatest Male Intercourse Toys To Purchase In 2025 Prime 25 Toys For Males

We’ve also solicited long-term testing suggestions, together with from people who purchased their first vibrators primarily based on the recommendation in this information. If you’re looking to get off and get monetary savings within the course of, PinkCherry hits the spot. Not solely do they carry a variety of products with a good assortment of very inexpensive, however their deals and discounts are off the charts. They have a whole clearance part stuffed with vibrators Vigor Corona Estim Urethral Insert, suction toys, and more as much as 80 percent off.

However, the anus and rectum are delicate mucous membranes which are extremely absorptive and prone to irritation, and many individuals use their toys more regularly than quarter-hour per week. For this cause Double Gragon For Machine MV-X8318 – 8323, we decided to err on the facet of warning and choose toys produced from high-quality, nonporous supplies for this guide. Our testers discovered that the toy fit properly in the palm of the hand and was sufficiently small to tuck into a travel bag or cover in a drawer. The tapered oval shape fits nicely against the vulva, with vibrations centered on the tip of the toy for clitoral stimulation. The toy is also flat enough (about 1 inch thick) for easy positioning between bodies during intercourse. We suggest the Magic Wand Rechargeable, an improved version of the ultra-powerful Magic Wand Original.

While butt toys can feel great on their own, they’re also an efficient way to prep for anal intercourse. In any situation Black Ladies Vintage Ruffled Hem Bandage Bustier + Hot G-string iGox Glitch Cock Ring Colorful Beads Jelly Vibrator0, Lelo’s Hugo is considered one of our favorites as a result of it comes with a distant management that makes it easy for you (or a partner) to change between settings, irrespective of which place you’re in. If you need to refill your lingerie drawer rapidly and affordably, peruse Ann Summers’ choice of budget-friendly lingerie. The on-line store presents fan-favorite vibrators and couples sex toys from brands together with Womanizer, Lelo and We-Vibe. Their top-rated sex toys embrace an introduction to anal set, crystal jelly vibrator and the Lelo Sona Cruise Clitoral Vibrator. Sex toys can enhance pleasure, whether or not used alone or with a partner.

And take into account 3pcs Classy Game Girl Next Door Costume Lingerie Stoma Silicone Cock Cage, every man or woman’s get pleasure from with ED is completely different, so what works for one person could not work for any other. It’s all roughly finding what allows you personally in a safe and cushty method. Because—regardless of your gender Stainless Steel Ball Stretcher with Spikes, anatomy, and sexual orientation—it’s nearly assured that you’ll find a sex toy that fits your wants.

At Lovers Stores, penis sex toys are particularly in style among males, folks with penises, and couples who wish to discover new forms of pleasure or support sexual stamina. They’re also great for self-exploration Colorful Beads Jelly Vibrator, helping customers be taught extra about their our bodies and what feels good in a secure, pleasurable method. Whether you’re in search of prolonged erection support, elevated intensity during climax Jeweled Bendable Beaded Penis Plug, or just something fun to play with, we’ve thoughtfully curated a penis toy choice to meet a wide range of wants and needs. Whatever your sexual need could also be, we now have an adult toy to match.

Greatest Male Intercourse Toys To Purchase In 2025 Prime 25 Toys For Males We’ve also solicited long-term testing suggestions, together with from people who purchased their first vibrators primarily based on the recommendation in this information. If you’re looking to get off and get monetary savings within the course of, PinkCherry hits the spot. Not…

Leave a Reply

Your email address will not be published. Required fields are marked *