diff --git a/email.php b/email.php index b9719b8..82b41a3 100644 --- a/email.php +++ b/email.php @@ -2,6 +2,8 @@ // forbidden: forbidden forums IDs // skips over threads made by this user with 0 replies function print_email($username, $unsubscription, $threads, $forbidden) { + $th_style = "padding: 0.5em; border: 1px solid #eee;"; + $td_style = "padding: 0.5em; border: 1px solid #eee;"; $message = << @@ -14,13 +16,13 @@ function print_email($username, $unsubscription, $threads, $forbidden) {

Here’s a daily update of activity on the Olympic Business forum.

-

+

- - - - - + + + + + END; @@ -31,14 +33,14 @@ END; continue; $message .= ' - - - + + - - +
ForumThreadStarted byRepliesLast updateForumThreadStarted byRepliesLast update
'.$thread['forumname'].''.$thread['subject'].''. + '.$thread['forumname'].''.$thread['subject'].''. $thread['username'].', '. date(DATE_FORMAT, $thread['dateline']).' '.$thread['replies'].''. + '.$thread['replies'].''. $thread['lastposter'].', '. date(DATE_FORMAT, $thread['lastpost']).'