";
//echo "".$numCounter." "." | ";
echo "".$id." | ";
echo "". stripslashes($row['username']) ." | ";
if ($boolUserinfo) {
echo "".$row['age']." | ";
echo "".$row['transport']." | ";
}
echo "".$arrIcon[$row['topic']]." ".$arrTopic[$row['topic']]." | ";
echo "" . nl2br(stripslashes($row['description']))." | ";
if ($boolComment) {
echo "";
$strSQL = "SELECT username,comment,created_at FROM comment WHERE loc_id=".$id;
$comments = $db->query($strSQL);
while ($comment = $comments->fetch(PDO::FETCH_ASSOC)) {
echo "";
}
echo " | ";
}
if ($boolDefect) {
$strDefect = (isset($row['defect']) && $row['defect']>0) ? $arrDefect[$row['defect']] : "";
echo "".$strDefect." | ";
}
if ($boolRating) {
echo "".$row['thumb_ups']." | ";
echo "".$row['thumb_downs']." | ";
}
echo "".$datum." | ";
if ($boolUpload) {
echo "";
if (isset($row['filename'])) {
echo "";
echo "";
}
echo " | ";
}
echo "Karte | ";
echo "
\n";
$numCounter++;
}
?>