FrameBeurk File
Fmbk/Module/Rhum/Commentaire/Vue/avisCommentaire.php
<?php //FrameBeurk V0.65 Copyright ToolOscope 2016. Licence CeCILL-C.
require_once(INSTALL_PATH . '/Module/Rhum/Commentaire/helpersCommentaire.php');
$result = db_QUERY("SELECT NbrVotes, Note FROM Rhum_Commentaire WHERE IdCommentaire = '$IdVue'");
//récupération nbre de vote et note
if (list($NbrVotes, $Note) = db_FETCH_ROW($result))
echo Rhum_formateAvis($NbrVotes, $Note);
else
Beurk_messageEtape('Commentaire inconnu', true);
© 2010-2015 by ToolOscope SASU. © 2016-2018 by Arnaud De Rette. All rights reserved