added view revenue option; view_rev.php updated