<?php  if(!defined('SECURITY')) {die('Direct access not permitted');} ?>
<?php  if(!defined('SECURITY')) {die('Direct access not permitted');} ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta name="x-apple-disable-message-reformatting">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title></title>
	<style type="text/css">
		body, p {margin: 0;}
		body {padding: 0;background-color: #e5e5e5;}
		table, td {color: #000;}
		a {color: #00e; text-decoration: underline;}
		@media only screen and (min-width: 620px) {
			.u-row, .u-row .u-col-100 {width: 600px !important;}
			.u-row .u-col {vertical-align: top;}
		}
		@media (max-width: 620px) {
			.u-row-container {max-width: 100% !important;padding-left: 0 !important;padding-right: 0 !important;}
			.u-row .u-col {min-width: 320px !important;max-width: 100% !important;display: block !important;}
			.u-row {width: calc(100% - 40px) !important;}
			.u-col {width: 100% !important;}
			.u-col > div {margin: 0 auto;}
		}
		table, td, tr {
			vertical-align: top;
			border-collapse: collapse;
		}
		* {line-height: inherit;}
		a[x-apple-data-detectors="true"] {color: inherit !important;text-decoration: none !important;}
	</style>
</head>
<body>
	<table style="border-collapse: collapse;table-layout: fixed;border-spacing: 0;mso-table-lspace: 0pt;mso-table-rspace: 0pt;vertical-align: top;min-width: 320px;Margin: 0 auto;background-color: #e5e5e5;width:100%" cellpadding="0" cellspacing="0">
		<tbody>
			<tr style="vertical-align: top">
				<td style="word-break: break-word;border-collapse: collapse !important;vertical-align: top">

					<div class="u-row-container" style="padding: 0px;background-color: transparent">
						<div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: transparent;">
							<div style="border-collapse: collapse;display: table;width: 100%;background-color: transparent;">
								<div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;">
									<div style="background-color: #0d6efd;width: 100% !important;border-radius: 0px;-webkit-border-radius: 0px; -moz-border-radius: 0px;">

										<table style="font-family:helvetica,sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0">
											<tbody>
												<tr>
													<td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:helvetica,sans-serif;" align="left">
														<table width="100%" cellpadding="0" cellspacing="0" border="0">
															<tr>
																<td style="padding-right: 0px;padding-left: 0px;" align="center">
																	<img align="center" border="0" src="<?php echo BASE_URL.'public/'.$setting->logo_site; ?>" alt="<?php echo $setting->title_site; ?>" style="outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;clear: both;display: inline-block !important;border: none;width: auto;float: none;height: 100%;max-height: 38px;" height="38"/>
																</td>
															</tr>
														</table>
													</td>
												</tr>
											</tbody>
										</table>

										<?php if($data['title']){ ?>
										<table style="font-family:helvetica,sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0">
											<tbody>
												<tr>
													<td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:helvetica,sans-serif;" align="left">

														<h1 style="margin: 0px; color: #ffffff; line-height: 130%; text-align: center; word-wrap: break-word; font-weight: normal; font-family: helvetica,sans-serif; font-size: 28px;">
															<?php echo $data['title']; ?>
														</h1>

													</td>
												</tr>
											</tbody>
										</table>
										<?php } ?>

									</div>
								</div>
							</div>
						</div>
					</div>

					<div class="u-row-container" style="padding: 0px;background-color: transparent">
						<div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: transparent;">
							<div style="border-collapse: collapse;display: table;width: 100%;background-color: transparent;">
								<div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;">
									<div style="background-color: #ffffff;width: 100% !important;border-radius: 0px;-webkit-border-radius: 0px; -moz-border-radius: 0px;">

										<?php if($data['subtitle']){ ?>
										<table style="font-family:helvetica,sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0">
											<tbody>
												<tr>
													<td style="overflow-wrap:break-word;word-break:break-word;padding:40px 15px 10px 25px;font-family:helvetica,sans-serif;" align="left">
														<h2 style="margin: 0px; color: #0d6efd; line-height: 130%; text-align: left; word-wrap: break-word; font-weight: normal; font-family: helvetica,sans-serif; font-size: 20px;">
															<?php echo $data['subtitle']; ?>
														</h2>
													</td>
												</tr>
											</tbody>
										</table>
										<?php } ?>

										<?php if($data['content']){ ?>
										<table style="font-family:helvetica,sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0">
											<tbody>
												<tr>
													<td style="overflow-wrap:break-word;word-break:break-word;padding:10px 25px 20px;font-family:helvetica,sans-serif;font-size: 16px;" align="left">
														<div style="color: #555555; line-height: 130%; text-align: left; word-wrap: break-word;">
															<p style="font-size: 16px; line-height: 130%;">
																<span style="font-family: helvetica, sans-serif; font-size: 16px; line-height: 20.8px;">
																<?php echo $data['content']; ?>
																</span>
															</p>
														</div>
													</td>
												</tr>
											</tbody>
										</table>
										<?php } ?>

										<?php if(!empty($data['button'])){ ?>
										<table style="font-family:helvetica,sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0">
											<tbody>
												<tr>
													<td style="overflow-wrap:break-word;word-break:break-word;padding:10px 10px 40px;font-family:helvetica,sans-serif;" align="left">
														<div align="center">
															<a href="<?php echo $data['button']['link'] ?>" target="_blank" style="box-sizing: border-box;display: inline-block;font-family:helvetica,sans-serif;text-decoration: none;-webkit-text-size-adjust: none;text-align: center;color: #FFFFFF; background-color: #0d6efd; border-radius: 64px;-webkit-border-radius: 64px; -moz-border-radius: 64px; width:auto; max-width:100%; overflow-wrap: break-word; word-break: break-word; word-wrap:break-word; mso-border-alt: none;border-top-color: #CCC; border-top-style: solid; border-top-width: 0px; border-left-color: #CCC; border-left-style: solid; border-left-width: 0px; border-right-color: #CCC; border-right-style: solid; border-right-width: 0px; border-bottom-color: #CCC; border-bottom-style: solid; border-bottom-width: 0px;">
																<span style="display:block;padding:10px 30px;line-height:130%;"><strong><span style="font-family: helvetica, sans-serif; font-size: 14px; line-height: 18.2px;"><span style="line-height: 18.2px; font-size: 14px;">
																<?php echo $data['button']['text'] ?>
																</span></span></strong></span>
															</a>
														</div>
													</td>
												</tr>
											</tbody>
										</table>
										<?php } ?>

									</div>
								</div>
							</div>
						</div>
					</div>

					<div class="u-row-container" style="padding: 0px;background-color: transparent">
						<div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: transparent;">
							<div style="border-collapse: collapse;display: table;width: 100%;background-color: transparent;">
								<div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;">
									<div style="background-color: #f5f5f5;width: 100% !important;border-radius: 0px;-webkit-border-radius: 0px; -moz-border-radius: 0px;">

	
										<table style="font-family:helvetica,sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0">
											<tbody>
												<tr>
													<td style="overflow-wrap:break-word;word-break:break-word;padding:20px 25px 20px;font-family:helvetica,sans-serif;" align="left">
														<div style="color: #808080; line-height: 140%; text-align: left; word-wrap: break-word;">
															<p style="font-size: 14px; line-height: 140%;"><span style="font-size: 14px; line-height: 19.6px;">
															&copy; Copyright <?php echo $setting->title_site; ?>.
															</span></p>
														</div>
													</td>
												</tr>
											</tbody>
										</table>

									</div>
								</div>
							</div>
						</div>
					</div>

				</td>
			</tr>
		</tbody>
	</table>
</body>
</html>
