online.php templatized