芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/public_html/portal.pulsehost.co.uk/modules/reports/product_suspensions.php
select('tblhosting.*', 'tblclients.firstname', 'tblclients.lastname', 'tblproducts.name') ->join('tblclients', 'tblclients.id', '=', 'tblhosting.userid') ->join('tblproducts', 'tblproducts.id', '=', 'tblhosting.packageid') ->where('domainstatus', '=', 'Suspended') ->orderBy('id', 'asc') ->get() ->all(); foreach ($results as $result) { $serviceid = $result->id; $userid = $result->userid; $clientname = $result->firstname . " " . $result->lastname; $productname = $result->name; $domain = $result->domain; $nextduedate = $result->nextduedate; $suspendreason = $result->suspendreason; if (!$suspendreason) { $suspendreason = 'Overdue on Payment'; } $nextduedate = fromMySQLDate($nextduedate); $reportdata["tablevalues"][] = [ '
' . $serviceid . '
', '
' . $clientname . '
', $productname, $domain, $nextduedate, $suspendreason, ]; } $data["footertext"] = '';