<?php //organization id is stored in $event_details['_epl_event_organization'] ?> <?php if ($event_details['_epl_event_organization']) { ?> <div class ="event_organization"> <h4>Hosted by</h4> <a href="<?php echo get_permalink($event_details['_epl_event_organization']); ?> " title="<?php echo get_the_organization_name(); ?> "><?php echo get_the_organization_name(); ?> </a><br /> <?php echo get_the_organization_address(); ?> <br /> <?php echo get_the_organization_city(); ?> <br> <?php echo get_the_organization_state(); ?> <br> <?php echo get_the_organization_zip(); ?>
</td> </tr> <tr> <td valign="top" bgcolor="#ffffff" align="center"> <table cellspacing="0" border="0" cellpadding="0" width="700"> <tbody> <tr> <td valign="top" height="37" style="height: 37px;"> </td> </tr> <tr> <td valign="top" colspan="2" style="text-align: left;"> <h1 style="margin: 0; padding: 0; font-size: 22px; color: #fd2323; font-weight: bold;"><?php echo get_the_event_title(); ?> <?php echo get_the_organization_name() ? epl_e('by') . ' ' . get_the_organization_name() : ''; ?> </h1> </td> </tr> <tr> <td valign="top" height="34" style="height: 34px; border-bottom-color: #d6d6d6; border-bottom-width: 1px; border-bottom-style: solid;"> <div class="" style="margin:10px auto;border:1px solid #eee;padding: 10px;"> <div class="section"> <div style="width:600px;"> <?php echo $eb;