Black Eagle Team Minishell
Path:
/
home
/
ccpsafy
/
www.old
/
VSEL
/
library
/
[
Home
]
File: displayFunctions.php.old
<?php function displayEvents($row) { $day = substr($row['date'], 8, 2); $day = $day - 0; $month = substr($row['date'], 5, 2); $year = substr($row['date'], 0, 4); $dayw = date("D", mktime(0, 0, 0, $month, $day, $year)); $monthName = date("M", mktime(0, 0, 0, $month, $day, $year)); $hour = realHour($row['time']); $minute = substr($row['time'], 3, 2); $ampm = realAMPM($row['time']); $showTime = $row['showTime']; echo "<tr><td valign='top' align='right' class='date'>$monthName $day, $year</td>" . "<td valign='top' align='right' class='dayw'>$dayw</td>" . "<td valign='top' align='right' class='time'>"; if ($showTime) {echo "$hour:$minute $ampm";} echo "</td>" . "<td class='spacer'> </td>" . nl2br("<td valign='top' class='venue'>{$row['venue']}</td>") . "<td class='spacer'> </td>" . nl2br("<td valign='top' class='description'>{$row['description']}</td>"); } function displayActions($row) { echo "<td valign='top'><a href='admin.php?id={$row['id']}&action=edit'>edit</a></td>" . "<td valign='top'><a href='admin.php?id={$row['id']}&action=delete'>delete</a></td></tr>" . "<tr><td colspan='9' height='0px'></td></tr>"; } ?>
©
2020 Black Eagle Team