";
echo "
Komentarzy: | \n";
echo "Ilość: ".number_format(dbresult($ile, 0))." | \n";
echo "";
$result1 = dbquery("SELECT * FROM ".DB_COMMENTS." WHERE comment_name='".$user_data['user_id']."' AND comment_type='A' ORDER BY comment_datestamp LIMIT 4");
if(dbrows($result1) > 0) {
while($r1 = dbarray($result1))
{
echo "";
echo "".THEME_BULLET." ".$r1['comment_message']." | ";
echo "
";
}
} else {
echo "";
echo "Użytkownik nie dodał komentarzy | ";
echo "
";
}
$ile1 = dbquery("SELECT count(article_id) FROM ".DB_ARTICLES." WHERE article_name='".$user_data['user_id']."'");
echo "";
echo "Artykuły: | \n";
echo "Ilość: ".number_format(dbresult($ile1, 0))." | \n";
echo "
";
$result = dbquery("SELECT * FROM ".DB_ARTICLES." WHERE article_name='".$user_data['user_id']."' ORDER BY article_datestamp LIMIT 4");
if(dbrows($result) > 0) {
while($r = dbarray($result))
{
echo "";
echo "".THEME_BULLET." ".$r['article_subject']." | ";
echo "
";
}
} else {
echo "";
echo "Użytkownik nie dodał artykułów | ";
echo "
";
}
} elseif ($profile_method == "validate_insert") {
//Nothing here
} elseif ($profile_method == "validate_update") {
//Nothing here
}
?>