-
Notifications
You must be signed in to change notification settings - Fork 0
/
expired.php
77 lines (61 loc) · 2.8 KB
/
expired.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<html xmlns:v="urn:schemas-microsoft-com:vml">
<?php include("components.php") ?>
<?php include("styles.php") ?>
<?php include("colors.php"); ?>
<head>
<title>WordPress.com</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Language" content="en-us">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="format-detection" content="date=no">
<meta name="format-detection" content="telephone=no">
<meta name="format-detection" content="address=no">
</head>
<body bgcolor="<?php echo $color['background']; ?>" style="direction: ltr; background-color: <?php echo $color['background']; ?>; margin: 0; padding: 0;">
<?php echo renderStyles() ?>
<?php
$product = renderItem(
"WordPress.com Personal",
$color["error"],
"Expired Jul 2, 2020",
"Plan for Filippo Di Trapani (<a href='#' class='text-link' style='color:" . $color["text"] . "'>" . renderRegularText("filippodt.wordpress.com") . "</a>)",
);
$button_cta = renderRegularText("Add another month for $3", $color["white"], "14px");
$button = renderPrimaryButton( $button_cta );
$verticalSpacer = renderVerticalSpacer( "40px" );
$halfVerticalSpacer = renderVerticalSpacer( "20px" );
$featureTitle = renderSecondaryTitle( "Don’t loose out" );
$featureList = renderUnorderedList( array(
1 => renderRegularText("Ability to set filippodt.com as your primary address."),
2 => renderRegularText("Remove WordPress.com ads from your site."),
3 => renderRegularText("Access to live chat when you need immediate support."),
4 => renderRegularText("Increased storage space for your photos, audio files, or videos."),
), "warning");
$billingHistoryTitle = renderSecondaryTitle( "Billing history" );
$billingHistoryAccount =
renderBoldText( "Account" ) . "<br>" .
renderRegularText( "fditrapani" ) . "<br>" .
"<a href='#' class='text-link' style='color:" . $color["text"] . "; text-decoration: none'>" . renderRegularText("[email protected]") . "</a>" . "<br>" .
" <a href='#' class='text-link' style='color:" . $color["text"] . "'>" . renderRegularText( "Manage account" ) . "</a>";
$billingHistoryReceipt = renderBoldText("Receipt") . "<br>" .
renderRegularText( "#19681643" ). "<br>" .
" <a href='#' class='text-link' style='color:" . $color["text"] . "'>" . renderRegularText( "View receipt" ) . "</a>";
$billingContent = renderTwoColumn( $billingHistoryAccount, $billingHistoryReceipt);
$supportContent = renderSupport();
$content = <<<EOD
$product
$button
$verticalSpacer
$featureTitle
$featureList
$verticalSpacer
$billingHistoryTitle
$billingContent
$halfVerticalSpacer
$supportContent
$halfVerticalSpacer
EOD;
echo renderEmailTemplate( "Your plan has expired", $content );
?>
</body>
</html>