fxEscape($str_key) . "_id =" . intval($int_id); return $objDatabase->fxGetVar($query); } /** * @param $intParId * @return bool */ function fxIsParEquipe($intPecId, $intEprId) { global $objDatabase; $return = false; $query = 'select pec_equipe from resultats_epreuves_commandees where pec_id_original =' . intval($intPecId) . ' and epr_id = ' . intval($intEprId); $rec = $objDatabase->fxGetResults($query); for ($i = 1; $i <= count($rec); $i++) { if ($rec[$i]['pec_equipe'] == 1) $return = true; } return $return; } /** * @param $intEveId * @param $intPecId * @param $intEprId * @param int $intShow 0 = rien afficher, 1 = afficher un div et