48 lines
1.2 KiB
PHP
48 lines
1.2 KiB
PHP
|
<style>
|
||
|
.title {
|
||
|
<?php $title_style->echo_css(0.8)?>
|
||
|
margin: 0;
|
||
|
text-align: center;
|
||
|
line-height: normal;
|
||
|
padding: 10px 0;
|
||
|
}
|
||
|
.text {
|
||
|
<?php $text_style->echo_css()?>
|
||
|
padding: 10px 0;
|
||
|
line-height: 1.5em;
|
||
|
margin: 0;
|
||
|
text-align: center;
|
||
|
}
|
||
|
.button {
|
||
|
padding: 10px 0;
|
||
|
}
|
||
|
</style>
|
||
|
|
||
|
<table width="<?php echo $td_width ?>" align="left" class="responsive" border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
<td align="center" valign="top">
|
||
|
<?php echo $media ? TNP_Composer::image($media) : ''; ?>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="<?php echo $td_width ?>" align="right" class="responsive" border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
<td inline-class="title">
|
||
|
<?php echo $event->post_title; ?>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<?php if($event->post_content): ?>
|
||
|
<tr>
|
||
|
<td inline-class="text">
|
||
|
<?php echo $event->post_content; ?>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<?php endif; ?>
|
||
|
<tr>
|
||
|
<td align="center" inline-class="button">
|
||
|
<?php echo TNP_Composer::button($button_options) ?>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|