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_ajouter.php

<?php
require_once(__DIR__ . "/_include/init.php"); 
if (!empty($_POST)) 
{
    extract($_POST);
    
	if(isset($anonyme_avis)) {
		$anonyme = 1; 
	} else {
		$anonyme = 0;
	}
	$query = $db->prepare("select * from avis where memb_email = :membre_email_avis and prest_id = :id_avis");
	$query->bindValue('membre_email_avis', $membre_email_avis,SQLITE3_TEXT);
	$query->bindValue('id_avis', $id_avis,SQLITE3_TEXT);
	$listeavis = $query->execute();
	$recs = 0;
	while($row = $listeavis->fetchArray(SQLITE3_ASSOC))
	{
		$recs++;
	}
	if($recs > 0) {
		exit("Vous avez déjà soumis un avis pour ce prestataire; il est soit déjà publié ou en attente de vérification");
	}
	
	$query = $db->prepare("insert into avis (memb_nom,memb_email,prest_id,date_avis,note_c1,note_c2,note_c3,note_c4,note_c5,note_c6,remarque,anonyme,publie) 
							values (:memb_nom, :memb_email, :prest_id, :date_avis, :note_c1, :note_c2, :note_c3, :note_c4, :note_c5, :note_c6, :remarque, :anonyme, :publie)");
	$query->bindValue('memb_nom', $membre_full_name_avis,SQLITE3_TEXT);
	$query->bindValue('memb_email', $membre_email_avis,SQLITE3_TEXT);
	$query->bindValue('prest_id',$id_avis,SQLITE3_INTEGER);
	$query->bindValue('date_avis', date("d/m/Y"),SQLITE3_TEXT);
	$query->bindValue('note_c1', $note_c1_avis,SQLITE3_INTEGER);
	$query->bindValue('note_c2', $note_c2_avis,SQLITE3_INTEGER);
	$query->bindValue('note_c3', $note_c3_avis,SQLITE3_INTEGER);
	$query->bindValue('note_c4', $note_c4_avis,SQLITE3_INTEGER);
	$query->bindValue('note_c5', $note_c5_avis,SQLITE3_INTEGER);
	$query->bindValue('note_c6', $note_c6_avis,SQLITE3_INTEGER);
	$query->bindValue('remarque',$remarque_avis,SQLITE3_TEXT);
	$query->bindValue('anonyme',$anonyme,SQLITE3_INTEGER);
	$query->bindValue('publie',0,SQLITE3_INTEGER);
	$query->execute();
}
?>
August 17, 2020 – Page 2 – Base de données MCPV "Prestataires"

Day: August 17, 2020

People with small penis sizes would possibly want to make use

#1 Online Sexual Wellness Shop I feel that masturbating utilizing my non-dominant hand is interestingly completely different – it’s like someone else is doing it for me enhancer beads sleeve, extra like bringing Sandra on board. People with small penis sizes would possibly want to make use of penis sleeve inserts to cowl the air…

Read More