id.'">

'.$this->title.'

by '.$this->author.''; print '
'; print '
'.$this->body.'
'; } } $db = new DB(); $news = $db->execute('SELECT * FROM news'); $news->handler('news'); foreach($news as $post) print $post; ?>