Nieuws Front

< ?php global $wpdb; $bznews = $wpdb->get_results(“select
post_date
, post_title
, guid
, user.user_nicename
from wp_posts post, wp_users user
where
1=1
and post.post_author = user.id
and post_type = ‘post’
and post_status = ‘publish’
order by post_date desc
limit 0, 10
;”);

echo “

“;
foreach($bznews as $bznewsitem){
echo “

“;
echo “

“;
echo “

Datum Titel Commissie
“.date(‘d-m’,strtotime($bznewsitem->post_date)).”