From c04026822896f8a8f4e3901c07c697ed165ff9fb Mon Sep 17 00:00:00 2001 From: Alexander Yakovlev Date: Fri, 5 May 2017 16:51:40 +0700 Subject: [PATCH] email styling --- email.php | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) 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']).'