// Articles echo $locale['lcp101']."
"; $result = dbquery("SELECT * FROM ".DB_COMMENTS." WHERE comment_type='N' ORDER BY comment_datestamp DESC LIMIT 0,5"); if (dbrows($result) != 0) { while ($data = dbarray($result)) { echo ' '.trimlink($data['comment_message'], 25).'
'; } } else { echo "
".$locale['lcp200']."
\n"; } // Photos echo $locale['lcp102']."
"; $result = dbquery("SELECT * FROM ".DB_COMMENTS." WHERE comment_type='P' ORDER BY comment_datestamp DESC LIMIT 0,5"); if (dbrows($result) != 0) { while ($data = dbarray($result)) { echo ' '.trimlink($data['comment_message'], 25).'
'; } } else { echo "
".$locale['lcp200']."
\n"; }