<?phpinclude("init.php");$invoiceid = (int) $whmcs->get_req_var("id");$invoice = new WHMCS\...