<?php include 'newsbox.class.php'; $news = new Newsbox(); if(isset($_GET) && $_GET['disp'] == 'ajax') { echo $news->DisplayNewsbox(); } else { return $news->DisplayNewsbox(); } ?>
info at phpclasses dot org