<?php
/**
  * Ahead WebSoft Technologies Pvt Ltd.
  * @copyright  Copyright 2006-2026 Ahead WebSoft Technologies Pvt Ltd.
  * @license    https://www.socialengine.com/policies
*/
?>

<div id='event_photo'>
  <?php if($this->subject()->photo_id) { ?>
    <?php echo $this->itemPhoto($this->subject()) ?>
  <?php } else { ?>
    <?php echo $this->itemBackgroundPhoto($this->subject()) ?>
  <?php } ?>
</div>
