<?php
/**
* @package		Foundry
* @copyright	Copyright (C) Stack Ideas Sdn Bhd. All rights reserved.
* @license		GNU/GPL, see LICENSE.php
* Foundry is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
defined('_JEXEC') or die('Unauthorized Access');
?>
<!--[if mso | IE]>
<table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:480px;" width="480"><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div style="background:#f9f9fa;background-color:#f9f9fa;margin:0px auto;max-width:480px;">
	<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#f9f9fa;background-color:#f9f9fa;width:100%;">
	<tbody>
	<tr>
		<td style="direction:ltr;font-size:0px;padding:16px 20px;text-align:center;">
			<!--[if mso | IE]>
			<table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:440px;">
			<![endif]-->

			<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
				<table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
				<tbody>
				<tr>
					<td style="vertical-align:top;padding:0;">
						<!--[if mso | IE]>
						<table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:480px;" width="480"><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
						<![endif]-->

					    <div style="background:#f9f9fa;background-color:#f9f9fa;margin:0px auto;max-width:480px;">
					        <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#f9f9fa;background-color:#f9f9fa;width:100%;">
					        <tbody>
					        <tr>
					        	<td style="direction:ltr;font-size:0px;padding:10px 20px 0;text-align:center;">
					                <!--[if mso | IE]>
					                <table role="presentation" border="0" cellpadding="0" cellspacing="0">
					       			<tr>
										<td class="" style="vertical-align:top;width:66px;">
					          		<![endif]-->

					                <div class="mj-column-per-15 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
					                	<table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
					                    <tbody>
					                    <tr>
					                    	<td style="background-color:#f9f9fa;border:1px solid #f9f9fa;vertical-align:top;padding:0;">
					                        	<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="" width="100%">
					                            <tr>
					                            	<td align="center" style="font-size:0px;padding:0;word-break:break-word;">
					                            		<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0px;">
					                            		<tbody>
					                                	<tr>
					                                  		<td style="width:40px;">
					                                    		<img height="auto" src="<?php echo $author->avatar; ?>" style="border:0;border-radius:20px;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;" width="40">
					                                  		</td>
					                                	</tr>
					                              		</tbody>
					                            		</table>
					                                </td>
				                              	</tr>
					                        	</table>
					                        </td>
					                    </tr>
					                    </tbody>
					                	</table>
					                </div>

						          	<!--[if mso | IE]>
						            </td><td class="" style="vertical-align:top;width:374px;">
						          	<![endif]-->

					                <div class="mj-column-per-85 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
					                	<table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
					                    <tbody>
					                    	<tr>
					                    	<td style="background-color:#f9f9fa;border:1px solid #f9f9fa;vertical-align:top;padding:0 10px;">
					                        	<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="" width="100%">
					                                <tr>
					                                	<td align="left" style="font-size:0px;padding:0;word-break:break-word;">
				                          					<div style="font-family:'Roboto', Arial, sans-serif;font-size:20px;font-weight:bold;line-height:20px;text-align:left;color:#444444;"><?php echo $title; ?></div>
					                                  	</td>
					                                </tr>

													<tr>
														<td align="left" style="font-size:0px;padding:0;word-break:break-word;padding-bottom: 5px;">&nbsp;</td>
													</tr>

					                                <tr>
					                                  	<td align="left" style="font-size:0px;padding:0;word-break:break-word;">
				                          				<div style="font-family:'Roboto', Arial, sans-serif;font-size:13px;line-height:20px;text-align:left;color:#888888;">
															<?php if ($author) { ?>
				                          						<a href="<?php echo $author->link;?>" style="color: #888888; text-decoration: none;"><?php echo $author->name; ?></a>
															<?php } ?>
															&middot;

															<?php if ($date) { ?>
				                          						<?php echo $date;?>
															<?php } ?>
			                          					</div>
					                                  	</td>
					                                </tr>
					                          	</table>
					                        </td>
					                      	</tr>
					                    </tbody>
					                  	</table>
					                </div>

						          	<!--[if mso | IE]>
						            </td></tr></table>
					                <![endif]-->
					            </td>
					        </tr>
					        </tbody>
					        </table>
					    </div>

						<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="" width="100%">
						<tr>
							<td align="left" style="font-size:0px;padding:0;word-break:break-word;padding-bottom: 5px;">&nbsp;
							</td>
						</tr>
						<tr>
							<td align="left" style="font-size:0px;padding:0;word-break:break-word;">
								<div style="font-family:'Roboto', Arial, sans-serif;font-size:16px;line-height:22px;text-align:left;color:#888888;"><?php echo $content;?></div>
							</td>
						</tr>
						</table>
					</td>
				</tr>
				</tbody>
			</table>

			</div>
			<!--[if mso | IE]>
			</td></tr></table>
			<![endif]-->
		</td>
	</tr>
	</tbody>
	</table>
</div>
<!--[if mso | IE]>
</td></tr></table>
<![endif]-->
