2014]); ?>

"; $db->query("SELECT COUNT(bedrijf_id) AS aantal FROM bedrijf WHERE site='et';"); if($db->next_record()) { echo "" . htrans('home.stats.users') . "".number_format($db->f("aantal"), 0, ",", ".").""; } $db->query("SELECT COUNT(*) AS aantal FROM deelname WHERE start IS NOT NULL AND site='et';"); if($db->next_record()) { echo "" . htrans('home.stats.surveys') . "".number_format($db->f("aantal"), 0, ",", ".").""; } $db->query("SELECT COUNT(vi.vraag_id) AS aantal FROM vraagingevuld vi INNER JOIN vraag v USING (vraag_id) INNER JOIN vragenlijst vl USING (vragenlijst_id) WHERE vl.site='et';"); if($db->next_record()) { echo "" . htrans('home.stats.questions') . "".number_format($db->f("aantal"), 0, ",", ".").""; } echo ""; ?>
{ "number_of_users": "number_of_surveys": "number_of_questions": }