<?php
defined( 'ABSPATH' ) || exit; // Exit if accessed directly
?>
<!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">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta name="viewport" content="width=device-width" />
  <style type="text/css">

  * {
    margin:0;
    padding:0;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue","Open Sans",sans-serif
  }

  img {
    max-width: 100%;
    outline: none;
    text-decoration: none;
    -ms-interpolation-mode: bicubic;
  }

  .image-fix {
    display:block;
  }

  .collapse {
    margin:0;
    padding:0;
  }

  body {
    -webkit-font-smoothing:antialiased;
    -webkit-text-size-adjust:none;
    width: 100%!important;
    height: 100%;
    text-align: center;
    color: #747474;
    background-color: #ffffff;
  }

  h1,h2,h3,h4,h5,h6 {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue","Open Sans",sans-serif
    line-height: 1.1;
  }

  h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
    font-size: 60%;
    line-height: 0;
    text-transform: none;
  }

  h1 {
    font-weight:200;
    font-size: 44px;
  }

  h2 {
    font-weight:200;
    font-size: 32px;
    margin-bottom: 14px;
  }

  h3 {
    font-weight:500;
    font-size: 27px;
  }

  h4 {
    font-weight:500;
    font-size: 23px;
  }

  h5 {
    font-weight:900;
    font-size: 17px;
  }

  h6 {
    font-weight:900;
    font-size: 14px;
    text-transform: uppercase;
  }

  .collapse {
    margin:0!important;
  }

  td, div {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue","Open Sans",sans-serif
  }

  p, ul {
    margin-bottom: 10px;
    font-weight: normal;
    font-size:14px;
    line-height:1.6;
  }

  </style>
</head>

<body>
<div id="m_-9032039851356900819wrapper" dir="ltr" style="background-color:#ffffff;margin:0;padding:70px 0;width:100%">
<table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">
	<tbody>
		<tr>
			<td align="center" valign="top">
				<table border="0" cellpadding="0" cellspacing="0" width="600" id="m_-9032039851356900819template_container" style="margin: 0 auto;background-color:#ffffff;border:1px solid #e5e5e5;border-radius:3px">
					<tbody>	
						<tr>
							<td align="center" valign="top">

								<table border="0" cellpadding="0" cellspacing="0" width="100%" id="m_-9032039851356900819template_header" style="background-color:<?php echo $content['color']; ?>;color:#ffffff;border-bottom:0;font-weight:bold;line-height:100%;vertical-align:middle;border-radius:3px 3px 0 0">
									<tbody><tr>
										<td id="m_-9032039851356900819header_wrapper" style="padding:36px 48px;display:block">
										
											<h1 style="font-size:30px;font-weight:300;line-height:150%;margin:0;text-align:left;color:#ffffff;background-color:inherit"><?php echo $content['title']; ?></h1>
											<h2 style="font-size:14px;font-weight:300;line-height:150%;margin:0;text-align:left;color:#ffffff;background-color:inherit"><?php echo $content['subtitle']; ?></h1>
										</td>
									</tr>
								</tbody></table>

							</td>
						</tr>
						<tr>
							<td align="left" valign="top">
								<table border="0" cellpadding="0" cellspacing="0" width="600" id="m_-9032039851356900819template_body">
									<tbody>
										<tr>
											<td valign="top" id="m_-9032039851356900819body_content" style="padding:48px 48px 32px">
											
											<h3 style="margin: 0 0 16px;font-weight: bold;color: #000;line-height:1.3;font-size:28px;"><?php echo $content['body_title']; ?></h3>
											<h4 style="margin: 0 0 16px;font-size: 16px;line-height:1.5;font-weight:400"><?php echo $content['body_excerpt']; ?></h4>
											<a style="padding:15px;display:block;border-radius:25px;text-align:center;background:<?php echo $content['color']; ?>;color:#fff;text-decoration:none" href="<?php echo $content['button_link']; ?>"><?php echo isset($content['button_text']) ? $content['button_text'] : 'Devamını Oku'; ?></a>
											</td>
										</tr>
									</tbody>
								</table>
							</td>
						</tr>
						<td align="center" valign="top">
              <table border="0" cellpadding="10" cellspacing="0" width="600" id="m_-9032039851356900819template_footer">
                <tbody>
                  <tr>
                    <td valign="top" style="padding:0;border-radius:6px">
                      <table border="0" cellpadding="10" cellspacing="0" width="100%">
                        <tbody><tr>
                          <td colspan="2" valign="middle" id="m_-9032039851356900819credit" style="border-top: 1px solid #e5e5e5;color:#7a7a7a;font-size:12px;line-height:150%;text-align:center;padding:24px 0">
                            <p style="margin:0">
                            <?php echo $content['copyright']; ?><br>
                            — Bu e-posta’yı cevaplamayın. —
                            </p>
                          </td>
                        </tr>
                      </tbody></table>
                    </td>
                  </tr>
                </tbody>
              </table>
            </td>
					</tbody>
				</table>
			</td>
		</tr>
	</tbody>
</table>
</div>

</body>
</html>