} </style> <table align="center" border="1" width="100%" cellpadding="0" cellspacing="0" > <tr> <td><b>Name</b></td> <td><b>Last Pirep</b></td> <td><b>Last Email Sent</b></td> <td align="center"><b>Warning</b></td> <td align="center"><b>Welcome</b></td> <td align="center"><b>General</b></td> <td align="center"><b>Send Email</b></td> </tr> <?php foreach ($pilots as $pilot) { $pid = $pilot->pilotid; $param = PManagerData::param($pid); $ptme = strtotime($pilot->lastpirep); $dtme = strtotime($param->datesent); $chk = date("Y", $dtme); ?> <tr> <td><?php echo $pilot->firstname . ' ' . $pilot->lastname; ?> </td> <td> <?php if ($pilot->lastpirep == 0) { echo ' <font color="red">None</font> '; } else { echo date("Y-m-d", $ptme);